ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: erasing (and recreating) rootfs partition in on-board

To:
Subject: Re: [ts-7000] Re: erasing (and recreating) rootfs partition in on-board flash
From: Michael Schmidt <>
Date: Fri, 27 Feb 2009 08:51:11 -0700
odonovan_dan wrote:
> Hi Michael
> 
> Thanks very much for your help.
> I downloaded the command below, and tried it from the fastboot shell
> as follows:
> ./eraseall /dev/mtd/3
> It appeared to run without any errors, and reported that it
> successfully erased the 28MB partition.  However, when I remounted the
> partition and typed 'ls' I got the following:
> 
> $ ./eraseall /dev/mtd/3
> Erased 28656 Kibyte @ 0 -- 100% complete.       
> $ mount -t yaffs /dev/mtdblock/3 /onboardflash/
> $ cd /onboardflash/
> $ ls
> ls:
> ./&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;y
 > [...]
> lost+found
> 
> 
> I tried to untar the ts-linux tarball into /onboard flash, and I got
> this error:
> $ cd /onboardflash/
> $ tar xvf /mnt/root/tslinux/ts7400-default.tar  
> bin
> bin/dd
> bin/cp
> bin/df
> ...
> bin/mkdir
> bin/mknod
> bin/mount
> tar: Couldnt remove old file: Directory not empty

Given the first error this is not surprising...


> Any idea why this might happen?

No, all the commands look ok to me.  What does the output of 'dmesg' 
say? perhaps there is a clue there...


> Many thanks,
> -Dan

  ______   Best Regards,
|__  __/                  Michael Schmidt
    ||                   Software Engineer
    ||echnologic Systems (EmbeddedARM.com)
    || (480)        16525 East Laser Drive
    |/ 837-5200   Fountain Hills, AZ 85268
        http://oz.embeddedarm.com/~michael


------------------------------------

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