[beagleboard] How to copy RFS to NAND?

Hi,

I try to boot from NAND with u-boot, uImage and RFS put to NAND.

But when I put JFSS2 downloaded to NAND, it can’t be recognized. When I power on, it says

vfs: Cannot open root device “mtdblock4” or unknown-block(31,4)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31, 4)

I copy JFFS2 file system to NAND with u-boot not kernel. I tried mtd-utils but I failed.

Does anyone know any way to put a RFS to NAND and boot from NAND? I don’t want SD card inserted to beagleboard.

Thank you.

Evan

Hi Evan,

I try to boot from NAND with u-boot, uImage and RFS put to NAND.
But when I put JFSS2 downloaded to NAND, it can't be recognized. When I

power on, it says

vfs: Cannot open root device "mtdblock4" or unknown-block(31,4)
Kernel panic - not syncing: VFS: Unable to mount root fs on

unknown-block(31, 4)

I copy JFFS2 file system to NAND with u-boot not kernel. I tried mtd-utils

but I failed.

Does anyone know any way to put a RFS to NAND and boot from NAND? I don't

want SD card inserted to beagleboard.

Have you had a look at: BeagleBoardNAND - eLinux.org?

Best regards – Good luck
  Søren

Hi Soren,

Thank you for your suggestion

Yes. I just followed procedures there.

I wrote RFS with u-boot. But system can’t load RFS.

I want to try writing RFS with kernel. But it needs MTD Utils. I can’t compile and get MTD Utils in lernel. because no make in kernel So I can’t writing RFS with kernel.

I think the actual Android device will boot from NAND not SD card because SD card slot is for customer to access.

Does everyone here boot from SD card? How can I do?

Evan

Hi!

I’ve compiled mtd utils to work with flash. Try and tell us if they work

http://www.mentorel.com/downloads/flash-utils.tgz

2010/5/19 Evan G <evan.g374@gmail.com>