
4 Dec
2012
4 Dec
'12
5:26 p.m.
On 12/04/2012 07:24:51 AM, Yegor Yefremov wrote:
On Tue, Dec 4, 2012 at 1:04 PM, Manukumar manukumar@signal-networks.com wrote:
Dear All,
How to access u-boot environment variables from kernel space or user space in P1012 processor.
The variables required to be accessed from uboot environment section are:
eth1addr
You can get the MAC address from related registers of your Ethernet controller, provided they where set by u-boot. This is way the network driver goes.
No, you get that from the device tree. You cannot rely on U-Boot to have initialized the network hardware, or on the network hardware to not have been reset since then.
-Scott