Skip to contentSkip to conversation

How to use the device tree

DISCUSSION Renaud Barbier 1 participant 1 message Jan 20, 2009

lore
Share & tools
lore
#0 lore raw

I was wondering how I could use the device tree to locate a board MAC address
in U-boot. The MAC address could be located in flash or I2C depending on the board. Depending of information like storage type, base address, offset I would like to find the MAC address.

Could somebody give me ideas?

Should I define a node entry specifically to find the MAC address? Or should i define variables in the "chosen" that would help me find the mac?

thanks.