ts-7000
[Top] [All Lists]

Re: [ts-7000] [more] specific question[s] on creating a new filesystem,

To:
Subject: Re: [ts-7000] [more] specific question[s] on creating a new filesystem, kernel on a CF card
From: Jim Jackson <>
Date: Wed, 30 May 2007 21:17:36 +0100 (BST)


On Wed, 30 May 2007, djtopper wrote:

> Hey guys,
>
> Thanks for the tips.  I guess I'll copy a TS / Debian distro to a new
> CF card then load a kernel from tftp.  New question though ...
>
> How do I make a copy / backup of my currently running kernel?  I don't
> want to lose it, because I know it works.  It does not reside anywhere
> on my CF card.  Or, I should say, there's no file with the name
> "vmlin*" or "*image*" on the CF card.

It's in a partition in the onboard flash memory!

As long as you don't overwrite it - that is your backup.

> So before loading a new kernel into the board's flash, I'd like to
> back up the one it's using.

If you load a kernel by tftp - it loads into RAM, not into the onboard
flash.

> I'm still not clear, btw, why I shouldn't just load the kernel from
> the CF card ... since I have to CF cards to play with.

You can.

 From a previous post to this list, with "Subject: Kernel loading from CF
card", (surprizingly :-) ....

> > on ts7200, to boot a kernel from CFDISK and use the cfdisk as the root
> > file system...
> >
> >  load -r -b 0x00218000 -m disk hda1:/vmlinux.bin
> >  exec -c "console=ttyAM0,115200 root=/dev/hda1"
> >
> > as long as the the kernel is in the file /vmlinux.bin on the cfdisk.
> > The cfdisk should be an ext2 file system.

I boot my ts7200 from CFDISK, which contains the kernel and the root file
system. The kernel and root filesystem on the onboard flash are as
delivered by Technologics, so I can always revert to factory default :-)
Mind you in my case factory default is as supplied in Sept. 2004, so it's
pretty old.

cheers
Jim

> --- In  Jason Stahls <> wrote:
> >
> > You need to load a kernel into the address @ 0x0021800 first, do this
> > with the load command just like you do to load a kernel from tftp/http
> >
> > Jason
> >
> > djtopper wrote:
> > > I guess my biggest concern is the following.  The
> > > linuxarm-guide-rev2.2 states that in order to load a new kernel into
> > > JFFS/YAFFS, I must first delete the old one.  So:
> > >
> > >   fis delete <kernel name>
> > >
> > > will delete the old kernel associated with that tag.
> > >
> > >   fis create -b 0x0021800 -l 0x1600 <new kernel name>
> > >
> > > will load vmlinux from my CF flash into JFFS?  It will then have a new
> > > tag with the same name?
> > >
> > > Something there seems fishy to me.  How will RedBoot even know where
> > > to look for my new kernel image?
> > >
> > > Thanks,
> > >
> > > Dave Topper
> > >
> >
>
>
>


 
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