Hello,<br>I bought a board from FriendlyARM in China which model is QQ2440V3 which is similar to the smdk2440 and it comes with the "Supervivi" bootloader which requires "dwn" program from Samsung to transfer images of the system to the board. Sadly, this program runs only on windows and I use Debian GNU/Linux for all. After looking around I found really interesting the u-boot bootloader so I want to use it in my board.<br>
I have tried to compile u-boot from the "stable" branch in the git repository (which supports this smdk2440 board) using the CodeSourcery ARM toolchain (gcc version 4.3.2 (Sourcery G++ Lite 2008q3-41))<br>I've done 'make smdk2440_config' and then 'make all' but I get this error after a while compiling:<br>
<br>$ make all<br>[...]<br>UNDEF_SYM=`arm-linux-objdump -x lib_generic/libgeneric.a board/smdk2440/libsmdk2440.a cpu/arm920t/libarm920t.a cpu/arm920t/s3c24x0/libs3c24x0.a lib_arm/libarm.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 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/mtd/libmtd.a drivers/mtd/nand/libnand.a drivers/mtd/nand_legacy/libnand_legacy.a drivers/mtd/onenand/libonenand.a drivers/net/libnet.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 post/libpost.a post/drivers/libpostdrivers.a common/libcommon.a libfdt/libfdt.a api/libapi.a |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\<br>
cd /home/eldruin/arm/om-uboot && arm-linux-ld -Bstatic -T /home/eldruin/arm/om-uboot/board/smdk2440/u-boot.lds --defsym raise=hang -Ttext 0x33F80000 $UNDEF_SYM cpu/arm920t/start.o \<br> --start-group lib_generic/libgeneric.a board/smdk2440/libsmdk2440.a cpu/arm920t/libarm920t.a cpu/arm920t/s3c24x0/libs3c24x0.a lib_arm/libarm.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 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/mtd/libmtd.a drivers/mtd/nand/libnand.a drivers/mtd/nand_legacy/libnand_legacy.a drivers/mtd/onenand/libonenand.a drivers/net/libnet.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 post/libpost.a post/drivers/libpostdrivers.a common/libcommon.a libfdt/libfdt.a api/libapi.a --end-group -L /home/eldruin/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/armv4t -lgcc \<br>
-Map u-boot.map -o u-boot<br>common/libcommon.a(cmd_mem.o): In function `do_mem_cp':<br>/home/eldruin/arm/om-uboot/common/cmd_mem.c:438: undefined reference to `mmc2info'<br>/home/eldruin/arm/om-uboot/common/cmd_mem.c:442: undefined reference to `mmc_write'<br>
/home/eldruin/arm/om-uboot/common/cmd_mem.c:457: undefined reference to `mmc2info'<br>/home/eldruin/arm/om-uboot/common/cmd_mem.c:461: undefined reference to `mmc_read'<br>common/libcommon.a(cmd_mmc.o): In function `do_mmc':<br>
/home/eldruin/arm/om-uboot/common/cmd_mmc.c:30: undefined reference to `mmc_init'<br>disk/libdisk.a(part.o):(.rodata+0x4): undefined reference to `mmc_get_dev'<br>make: *** [u-boot] Error 1<br><br><br>Any idea of the cause or any solution? Any suggestion will be well received.<br>
Best regards,<br>Diego.<br clear="all"><br>-- <br>Linux Rulz!<br>