x86: Passing arbitrary data from bootloader to kernel

Mulyadi Santosa mulyadi.santosa at gmail.com
Thu Mar 29 02:27:57 EDT 2012


Hi Graeme...

On Wed, Mar 28, 2012 at 10:16, Graeme Russ <graeme.russ at gmail.com> wrote:
> What if U-Boot created a cpio archive on the fly and passed this to the
> Linux kernel as a persistent ramfs? The ramfs would be sperate fromt he
> initramfs (not used in the boot process - simply used to efficiently pass
> data from the boot loader to user-space). This could allow the passing of
> arbitrary data from the boot loader, through the kernel and into user
> space.
>
> Does this sound like a harebrained idea?

I have no experience in boot loader thingies and such, but I think
your idea sounds simple but efficient enough to transport the data
gathered during boot stage into user space. And it's quite platform
independent too....

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com



More information about the Kernelnewbies mailing list