How to get the value of properties in the openfirmware?
tony at bakeyournoodle.com
Mon Oct 24 14:41:31 EST 2011
On Sun, Oct 23, 2011 at 09:26:12AM +0800, Ryan Wang wrote:
> I know that we can use getprop to the get the value of some property.
> I wonder can we run some command in the cmdline to do that? E.g,
> if I want to get the value of bootargs, which command I can use?
> I have tried printenv, but it didn't work for properties.
In OF you can do either either (or both) of:
dev /chosen .properties ; or
dev /options .properties
To see the properties you're looking for. Obvisouly there are calls in
yaboot that do that.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 836 bytes
Desc: not available
More information about the Yaboot-users