Forum Discussion
Altera_Forum
Honored Contributor
16 years agoPlease find some example u-boot scripts in this file,
ftp://ftp.altera.com/outgoing/devkit/altera_niosii_wrlinux_deliverables.zip You may enable passing command line from u-boot with this kernel config, "NiosII Configuration"-->"Passed kernel command line from u-boot" It will be more flexible to keep compile-in command line empty and pass it from u-boot. So that you are free to boot from nfs or flash. You may enable jffs2 and mtd in kernel config, (or ubifs etc) so that your can root your fs on it. as stated in the wiki, "images/rootfs.jffs2 is jffs2 image, eg, cp rootfs.jffs2 /dev/mtd0. This is available when jffs2 is selected in kernel. Please note the flash erase sector size on 3c120 dev board is 128KB, you will have to specify "MKFS_JFFS2_FLAGS = -l -p -e 128" at the beginning of your product Makefile." I am working with Altera to prepare a user guide, which should be released soon. - Hippo