linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* How to pass information from the bootloader to the kernel ?
@ 2008-04-10 15:50 Laurent Pinchart
  2008-04-10 16:36 ` Grant Likely
  2008-04-10 17:41 ` Kumar Gala
  0 siblings, 2 replies; 3+ messages in thread
From: Laurent Pinchart @ 2008-04-10 15:50 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 720 bytes --]

Hi everybody,

I need to pass a limited amount of information from the boot loader to the 
Linux kernel, such as the boot mode chosen by the user or the last boot 
reason (power up, reset, watchdog, ...).

What is the best way to pass that kind of information from the boot loader to 
the kernel ? Should I use the device tree ?

I thought about populating the chosen node with the data I need. This could 
make sense for the boot mode, but I feel like I would abuse the chosen node 
if I used it to pass other "non user chosen" information.

Best regards,

-- 
Laurent Pinchart
CSE Semaphore Belgium

Chaussee de Bruxelles, 732A
B-1410 Waterloo
Belgium

T +32 (2) 387 42 59
F +32 (2) 387 42 75

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2008-04-10 17:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-10 15:50 How to pass information from the bootloader to the kernel ? Laurent Pinchart
2008-04-10 16:36 ` Grant Likely
2008-04-10 17:41 ` Kumar Gala

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).