From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ey0-f170.google.com (mail-ey0-f170.google.com [209.85.215.170]) by ozlabs.org (Postfix) with ESMTP id 2A255B6EF2 for ; Tue, 21 Sep 2010 03:52:32 +1000 (EST) Received: by eyg24 with SMTP id 24so2520750eyg.15 for ; Mon, 20 Sep 2010 10:52:31 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <4C91C77B.8080501@windriver.com> References: <4C91C77B.8080501@windriver.com> Date: Mon, 20 Sep 2010 10:52:30 -0700 Message-ID: Subject: Re: cuImage and multi image? From: Shawn Jin To: "tiejun.chen" Content-Type: text/plain; charset=ISO-8859-1 Cc: ppcdev , uboot List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , >> 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. A follow up question. With this method, the total image size (uncompressed) is limited to the 4MB (the link address of the boot wrapper)? Thanks, -Shawn.