All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] ## Application terminated, rc = 0x1
Date: Tue, 29 Sep 2015 18:13:10 +0200	[thread overview]
Message-ID: <20150929161310.7EAAE380905@gemini.denx.de> (raw)
In-Reply-To: <2e2178cf246f80c4f9098dce357e5528@rbg.informatik.tu-darmstadt.de>

Dear ba_f,

In message <2e2178cf246f80c4f9098dce357e5528@rbg.informatik.tu-darmstadt.de> you wrote:
> 
> Anyway, i still don't know how to determine the Load- & Entry-Address, 
> and i would be thankful if you could clear some things up for me.

Did you read the FAQ? See es[ecially [1]

[1] http://www.denx.de/wiki/view/DULG/MyStandaloneProgramDoesNotWork


> The first time i came in touch with U-Boot i booted a Uimage kernel, and 
> i had to do it the following way:
> (Please, notice the offset between Load- & Entry-Address)
> 
> uboot> fatload mmc 0 0x00ffffc0 bootstrap.uimage
> uboot> go 0x01000000

Any uImage should be booted using the "bootm" command, not "go".

> But, while both kernels (the Uimage and the current mini kernel) are 
> linked for start address 0x01000000, i cannot use the same load address 
> on the mini-Kernel. Now, i have to load and jump to the same address to 
> make it work. Like this:
> 
> uboot> fatload mmc 0 0x01000000 miniKernel.bin
> uboot> go 0x01000000
> 
> Why this? How comes the offset with the Uimage?

The uImage file contains a 64 byte header which is interpreted by
commands like "iminfo" or "bootm".


> Another issue:

Plese do NOT do that.  Do not mix topics in a single posting.  Please
open a new thread instead.


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Mike's Law: For a lumber company employing two men and a cut-off saw,
the marginal product of labor for any number  of  additional  workers
equals  zero  until the acquisition of another cut-off saw. Let's not
even consider a chainsaw.
- Mike Dennison [You could always  schedule the saw, though - ed.]

  reply	other threads:[~2015-09-29 16:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-22 16:22 [U-Boot] ## Application terminated, rc = 0x1 ba_f
2015-09-23 23:23 ` Nable
2015-09-24  5:55 ` Wolfgang Denk
2015-09-29 13:49   ` ba_f
2015-09-29 16:13     ` Wolfgang Denk [this message]
2015-09-29 16:15     ` [U-Boot] "go" does not work for uImage - was: " Wolfgang Denk
2015-10-08 13:56       ` [U-Boot] U-Boot version issue ba_f
2015-10-09 13:02         ` Simon Glass
2015-10-09 13:22           ` Michal Simek
2015-10-12 13:52           ` ba_f

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=20150929161310.7EAAE380905@gemini.denx.de \
    --to=wd@denx.de \
    --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.