Re: HP mv2120 support in Orion tree
- To: Eugene San <eugenesan@gmail.com>
- Cc: Martin Michlmayr <tbm@cyrius.com>, debian-arm@lists.debian.org
- Subject: Re: HP mv2120 support in Orion tree
- From: Marc Singer <elf@buici.com>
- Date: Tue, 10 Jun 2008 14:26:56 -0700
- Message-id: <[🔎] 20080610212656.GA10157@buici.com>
- In-reply-to: <484ED9E1.5020203@gmail.com>
- References: <483D52D7.1080601@gmail.com> <20080528183745.GC19659@deprecation.cyrius.com> <483E5E20.3080901@gmail.com> <20080530075636.GE2650@deprecation.cyrius.com> <4841A642.6060608@gmail.com> <20080601121530.GB2451@deprecation.cyrius.com> <484381E8.9070402@gmail.com> <20080610182325.GS6241@deprecation.cyrius.com> <484ED9E1.5020203@gmail.com>
On Tue, Jun 10, 2008 at 10:45:37PM +0300, Eugene San wrote:
> Martin: Thank you for answering my question.
>
> To create install image we need uImage, uInitrd and mkimage
> a) uImage can be provided by make uImage in kernel source tree or by
> converting regular image with: |mkimage -A arm -O linux -T kernel -C
> none -a 0x80000 -e 0x80000 -n "Linux 2.6" -d linux.bin uImage.bin |
> ( http://www.denx.de/wiki/view/DULG/LinuxConfiguration#Section_6.2 )
> b) uInitr can be created from regular inird by: "mkimage -T ramdisk -C
> none -n 'Test Ramdisk Image -d ramdisk.img.gz uRamdisk"
> ( http://www.denx.de/wiki/view/DULG/RootFileSystemOnARamdisk )
> c) mkimage is available as package in SID,
> http://packages.debian.org/search?keywords=uboot-mkimage
> Final combined image (recovery.img), that may be uploaded and executed
> on device using original recovery utility, is just two files glued
> together.
> uImage must be padded to 2M and uInitrd to 8M and maybe compressed by
> replacing "-C none" with "-C gzip".
>
> If you need more help, I'll be glad to assist.
Are you sure the ramdisk must be padded to 8MiB? Is the full image
size supposed to be 10MiB, 2 + 8?
Reply to: