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/
|