I am trying to port RFS into my embedded board. The board has the Nand flash and file system used is JFFS2. During booting I can see the following error:
"Warning: unable to open an initial console"
On googling I found, this error is caused due the file system not properly written on to flash. The way I am writing linux files to flash is as follows:
1. created the JFFS2 partition:
mount -t jffs2 /dev/mtdblock10 /mnt/rfs
2. copied the linux files into the partition.
cp -ax / /mnt/rfs.
I could see some files in /dev directory not being copied correctly. Not sure why cp command is not able to copy all the files.. Please let me know if you have any suggestions in this regard.