public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Providing more board info from U-Boot to resident OS
@ 2009-07-07 10:24 Matthew Lear
  2009-07-07 11:36 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew Lear @ 2009-07-07 10:24 UTC (permalink / raw)
  To: u-boot

Hello all,

U-Boot provides data containing board information to a resident OS that
may be booted. Are there plans to extend this so that an additional
'level' of more specific board information can be provided to the OS?

Specifically, and for example, is there a mechanism that U-Boot can use
to inform the OS (Linux in this case) that it has enabled the watchdog
on the cpu?

Granted, U-Boot and the OS are separate entities up to a point, ie some
kernel arch set up implementations make reference to (or rather, copy)
data structures in u-boot.h (eg Freescale Coldfire).

However, for custom hardware and/or applications there are definite
cases where there is the requirement for more board specific knowledge
to be shared between U-Boot and OS.

Is there a way to do this?

Feedback much appreciated.

Thanks,
--  Matt

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

* [U-Boot] Providing more board info from U-Boot to resident OS
  2009-07-07 10:24 [U-Boot] Providing more board info from U-Boot to resident OS Matthew Lear
@ 2009-07-07 11:36 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2009-07-07 11:36 UTC (permalink / raw)
  To: u-boot

Dear Matthew Lear,

In message <4A532251.8090906@bubblegen.co.uk> you wrote:
> 
> U-Boot provides data containing board information to a resident OS that
> may be booted. Are there plans to extend this so that an additional
> 'level' of more specific board information can be provided to the OS?

There are  no  such  plans,  other  than  converting  more  and  more
architectures  to use the device tree to pass such information, which
inherently is extensible.

> Specifically, and for example, is there a mechanism that U-Boot can use
> to inform the OS (Linux in this case) that it has enabled the watchdog
> on the cpu?

Use the device tree.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Bradley's Bromide: If computers get too  powerful,  we  can  organize
them into a committee - that will do them in.

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

end of thread, other threads:[~2009-07-07 11:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-07 10:24 [U-Boot] Providing more board info from U-Boot to resident OS Matthew Lear
2009-07-07 11:36 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox