Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

U-BOOT-2015-01 PORT to OMAP-L138 board

$
0
0
Hi anyone:
    I have a board which the CPU is OMAP-L138, and i want to port u-boot-2015-01 release version to my board. I have got some problems when i portting. i did as the following process:
1. set tool-chain:
  $CROSS_COMPILE=arm-none-linux-gnueabi-
  $ export CROSS_COMPILE
2. $ make distclean
3. Creat my board configs(tl138evm)
    $ cp configs/da850evm_defconfig ./configs/tl138evm_defconfig
    $ cp include/configs/da850evm.h ./include/configs/tl138evm.h
4. copy board files:
    $ cp -rf board/davinci/da8xxevm ./board/davinci/tl138evm
    $ mv board/davinci/ tl138evm/da850evm.c ./board/davinci/tl138evm/tl138evm.c
    $ mv board/davinci/ tl138evm/u-boot-spl-da850evm.lds ./board/davinci/tl138evm/u-boot-spl-tl138evm.lds
5. modified files:
    /board/davinci/tl138evm/Kconfig: add the follow scrips:
    if TARGET_TL138EVM
    config SYS_BOARD
default "tl138evm"
    config SYS_VENDOR
default "davinci"
    config SYS_CONFIG_NAME
default "tl138evm"
    endif
     /board/davinci/tl138evm/Makefile: add the follow scrips:
    obj-$(CONFIG_MACH_DAVINCI_TL138_EVM) += tl138evm.o
    /configs/tl138evm_defconfig: 
CONFIG_SPL=y
CONFIG_SYS_EXTRA_OPTIONS="MAC_ADDR_IN_SPIFLASH"
+S:CONFIG_ARM=y
+S:CONFIG_ARCH_DAVINCI=y
+S:CONFIG_TARGET_TL138EVM=y
#+S:CONFIG_TARGET_DA850EVM=y
5.  configrations and build:
czf@ubuntu:~/tl_sdk/uboot/u-boot-2015.01$ make tl138evm_defconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/zconf.lex.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
#
# configuration written to .config
#
czf@ubuntu:~/tl_sdk/uboot/u-boot-2015.01$ make all
scripts/kconfig/conf --silentoldconfig Kconfig
  CHK     include/config.h
  UPD     include/config.h
  GEN     include/autoconf.mk
cc1: error: bad value (armv5te) for -march= switch
cc1: error: bad value (armv5te) for -mtune= switch
make[2]: *** [include/autoconf.mk] Error 1
make[1]: *** [silentoldconfig] Error 1
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/uboot.release'.  Stop.
czf@ubuntu:~/tl_sdk/uboot/u-boot-2015.01$ 
As above informations, i got some errors. So ,how should to deal with these errors?
thanks !
Best regards!
Zhongfeng Chen

Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>