From: Dan Malek <dan@netx4.com>
To: Frank Przybylski <Frank.Przybylski@vas-gmbh.de>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Getting the image section of the ELF file to load w/ VxWorks boot ROM
Date: Wed, 17 May 2000 16:30:32 -0400 [thread overview]
Message-ID: <39230168.72A9125E@embeddededge.com> (raw)
In-Reply-To: 3917E2A7.6EEDDD93@vas-gmbh.de
Frank Przybylski wrote:
>
> Hi,
> I had similar problems when loading kernel images with gdb over BDM into
> an MPC.
I'm not picking on you Frank, but with all of the recent trouble
people are having loading kernels.......well, I just can't understand
why everyone is using such complex methods for development.
>From my perspective, you need a minimum of:
1. Processor initialization software (i.e. boot rom)
2. Some format and method for loading the Linux kernel in
your product
3. The Linux kernel.
So, why don't you break your development into these more simple steps?
You need processor initialization, and the BDM tools work great for
that. Use it and get this done and out of the way. This has nothing
to do with Linux and can be a big time sink or saver (depending upon
your methods).
If you are going to start by debugging the Linux kernel (and I don't
know why you would), at least load vmlinux (not zImage) with the
debuggers. It is a real ELF image with all of the symbols that
every tool, including GDB will grok just fine.
Last, determine how you are going to use this in your product, then
use the code in arch/ppc/mbxboot to build something. Hell, if you
think about it long enough and realize that others are very successful,
you may find what is currently there will work as it is or with minimal
changes.
Trying to develop an embedded Linux kernel using standard default
BDM tools and using the zImage is.....well....just about the most
difficult method.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
prev parent reply other threads:[~2000-05-17 20:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-02 17:24 Getting the image section of the ELF file to load w/ VxWorks boot ROM diekema_jon
2000-05-03 8:07 ` Arto Vuori
2000-05-09 10:04 ` Frank Przybylski
2000-05-09 15:54 ` Daniel G. Clemmensen
2000-05-09 17:51 ` Getting the image section of the ELF file to load w/ VxWorks boot diekema_jon
2000-05-17 20:30 ` Dan Malek [this message]
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=39230168.72A9125E@embeddededge.com \
--to=dan@netx4.com \
--cc=Frank.Przybylski@vas-gmbh.de \
--cc=linuxppc-embedded@lists.linuxppc.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;
as well as URLs for NNTP newsgroup(s).