[#4957] Build u-boot-2008.10 failed in BF527/BF538 with spi boot mode

Document created by Aaronwu Employee on Sep 25, 2013
Version 1Show Document
  • View in full screen mode

[#4957] Build u-boot-2008.10 failed in BF527/BF538 with spi boot mode

Submitted By: Vivi Li

Open Date

2009-03-04 04:04:50     Close Date

2009-03-26 01:59:34

Priority:

Medium High     Assignee:

Sonic Zhang

Category:

Make     Fixed In Release:

N/A

Found In Release:

2009R1     Status:

Closed

Board:

EZ-Kit Lite     Processor:

BF527

Silicon Revision:

    Resolution:

Fixed

Is the bug repeatable?:

N/A     

Summary: Build u-boot-2008.10 failed in BF527/BF538 with spi boot mode

Details:

 

Build u-boot-2008.10 failed in BF527/BF538 with spi boot mode.

 

Bellow is the error log when build for bf538f-ezkit:

-

bfin-uclinux-gcc -g  -Os   -ffixed-P5 -fomit-frame-pointer -mno-fdpic -ffunction-sections -fdata-sections -mcpu=bf538-0.4 -D__KERNEL__ -I/home/test/work/cruise/checkouts/u-boot/u-boot-2008.10/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux/bfin-uclinux/bin/../lib/gcc/bfin-uclinux/4.1.2/include -pipe  -DCONFIG_BLACKFIN -Wall -Wstrict-prototypes -fno-stack-protector -c -o cmd_eeprom.o cmd_eeprom.c

cmd_eeprom.c:129:2: error: #error CFG_I2C_EEPROM_ADDR_LEN must be 1 or 2

make[2]: *** [cmd_eeprom.o] Error 1

make[2]: Leaving directory `/home/test/work/cruise/checkouts/u-boot/u-boot-2008.10/common'

make[1]: *** [common/libcommon.a] Error 2

make[1]: Leaving directory `/home/test/work/cruise/checkouts/u-boot/u-boot-2008.10'

make: *** [bf538f-ezkit] Error 2

-

 

Bellow is the error log when build for bf527-ezkit:

--

bfin-uclinux-gcc -g  -Os   -ffixed-P5 -fomit-frame-pointer -mno-fdpic -ffunction-sections -fdata-sections -mcpu=bf527-0.0 -D__KERNEL__ -I/home/test/work/cruise/checkouts/u-boot/u-boot-2008.10/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uClinux/bfin-uclinux/bin/../lib/gcc/bfin-uclinux/4.1.2/include -pipe  -DCONFIG_BLACKFIN -Wall -Wstrict-prototypes -fno-stack-protector -c -o cmd_eeprom.o cmd_eeprom.c

cmd_eeprom.c:129:2: error: #error CFG_I2C_EEPROM_ADDR_LEN must be 1 or 2

make[2]: *** [cmd_eeprom.o] Error 1

make[2]: Leaving directory `/home/test/work/cruise/checkouts/u-boot/u-boot-2008.10/common'

make[1]: *** [common/libcommon.a] Error 2

make[1]: Leaving directory `/home/test/work/cruise/checkouts/u-boot/u-boot-2008.10'

make: *** [bf527-ezkit] Error 2

--

 

Follow-ups

 

--- Vivi Li                                                  2009-03-04 04:49:37

I checked that it failed since r1548 in u-boot-2008.10.

 

--- Sonic Zhang                                              2009-03-18 06:41:38

Use sf instead of eeprom to access spi flash.

PORTJ_FER not exists in bf534/6/7.

 

--- Vivi Li                                                  2009-03-26 01:59:34

It can be built now. Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes