Hello,
I finally got my AM335x custom board to successfully kexec. I am using the 3.14 yocto kernel.
I have one remaining problem after kexec:
The mac address comes up with a totally random value.
Normally u-boot sets the mac address for the kernel, but kexec bypasses u-boot, so that bit of setup is not done, hence the random mac address.
However, in the pre-device-tree kernel there was a way to retrieve the mac address from the eeprom. I am not finding the corresponding code in the newer 3.14 kernel.
I can hard-code the mac address in the dts file, but I really don't want to compile a special device-tree file for every single board.
How should I address this problem?
Can someone point me in a helpful direction?
Thanks,
Brian