From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zhao Hongda Date: Tue, 1 Jul 2003 20:50:42 +0800 Subject: [U-Boot-Users] How can I save zImage & fsimage.tar into Flash memory then boot References: <000001c33fb7$d91939e0$a865a8c0@ThinkPadX31> Message-ID: <004301c33fcf$620af010$fe00a8c0@esd11> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de After do such steps, I try to "bootm 0x40000", but the kernel hangs: ## Booting image at 00040000 ... Image name: 2.4.18 kernel Image Type: ARM Linux kernel Image (gzip compressed) Data Size: 714025 Bytes =697.3kB Load Address: a0008000 Entry Point: a0008000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK Starting kernel... (hangs) why? should I change some envs? Hongda Zhao ----- Original Message ----- From: "Kyle Harris" To: "Jacob Chan" ; "'Zhao Hongda'" Cc: "u-boot" Sent: Tuesday, July 01, 2003 8:20 PM Subject: Re: [U-Boot-Users] How can I save zImage & fsimage.tar into Flash memory then boot > > On Tuesday 01 July 2003 06:02 am, Jacob Chan wrote: > > > I am using diff-2.4.18-rmk7-pxa3 kernel. > > Could you tell me the complete command about mkimage that you type > > I am type mkimage -A arm -O linux -T kernel -C none -a 0xa0200000 -e > > 0xc0004000 -n zImage -d zImage bootm > > I think this has been discussed on this mailing list before. > > Here is the procedure I use for creating a bootable image for PXA. > > arm-linux-objcopy -S -O binary vmlinux linux > gzip -vf9 linux > mkimage -n kernel_name -A arm -O linux -T kernel -C gzip -a a0008000 \ > -e a0008000 -d linux.gz linuxgz.image > > I then copy this in to flash at 0x40000 and boot with "bootm 40000". Since I > use a mtd device as the rootfs there is only a single arg to the bootm > command. > > HTH, Kyle. >