- Priority: 3 --> middle
[#7026] build uboot post test for led fails
Move Item | Delete Item | Clone Item | Merge Item
Submitted By: Mingquan Pan
Open Date
2012-03-26 10:54:51
Priority:
Assignee:
Category:
Fixed In Release:
Found In Release:
Status:
Board:
Processor:
Silicon Revision:
Resolution:
Is the bug repeatable?:
Summary:
Details: (Edit)
build uboot post test for led fails.
add following lines to bf609.h
/ For ez-board version 1.0, else undef this /
get the failure like :
bfin-uclinux-gcc -D__ASSEMBLY__ -g -Os -ffixed-P3 -fomit-frame-pointer -mno-fdpic -ffunction-sections -fdata-sections -mcpu=bf609-0.0 -D__KERNEL__ -I/home/test/workspace/uboot_test_bf609-ezkit/label/UBOOT_BF609-EZKIT/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.3.5/include -pipe -DCONFIG_BLACKFIN -o interrupt.o interrupt.S -c
bfin-uclinux-gcc -D__ASSEMBLY__ -g -Os -ffixed-P3 -fomit-frame-pointer -mno-fdpic -ffunction-sections -fdata-sections -mcpu=bf609-0.0 -D__KERNEL__ -I/home/test/workspace/uboot_test_bf609-ezkit/label/UBOOT_BF609-EZKIT/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.3.5/include -pipe -DCONFIG_BLACKFIN -o cache.o cache.S -c
bfin-uclinux-ld -m elf32bfin -r -o libblackfin.o cpu.o gpio.o interrupts.o jtag-console.o os_log.o reset.o serial.o traps.o watchdog.o interrupt.o cache.o
make[1]: Leaving directory /home/test/workspace/uboot_test_bf609-ezkit/label/UBOOT_BF609-EZKIT/arch/blackfin/cpu'
make -C arch/blackfin/lib/
make[1]: Entering directory/home/test/workspace/uboot_test_bf609-ezkit/label/UBOOT_BF609-EZKIT/arch/blackfin/lib'
bfin-uclinux-gcc -g -Os -ffixed-P3 -fomit-frame-pointer -mno-fdpic -ffunction-sections -fdata-sections -mcpu=bf609-0.0 -D__KERNEL__ -I/home/test/workspace/uboot_test_bf609-ezkit/label/UBOOT_BF609-EZKIT/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.3.5/include -pipe -DCONFIG_BLACKFIN -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security -DBFIN_BOARD_NAME='"bf609-ezkit"' -o board.o board.c -c
board.c: In function ‘board_init_f’:
board.c:296: warning: implicit declaration of function ‘get_dclk’
bfin-uclinux-gcc -g -Os -ffixed-P3 -fomit-frame-pointer -mno-fdpic -ffunction-sections -fdata-sections -mcpu=bf609-0.0 -D__KERNEL__ -I/home/test/workspace/uboot_test_bf609-ezkit/label/UBOOT_BF609-EZKIT/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.3.5/include -pipe -DCONFIG_BLACKFIN -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security -DBFIN_BOARD_NAME='"bf609-ezkit"' -o boot.o boot.c -c
bfin-uclinux-gcc -g -Os -ffixed-P3 -fomit-frame-pointer -mno-fdpic -ffunction-sections -fdata-sections -mcpu=bf609-0.0 -D__KERNEL__ -I/home/test/workspace/uboot_test_bf609-ezkit/label/UBOOT_BF609-EZKIT/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.3.5/include -pipe -DCONFIG_BLACKFIN -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security -DBFIN_BOARD_NAME='"bf609-ezkit"' -o cache.o cache.c -c
bfin-uclinux-gcc -g -Os -ffixed-P3 -fomit-frame-pointer -mno-fdpic -ffunction-sections -fdata-sections -mcpu=bf609-0.0 -D__KERNEL__ -I/home/test/workspace/uboot_test_bf609-ezkit/label/UBOOT_BF609-EZKIT/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.3.5/include -pipe -DCONFIG_BLACKFIN -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security -DBFIN_BOARD_NAME='"bf609-ezkit"' -o clocks.o clocks.c -c
clocks.c:82: warning: ‘cached_dclk’ defined but not used
clocks.c:84: warning: ‘_get_sclk’ defined but not used
bfin-uclinux-gcc -g -Os -ffixed-P3 -fomit-frame-pointer -mno-fdpic -ffunction-sections -fdata-sections -mcpu=bf609-0.0 -D__KERNEL__ -I/home/test/workspace/uboot_test_bf609-ezkit/label/UBOOT_BF609-EZKIT/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux/bfin-uclinux/lib/gcc/bfin-uclinux/4.3.5/include -pipe -DCONFIG_BLACKFIN -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security -DBFIN_BOARD_NAME='"bf609-ezkit"' -o post.o post.c -c
post.c: In function ‘led_post_test’:
post.c:18: error: ‘CONFIG_POST_BSPEC1_GPIO_LEDS’ undeclared (first use in this function)
post.c:18: error: (Each undeclared identifier is reported only once
post.c:18: error: for each function it appears in.)
make[1]: *** [post.o] Error 1
make[1]: Leaving directory `/home/test/workspace/uboot_test_bf609-ezkit/label/UBOOT_BF609-EZKIT/arch/blackfin/lib'
Follow-ups
--- Bob Liu 2012-03-27 16:11:19
Only bf537-stamp and bf548-ezkit support CONFIG_POST current.