public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Zhao Hongda <zhaohd@vis.cs.tsinghua.edu.cn>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] How can I save zImage & fsimage.tar into Flash memory then boot
Date: Tue, 1 Jul 2003 20:50:42 +0800	[thread overview]
Message-ID: <004301c33fcf$620af010$fe00a8c0@esd11> (raw)
In-Reply-To: E19XKGU-000759-00@smtp6.mindspring.com

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

  reply	other threads:[~2003-07-01 12:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <010c01c33fb4$706890b0$fe00a8c0@esd11>
2003-07-01 10:02 ` [U-Boot-Users] How can I save zImage & fsimage.tar into Flash memory then boot Jacob Chan
2003-07-01 12:20   ` Kyle Harris
2003-07-01 12:50     ` Zhao Hongda [this message]
2003-07-01 13:14       ` Kyle Harris
2003-07-01 14:59         ` Zhao Hongda
2003-07-01  8:26 Jacob Chan
2003-07-01  8:59 ` Zhao Hongda
2003-07-01  9:33   ` Jacob Chan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='004301c33fcf$620af010$fe00a8c0@esd11' \
    --to=zhaohd@vis.cs.tsinghua.edu.cn \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox