[U-Boot] Building uboot image for panda board

Aneesh V aneesh at ti.com
Thu Mar 8 13:26:24 CET 2012


Hi Charles,

On Thursday 08 March 2012 04:48 PM, charlesKAO wrote:
>
> Hi i am charles.
> I am building the panda uboot image, but something wrong.
>
> make[1]: Leaving directory
> `/home/charles/Work_100G/PandaBoard/U_boot/u-boot/arch/arm/cpu/armv7'
> make -C tools all
> make[1]: Entering directory
> `/home/charles/Work_100G/PandaBoard/U_boot/u-boot/tools'
> make[1]: Leaving directory
> `/home/charles/Work_100G/PandaBoard/U_boot/u-boot/tools'
> make -C spl/board/ti/panda all
> make[1]: Entering directory
> `/home/charles/Work_100G/PandaBoard/U_boot/u-boot/spl/board/ti/panda'
> /home/charles/Work_100G/PandaBoard/ICS4.0/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc
> -g  -Os   -fno-common -ffixed-r8 -msoft-float   -D__KERNEL__
> -DCONFIG_SYS_TEXT_BASE=0x80e80000
> -I/home/charles/Work_100G/PandaBoard/U_boot/u-boot/include -fno-builtin
> -ffreestanding -nostdinc -isystem
> /home/charles/Work_100G/PandaBoard/ICS4.0/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/include
> -pipe  -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork  -mabi=aapcs-linux
> -march=armv5 -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector
> -DCONFIG_PRELOADER -Os -ffixed-r8 -ffunction-sections -fdata-sections
> -march=armv7-a -mthumb -c -o spl-omap.o spl-omap.c
> cd /home/charles/Work_100G/PandaBoard/U_boot/u-boot/spl/board/ti/panda&&
> /home/charles/Work_100G/PandaBoard/ICS4.0/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-ld
> -Bstatic -T
> /home/charles/Work_100G/PandaBoard/U_boot/u-boot/spl/u-boot-spl-generated.lds
> --gc-sections  start.o reset.o lowlevel_init.o  serial.o ns16550.o string.o
> vsprintf.o console.o stdio.o ctype.o eabi_compat.o div64.o omap_hsmmc.o
> omap24xx_i2c.o mmc.o time.o part.o part_dos.o fat.o syslib.o utils.o timer.o
> spl-omap.o board.o clocks.o emif.o sdram_elpida.o \
> 		-L
> /home/charles/Work_100G/PandaBoard/ICS4.0/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/thumb
> -lgcc \
> 		-Map /home/charles/Work_100G/PandaBoard/U_boot/u-boot/spl/u-boot-spl.map \
> 		-o /home/charles/Work_100G/PandaBoard/U_boot/u-boot/spl/u-boot-spl
> clocks.o: In function `prcm_init':
> clocks.c:(.text.prcm_init+0x8a): undefined reference to
> `omap_set_gpio_direction'
> clocks.c:(.text.prcm_init+0x92): undefined reference to
> `omap_set_gpio_dataout'
> make[1]: ***
> [/home/charles/Work_100G/PandaBoard/U_boot/u-boot/spl/u-boot-spl] Error 1
> make[1]: Leaving directory
> `/home/charles/Work_100G/PandaBoard/U_boot/u-boot/spl/board/ti/panda'
> make: *** [SPL] Error 2

I believe you are trying an older version. The current HEAD of master
doesn't have gpio functions in clocks.c?

br,
Aneesh


More information about the U-Boot mailing list