[U-Boot] New Oxford Semiconductor board with assertion fail in linker
Michael Kebe
michael.kebe at gmail.com
Mon Dec 19 23:26:52 CET 2011
On Mon, Dec 19, 2011 at 23:13, Wolfgang Denk <wd at denx.de> wrote:
> No. As I mentioned, look for a config.mk file in the board directory,
> i. e. probably board/ox820/config.mk or similar. This should contain
> the definition of TEXT_BASE.
Thanks, for the hint! There is TEXT_BASE = 0x60d00000.
Here is the output from a bootup of the old U-Boot:
--------------------
Stage-1 Bootloader Tue Aug 9 16:44:00 CST 2011
Attempting to set PLLA to 750MHz ...
plla_ctrl0 : 0x0000000A
plla_ctrl1 : 0x000F0000
plla_ctrl2 : 0x001D01A0
plla_ctrl3 : 0x00000017
PLLA Set
Setup memory, testing
Reading NAND, Image 0
Hdr len: 0x0001A94C
Hdr CRC: 0xF0019DAC
OK
U-Boot 1.1.2 (Jun 24 2011 - 09:41:57)
U-Boot code: 60D00000 -> 60D1A94C BSS: -> 60D1F004
RAM Configuration:
Bank #0: 60000000 128 MB
SRAM Configuration:
64KB at 0x50000000
NAND:128 MiB
In: serial
Out: serial
Err: serial
Setting Linux mem= boot arg value
Hit any key to stop autoboot: 0
--------------------
Is the "U-Boot code" the address CONFIG_SYS_UBOOT_BASE should be set
to? If so, then both addresses are the same, is that ok?
However even if I try to build with these addresses, the linking
crashes with even more assertion fails:
--------------------
/home/michael/x-tools/arm-unknown-eabi/bin/arm-unknown-eabi-ld: BFD
(crosstool-NG 1.13.2) 2.21.1 assertion fail
/home/michael/tmp/x/.build/src/binutils-2.21.1a/bfd/elf32-arm.c:12241
/home/michael/x-tools/arm-unknown-eabi/bin/arm-unknown-eabi-ld: BFD
(crosstool-NG 1.13.2) 2.21.1 assertion fail
/home/michael/tmp/x/.build/src/binutils-2.21.1a/bfd/elf32-arm.c:12241
/home/michael/x-tools/arm-unknown-eabi/bin/arm-unknown-eabi-ld: BFD
(crosstool-NG 1.13.2) 2.21.1 assertion fail
/home/michael/tmp/x/.build/src/binutils-2.21.1a/bfd/elf32-arm.c:12241
/home/michael/x-tools/arm-unknown-eabi/bin/arm-unknown-eabi-ld: BFD
(crosstool-NG 1.13.2) 2.21.1 assertion fail
/home/michael/tmp/x/.build/src/binutils-2.21.1a/bfd/elf32-arm.c:12241
/home/michael/x-tools/arm-unknown-eabi/bin/arm-unknown-eabi-ld: BFD
(crosstool-NG 1.13.2) 2.21.1 assertion fail
/home/michael/tmp/x/.build/src/binutils-2.21.1a/bfd/elf32-arm.c:12241
/home/michael/x-tools/arm-unknown-eabi/bin/arm-unknown-eabi-ld: BFD
(crosstool-NG 1.13.2) 2.21.1 assertion fail
/home/michael/tmp/x/.build/src/binutils-2.21.1a/bfd/elf32-arm.c:12241
/home/michael/x-tools/arm-unknown-eabi/bin/arm-unknown-eabi-ld: BFD
(crosstool-NG 1.13.2) 2.21.1 assertion fail
/home/michael/tmp/x/.build/src/binutils-2.21.1a/bfd/elf32-arm.c:12241
/home/michael/x-tools/arm-unknown-eabi/bin/arm-unknown-eabi-ld: BFD
(crosstool-NG 1.13.2) 2.21.1 assertion fail
/home/michael/tmp/x/.build/src/binutils-2.21.1a/bfd/elf32-arm.c:12241
/home/michael/x-tools/arm-unknown-eabi/bin/arm-unknown-eabi-ld: BFD
(crosstool-NG 1.13.2) 2.21.1 assertion fail
/home/michael/tmp/x/.build/src/binutils-2.21.1a/bfd/elf32-arm.c:12241
/home/michael/x-tools/arm-unknown-eabi/bin/arm-unknown-eabi-ld: BFD
(crosstool-NG 1.13.2) 2.21.1 assertion fail
/home/michael/tmp/x/.build/src/binutils-2.21.1a/bfd/elf32-arm.c:12241
/home/michael/x-tools/arm-unknown-eabi/bin/arm-unknown-eabi-ld: BFD
(crosstool-NG 1.13.2) 2.21.1 assertion fail
/home/michael/tmp/x/.build/src/binutils-2.21.1a/bfd/elf32-arm.c:12241
/home/michael/x-tools/arm-unknown-eabi/bin/arm-unknown-eabi-ld: BFD
(crosstool-NG 1.13.2) 2.21.1 assertion fail
/home/michael/tmp/x/.build/src/binutils-2.21.1a/bfd/elf32-arm.c:12241
/home/michael/x-tools/arm-unknown-eabi/bin/arm-unknown-eabi-ld: BFD
(crosstool-NG 1.13.2) 2.21.1 assertion fail
/home/michael/tmp/x/.build/src/binutils-2.21.1a/bfd/elf32-arm.c:12241
/home/michael/x-tools/arm-unknown-eabi/bin/arm-unknown-eabi-ld: BFD
(crosstool-NG 1.13.2) 2.21.1 assertion fail
/home/michael/tmp/x/.build/src/binutils-2.21.1a/bfd/elf32-arm.c:12478
/bin/bash: line 1: 5198 Segmentation fault
/home/michael/x-tools/arm-unknown-eabi/bin/arm-unknown-eabi-ld -pie -T
u-boot.lds -Bstatic -Ttext 0x60d00000 $UNDEF_SYM
arch/arm/cpu/arm1176/start.o --start-group api/libapi.o
arch/arm/cpu/arm1176/libarm1176.o arch/arm/lib/libarm.o
common/libcommon.o disk/libdisk.o
drivers/bios_emulator/libatibiosemu.o drivers/block/libblock.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/libpower.o
drivers/rtc/librtc.o drivers/serial/libserial.o drivers/spi/libspi.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/libusb_musb.o drivers/usb/phy/libusb_phy.o
drivers/usb/ulpi/libusb_ulpi.o drivers/video/libvideo.o
drivers/watchdog/libwatchdog.o fs/cramfs/libcramfs.o
fs/ext2/libext2fs.o fs/fat/libfat.o fs/fdos/libfdos.o
fs/jffs2/libjffs2.o fs/reiserfs/libreiserfs.o fs/ubifs/libubifs.o
fs/yaffs2/libyaffs2.o lib/libfdt/libfdt.o lib/libgeneric.o
lib/lzma/liblzma.o lib/lzo/liblzo.o lib/zlib/libz.o net/libnet.o
post/libpost.o board/ox820/libox820.o --end-group
/home/michael/medion/u-boot-medion-p89626/arch/arm/lib/eabi_compat.o
-L /home/michael/x-tools/arm-unknown-eabi/lib/gcc/arm-unknown-eabi/4.4.6
-lgcc -Map u-boot.map -o u-boot
make: *** [u-boot] Error 139
--------------------
Regard,
Michael
More information about the U-Boot
mailing list