On 04/03/2013 06:59 PM, Alexander Graf wrote: > > On 03.04.2013, at 18:40, Fabien Chouteau wrote: > >> If we use an ELF kernel there's no need for bios. '-bios -' means no >> bios. > > This sounds like you're actually looking for a way to load an ELF blob > as bios using -bios, not a kernel, no? >
No, we load the kernel with -kernel, that's what the first patch does. But the board is implemented in such way that you can't start without a bios. If the -bios switch is not present, then the board uses the default bios. This patch allows to start without a bios: -kernel <PROGRAM> -bios - > The preferred way to load a kernel with -kernel is to load firmware > which then detects that a kernel was loaded with -kernel and jumps in. > Once Andreas moves PReP to OpenBIOS, this will be the normal mode of > operation there too. > I'll have a look at Andreas' branch and see if it fits our scheme. Thanks, -- Fabien Chouteau