Altera_Forum
Honored Contributor
21 years agoMTD Support and uClinux 2.6
Hi:
Am running Microtronix uClinux v2.6 on a NiosII custom design. As of now, the only way that I can get the kernel to boot through to a login prompt is if I enable MTD partitioning support and use the mapping driver for the Altera Nios Development Board which will mount my flash as mtdblock0 and partition it into mtd0, mtd1 etc, identical to that used on the development boards. How do I configure the kernel to simply mount the flash file system, using the kernel command line "root=/dev/rom0 ro" or "root=/dev/mtdblock0 ro", without partitioning it further? i.e. how can I mount the flash file system as was done in the 2.4 kernel? At this point, it looks I MUST have the "Maps for Altera Nios Development Kit"option selected or else I will get the error "Cannot open root device "mtdblock0" or unknown block(0,0)". I do have mtdblock0,b,31,0 in my /dev directory. Thanks! Nick