[U-Boot] Compilation errors after enabling the flash support
Srinivasa_Nagalla at DELL.com
Srinivasa_Nagalla at DELL.com
Fri Feb 12 02:12:43 CET 2016
Dell - Internal Use - Confidential
Hi,
I am developing U-Boot for ARM CPU and enabled FLASH support.
During the compilation getting the following error -
arch/arm/lib/libarm.o: In function `board_init_r':
/sites/eqx/work/swdrivers03-1/snagalla/Omsai_STOMP_40G_DEV/Boot/Bootflash/STOMP_40G/u-boot/arch/arm/lib/board.c:922: undefined reference to `flash_init'
common/libcommon.o: In function `addr2info':
/sites/eqx/work/swdrivers03-1/snagalla/Omsai_STOMP_40G_DEV/Boot/Bootflash/STOMP_40G/u-boot/common/flash.c:126: undefined reference to `flash_info'
common/libcommon.o: In function `flash_write':
/sites/eqx/work/swdrivers03-1/snagalla/Omsai_STOMP_40G_DEV/Boot/Bootflash/STOMP_40G/u-boot/common/flash.c:181: undefined reference to `write_buff'
/tools/vendor/bcm/iproc-3.4.8-RC2/usr/bin/arm-linux-ld.bfd: BFD (Broadcom Linux) 2.21.1 assertion fail elf32-arm.c:12241
/tools/vendor/bcm/iproc-3.4.8-RC2/usr/bin/arm-linux-ld.bfd: BFD (Broadcom Linux) 2.21.1 assertion fail elf32-arm.c:12241
/tools/vendor/bcm/iproc-3.4.8-RC2/usr/bin/arm-linux-ld.bfd: BFD (Broadcom Linux) 2.21.1 assertion fail elf32-arm.c:12478
/bin/sh: line 1: 28479 Segmentation fault (core dumped) /tools/vendor/bcm/iproc-3.4.8-RC2/usr/bin/arm-linux-ld.bfd -pie -T /sites/eqx/work/swdrivers03-1/snagalla/Omsai_STOMP_40G_DEV/Boot/Bootflash/STOMP_40G/u-boot/build-output/u-boot.lds -Bstatic -Ttext 0x1E000000 $UNDEF_SYM
When I check the code the respective flash.h is included. But still seeing the error.
Any inputs are highly appreciated...
Thanks & Regards,
Srinivasa Rao Nagalla
More information about the U-Boot
mailing list