linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: boot/simple in ROM?
       [not found] <00032EDD.C22236@borg.org>
@ 2003-04-24 17:44 ` Jerry Van Baren
  2003-04-24 18:02   ` Mark A. Greer
  0 siblings, 1 reply; 5+ messages in thread
From: Jerry Van Baren @ 2003-04-24 17:44 UTC (permalink / raw)
  To: linuxppc-embedded


The "simple" boot loaders are loaders, they are NOT bootroms.  They expect
the board to have a firmware/bootrom/monitor that does the necessary very
low level very hardware specific initialization (things like setting up
memory maps, initializing the SDRAM controller, etc.).  The "simple" boot
loaders do the added steps necessary for starting linux, so they are
necessary but NOT sufficient.

gvb


At 01:32 PM 4/24/2003 -0400, kentborg@borg.org wrote:

>On Thu, Apr 24, 2003 at 01:13:35PM -0400, Dan Malek wrote:
> > The other really nice thing about these bootloaders, compressed
> > kernels, and attached initrd, is you can boot the identical image
> > from all "devices."  For example, during development you can tftp
> > load the image, get everything working, then place the exact same
> > bits into a flash rom.  Simply jump to the first location of the
> > image and it will boot from flash.
>
>Yes, but disappointingly the ppc/boot/simple I am using (from 2.4
>devel) won't run from ROM.  Is there a better boot loader I should be
>using?
>
>Thanks,
>
>-kb
>


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

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

* Re: boot/simple in ROM?
  2003-04-24 17:44 ` boot/simple in ROM? Jerry Van Baren
@ 2003-04-24 18:02   ` Mark A. Greer
  2003-04-24 18:11     ` Basic Config file Kevin A. Sapp
  0 siblings, 1 reply; 5+ messages in thread
From: Mark A. Greer @ 2003-04-24 18:02 UTC (permalink / raw)
  To: Jerry Van Baren; +Cc: linuxppc-embedded


Jerry Van Baren wrote:

>
> The "simple" boot loaders are loaders, they are NOT bootroms.  They
> expect
> the board to have a firmware/bootrom/monitor that does the necessary very
> low level very hardware specific initialization (things like setting up
> memory maps, initializing the SDRAM controller, etc.).  The "simple" boot
> loaders do the added steps necessary for starting linux, so they are
> necessary but NOT sufficient.

In general this is true.  However, it is possible to put enough hw init
in the simple boot loader (bootwrapper as I and others now call it) to
run linux.  This has been done in the past.

Mark


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

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

* Basic Config file
  2003-04-24 18:02   ` Mark A. Greer
@ 2003-04-24 18:11     ` Kevin A. Sapp
       [not found]       ` <3EA82B56.3070808@ecubics.com>
  0 siblings, 1 reply; 5+ messages in thread
From: Kevin A. Sapp @ 2003-04-24 18:11 UTC (permalink / raw)
  To: linuxppc-embedded


Hello all,

I recently downloaded and installed the ELDK under RedHat
8 targeting a 74xx.  Everything went pretty smooth (Thanks
Wolfgang!).  I am utterly inexperienced at building the
kernel.  This is the first one.  I have everything compiling,
but getting various linker unresolves.

Can someone point me to or send a simple config file as an
example?  As few components as possible would be great.

Thank you
Kevin


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

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

* Re: Basic Config file
       [not found]       ` <3EA82B56.3070808@ecubics.com>
@ 2003-04-24 20:00         ` Kevin A. Sapp
  2003-04-24 20:18           ` Wolfgang Denk
  0 siblings, 1 reply; 5+ messages in thread
From: Kevin A. Sapp @ 2003-04-24 20:00 UTC (permalink / raw)
  To: emanuel stiebler, linuxppc-embedded


Read the ELDK manual, however, did not see anything
on the kernel configuration and building it.  Went to
kernelnewbies for that...anywhere else I can go for
kernel configuration.

Unresolveds are:
va_to_pte and get_IMMR in traps.c
the get_IMMR seems to be 8xx specific.
va_to_pte is in several headers for asm code,
but grep of the source tree does not show any
implementations in *.[Sch]

Thanks
Kevin


emanuel stiebler wrote:

> Kevin A. Sapp wrote:
>
>>
>> Hello all,
>>
>> I recently downloaded and installed the ELDK under RedHat
>> 8 targeting a 74xx.  Everything went pretty smooth (Thanks
>> Wolfgang!).  I am utterly inexperienced at building the
>> kernel.  This is the first one.  I have everything compiling,
>> but getting various linker unresolves.
>
>
> Can you tell us more what unresolves you get ?
>
>> Can someone point me to or send a simple config file as an
>> example?  As few components as possible would be great.
>
>
> Try the defaults first.
> I assume you read the documentation, right ?
> ;-)
>
> cheers
>
>


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

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

* Re: Basic Config file
  2003-04-24 20:00         ` Kevin A. Sapp
@ 2003-04-24 20:18           ` Wolfgang Denk
  0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2003-04-24 20:18 UTC (permalink / raw)
  To: Kevin A. Sapp; +Cc: linuxppc-embedded


In message <3EA84246.9050101@catapult.com> you wrote:
>
> Read the ELDK manual, however, did not see anything
> on the kernel configuration and building it.  Went to
> kernelnewbies for that...anywhere else I can go for
> kernel configuration.

There is also  http://www.denx.de/re/DPLG.html  (but  this  does  not
answer the details of kernel configuration - it only describes how to
use  existing  default  configs). In all other cases you just have to
know what you are doing.

> Unresolveds are:
> va_to_pte and get_IMMR in traps.c
> the get_IMMR seems to be 8xx specific.
> va_to_pte is in several headers for asm code,
> but grep of the source tree does not show any
> implementations in *.[Sch]

It's a bug. Both EXPORT_SYMBOL()s are  8xx  specific.  Fixed  in  our
current CVS.


Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
A dog always bit deepest on the veterinary hand.
                                    - Terry Pratchett, _Wyrd Sisters_

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

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

end of thread, other threads:[~2003-04-24 20:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <00032EDD.C22236@borg.org>
2003-04-24 17:44 ` boot/simple in ROM? Jerry Van Baren
2003-04-24 18:02   ` Mark A. Greer
2003-04-24 18:11     ` Basic Config file Kevin A. Sapp
     [not found]       ` <3EA82B56.3070808@ecubics.com>
2003-04-24 20:00         ` Kevin A. Sapp
2003-04-24 20:18           ` 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).