Could some one please give me some pointers in setting up the flash on a new board.
We have our new hardware booting from flash, but I get a kernel panic in the boot process:
VFS: Mounted root (yaffs2 filesystem).
Freeing init memory: 180K
Warning: Cannot create /dev/console: -2Warning: unable to open an initial console.
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
my boot args are as follows:
bootargs=mem=116M console=ttyS0,115200n8 noinitrd rw root=/dev/mtdblock3 rootfstype=yaffs2 ip=off video=davincifb:vid0=720x576x16,2500K:vid1=720x576x16,2500K:osd0=720x576x16,2025K davinci_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=pal
I am assuming that the panic is because I don't have a file system initialised on the flash as it's a new board.
Now I have seen a few posts explaining how to do this using nfs, but our hardware does not have a network interface.
I used serial to download the kernel, not sure how to do this for the file system.
There are references to using the mtd interface, but you need linux up and running to do this, am I missing something?
TIA
Brendan