[U-Boot] [PATCH V3 2/2] ARM: omap3: add support to Technexion twister board

Tom Rini tom.rini at gmail.com
Sat Jan 14 15:25:11 CET 2012


On Sat, Jan 14, 2012 at 1:47 AM, Albert ARIBAUD
<albert.u.boot at aribaud.net> wrote:
> (re-sent due to the U-Boot MX rejecting my provider's servers -- again)
>
> Hi Stefano,
>
> Le 01/12/2011 10:56, Stefano Babic a écrit :
>>
>> The twister board is a development board using
>> the TAM3517 SOM.
>
>
> I see this match made it in IMX then ARM, but it seems not to build here
> either with ELDK 4.2 or linaro (Ubuntu) cross tool chains:
>
>> Configuring for twister board...
>> omap_gpmc.c:33:30: attention : ‘hw_nand_oob’ defined but not used
>> [-Wunused-variable]
>> omap_gpmc.c:78:13: attention : ‘omap_hwecc_init’ defined but not used
>> [-Wunused-function]
>> omap_gpmc.c:116:12: attention : ‘omap_correct_data’ defined but not used
>> [-Wunused-function]
>> omap_gpmc.c:182:12: attention : ‘omap_calculate_ecc’ defined but not used
>> [-Wunused-function]
>> omap_gpmc.c:208:13: attention : ‘omap_enable_hwecc’ defined but not used
>> [-Wunused-function]
>> drivers/usb/host/libusb_host.o: In function `usb_lowlevel_stop':
>> /home/uboot/src/u-boot-arm/drivers/usb/host/ehci-hcd.c:806: undefined
>> reference to `ehci_hcd_stop'
>> drivers/usb/host/libusb_host.o: In function `usb_lowlevel_init':
>> /home/uboot/src/u-boot-arm/drivers/usb/host/ehci-hcd.c:814: undefined
>> reference to `ehci_hcd_init'
>> arm-linux-gnueabi-ld: BFD (GNU Binutils for Ubuntu) 2.21.53.20110810
>> assertion fail ../../bfd/elf32-arm.c:7498
>> arm-linux-gnueabi-ld: BFD (GNU Binutils for Ubuntu) 2.21.53.20110810
>> assertion fail ../../bfd/elf32-arm.c:7498
>> arm-linux-gnueabi-ld: BFD (GNU Binutils for Ubuntu) 2.21.53.20110810
>> assertion fail ../../bfd/elf32-arm.c:13828
>> /bin/sh : ligne 1 : 23855 Erreur de segmentation  arm-linux-gnueabi-ld
>> -pie -T u-boot.lds -Bstatic -Ttext 0x80008000 $UNDEF_SYM
>> arch/arm/cpu/armv7/start.o --start-group api/libapi.o
>> arch/arm/cpu/armv7/libarmv7.o
>> arch/arm/cpu/armv7/omap-common/libomap-common.o
>> arch/arm/cpu/armv7/omap3/libomap3.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/technexion/twister/libtwister.o --end-group
> /home/uboot/src/u-boot-arm/arch/arm/lib/eabi_compat.o -L
> /usr/lib/gcc/arm-linux-gnueabi/4.6.1 -lgcc -Map u-boot.map -o u-boot
>>
>> make: *** [u-boot] Erreur 139
>> make: *** Attente des tâches non terminées....
>> arm-linux-gnueabi-size: ./u-boot: File format not recognized
>>
>> --------------------- SUMMARY ----------------------------
>> Boards compiled: 1
>> Boards with warnings or errors: 1 ( twister )
>> ----------------------------------------------------------
>
>
> The above was tried on 10a4fa9e22b9677819b3901a87eec05875b346ad (the current
> u-boot-arm/master, but trying various commits in between it and
> 92e30c07e02b84a3b63205fcb29ac57defd043f6 (creation of twister), I find no
> commit where it builds.
>
> Stefano, can you have a look at this?

So what happened is I accidentally put this board into u-boot-ti/next
a while back, before the USB changes went in, without realizing it.
The reason the USB changes haven't gone in, still, is that they've
been made more generic (as the IP block is shared between these boards
and omap4/5).  For that part of the problem perhaps we should turn off
the USB portion of the board for now?

-- 
Tom


More information about the U-Boot mailing list