Altera_Forum
Honored Contributor
15 years agoExtrem Guide to Kill Neek with u-boot : Kernel panic.
Hi,
I am following the nios wiki (Extrem guide to kill neek with u-boot) I notice a mistake in the tutorial when we send neek.bin. More precisely, the zone to "deprotect" and to erase si not at 0xe0000000 but at 0xe4000000. Then after, i have a problem at step 11. I enable the MTD command line partition table parsing in Device Driver => MTD => MTD partitionning Support => Command Line partition table parsing and also JFF2 support in File System => Miscellaneous File System => JFFS2 support (and let the default selection that appreared) After it is said to add a line in vendor/product Makefile. I do not have add it because I don't know where to add it in the Makefile (And is it the Makefile in nios2-linux/uClinux-dist/vendors/Altera/nios2/ ?) then make (and no problem, i have the rootfs.jffs2) and i send it by tftp to the neek. And i complete the step 11 until : run bootcmd and I got a Kernel Panic : IP-Config: No network devices available VFS: Cannot open root device "mtdblock2" or unknown-block(0,0) Please append a correct "root=" boot option; here are the available partitions : Kernel panic - not syncing: VFS: Unable to mount root fs on unknow-block(0,0) I have tried to add the missing line in vendor/product Makefile just at the end. But as expected it is not better. Can you help me ?