Menu

#35 build uboot with BOOT_MODE from SPI_MASTER has error at common/env_sf.c

master head
closed
nobody
None
low
none
BF533-STAMP
2014-09-24
2014-09-23
panmingquan
No

build uboot with BOOT_MODE from SPI_MASTER has error at common/env_sf.c.

LD examples/standalone/hello_world
CC examples/standalone/smc91111_eeprom.o
LD examples/standalone/smc91111_eeprom
OBJCOPY examples/standalone/hello_world.srec
OBJCOPY examples/standalone/smc91111_eeprom.srec
OBJCOPY examples/standalone/hello_world.bin
OBJCOPY examples/standalone/smc91111_eeprom.bin
LDS u-boot.lds
LD u-boot
common/built-in.o: In function env_relocate_spec': /home/test/workspace/UBOOT_BF533-STAMP/label/UBOOT_BF533-STAMP/common/env_sf.c:296: undefined reference tospi_flash_probe'
/home/test/workspace/UBOOT_BF533-STAMP/label/UBOOT_BF533-STAMP/common/env_sf.c:296: relocation truncated to fit: R_BFIN_PCREL24 against undefined symbol spi_flash_probe' /home/test/workspace/UBOOT_BF533-STAMP/label/UBOOT_BF533-STAMP/common/env_sf.c:316: undefined reference tospi_flash_free'
/home/test/workspace/UBOOT_BF533-STAMP/label/UBOOT_BF533-STAMP/common/env_sf.c:316: relocation truncated to fit: R_BFIN_PCREL24 against undefined symbol spi_flash_free' common/built-in.o: In functionsaveenv':
/home/test/workspace/UBOOT_BF533-STAMP/label/UBOOT_BF533-STAMP/common/env_sf.c:228: undefined reference to spi_flash_probe' /home/test/workspace/UBOOT_BF533-STAMP/label/UBOOT_BF533-STAMP/common/env_sf.c:228: relocation truncated to fit: R_BFIN_PCREL24 against undefined symbolspi_flash_probe'
make: *** [u-boot] Error 1
test@uboot33-533stamp:~/workspace/UBOOT_BF533-STAMP/label/UBOOT_BF533-STAMP$ vi include/configs/bf533-stamp.h
test@uboot33-533stamp:~/workspace/UBOOT_BF533-STAMP/label/UBOOT_BF533-STAMP$

Discussion

  • panmingquan

    panmingquan - 2014-09-24
    • status: open --> closed
     
  • panmingquan

    panmingquan - 2014-09-24

    uncomment configs for spi flash in head files. Now it can build now.
    close.

     

Log in to post a comment.

MongoDB Logo MongoDB