ts-7000
[Top] [All Lists]

[ts-7000] trouble with mkyaffsimage and RedBoot fis write

To:
Subject: [ts-7000] trouble with mkyaffsimage and RedBoot fis write
From: Christopher Friedt <>
Date: Tue, 08 May 2007 23:00:57 +0200
I'm encountering something that doesn't really make any sense to me at 
all. Maybe somebody on the list can offer some advice.

If i have a yaffs filesystem, created with

========================================
$ mkyaffsimage newroot ../new_rot.y7affs


and I attempt to write it to flash with redboot

(erase)
===========================================
RedBoot> fis erase 0x60004000 -l 0x10D00000


(load, say 0x12345 bytes to 0x00218000)
(write)
======================================================
RedBoot> fis write 0x60004000 -b 0x00218000 -l 0x12345


Why would a filesystem written in such a manner appear empty to the kernel?

When I boot the kernel normally, it says 'failed to find init', and then 
when i mount the flash partition using an nfs root, all that I see there 
is 'lost+found'. That means the kernel recognizes the partition as 
yaffs, but doesn't acknowledge that there are any files there.

Should i be creating the yaffs image this this? :

===============================================
mkyaffsimage newroot ../new_rot.y7affs convert


Are the TS7200 boards using big-endian format? ... I always thought it 
was little endian.


~/Chris


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> 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>
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