I have burned a filesystem to the nor flash in partition 3 (0x08460000 - 0x0b65ffff). Now I'm trying to figure out how to make the kernel use that for its rootfs. From examining the code, ti8148_evm_init calls ti814x_mux_init and then calls board_nor_init. The mux settings are perfect, the GPMC settings are perfect. The question is, when board_nor_init calls platform_device_register.. how does that end up creating /dev/mtdblock3 ? I don't get any errors until the kernel tries to open mtdblock3.. which eventually ends in a kernel panic. I get the following output:
VFS: Cannot open root device "mtdblock3" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: unable to mount root fs on unknown-block(2,0)
<backtrace>
So it's interesting that it says "here are the available partitions" and then lists nothing. What could be going on here?