Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Create script for u-boot image



Hi! all,


This script create the U-boot image.
(just like arch/evbppc/compile/walnut-mkimg.sh)

  ftp://ftp.netbsd.org/pub/NetBSD/misc/kiyohara/tmp/u-boot-mkimg.sh

U-boot can load the text and data sections from image.  And jump to
entry-point.  Also supported gzip-ed kernel.

I tested on KURO-BOX/PRO(evbarm).  Moreover will test GUMSTIX(evbarm).


NOTE:

The u-boot has some problems before version 1.1.5.  This version change
the max gunzip size to 8MByte from 4Mbyte.  Also call ntohl() as entry
point address.
If you use 1.1.4 and older version then:
   must specify '-e entry_point' if your machine works little endian.
And
   don't specify -z if your kernel size over 4M.

Thanks,
--
kiyohara


Home | Main Index | Thread Index | Old Index