public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Simon Sudler <Simon.Sudler@gmx.net>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] u-boot for pxa255
Date: Tue, 30 Nov 2004 12:47:04 +0100	[thread overview]
Message-ID: <41AC5DB8.7050608@gmx.net> (raw)
In-Reply-To: <eae046ff04113002393bdde623@mail.gmail.com>

Sharad P. Katti wrote:
> Hi,
> 
> Since the board doesnot have the nework to test from the net, I tried
> that to check whether I'm doing the right thing or not.
> 
> The board has 512K of flash, onto which I'm writing the U-boot (its of
> 64K), and in the remaining space, I'm writing the kernel (which is
> around 350K, and its only for the testing).
> 
> Now to boot from the image, I'm planning to do the following,
> 
> 1> Copy the Image from the flash to the RAM,
> 2> and then give the control to the image location in RAM (using the
> bootm command).

the bootm command expects a image file created from a binary with 
tools/mkimage. e.g.:

mkimage -n 'Kernel Ramdisk Image' -A ppc -O linux -T kernel -C none -e 
00400000 -a 00400000 -d zImage.bin zImage.img

If your kernel image in the flash memory was created with the mkimage 
tool just start it with:
=> bootm 0xYourflashaddress

or test it with:
=> imi 0xYourflashaddress

the should produce a output similar to:
## Checking Image at 04000000 ...
    Image Name:   Kernel Ramdisk Image
    Created:      2004-11-30   9:54:16 UTC
    Image Type:   PowerPC Linux Kernel Image (uncompressed)
    Data Size:    3010560 Bytes =  2.9 MB
    Load Address: 00400000
    Entry Point:  00400000
    Verifying Checksum ... OK

> 
> Please confirm me whether I'm doing the right thing.

that should to the trick...

Cheers
Simon

  reply	other threads:[~2004-11-30 11:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-30  8:58 [U-Boot-Users] u-boot for pxa255 Sharad P. Katti
2004-11-30  9:28 ` Wolfgang Denk
2004-11-30 10:39   ` Sharad P. Katti
2004-11-30 11:47     ` Simon Sudler [this message]
2004-12-04  4:54       ` Sharad P. Katti
2004-12-06 11:22         ` Simon Sudler
2004-12-06 12:51           ` Sharad P. Katti
2004-12-06 15:36             ` Wolfgang Denk
2004-12-06 16:27             ` Simon Sudler
2004-11-30 11:55     ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2004-10-27 16:35 [U-Boot-Users] U-boot " swamy
2004-10-27 18:47 ` Wolfgang Denk

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=41AC5DB8.7050608@gmx.net \
    --to=simon.sudler@gmx.net \
    --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