[U-Boot] [U-Boot, v2] rockchip: phycore: Read configuration EEPROM & set ethaddr in late init

Dr. Philipp Tomsich philipp.tomsich at theobroma-systems.com
Fri Aug 18 15:55:32 UTC 2017


Wadim,

> On 18 Aug 2017, at 15:28, Philipp Tomsich <philipp.tomsich at theobroma-systems.com> wrote:
> 
>> Read SoM information from EEPROM and set ethaddr in late init.
>> 
>> Signed-off-by: Wadim Egorov <w.egorov at phytec.de>
>> Acked-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
>> ---
>> Changes in v2:
>> - Fixed fdt_path_offset() error handling
>> 

This patch breaks the build for 'phycore-rk3288’ for me, so I can’t apply.
I get the following error from buildman:
>        arm:  +   phycore-rk3288                      
> +   eth_setenv_enetaddr("ethaddr", opt.mac);
> +   ^
> +board/phytec/phycore_rk3288/built-in.o: In function `rk_board_late_init':
> +board/phytec/phycore_rk3288/phycore-rk3288.c:67: undefined reference to `eth_setenv_enetaddr'
> +arm-unknown-linux-gnueabi-ld.bfd: BFD (GNU Binutils) 2.24 assertion fail /home/tony/buildall/src/binutils/bfd/elf32-arm.c:7696
> +arm-unknown-linux-gnueabi-ld.bfd: error: required section '.rel.plt' not found in the linker script
> +arm-unknown-linux-gnueabi-ld.bfd: final link failed: Invalid operation
> +make[1]: *** [u-boot] Error 1
> +make: *** [sub-make] Error 2
> w+board/phytec/phycore_rk3288/phycore-rk3288.c: In function 'rk_board_late_init':
> w+board/phytec/phycore_rk3288/phycore-rk3288.c:67:3: warning: implicit declaration of function 'eth_setenv_enetaddr' [-Wimplicit-function-declaration]

Regards,
Philipp.




More information about the U-Boot mailing list