Hi, all! I'm new to TS-7260. I'm building my own kernel departing
from the sources available at ftp://ftp.embeddedarm.com/linux24-
ts11.tar.gz . I want to build my own root file-system (departing from
ftp://ftp.embeddedarm.com/images/os/tslinux-03-31-2006.tar) and I
want it to be YAFFS2 instead of YAFFS1. I tried the method available
at the Wiki (http://www.seiner.com/ts7000/index.php/
EraseFlashImageAndReplace), but it seems to generate just a yaffs1
image, as a cat on /proc/yaffs returns:
isYaffs2........... 0
I tried building my own Yaffs2 image using Yaffs2's utility
(mkyaffs2image) and putting it on the Flash by hand (from RedBoot):
fis erase -f 0x60004000 -l 0x01d00000
load -r -v -b 0x218000 ts7260/root.yaffs2
fis write -f 0x60004000 -b 0x218000 -l 8834496
(8834496 is the size of my image)
However, something doesn't work since when I mount the image the file-
system is empty, except from corrupt contents in the lost+found
directory, like:
?--------- 1 root root 536870863 Jan 1 00:00 obj259071
?--------- 1 root root 530159347 Jan 1 00:00 obj261888
?--------- 1 root root 536346112 Jan 1 00:00 obj261891
(etc.)
The image itself seems to be correctly flashed, since the first
8834496 bytes of /dev/mtd/1 accurately match the image file.
Out of desperation, I tried using the "convert" option of the
mkyaffs2image utility (which shouldn't apply, anyway), but results
were similar.
Has anyone been able to create a yaffs2 root file-system?
Guille
------------------------ Yahoo! Groups Sponsor --------------------~-->
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/CFFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|