Changes

How to run a ubifs on IGEP boards

712 bytes added, 17:53, 31 January 2012
m
no edit summary
Ive ran at some issues with some boards which came with existing bad blocks. Although the onenand driver ( and u-boot) show that they are aware of them , ubifs fails to initialize and mount. I will further investigate this and hopefully get an answer why the mighty ubifs fails to load on them. Comments are welcome.<br>
 
I've also had this problems, you can solve it by booting on a SD card and writing the ubi filesystem with nandwrite, then it detects the badblocks correctly and boots.
The whole process would be:
 
1.- boot into OS
 
2.- flash_eraseall /dev/mtd4
 
3.- nandwrite -p /dev/mtd4 rootfs.ubi
 
4.- reboot
 
 
Be careful with your distribution mtd-utils version, '''ubuntu 10.10''' version of mtd-utils has a bug in mkfs.ubifs which doesn't allow the igep to boot from the newly created image. If you use '''ubuntu 10.10''' download and compile yourself mtd-utils > 1.3. Here's a link to a discussion explaining this issue: [http://comments.gmane.org/gmane.linux.drivers.mtd/33352]
 
[[Category:How to forge|Ubifs]]
[[Category:Software applications|Ubifs]]
0
edits