* [U-Boot-Users] OS dependencies on the bootloader
@ 2006-01-04 22:21 Andrew Wozniak
2006-01-04 22:30 ` Wolfgang Denk
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Wozniak @ 2006-01-04 22:21 UTC (permalink / raw)
To: u-boot
Hello everyone,
A general bootloader question: How much hardware initialization should a
bootloader perform for the target OS?
I see a minimal memory controller setup to allow subsequent loading of
an OS image. ECC might also be setup but all remaining resources would
typically be setup by the OS.
Although I haven't tried booting Linux (we boot the vxworks bootrom),
does an embedded Linux make any assumptions about what the bootloader
initializes?
Thank you and best regards, Andy
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot-Users] OS dependencies on the bootloader
2006-01-04 22:21 [U-Boot-Users] OS dependencies on the bootloader Andrew Wozniak
@ 2006-01-04 22:30 ` Wolfgang Denk
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2006-01-04 22:30 UTC (permalink / raw)
To: u-boot
In message <43BC4A51.9050203@mc.com> you wrote:
>
> A general bootloader question: How much hardware initialization should a
> bootloader perform for the target OS?
As little as possible, as much as necessary.
> I see a minimal memory controller setup to allow subsequent loading of
> an OS image. ECC might also be setup but all remaining resources would
> typically be setup by the OS.
Right.
> Although I haven't tried booting Linux (we boot the vxworks bootrom),
> does an embedded Linux make any assumptions about what the bootloader
> initializes?
Yes. Depending on architecture and kernel versions certain parameters
(ATAGs, bd_info structure, OF tree, whatever) have to be initialized
and passed to the kernel.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Digital computers are themselves more complex than most things people
build: They have very large numbers of states. This makes conceiving,
describing, and testing them hard. Software systems have orders-of-
magnitude more states than computers do. - Fred Brooks, Jr.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-01-04 22:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-04 22:21 [U-Boot-Users] OS dependencies on the bootloader Andrew Wozniak
2006-01-04 22:30 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox