From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timur Tabi Date: Mon, 19 Feb 2007 17:51:23 -0600 Subject: [U-Boot-Users] [PATCH] Fix initrd length miscalculation in bootm command In-Reply-To: <37B7ABBF-458F-4B50-80D8-F3FE22A52EB2@kernel.crashing.org> References: <20070206004307.D7C18353AF8@atlas.denx.de> <45C89A99.8070709@freescale.com> <8FA84569-4397-4F6F-8781-F4EA6EC40139@kernel.crashing.org> <45C8B6D7.7050302@freescale.com> <37B7ABBF-458F-4B50-80D8-F3FE22A52EB2@kernel.crashing.org> Message-ID: <45DA37FB.3070804@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Kumar Gala wrote: >> I've never heard of multi image before. How do I make one? The >> README doesn't explain it. > > mkimage -A ppc -O Linux -T multi -C gzip -n 'Linux Multiboot-Image' -e > 0 -a 0 -d vmlinux.gz:rootfs.ext2.gz:oftree.dtb kern+fs+dtb.bin I need some more help getting the multi-image to work. I have the following files: vmlinux.bin.gz (built myself) rootfs.ext2.gz.uboot (from the BSP, because I don't know how to build a root file system. I don't know what the ".uboot" is for.) mpc8349emitx.dtb (built myself) I create the multi image per you instructions, tftp them to $loadaddr (200000), and do "bootm $loadaddr". I get this output: bootm $loadaddr ## Booting image at 00200000 ... Image Name: Linux Multiboot-Image Created: 2007-02-19 23:46:03 UTC Image Type: PowerPC Linux Multi-File Image (gzip compressed) Data Size: 20407814 Bytes = 19.5 MB Load Address: 00000000 Entry Point: 00000000 Contents: Image 0: 1416615 Bytes = 1.4 MB Image 1: 18987128 Bytes = 18.1 MB Image 2: 4054 Bytes = 4 kB Verifying Checksum ... OK Uncompressing Multi-File Image ... OK U-Boot 1.2.0-g2e892316-dirty (Feb 9 2007 - 15:56:37) MPC83XX So the image appears to be okay, but it doesn't boot at all. Is there something obvious I'm doing wrong, or will I have to debug this? -- Timur Tabi Linux Kernel Developer @ Freescale