All of lore.kernel.org
 help / color / mirror / Atom feed
From: Petter Larsen <pla@morecom.no>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Simple bootloader in the kernel and PPCBoot
Date: 25 Feb 2003 16:25:45 +0100	[thread overview]
Message-ID: <1046186745.1130.50.camel@pla> (raw)
In-Reply-To: <20030225085153.55E0CC6E0C@atlas.denx.de>

Hi,

> in message <1046168602.1108.11.camel@pla> you wrote:
> > 
> > It is one thing that I am not sure of. Do I need to link in the 
> > arch/ppc/boot/simple files in the kernel when I am using PPCBoot?
> 
> No.
Fine. Then I know one more thing.


> > If I do a "make pImage", it is not included, but I can not boot this
> > image. 
> 
> Then you are missing something in your port. Please explain what "can
> not boot" means? Did you debug the start-up sequence?
> 

I will debug it, but have not done it. I have an BDM degugger under
windows. I am thinking of purchase one of the debuggers on your site.
What does this cost, and does it include the GDB patched and ready for
use? 

> > If I do a "make zImage", a zImage.embedded is created with the 
> > arch/ppc/boot/simple bootloader files linked in. This image can I boot
> > if I set the entry point to 10000 when i attach the header with the
> > mkimage command.
> 
> You probably can also  start  this  using  a  simple  "go",  and  you
> probably cannot pass args to it, right?
> 

That's right. If I load it into RAM on location 100000 and say "go
110000" it boots...
But it does only work if I say "go" from RAM, not from flash. But if I
encapsulate the image with an header with "mkimage" I can boot it from
flash using the "bootm <addr>" command.

Best regards
Petter Larsen

  reply	other threads:[~2003-02-25 15:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-25 10:23 [U-Boot-Users] Simple bootloader in the kernel and PPCBoot Petter Larsen
2003-02-25  8:51 ` Wolfgang Denk
2003-02-25 15:25   ` Petter Larsen [this message]
2003-02-25 17:21     ` Wolfgang Denk
2003-02-25 19:59       ` Petter Larsen
2003-02-25 20:55         ` 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=1046186745.1130.50.camel@pla \
    --to=pla@morecom.no \
    --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.