boot/simple in ROM?
A message that is not in the archive (sent off-list or not yet received): [email protected]
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
Quoted 8 lines · At 01:32 PM 4/24/2003 -0400, [email protected] wrote:
Quoted 6 lines · Dan Malek
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.
Quoted 8 lines
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/
Quoted 8 lines · Jerry Van Baren
The "simple" boot loaders are loaders, they are NOT bootroms. They expect
the board to have afirmware/bootrom/monitorthat 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/
Basic Config file
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/
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: Basic Config file
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
Quoted 18 lines · emanuel stiebler
Quoted 8 lines · Kevin A. Sapp
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 ?
Quoted 2 lines
Can someone point me to or send a simple config file as an example? As few components as possible would be great.
Quoted 7 lines
Try the defaults first.
I assume you read the documentation, right ?
;-)cheers
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Re: Basic Config file
Quoted 5 lines · In message <[email protected]> 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.
Quoted 6 lines
Unresolveds are:
va_to_pteandget_IMMRintraps.c
theget_IMMRseems to be 8xx specific.va_to_pteis 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: [email protected] 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/