mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Renaud Barbier <renaud.barbier@ge.com>
To: barebox@lists.infradead.org
Subject: Booting PPC Linux
Date: Thu, 01 Mar 2012 19:41:35 +0000	[thread overview]
Message-ID: <4F4FD0EF.1000905@ge.com> (raw)

I have a uImage + dtb that use to boot on a MPC8544-like system
a few months ago.

After rebasing my code, it did not work.

I notice that in arch/ppc/lib/ppclinux.c the kernel is now called
with the device tree as a parameter.

After investigation, I copied the device tree to within 8MB of the
kernel entry point (0x0). It booted.

Is the DTB relocation a missing step?
Otherwise any suggestions on what I should look at (different kernel image)?

I have already been through the Barebox code and U-boot code (U-boot
does relocate the device tree).


Cheers.





_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2012-03-01 19:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-01 19:41 Renaud Barbier [this message]
2012-03-01 20:07 ` Sascha Hauer
2012-03-02 16:28   ` Renaud Barbier

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=4F4FD0EF.1000905@ge.com \
    --to=renaud.barbier@ge.com \
    --cc=barebox@lists.infradead.org \
    /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