-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
u-boot-sunxi gives errors #15
Comments
On Thu, Nov 21, 2013 at 12:38 PM, yogk [email protected] wrote:
Was it clean build? |
try this patch: h3ndrik@b8dba4d |
this issue is still on uboot mainline,could someboddy fix it??? |
I configured the sunx-bsp as ./configure cubietruck
Followed by make.
It gives me these errors: Any hints to solve the issue ??
arch/arm/lib/libarm.o: In function
init_func_i2c': /home/yogesh/cubie/u-boot-sunxi/arch/arm/lib/board.c:159: undefined reference to
i2c_init'arch/arm/lib/libarm.o: In function
board_init_r': /home/yogesh/cubie/u-boot-sunxi/arch/arm/lib/board.c:593: undefined reference to
mmc_initialize'/home/yogesh/cubie/u-boot-sunxi/arch/arm/lib/board.c:655: undefined reference to
eth_initialize' arch/arm/lib/libarm.o:(.data.init_sequence+0xc): undefined reference to
env_init'arch/arm/cpu/armv7/start.o: In function
cpu_init_crit': /home/yogesh/cubie/u-boot-sunxi/arch/arm/cpu/armv7/start.S:261: undefined reference to
lowlevel_init'common/libcommon.o: In function
do_env_save': /home/yogesh/cubie/u-boot-sunxi/common/cmd_nvedit.c:694: undefined reference to
saveenv'/home/yogesh/cubie/u-boot-sunxi/common/cmd_nvedit.c:695: undefined reference to
env_name_spec' common/libcommon.o: In function
env_relocate':/home/yogesh/cubie/u-boot-sunxi/common/env_common.c:190: undefined reference to
env_relocate_spec' common/libcommon.o: In function
jumptable_init':/home/yogesh/cubie/u-boot-sunxi/include/_exports.h:32: undefined reference to
i2c_write' /home/yogesh/cubie/u-boot-sunxi/include/_exports.h:32: undefined reference to
i2c_read'common/libcommon.o: In function
run_command_list': /home/yogesh/cubie/u-boot-sunxi/common/main.c:1512: undefined reference to
parse_string_outer'common/libcommon.o: In function
main_loop': /home/yogesh/cubie/u-boot-sunxi/common/main.c:448: undefined reference to
u_boot_hush_start'/home/yogesh/cubie/u-boot-sunxi/common/main.c:481: undefined reference to
parse_file_outer' common/libcommon.o: In function
run_command':/home/yogesh/cubie/u-boot-sunxi/common/main.c:1440: undefined reference to
parse_string_outer' common/libcommon.o: In function
stdio_init':/home/yogesh/cubie/u-boot-sunxi/common/stdio.c:203: undefined reference to
i2c_init' /home/yogesh/cubie/u-boot-sunxi/common/stdio.c:224: undefined reference to
drv_nc_init'drivers/serial/libserial.o: In function
get_current': /home/yogesh/cubie/u-boot-sunxi/drivers/serial/serial.c:355: undefined reference to
default_serial_console'drivers/serial/libserial.o: In function
serial_initialize': /home/yogesh/cubie/u-boot-sunxi/drivers/serial/serial.c:259: undefined reference to
default_serial_console'board/sunxi/libsunxi.o: In function
board_init': /home/yogesh/cubie/u-boot-sunxi/board/sunxi/board.c:60: undefined reference to
status_led_set'/home/yogesh/WLAN/toolchain/linaro-2012.10/bin/arm-linux-gnueabihf-ld.bfd: BFD (crosstool-NG linaro-1.13.1-4.7-2012.10-20121022 - Linaro GCC 2012.10) 2.22 assertion fail /cbuild/slaves/oort12/crosstool-ng/builds/arm-linux-gnueabihf-linux/.build/src/binutils-2.22/bfd/elf32-arm.c:13830
/bin/bash: line 1: 26161 Segmentation fault (core dumped) /home/yogesh/WLAN/toolchain/linaro-2012.10/bin/arm-linux-gnueabihf-ld.bfd -pie -T /home/yogesh/cubie/build/cubietruck-u-boot/u-boot.lds --gc-sections -Bstatic arch/arm/cpu/armv7/start.o --start-group api/libapi.o arch/arm/cpu/armv7/libarmv7.o arch/arm/cpu/armv7/sunxi/libsunxi.o arch/arm/lib/libarm.o common/libcommon.o disk/libdisk.o drivers/bios_emulator/libatibiosemu.o drivers/block/libblock.o drivers/crypto/libcrypto.o drivers/dfu/libdfu.o drivers/dma/libdma.o drivers/fpga/libfpga.o drivers/gpio/libgpio.o drivers/hwmon/libhwmon.o drivers/i2c/libi2c.o drivers/input/libinput.o drivers/misc/libmisc.o drivers/mmc/libmmc.o drivers/mtd/libmtd.o drivers/mtd/nand/libnand.o drivers/mtd/onenand/libonenand.o drivers/mtd/spi/libspi_flash.o drivers/mtd/ubi/libubi.o drivers/net/libnet.o drivers/net/phy/libphy.o drivers/pci/libpci.o drivers/pcmcia/libpcmcia.o drivers/power/battery/libbattery.o drivers/power/fuel_gauge/libfuel_gauge.o drivers/power/libpower.o drivers/power/pmic/libpmic.o drivers/rtc/librtc.o drivers/serial/libserial.o drivers/sound/libsound.o drivers/spi/libspi.o drivers/tpm/libtpm.o drivers/twserial/libtws.o drivers/usb/eth/libusb_eth.o drivers/usb/gadget/libusb_gadget.o drivers/usb/host/libusb_host.o drivers/usb/musb-new/libusb_musb-new.o drivers/usb/musb/libusb_musb.o drivers/usb/phy/libusb_phy.o drivers/usb/ulpi/libusb_ulpi.o drivers/video/libvideo.o drivers/watchdog/libwatchdog.o fs/cbfs/libcbfs.o fs/cramfs/libcramfs.o fs/ext4/libext4fs.o fs/fat/libfat.o fs/fdos/libfdos.o fs/jffs2/libjffs2.o fs/libfs.o fs/reiserfs/libreiserfs.o fs/sandbox/libsandboxfs.o fs/ubifs/libubifs.o fs/yaffs2/libyaffs2.o fs/zfs/libzfs.o lib/libfdt/libfdt.o lib/libgeneric.o lib/lzma/liblzma.o lib/lzo/liblzo.o lib/rsa/librsa.o lib/zlib/libz.o net/libnet.o post/libpost.o test/libtest.o board/sunxi/libsunxi.o --end-group /home/yogesh/cubie/build/cubietruck-u-boot/arch/arm/lib/eabi_compat.o -L /home/yogesh/WLAN/toolchain/linaro-2012.10/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3 -lgcc -Map u-boot.map -o u-boot
make[1]: *** [/home/yogesh/cubie/build/cubietruck-u-boot/u-boot] Error 139
make[1]: Leaving directory `/home/yogesh/cubie/u-boot-sunxi'
The text was updated successfully, but these errors were encountered: