linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* building lilo, grub or PPCBoot for a custom board
@ 2003-01-17 13:58 BREUVART Jean-Charles
  2003-01-17 15:31 ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: BREUVART Jean-Charles @ 2003-01-17 13:58 UTC (permalink / raw)
  To: 'linuxppc-embedded@lists.linuxppc.org'


Hi !

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.

So I'm trying to build a cute boot loader (for linux of course !) for my
custom board :

 - 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

the UART, VME and Flash drivers source code is ok, but I still have somme
questions :

 - where and how to introduce the arch dependent source code in the source
tree of those boot loaders ?
 - how to configure the Makefile to build a light exe ?
 - how to configure the linker command file or ld swithes for a particular
mapping ?

Thanks,

Regards, JC.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: building lilo, grub or PPCBoot for a custom board
       [not found] <000006FA.C22236@airbus.com>
@ 2003-01-17 14:16 ` Jerry Van Baren
  0 siblings, 0 replies; 3+ messages in thread
From: Jerry Van Baren @ 2003-01-17 14:16 UTC (permalink / raw)
  To: linuxppc-embedded


OK, everybody together shout "use u-boot" (sourceforge.net).

gvb


At 02:58 PM 1/17/2003 -0500, jean-charles.breuvart@airbus.com wrote:

>Hi !
>
>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.
>
>So I'm trying to build a cute boot loader (for linux of course !) for my
>custom board :
>
>  - 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
>
>the UART, VME and Flash drivers source code is ok, but I still have somme
>questions :
>
>  - where and how to introduce the arch dependent source code in the source
>tree of those boot loaders ?
>  - how to configure the Makefile to build a light exe ?
>  - how to configure the linker command file or ld swithes for a particular
>mapping ?
>
>Thanks,
>
>Regards, JC.
>
>


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: building lilo, grub or PPCBoot for a custom board
  2003-01-17 13:58 BREUVART Jean-Charles
@ 2003-01-17 15:31 ` Wolfgang Denk
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2003-01-17 15:31 UTC (permalink / raw)
  To: BREUVART Jean-Charles; +Cc: 'linuxppc-embedded@lists.linuxppc.org'


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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-01-17 15:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <000006FA.C22236@airbus.com>
2003-01-17 14:16 ` building lilo, grub or PPCBoot for a custom board Jerry Van Baren
2003-01-17 13:58 BREUVART Jean-Charles
2003-01-17 15:31 ` Wolfgang Denk

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).