[Yaffs] programming yaffs root filesystem image to flash

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Sasha Sirotkin
Date:  
To: yaffs
Subject: [Yaffs] programming yaffs root filesystem image to flash
Hello.

I'm trying to figure out how can I change the root filesystem on my
board. I cannot overwrite it from Linux as it is mounted and I cannot
really not mount it, as it is a root filesystem. However, when I try to
program it via the bootloader, it fails...

Writing directly from Linux to /dev/mtd0 (my root filesystem is mounted 
on /dev/mtdblock0) fails either
/tmp # cat rootfs.img  > 
/dev/mtd0                                             
cat: write error: Input/output error 


Any suggestions?