[U-Boot] nds32: toolchains for building ?

Mike Frysinger vapier at gentoo.org
Fri Nov 4 23:22:32 CET 2011


On Friday 04 November 2011 04:24:51 馬克泡 wrote:
> It's pity that only you can found the toolchain with full source from
> public is very old.
> I can give you the url as follows.
> http://osdk.andestech.com/

yes, i d/l-ed that monster of a .rar (which contains .tar.gz which themselves 
contain .tar.gz .....), but the linker in there segfaults for me :(

for people who want to try building u-boot but skip d/lin a 100MB+ rar, i've 
ripped things apart and posted it here as 3MiB:
	http://dev.gentoo.org/~vapier/u-boot/nds32.tar.xz

Configuring for adp-ag101 board...
board.c:107: warning: 'pmu_init' defined but not used
cmd_bdinfo.c:489: warning: 'print_lnum' defined but not used
cmd_mmc.c: In function `do_mmcops':
cmd_mmc.c:230: warning: comparison is always false due to limited range of 
data type
cmd_mmc.c:245: warning: comparison is always false due to limited range of 
data type
ns16550.c: In function `NS16550_init':
ns16550.c:44: warning: passing arg 2 of `writeb' makes pointer from integer 
without a cast
/bin/sh: line 1: 28408 Segmentation fault      (core dumped) nds32le-linux-ld 
--gc-sections --relax -T u-boot.lds -Bstatic -Ttext 0x03200000 $UNDEF_SYM 
arch/nds32/cpu/n1213/start.o --start-group api/libapi.o 
arch/nds32/cpu/n1213/ag101/libag101.o arch/nds32/cpu/n1213/libn1213.o 
arch/nds32/lib/libnds32.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/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/AndesTech/adp-ag101/libadp-
ag101.o --end-group -L /usr/local/src/u-boot/toolchains/nds32le-
linux/bin/../lib/gcc/nds32le-linux/3.4.4 -lgcc -Map u-boot.map -o u-boot
make: *** [u-boot] Error 139
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20111104/9685fef5/attachment.pgp 


More information about the U-Boot mailing list