ts-7000
[Top] [All Lists]

[ts-7000] Re: best way to get filesystem from nfs onto card/flash for ts

To:
Subject: [ts-7000] Re: best way to get filesystem from nfs onto card/flash for ts7800
From: "pattykirsch" <>
Date: Fri, 26 Feb 2010 14:54:36 -0000
That did it thanks!  Couple notes for anyone who finds this in a search:
-The createmtdroot scrpit is in /lbin, and that is basically what it does 
(couple other things after copying that I went ahead and did not sure how 
necessary they are)
-The eraseall command is only available on the initrd on the sdcard, not the mtd

--- In  Robert Ulbrich <> wrote:
>
> Hi Patty,
> 
> To get the rootfs onto the onboard flash, I would do the following:
> 1. zip up your rootfs
> 2. boot to the nfs share
> 3. mount the mtd partition
> 4. delete all the files on the mtd partition
> 5. umount it
> 6. run eraseall on the partition (re-creates the filesystem and rescans for
> bad blocks)
> 7. remount it
> 8. extract your filesystem onto the freshly mounted partition
> 
> If you are having trouble, you could take a look at the createmtdroot script
> to see what it's doing and try to execute it line by line manually. I think
> it's in /bin or /lbin.
> 
> -Rob
> 
> On Thu, Feb 25, 2010 at 2:34 PM, pattykirsch <>wrote:
> 
> >
> >
> > I've been using an nfs share filesystem for development on a ts7800 board
> > and am ready to move to a more permanent setup on the flash or an sd card.
> > What's the best way to go about this? The createmtdroot command seems to be
> > only for copying from a card, so I need to get it onto a card? I've had a
> > terrible time trying to use the card images on the ftp site, so would really
> > like an alternative. Thanks
> >
> > Patty Kirsch
> >
> >  
> >
> 
> 
> 
> -- 
> Robert Ulbrich
> Software Developer
> CAPSHER Technology, Inc.
> 1604 Crescent Pointe Pkwy.
> 979.776.7520 x150
>




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

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