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

Thank you two,
this was the hint i needed.

The Load-Address was wrong.


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.

I always work on ARM Cortex A9 processors.
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

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?


Another issue:

I tried to execute the same Uimage on another platform. The platform has 
the same processor but another U-Boot.
On this platform i fail to execute with my common way:

uboot> fatload mmc 0 0x00ffffc0 bootstrap.uimage
uboot> go 0x01000000
## Starting application at 0x01000000 ...
undefined instruction
pc : [<010000f4>]     lr : [<3ff74bc0>]


This looks to me like a wrong Load- or Entry-Address.
But again, it is the same Uimage with start address 0x01000000.

What's wrong here?
I'm confused...

  reply	other threads:[~2015-09-29 13:49 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 [this message]
2015-09-29 16:13     ` Wolfgang Denk
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=2e2178cf246f80c4f9098dce357e5528@rbg.informatik.tu-darmstadt.de \
    --to=ba_f@rbg.informatik.tu-darmstadt.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.