All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] What mkimage arguments for standalone AVR32 app?
Date: Tue, 5 May 2009 05:12:09 -0400	[thread overview]
Message-ID: <200905050512.09903.vapier@gentoo.org> (raw)
In-Reply-To: <49FFFF10.1090505@jespervestergaard.dk>

On Tuesday 05 May 2009 04:55:44 Jesper Vestergaard wrote:
> mkimage -A avr32 -O u-boot -T standalone -C none -a 0x11000000 -e
> 0x11000000 -n "myapp" -d test.bin test_uboot.bin

the entry/load addresses need to match reality.  you cant pick them out of the 
air without properly setting them everywhere.

you also didnt say how you compiled/linked the standalone code ... you must be 
sure to not use any files/libraries/toolchain that expect an operating system 
(like Linux).

> ICnova> tftp 11000000 test_uboot.bin
> ICnova> bootm 11000000
>    Load Address: 11000000
>    Entry Point:  11000000

you shoulud not load (tftp) the bootable image to the same address that it 
will be uncompressing to (load address).

really you should read doc/README.standalone and the simple examples in 
examples/ instead of trying random commands.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090505/ca226833/attachment.pgp 

  reply	other threads:[~2009-05-05  9:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-05  8:55 [U-Boot] What mkimage arguments for standalone AVR32 app? Jesper Vestergaard
2009-05-05  9:12 ` Mike Frysinger [this message]
2009-05-05 10:05   ` Jesper Vestergaard
2009-05-05 11:32     ` Mike Frysinger

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=200905050512.09903.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.