What's the preferred way to export board information to userspace ?

Laurent Pinchart laurentp at cse-semaphore.com
Tue Oct 2 18:10:59 EST 2007


Hi everybody,

it seems linuxppc-embedded is going away. I should have posted this here in 
the first place, so sorry for the cross-post.

I need to export some read-only board-specific information (serial number, 
boot mode jumper configuration, ...) that are collected from various locations 
(CPLD, flash, U-Boot, ...) to userspace applications.

Could anyone advice me on the preferred way to do that ? I can easily add a 
quick&dirty sysfs/procfs based implementation, but I was wondering if there 
was some kind of clean and generic way.

Best regards,

-- 
Laurent Pinchart
CSE Semaphore Belgium

Chaussée de Bruxelles, 732A
B-1410 Waterloo
Belgium

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



More information about the Linuxppc-dev mailing list