LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Lorenz Kolb" <linuxppcemb@lkmail.de>
To: "'Leonid'" <Leonid@a-k-a.net>, <linuxppc-embedded@ozlabs.org>
Subject: Re: RE: How can I boot a program from flash on ML403?
Date: Thu, 15 Feb 2007 08:12:11 +0100	[thread overview]
Message-ID: <000001c750d0$9e609d60$10b2a8c0@lorenzulm> (raw)
In-Reply-To: <406A31B117F2734987636D6CCC93EE3CF9D7A1@ehost011-3.exch011.intermedia.net>

Hi Leonid,

> I use the same scheme (called 3-stage boot) but I don't see what is dirty
about it. For testing/debugging you even can load u-boot directly into
memory using XMD. Of course, image must be compiled to run from memory, not
flash.

actually I call it dirty as SREC is a quite stupid format (for a bootloader,
as it has to be decoded first) and so the loader wastes a lot of time at
least for productive use we do not want this three stage boot.

Actually my partner and I even fitted an u-boot directly into BRAM (if it is
loaded via XMD), unfortunately the binutils of ELDK from W. Denk screwed the
elf (sections were out of segment) and even after fixing that manually (with
a hex editor) data2mem from Xilinx messes something up.

> BTW, do you (or anybody) have XTEMAC drivers for ML403 u-boot?

Actually we did not yet focus on that, we currently mount our NFS by placing
a small initrd image on flash that loads drivers for opb_ethernet and mounts
an nfs volume an chroots to it.

Best Regards,

Lorenz

  reply	other threads:[~2007-02-15  7:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.120.1171370674.21008.linuxppc-embedded@ozlabs.org>
2007-02-13 18:57 ` How can I boot a program from flash on ML403? Lorenz Kolb
2007-02-15  4:57   ` Leonid
2007-02-15  7:12     ` Lorenz Kolb [this message]
2007-02-15 15:55       ` Leonid

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='000001c750d0$9e609d60$10b2a8c0@lorenzulm' \
    --to=linuxppcemb@lkmail.de \
    --cc=Leonid@a-k-a.net \
    --cc=linuxppc-embedded@ozlabs.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