From mboxrd@z Thu Jan 1 00:00:00 1970 From: tiejun.chen Date: Thu, 16 Sep 2010 15:30:03 +0800 Subject: [U-Boot] cuImage and multi image? In-Reply-To: References: Message-ID: <4C91C77B.8080501@windriver.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Shawn Jin wrote: > Hi, > > I have a cuImage kernel in order to support legacy u-boot and a > ramdisk image. Kernel boots fine if these two images are separate and > "bootm $kernel $ramdisk" is used. But I can not make it to work using > a single multi image that contains the kernel and ramdisk images. Is > it even technically possible to boot a multi-image with cuboot > wrapper? Try the following steps: ------ 1. cp arch/powerpc/boot/ramdisk.image.gz 2. make cuImage.initrd. You can get one Image, cuImage.initrd., including kernel and ramdisk. Cheers Tiejun > > On the cuImage kernel I have load address set to 0x400000 and the > entry address set to 0x400554 due to the cuboot wrapper. But to make a > multi image, both the load and the entry addresses should be set to > zero. And u-boot (1.1.2) bootm takes the entry address of the multi > image (i.e. 0x0) as the kernel entry address. 0x0 is certainly not the > entry address for a cuImage kernel. > > Is there a possible workaround other than using two separate images? > > Thanks, > -Shawn. > _______________________________________________ > Linuxppc-dev mailing list > Linuxppc-dev at lists.ozlabs.org > https://lists.ozlabs.org/listinfo/linuxppc-dev >