ts-7000
[Top] [All Lists]

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

To:
Subject: Re: [ts-7000] trouble with mkyaffsimage and RedBoot fis write
From: "Gary Wicker" <>
Date: Tue, 8 May 2007 14:12:13 -0700
AFAIK, you can't write yaffs images using redboot.  You need to write them using mkyaffs under linux.  If anyone knows how to do this in redboot I'd like to know, but I've only gotten to work under linux using mkyaffs.

 
On 5/8/07, Christopher Friedt <> wrote:
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:
   mailto:m("yahoogroups.com","ts-7000-digest");">
  

<*> To unsubscribe from this group, send an email to:
   m("yahoogroups.com","ts-7000-unsubscribe");">

<*> Your use of Yahoo! Groups is subject to:
   http://docs.yahoo.com/info/terms/


__._,_.___


SPONSORED LINKS
Single board computer Hardware Computer running slow
Linux os Single board

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<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