ts-7000
[Top] [All Lists]

[ts-7000] Unable to build/install a Yaffs2 root file-system

To:
Subject: [ts-7000] Unable to build/install a Yaffs2 root file-system
From: "Guillermo Prandi" <>
Date: Fri, 14 Jul 2006 14:09:56 -0000
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/
 



<Prev in Thread] Current Thread [Next in Thread>
  • [ts-7000] Unable to build/install a Yaffs2 root file-system, Guillermo Prandi <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU