[#7283] build trunkhead uboot for bf561-ezkit fails for undefined reference to `bfin_serial0_device'

Document created by Aaronwu Employee on Sep 26, 2013
Version 1Show Document
  • View in full screen mode

[#7283] build trunkhead uboot for bf561-ezkit fails for undefined reference to `bfin_serial0_device'

Submitted By: Mingquan Pan

Open Date

2012-08-23 03:57:34     Close Date

2012-09-06 01:48:49

Priority:

Medium     Assignee:

Bob Liu

Category:

N/A     Fixed In Release:

2012R2-RC3

Found In Release:

2012R2-RC3     Status:

Closed

Board:

N/A     Processor:

BF561

Silicon Revision:

    Resolution:

Fixed

Is the bug repeatable?:

N/A     

Summary: build trunkhead uboot for bf561-ezkit fails for undefined reference to `bfin_serial0_device'

Details:

 

build trunkhead uboot for bf561-ezkit fails for undefined reference to `bfin_serial0_device'.

 

make[2]: Leaving directory `/home/test/work/cruise/checkouts/u-boot/board/bf561-ezkit'

make -C /home/test/work/cruise/checkouts/u-boot/arch/blackfin/cpu/ u-boot.lds

make[2]: Entering directory `/home/test/work/cruise/checkouts/u-boot/arch/blackfin/cpu'

make[2]: Nothing to be done for `u-boot.lds'.

make[2]: Leaving directory `/home/test/work/cruise/checkouts/u-boot/arch/blackfin/cpu'

bfin-uclinux-gcc -E -g  -Os   -ffixed-P3 -fomit-frame-pointer -mno-fdpic -ffunction-sections -fdata-sections -mcpu=bf561-0.3 -D__KERNEL__ -I/home/test/work/cruise/checkouts/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux.2012R1-RC2/bfin-uclinux/bin/../lib/gcc/bfin-uclinux/4.3.5/include -pipe  -DCONFIG_BLACKFIN -include /home/test/work/cruise/checkouts/u-boot/include/u-boot/u-boot.lds.h -DCPUDIR=arch/blackfin/cpu  -ansi -D__ASSEMBLY__ -P - </home/test/work/cruise/checkouts/u-boot/arch/blackfin/cpu/u-boot.lds >u-boot.lds

UNDEF_SYM=`bfin-uclinux-objdump -x board/bf561-ezkit/libbf561-ezkit.o api/libapi.o arch/blackfin/cpu/libblackfin.o arch/blackfin/lib/libblackfin.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 | sed  -n -e 's/.*\(___u_boot_cmd_.*\)/-u\1/p'|sort|uniq`; cd /home/test/work/cruise/checkouts/u-boot && bfin-uclinux-ld -m elf32bfin  -T u-boot.lds --gc-sections -Bstatic $UNDEF_SYM arch/blackfin/cpu/start.o --start-group api/libapi.o arch/blackfin/cpu/libblackfin.o arch/blackfin/lib/libblackfin.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/bf561-ezkit/libbf561-ezkit.o --end-group -L /opt/uClinux.2012R1-RC2/bfin-uclinux/bin/../lib/gcc/bfin-uclinux/4.3.5 -lgcc -L /opt/uClinux.2012R1-RC2/bfin-uclinux/bin/../lib/gcc/bfin-uclinux/4.3.5 -lgcc -Map u-boot.map -o u-boot

arch/blackfin/cpu/libblackfin.o: In function `default_serial_console':

/home/test/work/cruise/checkouts/u-boot/arch/blackfin/cpu/serial.c:290: undefined reference to `bfin_serial0_device'

/home/test/work/cruise/checkouts/u-boot/arch/blackfin/cpu/serial.c:290: undefined reference to `bfin_serial0_device'

make[1]: *** [u-boot] Error 1

make[1]: Leaving directory `/home/test/work/cruise/checkouts/u-boot'

make: *** [bf561-ezkit] Error 2

 

Follow-ups

 

--- Bob Liu                                                  2012-09-04 02:41:06

fixed

 

--- Bob Liu                                                  2012-09-04 02:41:29

fixed, add uart0_rbr define

 

--- Mingquan Pan                                             2012-09-06 02:49:04

Yes, close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes