It is giving ff's only. If I write jffs2 filesystem image, it is giving some data in kernel dump,but that also not the correct data. But u-boot nand dump data and this is not the same.
Reverse alone is not working. But booting is not working though it is readable in kernel. It gives "Kernel panic ". Site Search User. Processors Processors forum. Mentions Tags More Cancel. Ask a related question What is a related question? A related question is a question created from another question. When the related question is created, it will be automatically linked to the original question. Ask a new question Ask a new question Cancel.
Tags More Cancel. Share More Cancel. Similar topics. This thread has been locked. Intellectual points.
Hi, I'm trying to boot yaffs2 filesystem from 8-bit nand by following commands:. It is only for yaffs2 file system. It did not become bad for any pattern and jffs2 filesystem.
So to extract, try something like. Theoretically you can also rebuild the image using mkyaffs2 , but I couldn't get it to work the result wasn't bootable. While the home page says it's Windows-only, with a trivial change it compiles on Ubuntu Precise. To do so:. After Android 2. It's a sparse filesystem, I think you'll need to unsparsify it first using simg2img.
Unpack the image and mount as follows:. You should probably read the blog entry I made about hacking the Nexus7 image as it covers most of this and the script it references may be useful. I thought I would update this with Ubuntu I had to make some changes to get it to compile that I hope will help others. Ubuntu Community Ask! Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? Learn more. How to mount a yaffs2 filesystem Ask Question. Asked 9 years ago. Active 4 years, 4 months ago. Viewed 33k times. Improve this question. Mechanical snail 5, 3 3 gold badges 25 25 silver badges 40 40 bronze badges. Is it a boot. And I don't want to extract it, I want to mount it.
Add a comment. Active Oldest Votes. Kernel support Thus, currently, if you need mount support you will have to compile it yourself. Extract and rebuild Alternatively, try using yaffs2utils to extract and rebuild the image.
Open your image, make your desired changes, and save it refuses to overwrite; you have to select a different filename. When I tried it, the resulting image booted successfully in the Android emulator. Improve this answer. Mechanical snail Mechanical snail 5, 3 3 gold badges 25 25 silver badges 40 40 bronze badges.
Thanks for recommending Yaffey and providing details of the patch needed to compile it on Linux! How to build on Mac: github. Unpack the image and mount as follows: Unpack:. Thanks for the answer but I don't think it will work. Googling told me that this happens when you use it on anything that's not a compressed ext4 image, and yaffs2 isn't a compressed ext4 image. Sorry I completely missed that, did you try the unyaffs2 tool?
0コメント