[#7548] build u-boot with early-printk config fails

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

[#7548] build u-boot with early-printk config fails

Submitted By: Mingquan Pan

Open Date

2012-12-19 03:33:01     Close Date

2013-01-04 02:30:34

Priority:

Medium     Assignee:

Bob Liu

Category:

N/A     Fixed In Release:

2012R2-RC3

Found In Release:

2012R2-RC3     Status:

Closed

Board:

N/A     Processor:

BF609

Silicon Revision:

    Resolution:

Fixed

Is the bug repeatable?:

N/A     

Summary: build u-boot with early-printk config fails

Details:

 

build u-boot with early-printk config fails.

 

make[2]: Leaving directory `/home/test/workspace/UBOOT_BF609-EZKIT/label/UBOOT_BF609-EZKIT/arch/blackfin/cpu'^M

bfin-uclinux-gcc -E -g  -Os   -ffixed-P3 -fomit-frame-pointer -mno-fdpic -ffunction-sections -fdata-sections -mcpu=bf609-0.0 -D__KERNEL__ -I/home/test/workspace/UBOOT_BF609-EZKIT/label/UBOOT_BF609-EZKIT/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux.2012_Dec_18_20_29/bfin-uclinux/bin/../lib/gcc/bfin-uclinux/4.3.5/include -pipe  -DCONFIG_BLACKFIN -include /home/test/workspace/UBOOT_BF609-EZKIT/label/UBOOT_BF609-EZKIT/include/u-boot/u-boot.lds.h -DCPUDIR=arch/blackfin/cpu  -ansi -D__ASSEMBLY__ -P - </home/test/workspace/UBOOT_BF609-EZKIT/label/UBOOT_BF609-EZKIT/arch/blackfin/cpu/u-boot.lds >u-boot.lds^M

UNDEF_SYM=`bfin-uclinux-objdump -x board/bf609-ezkit/libbf609-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/workspace/UBOOT_BF609-EZKIT/label/UBOOT_BF609-EZKIT && 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/bf609-ezkit/libbf609-ezkit.o --end-group -L /opt/uClinux.2012_Dec_18_20_29/bfin-uclinux/bin/../lib/gcc/bfin-uclinux/4.3.5 -lgcc -Map u-boot.map -o u-boot^M

smap=`bfin-uclinux-nm u-boot | grep -v '\(compiled\)\|\(\.o$\)\|\( [aUw] \)\|\(\.\.ng$\)\|\(LASH[RL]DI\)' | LC_ALL=C sort | \^M

                        awk '$2 ~ /[tTwW]/ {printf $1 $3 "\\\\000"}'` ; \^M

                bfin-uclinux-gcc -g  -Os   -ffixed-P3 -fomit-frame-pointer -mno-fdpic -ffunction-sections -fdata-sections -mcpu=bf609-0.0 -D__KERNEL__ -I/home/test/workspace/UBOOT_BF609-EZKIT/label/UBOOT_BF609-EZKIT/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux.2012_Dec_18_20_29/bfin-uclinux/bin/../lib/gcc/bfin-uclinux/4.3.5/include -pipe  -DCONFIG_BLACKFIN -Wall -Wstrict-prototypes -DBUILD_TAG='"jenkins-label=UBOOT_BF609-EZKIT-248"' -fno-stack-protector -Wno-format-nonliteral -Wno-format-security  -DSYSTEM_MAP="\"${smap}\"" \^M

                        -c common/system_map.c -o common/system_map.o^M

UNDEF_SYM=`bfin-uclinux-objdump -x board/bf609-ezkit/libbf609-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/workspace/UBOOT_BF609-EZKIT/label/UBOOT_BF609-EZKIT && 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/bf609-ezkit/libbf609-ezkit.o --end-group -L /opt/uClinux.2012_Dec_18_20_29/bfin-uclinux/bin/../lib/gcc/bfin-uclinux/4.3.5 -lgcc -Map u-boot.map -o u-boot common/system_map.o^M

/opt/uClinux.2012_Dec_18_20_29/bfin-uclinux/bin/../bfin-uclinux/bin/ld.real: u-boot section `.bss' will not fit in region `ram'^M

/opt/uClinux.2012_Dec_18_20_29/bfin-uclinux/bin/../bfin-uclinux/bin/ld.real: region `ram' overflowed by 404 bytes^M

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

make[1]: Leaving directory `/home/test/workspace/UBOOT_BF609-EZKIT/label/UBOOT_BF609-EZKIT'^M

make: *** [bf609-ezkit] Error 2^M

 

Follow-ups

 

--- Sonic Zhang                                              2012-12-20 03:08:33

enlarge len

 

--- Mingquan Pan                                             2013-01-04 03:37:10

Fixed. close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes