[#4960] Build u-boot-2008.10 failed when HDD_IDE or CF_IDE is enable in bf537-stamp

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

[#4960] Build u-boot-2008.10 failed when HDD_IDE or CF_IDE is enable in bf537-stamp

Submitted By: Vivi Li

Open Date

2009-03-04 21:51:37     Close Date

2009-04-01 06:51:41

Priority:

Medium High     Assignee:

Sonic Zhang

Category:

Make     Fixed In Release:

N/A

Found In Release:

2009R1     Status:

Closed

Board:

STAMP     Processor:

BF537

Silicon Revision:

    Resolution:

N/A

Is the bug repeatable?:

N/A     

Summary: Build u-boot-2008.10 failed when HDD_IDE or CF_IDE is enable in bf537-stamp

Details:

 

Build u-boot-2008.10 failed when BFIN_HDD_IDE or BFIN_CF_IDE is enable in bf537-stamp, and showed error message of "region ram is full".

 

Bellow is the log when BFIN_HDD_IDE is enabled:

--

UNDEF_SYM=`bfin-uclinux-objdump -x board/bf537-stamp/libbf537-stamp.a lib_generic/libgeneric.a lib_generic/lzma/liblzma.a cpu/blackfin/libblackfin.a lib_blackfin/libblackfin.a fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a fs/yaffs2/libyaffs2.a net/libnet.a disk/libdisk.a drivers/bios_emulator/libatibiosemu.a drivers/block/libblock.a drivers/dma/libdma.a drivers/hwmon/libhwmon.a drivers/i2c/libi2c.a drivers/input/libinput.a drivers/misc/libmisc.a drivers/mmc/libmmc.a drivers/mtd/libmtd.a drivers/mtd/nand/libnand.a drivers/mtd/nand_legacy/libnand_legacy.a drivers/mtd/onenand/libonenand.a drivers/mtd/spi/libspi_flash.a drivers/net/libnet.a drivers/net/phy/libphy.a drivers/net/sk98lin/libsk98lin.a drivers/pci/libpci.a drivers/pcmcia/libpcmcia.a drivers/spi/libspi.a drivers/rtc/librtc.a drivers/serial/libserial.a drivers/usb/libusb.a drivers/video/libvideo.a common/libcommon.a libfdt/libfdt.a api/libapi.a post/libpost.a | sed  -n -e 's/.*\(___u_boot_cmd_.*\)/-u\1/p'|sort|uniq`; cd /home/test/ca_svn/u-boot/u-boot-2008.10 && bfin-uclinux-ld --gc-sections -Bstatic -T board/bf537-stamp/u-boot.lds  $UNDEF_SYM cpu/blackfin/start.o --start-group lib_generic/libgeneric.a lib_generic/lzma/liblzma.a cpu/blackfin/libblackfin.a lib_blackfin/libblackfin.a fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a fs/yaffs2/libyaffs2.a net/libnet.a disk/libdisk.a drivers/bios_emulator/libatibiosemu.a drivers/block/libblock.a drivers/dma/libdma.a drivers/hwmon/libhwmon.a drivers/i2c/libi2c.a drivers/input/libinput.a drivers/misc/libmisc.a drivers/mmc/libmmc.a drivers/mtd/libmtd.a drivers/mtd/nand/libnand.a drivers/mtd/nand_legacy/libnand_legacy.a drivers/mtd/onenand/libonenand.a drivers/mtd/spi/libspi_flash.a drivers/net/libnet.a drivers/net/phy/libphy.a drivers/net/sk98lin/libsk98lin.a drivers/pci/libpci.a drivers/pcmcia/libpcmcia.a drivers/spi/libspi.a drivers/rtc/librtc.a drivers/serial/libserial.a drivers/usb/libusb.a drivers/video/libvideo.a common/libcommon.a libfdt/libfdt.a api/libapi.a post/libpost.a board/bf537-stamp/libbf537-stamp.a --end-group -L /opt/uClinux/bfin-uclinux/bin/../lib/gcc/bfin-uclinux/4.1.2 -lgcc -Map u-boot.map -o u-boot cpu/blackfin/system_map.o

/opt/uClinux/bfin-uclinux/bin/bfin-uclinux-ld.real: region ram is full (u-boot section .bss)

/opt/uClinux/bfin-uclinux/bin/bfin-uclinux-ld.real: region ram is full (u-boot section .bss)

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

make[1]: Leaving directory `/home/test/ca_svn/u-boot/u-boot-2008.10'

make: *** [bf537-stamp] Error 2

--

 

Bellow is the log when BFIN_CF_IDE is enabled:

--

UNDEF_SYM=`bfin-uclinux-objdump -x board/bf537-stamp/libbf537-stamp.a lib_generic/libgeneric.a lib_generic/lzma/liblzma.a cpu/blackfin/libblackfin.a lib_blackfin/libblackfin.a fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a fs/yaffs2/libyaffs2.a net/libnet.a disk/libdisk.a drivers/bios_emulator/libatibiosemu.a drivers/block/libblock.a drivers/dma/libdma.a drivers/hwmon/libhwmon.a drivers/i2c/libi2c.a drivers/input/libinput.a drivers/misc/libmisc.a drivers/mmc/libmmc.a drivers/mtd/libmtd.a drivers/mtd/nand/libnand.a drivers/mtd/nand_legacy/libnand_legacy.a drivers/mtd/onenand/libonenand.a drivers/mtd/spi/libspi_flash.a drivers/net/libnet.a drivers/net/phy/libphy.a drivers/net/sk98lin/libsk98lin.a drivers/pci/libpci.a drivers/pcmcia/libpcmcia.a drivers/spi/libspi.a drivers/rtc/librtc.a drivers/serial/libserial.a drivers/usb/libusb.a drivers/video/libvideo.a common/libcommon.a libfdt/libfdt.a api/libapi.a post/libpost.a | sed  -n -e 's/.*\(___u_boot_cmd_.*\)/-u\1/p'|sort|uniq`; cd /home/test/ca_svn/u-boot/u-boot-2008.10 && bfin-uclinux-ld --gc-sections -Bstatic -T board/bf537-stamp/u-boot.lds  $UNDEF_SYM cpu/blackfin/start.o --start-group lib_generic/libgeneric.a lib_generic/lzma/liblzma.a cpu/blackfin/libblackfin.a lib_blackfin/libblackfin.a fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a fs/yaffs2/libyaffs2.a net/libnet.a disk/libdisk.a drivers/bios_emulator/libatibiosemu.a drivers/block/libblock.a drivers/dma/libdma.a drivers/hwmon/libhwmon.a drivers/i2c/libi2c.a drivers/input/libinput.a drivers/misc/libmisc.a drivers/mmc/libmmc.a drivers/mtd/libmtd.a drivers/mtd/nand/libnand.a drivers/mtd/nand_legacy/libnand_legacy.a drivers/mtd/onenand/libonenand.a drivers/mtd/spi/libspi_flash.a drivers/net/libnet.a drivers/net/phy/libphy.a drivers/net/sk98lin/libsk98lin.a drivers/pci/libpci.a drivers/pcmcia/libpcmcia.a drivers/spi/libspi.a drivers/rtc/librtc.a drivers/serial/libserial.a drivers/usb/libusb.a drivers/video/libvideo.a common/libcommon.a libfdt/libfdt.a api/libapi.a post/libpost.a board/bf537-stamp/libbf537-stamp.a --end-group -L /opt/uClinux/bfin-uclinux/bin/../lib/gcc/bfin-uclinux/4.1.2 -lgcc -Map u-boot.map -o u-boot cpu/blackfin/system_map.o

/opt/uClinux/bfin-uclinux/bin/bfin-uclinux-ld.real: region ram is full (u-boot section .bss)

/opt/uClinux/bfin-uclinux/bin/bfin-uclinux-ld.real: region ram is full (u-boot section .bss)

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

make[1]: Leaving directory `/home/test/ca_svn/u-boot/u-boot-2008.10'

make: *** [bf537-stamp] Error 2

--

 

Follow-ups

 

--- Sonic Zhang                                              2009-03-18 06:49:09

Don't redefine CONFIG_DOS_PARTITION

 

--- Vivi Li                                                  2009-03-27 04:14:35

Still fail to build with the same error info, for both HDD_IDE and CF_IDE.

 

--- Vivi Li                                                  2009-04-01 06:51:41

Enlarge the values for CFG_MALLOC_LEN and CFG_MONITOR_LEN, build will pass. So

close this bug.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes