[U-Boot-Users] How can I save zImage & fsimage.tar into Flash memory then boot

Zhao Hongda zhaohd at vis.cs.tsinghua.edu.cn
Tue Jul 1 14:50:42 CEST 2003


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" <kharris at nexus-tech.net>
To: "Jacob Chan" <jacob_chan at so-net.net.tw>; "'Zhao Hongda'"
<zhaohd at vis.cs.tsinghua.edu.cn>
Cc: "u-boot" <u-boot-users at lists.sourceforge.net>
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.
>






More information about the U-Boot mailing list