From: Steven G. <ste...@ou...> - 2013-08-21 00:07:30
|
Hi all, I'm new to all of this and right now I am trying to flash my NAND to a fresh Angstrom Linux installation. More specifically, the console version in this link: http://cumulus.gumstix.org/images/angstrom/developer/2011-08-30-1058/ I've followed the directions listed on the Gumstix developer's site: http://gumstix.org/how-to/70-writing-images-to-flash.html I've downloaded the MLO, uImage.bin, and u-boot.bin as well as the .ubi installation image in the first link above. I put this in a bootable micro SD and the flashing process completes error free. However, when I reboot and both before or after I redundantly copy over the MLO into the flash, I'm unable to boot into Angstrom. I will provide a dump if someone wants, but its best described as the boot loader searching through every bit of the flash and everything seems to be empty. At the very end, VFS gives me an error saying it can't open root device and lists some available partitions and then proceeds to kernel panic (posted below at the end). After searching some things, I've found someone who posted slightly different directions and uses a tar.gz2 rather than .ubi image: http://www.aarcomm.com/blog/technology/gumstix/gumstix-overo-nand-flashing/ Needless to say, this did not work as well, giving me a similar VFS error and kernel panic. It's interesting to note that this method does not prompt the boot loader to search through the entire NAND and whatnot. I assume that mtdblock4 is where the rootfs should be but for some reason the flashing process did not go successfully. I'm unsure. Someone in the comments said they successfully flashed their NAND by information in this topic but I was unable to get anything to work by blindly doing what people posted: http://gumstix.8.x6.nabble.com/Moving-from-JFFS2-to-UBIFS-td642007.html Anyhow, if anyone can help me by giving me directions on how to flash my NAND, I would greatly appreciate it! Thanks! VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0) Please append a correct "root=" boot option; here are the available partitions: 1f00 512 mtdblock0 (driver?) 1f01 1792 mtdblock1 (driver?) 1f02 256 mtdblock2 (driver?) 1f03 4096 mtdblock3 (driver?) 1f04 517632 mtdblock4 (driver?) Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) Backtrace: [<c0043a48>] (dump_backtrace+0x0/0x10c) from [<c036aa9c>] (dump_stack+0x18/0x1c) r7:df81b000 r6:c002ed3c r5:df81b006 r4:c04bda40 [<c036aa84>] (dump_stack+0x0/0x1c) from [<c036aafc>] (panic+0x5c/0x188) [<c036aaa0>] (panic+0x0/0x188) from [<c0009198>] (mount_block_root+0x1e4/0x22c) r3:00000000 r2:df83c000 r1:df83df70 r0:c041925f [<c0008fb4>] (mount_block_root+0x0/0x22c) from [<c0009344>] (prepare_namespace+0x94/0x1dc) [<c00092b0>] (prepare_namespace+0x0/0x1dc) from [<c0008638>] (kernel_init+0x104/0x140) r5:c002e2cc r4:c04bca54 [<c0008534>] (kernel_init+0x0/0x140) from [<c0071260>] (do_exit+0x0/0x730) r5:c0008534 r4:00000000 -- View this message in context: http://gumstix.8.x6.nabble.com/Help-flashing-NAND-on-Airstorm-tp4967750.html Sent from the Gumstix mailing list archive at Nabble.com. |