
5 Mar
2013
5 Mar
'13
1:03 a.m.
On Mon, 4 Mar 2013 10:30:45 -0800 Curt Brune curt@cumulusnetworks.com wrote:
Hello -
I want to pass a number of arguments from u-boot to the booted kernel. The arguments are needed by user space applications, not the kernel.
I can think of two ways:
- append args by setting "bootargs".
- add nodes to the dtb before booting.
Is there a preferred way to pass information like this?
Like I said the arguments are not needed by the kernel device drivers, but by user space applications.
I like the structure of nodes in the dtb.
please don't dual-purpose device trees as a mechanism of getting arguments through the kernel into userspace - device trees strictly describe the hardware.
btw, this question would be more appropriately posted on devicetree-discuss (in case you have more).
Kim