* [U-Boot] Building uboot image for panda board
@ 2012-03-08 11:18 charlesKAO
2012-03-08 12:26 ` Aneesh V
2012-03-14 9:55 ` old000
0 siblings, 2 replies; 4+ messages in thread
From: charlesKAO @ 2012-03-08 11:18 UTC (permalink / raw)
To: u-boot
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
Does anyone know what's wrong?
Thanks~
--
View this message in context: http://old.nabble.com/Building-uboot-image-for-panda-board-tp33464297p33464297.html
Sent from the Uboot - Users mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] Building uboot image for panda board
2012-03-08 11:18 [U-Boot] Building uboot image for panda board charlesKAO
@ 2012-03-08 12:26 ` Aneesh V
2012-03-20 11:25 ` mr894381 at gmail.com
2012-03-14 9:55 ` old000
1 sibling, 1 reply; 4+ messages in thread
From: Aneesh V @ 2012-03-08 12:26 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] Building uboot image for panda board
2012-03-08 12:26 ` Aneesh V
@ 2012-03-20 11:25 ` mr894381 at gmail.com
0 siblings, 0 replies; 4+ messages in thread
From: mr894381 at gmail.com @ 2012-03-20 11:25 UTC (permalink / raw)
To: u-boot
Hi Aneesh
Can you show me where to get the new version uboot code for panda ICS ?
Thanks.
Charles
On Thu, Mar 8, 2012 at 8:26 PM, Aneesh V <aneesh@ti.com> wrote:
> 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
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] Building uboot image for panda board
2012-03-08 11:18 [U-Boot] Building uboot image for panda board charlesKAO
2012-03-08 12:26 ` Aneesh V
@ 2012-03-14 9:55 ` old000
1 sibling, 0 replies; 4+ messages in thread
From: old000 @ 2012-03-14 9:55 UTC (permalink / raw)
To: u-boot
Hi Charles,
I have encountered similar problems before.
The error might happen while compiling MLO for OMAP platforms.
Check the Makefile under "u-boot/spl/board/" or other spl-related Makefiles.
There might be some unnecessary .o files outside the
#ifndef CONFIG_SPL_BUILD
obj-(CONFIG_BLABLABLA...) += <something>.o
obj-(CONFIG_BLABLABLA...) += <something>.o
......
#endif
put the .o files which necessary for u-boot.img but not for MLO inside.
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
>
> Does anyone know what's wrong?
> Thanks~
>
--
View this message in context: http://old.nabble.com/Building-uboot-image-for-panda-board-tp33464297p33500685.html
Sent from the Uboot - Users mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-03-20 11:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-08 11:18 [U-Boot] Building uboot image for panda board charlesKAO
2012-03-08 12:26 ` Aneesh V
2012-03-20 11:25 ` mr894381 at gmail.com
2012-03-14 9:55 ` old000
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox