From: Wolfgang Denk <wd@denx.de>
To: BREUVART Jean-Charles <jean-charles.breuvart@airbus.com>
Cc: "'linuxppc-embedded@lists.linuxppc.org'"
<linuxppc-embedded@lists.linuxppc.org>
Subject: Re: building lilo, grub or PPCBoot for a custom board
Date: Fri, 17 Jan 2003 16:31:06 +0100 [thread overview]
Message-ID: <20030117153111.89695C608E@atlas.denx.de> (raw)
In-Reply-To: Your message of "Fri, 17 Jan 2003 14:58:53 +0100." <36EB27C27D93D4119DE500508BDF85B30B2D7178@TOCOMEXC03>
Dear Jean-Charles,
in message <36EB27C27D93D4119DE500508BDF85B30B2D7178@TOCOMEXC03> you wrote:
>
> I' succedded in building denx-eldk from rpm packages on my RedHat 8.0
> (thanks wolfgang !), and then a 1st linux kernel that I'd like to download
> via the VME into the FLash ROM.
We didn't try to _build_ the ELDK under RH-8.0 yet. Did you encounter
any problems? All feedback about required changes for building under
RH-8.0 etc. is welcome!
> So I'm trying to build a cute boot loader (for linux of course !) for my
> custom board :
As Jerry Van Baren already pointed out: use U-Boot :-)
> - VME64x based
> - PCC755 without L2 cache
> - no PCI bus
> - 2Mo Flash 29DL163 at 0xFFE00000
> - 128 Mo SDRAM at 0x0000000
> - a simple UART
> - some analog I/Os
Should be pretty straightforward, it seems.
> - where and how to introduce the arch dependent source code in the source
> tree of those boot loaders ?
In U-Boot you will create a board specific configuration file in the
include/configs/ directory and board specific source files, linker
script etc. in a new directory board/<your_board_name>
> - how to configure the Makefile to build a light exe ?
You can enable / disable features in the board specific config file.
> - how to configure the linker command file or ld swithes for a particular
> mapping ?
See the existing linker scripts as a model. I guess the easiest way
to get started is to "clone" some similar board directory ...
See the README that comes with the source. If you have questions, ask
on the u-boot-users mailing list.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
Where would we be without rhetorical questions?
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2003-01-17 15:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-17 13:58 building lilo, grub or PPCBoot for a custom board BREUVART Jean-Charles
2003-01-17 15:31 ` Wolfgang Denk [this message]
[not found] <000006FA.C22236@airbus.com>
2003-01-17 14:16 ` Jerry Van Baren
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=20030117153111.89695C608E@atlas.denx.de \
--to=wd@denx.de \
--cc=jean-charles.breuvart@airbus.com \
--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).