ts-7000
[Top] [All Lists]

Re: [ts-7000] Specific question on creating a new filesystem, kernel on

To:
Subject: Re: [ts-7000] Specific question on creating a new filesystem, kernel on a CF card ...
From: Christopher Friedt <>
Date: Wed, 30 May 2007 18:41:46 +0200
I use the following procedure to create a new kernel image:

(please remember not to copy everything from your email - you'll have to
write everything as a single line in most cases where you see a command)


1)

Download http://vaiprime.visibleassets.com/~cfriedt/zImage-2.6 to /

cd / && sudo wget 'http://vaiprime.visibleassets.com/~cfriedt/zImage-2.6'

1)

RedBoot> fis list

Name              FLASH addr  Mem addr    Length      Entry point

(reserved)        0x60000000  0x60000000  0x01D04000  0x00000000

RedBoot           0x61D04000  0x61D04000  0x00040000  0x00000000

vmlinux           0x61D44000  0x00218000  0x00144000  0x00218000

RedBoot config    0x61FF8000  0x61FF8000  0x00001000  0x00000000

FIS directory     0x61FFC000  0x61FFC000  0x00004000  0x00000000

2) Send the /zImage-2.6 file you just downloaded using the xmodem client
of your terminal emulator

RedBoot> load -r -b 0x00218000 -m xmodem
Raw file loaded 0x00218000-0x0035a11b, assumed entry at 0x00218000

3)

(using your handy hex calculator, compute 0x35A11B – 0x218000 =
0x14211B) (NOTICE: This value has changed, the above numbers are only an
example !!!!)

4)

RedBoot> fis delete vmlinux
Delete image 'vmlinux' - continue (y/n)? y

5)

(enter the statement below entirely on one line. If using minicom, don't
forget to turn line-wrapping on)

RedBoot> fis create -b 0x00218000 -r 0x00218000 -f 0x61D44000 -e
0x00218000 -l 0x14211B -s 0x14211B vmlinux

Done!



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