Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Linux/AM4378: U-boot compiles on the ti-processor-sdk-linux-am437x-evm-04.-2.--.09 but not on ti-processor-sdk-linux-rt-am437x-evm-04.02.00.09 on the same computer

$
0
0

Part Number:AM4378

Tool/software: Linux

When I compile U-boot with the rt Linux SDK I get many errors, duplicate defines, missing header files in the compiler includes, etc. When I compile u-boot on the same computer with the non rt Linux SDK, it compiles fine. The first output is with the RT SDK, the second is the non RT SDK. I have these in files if that would help. Any idea what I'm doing wrong or if I don't have something configured properly. We will need to use the RT SDK for our project.

Thanks

Ed

--------------------------------------------------------------------------------------------------------------------RT SDK --------------------------------------------------------------------

=====================================
Building the Linux Kernel DTBs
=====================================
make -C /home/henschel/Development/TANOnet/ti-processor-sdk-linux-rt-am437x-evm-04.02.00.09/board-support/linux-rt-4.9.59+gitAUTOINC+273202a0d3-g273202a0d3 ARCH=arm CROSS_COMPILE=/home/henschel/Development/TANOnet/ti-processor-sdk-linux-rt-am437x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf- tisdk_am437x-evm-rt_defconfig
make[1]: Entering directory '/home/henschel/Development/TANOnet/ti-processor-sdk-linux-rt-am437x-evm-04.02.00.09/board-support/linux-rt-4.9.59+gitAUTOINC+273202a0d3-g273202a0d3'
#
# configuration written to .config
#
make[1]: Leaving directory '/home/henschel/Development/TANOnet/ti-processor-sdk-linux-rt-am437x-evm-04.02.00.09/board-support/linux-rt-4.9.59+gitAUTOINC+273202a0d3-g273202a0d3'
make -j 2 -C /home/henschel/Development/TANOnet/ti-processor-sdk-linux-rt-am437x-evm-04.02.00.09/board-support/linux-rt-4.9.59+gitAUTOINC+273202a0d3-g273202a0d3 ARCH=arm CROSS_COMPILE=/home/henschel/Development/TANOnet/ti-processor-sdk-linux-rt-am437x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf- am43x-epos-evm.dtb am437x-gp-evm.dtb am437x-gp-evm-hdmi.dtb am437x-sk-evm.dtb am437x-idk-evm.dtb am437x-idk-pru-excl-uio.dtb am437x-idk-pru-excl-uio.dtb
make[1]: Entering directory '/home/henschel/Development/TANOnet/ti-processor-sdk-linux-rt-am437x-evm-04.02.00.09/board-support/linux-rt-4.9.59+gitAUTOINC+273202a0d3-g273202a0d3'
scripts/kconfig/conf  --silentoldconfig Kconfig
make[1]: 'am437x-idk-pru-excl-uio.dtb' is up to date.
make[1]: Leaving directory '/home/henschel/Development/TANOnet/ti-processor-sdk-linux-rt-am437x-evm-04.02.00.09/board-support/linux-rt-4.9.59+gitAUTOINC+273202a0d3-g273202a0d3'
===================================
Building U-boot
===================================
make -j 2 -C /home/henschel/Development/TANOnet/ti-processor-sdk-linux-rt-am437x-evm-04.02.00.09/board-support/u-boot-* CROSS_COMPILE=/home/henschel/Development/TANOnet/ti-processor-sdk-linux-rt-am437x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf- am43xx_evm_config
make[1]: Entering directory '/home/henschel/Development/TANOnet/ti-processor-sdk-linux-rt-am437x-evm-04.02.00.09/board-support/u-boot-2017.01+gitAUTOINC+340fb36f04-g340fb36f04'
#
# configuration written to .config
#
make[1]: Leaving directory '/home/henschel/Development/TANOnet/ti-processor-sdk-linux-rt-am437x-evm-04.02.00.09/board-support/u-boot-2017.01+gitAUTOINC+340fb36f04-g340fb36f04'
make -j 2 -C /home/henschel/Development/TANOnet/ti-processor-sdk-linux-rt-am437x-evm-04.02.00.09/board-support/u-boot-* CROSS_COMPILE=/home/henschel/Development/TANOnet/ti-processor-sdk-linux-rt-am437x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf- DTC=/home/henschel/Development/TANOnet/ti-processor-sdk-linux-rt-am437x-evm-04.02.00.09/board-support/linux-rt-4.9.59+gitAUTOINC+273202a0d3-g273202a0d3/scripts/dtc/dtc
make[1]: Entering directory '/home/henschel/Development/TANOnet/ti-processor-sdk-linux-rt-am437x-evm-04.02.00.09/board-support/u-boot-2017.01+gitAUTOINC+340fb36f04-g340fb36f04'
scripts/kconfig/conf  --silentoldconfig Kconfig
  CHK     include/config.h
  CFG     u-boot.cfg
  GEN     include/autoconf.mk.dep
  CFG     spl/u-boot.cfg
  GEN     include/autoconf.mk
  GEN     spl/include/autoconf.mk
  CHK     include/config/uboot.release
  CHK     include/generated/timestamp_autogenerated.h
  UPD     include/generated/timestamp_autogenerated.h
  CHK     include/generated/version_autogenerated.h
  CHK     include/generated/generic-asm-offsets.h
  CHK     include/generated/asm-offsets.h
  HOSTCC  tools/mkenvimage.o
  HOSTCC  tools/fit_image.o
  HOSTCC  tools/image-host.o
  HOSTCC  tools/dumpimage.o
  HOSTCC  tools/mkimage.o
  HOSTLD  tools/mkenvimage
  HOSTLD  tools/dumpimage
  HOSTLD  tools/mkimage
  CC      arch/arm/mach-omap2/boot-common.o
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/boot-common.c:11:
include/configs/am43xx_evm.h:12:0: warning: "CONFIG_AM43XX" redefined
 #define CONFIG_AM43XX
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:112:0: note: this is the location of the previous definition
 #define CONFIG_AM43XX 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/boot-common.c:11:
include/configs/am43xx_evm.h:14:0: warning: "CONFIG_CMD_FAT" redefined
 #define CONFIG_CMD_FAT
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:170:0: note: this is the location of the previous definition
 #define CONFIG_CMD_FAT 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/boot-common.c:11:
include/configs/am43xx_evm.h:15:0: warning: "CONFIG_CMD_SAVEENV" redefined
 #define CONFIG_CMD_SAVEENV
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:51:0: note: this is the location of the previous definition
 #define CONFIG_CMD_SAVEENV 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/boot-common.c:11:
include/configs/am43xx_evm.h:19:0: warning: "CONFIG_SYS_CACHELINE_SIZE" redefined
 #define CONFIG_SYS_CACHELINE_SIZE       32
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:81:0: note: this is the location of the previous definition
 #define CONFIG_SYS_CACHELINE_SIZE 64
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/boot-common.c:11:
include/configs/am43xx_evm.h:26:0: warning: "CONFIG_SYS_NS16550" redefined
 #define CONFIG_SYS_NS16550
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:30:0: note: this is the location of the previous definition
 #define CONFIG_SYS_NS16550 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/boot-common.c:11:
include/configs/am43xx_evm.h:55:0: warning: "CONFIG_SPL_POWER_SUPPORT" redefined
 #define CONFIG_SPL_POWER_SUPPORT
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:173:0: note: this is the location of the previous definition
 #define CONFIG_SPL_POWER_SUPPORT 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/boot-common.c:11:
include/configs/am43xx_evm.h:56:0: warning: "CONFIG_SPL_YMODEM_SUPPORT" redefined
 #define CONFIG_SPL_YMODEM_SUPPORT
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:188:0: note: this is the location of the previous definition
 #define CONFIG_SPL_YMODEM_SUPPORT 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/boot-common.c:11:
include/configs/am43xx_evm.h:108:0: warning: "CONFIG_CMD_USB" redefined
 #define CONFIG_CMD_USB
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:10:0: note: this is the location of the previous definition
 #define CONFIG_CMD_USB 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/boot-common.c:11:
include/configs/am43xx_evm.h:109:0: warning: "CONFIG_USB_HOST" redefined
 #define CONFIG_USB_HOST
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:146:0: note: this is the location of the previous definition
 #define CONFIG_USB_HOST 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/boot-common.c:11:
include/configs/am43xx_evm.h:112:0: warning: "CONFIG_USB_STORAGE" redefined
 #define CONFIG_USB_STORAGE
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:44:0: note: this is the location of the previous definition
 #define CONFIG_USB_STORAGE 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/boot-common.c:11:
include/configs/am43xx_evm.h:127:0: warning: "CONFIG_USB_DWC3_PHY_OMAP" redefined
 #define CONFIG_USB_DWC3_PHY_OMAP
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:102:0: note: this is the location of the previous definition
 #define CONFIG_USB_DWC3_PHY_OMAP 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/boot-common.c:11:
include/configs/am43xx_evm.h:128:0: warning: "CONFIG_USB_DWC3_OMAP" redefined
 #define CONFIG_USB_DWC3_OMAP
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:174:0: note: this is the location of the previous definition
 #define CONFIG_USB_DWC3_OMAP 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/boot-common.c:11:
include/configs/am43xx_evm.h:129:0: warning: "CONFIG_USB_DWC3" redefined
 #define CONFIG_USB_DWC3
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:189:0: note: this is the location of the previous definition
 #define CONFIG_USB_DWC3 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/boot-common.c:11:
include/configs/am43xx_evm.h:130:0: warning: "CONFIG_USB_DWC3_GADGET" redefined
 #define CONFIG_USB_DWC3_GADGET
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:108:0: note: this is the location of the previous definition
 #define CONFIG_USB_DWC3_GADGET 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/boot-common.c:11:
include/configs/am43xx_evm.h:132:0: warning: "CONFIG_USB_GADGET" redefined
 #define CONFIG_USB_GADGET
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:87:0: note: this is the location of the previous definition
 #define CONFIG_USB_GADGET 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/boot-common.c:11:
include/configs/am43xx_evm.h:140:0: warning: "CONFIG_G_DNL_PRODUCT_NUM" redefined
 #define CONFIG_G_DNL_PRODUCT_NUM 0xBD00
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:49:0: note: this is the location of the previous definition
 #define CONFIG_G_DNL_PRODUCT_NUM 0xbd00
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/boot-common.c:11:
include/configs/am43xx_evm.h:141:0: warning: "CONFIG_USB_GADGET_DUALSPEED" redefined
 #define CONFIG_USB_GADGET_DUALSPEED
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:105:0: note: this is the location of the previous definition
 #define CONFIG_USB_GADGET_DUALSPEED 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/boot-common.c:11:
include/configs/am43xx_evm.h:147:0: warning: "CONFIG_DFU_RAM" redefined
 #define CONFIG_DFU_RAM
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:70:0: note: this is the location of the previous definition
 #define CONFIG_DFU_RAM 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/boot-common.c:11:
include/configs/am43xx_evm.h:148:0: warning: "CONFIG_CMD_DFU" redefined
 #define CONFIG_CMD_DFU
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:114:0: note: this is the location of the previous definition
 #define CONFIG_CMD_DFU 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/boot-common.c:11:
include/configs/am43xx_evm.h:150:0: warning: "CONFIG_DFU_MMC" redefined
 #define CONFIG_DFU_MMC
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:80:0: note: this is the location of the previous definition
 #define CONFIG_DFU_MMC 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/boot-common.c:11:
include/configs/am43xx_evm.h:208:0: warning: "CONFIG_TI_QSPI" redefined
 #define CONFIG_TI_QSPI
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:179:0: note: this is the location of the previous definition
 #define CONFIG_TI_QSPI 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/boot-common.c:11:
include/configs/am43xx_evm.h:209:0: warning: "CONFIG_SPI_FLASH" redefined
 #define CONFIG_SPI_FLASH
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:106:0: note: this is the location of the previous definition
 #define CONFIG_SPI_FLASH 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/boot-common.c:11:
include/configs/am43xx_evm.h:210:0: warning: "CONFIG_SPI_FLASH_MACRONIX" redefined
 #define CONFIG_SPI_FLASH_MACRONIX
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:171:0: note: this is the location of the previous definition
 #define CONFIG_SPI_FLASH_MACRONIX 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/boot-common.c:11:
include/configs/am43xx_evm.h:211:0: warning: "CONFIG_CMD_SF" redefined
 #define CONFIG_CMD_SF
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:76:0: note: this is the location of the previous definition
 #define CONFIG_CMD_SF 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/boot-common.c:11:
include/configs/am43xx_evm.h:212:0: warning: "CONFIG_CMD_SPI" redefined
 #define CONFIG_CMD_SPI
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:200:0: note: this is the location of the previous definition
 #define CONFIG_CMD_SPI 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/boot-common.c:11:
include/configs/am43xx_evm.h:214:0: warning: "CONFIG_SPI_FLASH_BAR" redefined
 #define CONFIG_SPI_FLASH_BAR
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:167:0: note: this is the location of the previous definition
 #define CONFIG_SPI_FLASH_BAR 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/boot-common.c:11:
include/configs/am43xx_evm.h:343:0: warning: "CONFIG_CMD_NET" redefined
 #define CONFIG_CMD_NET
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:175:0: note: this is the location of the previous definition
 #define CONFIG_CMD_NET 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/boot-common.c:11:
include/configs/am43xx_evm.h:344:0: warning: "CONFIG_CMD_DHCP" redefined
 #define CONFIG_CMD_DHCP
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:89:0: note: this is the location of the previous definition
 #define CONFIG_CMD_DHCP 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/boot-common.c:11:
include/configs/am43xx_evm.h:345:0: warning: "CONFIG_CMD_PING" redefined
 #define CONFIG_CMD_PING
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:48:0: note: this is the location of the previous definition
 #define CONFIG_CMD_PING 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/boot-common.c:11:
include/configs/am43xx_evm.h:346:0: warning: "CONFIG_CMD_MII" redefined
 #define CONFIG_CMD_MII
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:191:0: note: this is the location of the previous definition
 #define CONFIG_CMD_MII 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/boot-common.c:11:
include/configs/am43xx_evm.h:360:0: warning: "CONFIG_SPL_ENV_SUPPORT" redefined
 #define CONFIG_SPL_ENV_SUPPORT
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:115:0: note: this is the location of the previous definition
 #define CONFIG_SPL_ENV_SUPPORT 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/boot-common.c:11:
include/configs/am43xx_evm.h:363:0: warning: "CONFIG_SPL_NET_SUPPORT" redefined
 #define CONFIG_SPL_NET_SUPPORT
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:16:0: note: this is the location of the previous definition
 #define CONFIG_SPL_NET_SUPPORT 1
 
  CC      board/ti/am43xx/board.o
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from board/ti/am43xx/board.c:21:
include/configs/am43xx_evm.h:12:0: warning: "CONFIG_AM43XX" redefined
 #define CONFIG_AM43XX
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:112:0: note: this is the location of the previous definition
 #define CONFIG_AM43XX 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from board/ti/am43xx/board.c:21:
include/configs/am43xx_evm.h:14:0: warning: "CONFIG_CMD_FAT" redefined
 #define CONFIG_CMD_FAT
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:170:0: note: this is the location of the previous definition
 #define CONFIG_CMD_FAT 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from board/ti/am43xx/board.c:21:
include/configs/am43xx_evm.h:15:0: warning: "CONFIG_CMD_SAVEENV" redefined
 #define CONFIG_CMD_SAVEENV
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:51:0: note: this is the location of the previous definition
 #define CONFIG_CMD_SAVEENV 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from board/ti/am43xx/board.c:21:
include/configs/am43xx_evm.h:19:0: warning: "CONFIG_SYS_CACHELINE_SIZE" redefined
 #define CONFIG_SYS_CACHELINE_SIZE       32
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:81:0: note: this is the location of the previous definition
 #define CONFIG_SYS_CACHELINE_SIZE 64
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from board/ti/am43xx/board.c:21:
include/configs/am43xx_evm.h:26:0: warning: "CONFIG_SYS_NS16550" redefined
 #define CONFIG_SYS_NS16550
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:30:0: note: this is the location of the previous definition
 #define CONFIG_SYS_NS16550 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from board/ti/am43xx/board.c:21:
include/configs/am43xx_evm.h:55:0: warning: "CONFIG_SPL_POWER_SUPPORT" redefined
 #define CONFIG_SPL_POWER_SUPPORT
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:173:0: note: this is the location of the previous definition
 #define CONFIG_SPL_POWER_SUPPORT 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from board/ti/am43xx/board.c:21:
include/configs/am43xx_evm.h:56:0: warning: "CONFIG_SPL_YMODEM_SUPPORT" redefined
 #define CONFIG_SPL_YMODEM_SUPPORT
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:188:0: note: this is the location of the previous definition
 #define CONFIG_SPL_YMODEM_SUPPORT 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from board/ti/am43xx/board.c:21:
include/configs/am43xx_evm.h:108:0: warning: "CONFIG_CMD_USB" redefined
 #define CONFIG_CMD_USB
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:10:0: note: this is the location of the previous definition
 #define CONFIG_CMD_USB 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from board/ti/am43xx/board.c:21:
include/configs/am43xx_evm.h:109:0: warning: "CONFIG_USB_HOST" redefined
 #define CONFIG_USB_HOST
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:146:0: note: this is the location of the previous definition
 #define CONFIG_USB_HOST 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from board/ti/am43xx/board.c:21:
include/configs/am43xx_evm.h:112:0: warning: "CONFIG_USB_STORAGE" redefined
 #define CONFIG_USB_STORAGE
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:44:0: note: this is the location of the previous definition
 #define CONFIG_USB_STORAGE 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from board/ti/am43xx/board.c:21:
include/configs/am43xx_evm.h:127:0: warning: "CONFIG_USB_DWC3_PHY_OMAP" redefined
 #define CONFIG_USB_DWC3_PHY_OMAP
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:102:0: note: this is the location of the previous definition
 #define CONFIG_USB_DWC3_PHY_OMAP 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from board/ti/am43xx/board.c:21:
include/configs/am43xx_evm.h:128:0: warning: "CONFIG_USB_DWC3_OMAP" redefined
 #define CONFIG_USB_DWC3_OMAP
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:174:0: note: this is the location of the previous definition
 #define CONFIG_USB_DWC3_OMAP 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from board/ti/am43xx/board.c:21:
include/configs/am43xx_evm.h:129:0: warning: "CONFIG_USB_DWC3" redefined
 #define CONFIG_USB_DWC3
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:189:0: note: this is the location of the previous definition
 #define CONFIG_USB_DWC3 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from board/ti/am43xx/board.c:21:
include/configs/am43xx_evm.h:130:0: warning: "CONFIG_USB_DWC3_GADGET" redefined
 #define CONFIG_USB_DWC3_GADGET
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:108:0: note: this is the location of the previous definition
 #define CONFIG_USB_DWC3_GADGET 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from board/ti/am43xx/board.c:21:
include/configs/am43xx_evm.h:132:0: warning: "CONFIG_USB_GADGET" redefined
 #define CONFIG_USB_GADGET
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:87:0: note: this is the location of the previous definition
 #define CONFIG_USB_GADGET 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from board/ti/am43xx/board.c:21:
include/configs/am43xx_evm.h:140:0: warning: "CONFIG_G_DNL_PRODUCT_NUM" redefined
 #define CONFIG_G_DNL_PRODUCT_NUM 0xBD00
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:49:0: note: this is the location of the previous definition
 #define CONFIG_G_DNL_PRODUCT_NUM 0xbd00
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from board/ti/am43xx/board.c:21:
include/configs/am43xx_evm.h:141:0: warning: "CONFIG_USB_GADGET_DUALSPEED" redefined
 #define CONFIG_USB_GADGET_DUALSPEED
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:105:0: note: this is the location of the previous definition
 #define CONFIG_USB_GADGET_DUALSPEED 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from board/ti/am43xx/board.c:21:
include/configs/am43xx_evm.h:147:0: warning: "CONFIG_DFU_RAM" redefined
 #define CONFIG_DFU_RAM
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:70:0: note: this is the location of the previous definition
 #define CONFIG_DFU_RAM 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from board/ti/am43xx/board.c:21:
include/configs/am43xx_evm.h:148:0: warning: "CONFIG_CMD_DFU" redefined
 #define CONFIG_CMD_DFU
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:114:0: note: this is the location of the previous definition
 #define CONFIG_CMD_DFU 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from board/ti/am43xx/board.c:21:
include/configs/am43xx_evm.h:150:0: warning: "CONFIG_DFU_MMC" redefined
 #define CONFIG_DFU_MMC
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:80:0: note: this is the location of the previous definition
 #define CONFIG_DFU_MMC 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from board/ti/am43xx/board.c:21:
include/configs/am43xx_evm.h:208:0: warning: "CONFIG_TI_QSPI" redefined
 #define CONFIG_TI_QSPI
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:179:0: note: this is the location of the previous definition
 #define CONFIG_TI_QSPI 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from board/ti/am43xx/board.c:21:
include/configs/am43xx_evm.h:209:0: warning: "CONFIG_SPI_FLASH" redefined
 #define CONFIG_SPI_FLASH
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:106:0: note: this is the location of the previous definition
 #define CONFIG_SPI_FLASH 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from board/ti/am43xx/board.c:21:
include/configs/am43xx_evm.h:210:0: warning: "CONFIG_SPI_FLASH_MACRONIX" redefined
 #define CONFIG_SPI_FLASH_MACRONIX
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:171:0: note: this is the location of the previous definition
 #define CONFIG_SPI_FLASH_MACRONIX 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from board/ti/am43xx/board.c:21:
include/configs/am43xx_evm.h:211:0: warning: "CONFIG_CMD_SF" redefined
 #define CONFIG_CMD_SF
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:76:0: note: this is the location of the previous definition
 #define CONFIG_CMD_SF 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from board/ti/am43xx/board.c:21:
include/configs/am43xx_evm.h:212:0: warning: "CONFIG_CMD_SPI" redefined
 #define CONFIG_CMD_SPI
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:200:0: note: this is the location of the previous definition
 #define CONFIG_CMD_SPI 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from board/ti/am43xx/board.c:21:
include/configs/am43xx_evm.h:214:0: warning: "CONFIG_SPI_FLASH_BAR" redefined
 #define CONFIG_SPI_FLASH_BAR
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:167:0: note: this is the location of the previous definition
 #define CONFIG_SPI_FLASH_BAR 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from board/ti/am43xx/board.c:21:
include/configs/am43xx_evm.h:343:0: warning: "CONFIG_CMD_NET" redefined
 #define CONFIG_CMD_NET
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:175:0: note: this is the location of the previous definition
 #define CONFIG_CMD_NET 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from board/ti/am43xx/board.c:21:
include/configs/am43xx_evm.h:344:0: warning: "CONFIG_CMD_DHCP" redefined
 #define CONFIG_CMD_DHCP
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:89:0: note: this is the location of the previous definition
 #define CONFIG_CMD_DHCP 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from board/ti/am43xx/board.c:21:
include/configs/am43xx_evm.h:345:0: warning: "CONFIG_CMD_PING" redefined
 #define CONFIG_CMD_PING
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:48:0: note: this is the location of the previous definition
 #define CONFIG_CMD_PING 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from board/ti/am43xx/board.c:21:
include/configs/am43xx_evm.h:346:0: warning: "CONFIG_CMD_MII" redefined
 #define CONFIG_CMD_MII
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:191:0: note: this is the location of the previous definition
 #define CONFIG_CMD_MII 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from board/ti/am43xx/board.c:21:
include/configs/am43xx_evm.h:360:0: warning: "CONFIG_SPL_ENV_SUPPORT" redefined
 #define CONFIG_SPL_ENV_SUPPORT
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:115:0: note: this is the location of the previous definition
 #define CONFIG_SPL_ENV_SUPPORT 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from board/ti/am43xx/board.c:21:
include/configs/am43xx_evm.h:363:0: warning: "CONFIG_SPL_NET_SUPPORT" redefined
 #define CONFIG_SPL_NET_SUPPORT
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:16:0: note: this is the location of the previous definition
 #define CONFIG_SPL_NET_SUPPORT 1
 
board/ti/am43xx/board.c:23:23: fatal error: asm/errno.h: No such file or directory
 #include <asm/errno.h>
                       ^
compilation terminated.
scripts/Makefile.build:280: recipe for target 'board/ti/am43xx/board.o' failed
make[2]: *** [board/ti/am43xx/board.o] Error 1
Makefile:1233: recipe for target 'board/ti/am43xx' failed
make[1]: *** [board/ti/am43xx] Error 2
make[1]: *** Waiting for unfinished jobs....
  CC      arch/arm/mach-omap2/mem-common.o
arch/arm/mach-omap2/boot-common.c: In function 'save_omap_boot_params':
arch/arm/mach-omap2/boot-common.c:105:23: error: 'MMC_BOOT_DEVICES_START' undeclared (first use in this function)
   if ((boot_device >= MMC_BOOT_DEVICES_START) &&
                       ^~~~~~~~~~~~~~~~~~~~~~
arch/arm/mach-omap2/boot-common.c:105:23: note: each undeclared identifier is reported only once for each function it appears in
arch/arm/mach-omap2/boot-common.c:106:23: error: 'MMC_BOOT_DEVICES_END' undeclared (first use in this function)
       (boot_device <= MMC_BOOT_DEVICES_END))
                       ^~~~~~~~~~~~~~~~~~~~
scripts/Makefile.build:280: recipe for target 'arch/arm/mach-omap2/boot-common.o' failed
make[2]: *** [arch/arm/mach-omap2/boot-common.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/mem-common.c:16:
include/configs/am43xx_evm.h:12:0: warning: "CONFIG_AM43XX" redefined
 #define CONFIG_AM43XX
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:112:0: note: this is the location of the previous definition
 #define CONFIG_AM43XX 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/mem-common.c:16:
include/configs/am43xx_evm.h:14:0: warning: "CONFIG_CMD_FAT" redefined
 #define CONFIG_CMD_FAT
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:170:0: note: this is the location of the previous definition
 #define CONFIG_CMD_FAT 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/mem-common.c:16:
include/configs/am43xx_evm.h:15:0: warning: "CONFIG_CMD_SAVEENV" redefined
 #define CONFIG_CMD_SAVEENV
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:51:0: note: this is the location of the previous definition
 #define CONFIG_CMD_SAVEENV 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/mem-common.c:16:
include/configs/am43xx_evm.h:19:0: warning: "CONFIG_SYS_CACHELINE_SIZE" redefined
 #define CONFIG_SYS_CACHELINE_SIZE       32
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:81:0: note: this is the location of the previous definition
 #define CONFIG_SYS_CACHELINE_SIZE 64
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/mem-common.c:16:
include/configs/am43xx_evm.h:26:0: warning: "CONFIG_SYS_NS16550" redefined
 #define CONFIG_SYS_NS16550
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:30:0: note: this is the location of the previous definition
 #define CONFIG_SYS_NS16550 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/mem-common.c:16:
include/configs/am43xx_evm.h:55:0: warning: "CONFIG_SPL_POWER_SUPPORT" redefined
 #define CONFIG_SPL_POWER_SUPPORT
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:173:0: note: this is the location of the previous definition
 #define CONFIG_SPL_POWER_SUPPORT 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/mem-common.c:16:
include/configs/am43xx_evm.h:56:0: warning: "CONFIG_SPL_YMODEM_SUPPORT" redefined
 #define CONFIG_SPL_YMODEM_SUPPORT
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:188:0: note: this is the location of the previous definition
 #define CONFIG_SPL_YMODEM_SUPPORT 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/mem-common.c:16:
include/configs/am43xx_evm.h:108:0: warning: "CONFIG_CMD_USB" redefined
 #define CONFIG_CMD_USB
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:10:0: note: this is the location of the previous definition
 #define CONFIG_CMD_USB 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/mem-common.c:16:
include/configs/am43xx_evm.h:109:0: warning: "CONFIG_USB_HOST" redefined
 #define CONFIG_USB_HOST
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:146:0: note: this is the location of the previous definition
 #define CONFIG_USB_HOST 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/mem-common.c:16:
include/configs/am43xx_evm.h:112:0: warning: "CONFIG_USB_STORAGE" redefined
 #define CONFIG_USB_STORAGE
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:44:0: note: this is the location of the previous definition
 #define CONFIG_USB_STORAGE 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/mem-common.c:16:
include/configs/am43xx_evm.h:127:0: warning: "CONFIG_USB_DWC3_PHY_OMAP" redefined
 #define CONFIG_USB_DWC3_PHY_OMAP
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:102:0: note: this is the location of the previous definition
 #define CONFIG_USB_DWC3_PHY_OMAP 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/mem-common.c:16:
include/configs/am43xx_evm.h:128:0: warning: "CONFIG_USB_DWC3_OMAP" redefined
 #define CONFIG_USB_DWC3_OMAP
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:174:0: note: this is the location of the previous definition
 #define CONFIG_USB_DWC3_OMAP 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/mem-common.c:16:
include/configs/am43xx_evm.h:129:0: warning: "CONFIG_USB_DWC3" redefined
 #define CONFIG_USB_DWC3
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:189:0: note: this is the location of the previous definition
 #define CONFIG_USB_DWC3 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/mem-common.c:16:
include/configs/am43xx_evm.h:130:0: warning: "CONFIG_USB_DWC3_GADGET" redefined
 #define CONFIG_USB_DWC3_GADGET
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:108:0: note: this is the location of the previous definition
 #define CONFIG_USB_DWC3_GADGET 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/mem-common.c:16:
include/configs/am43xx_evm.h:132:0: warning: "CONFIG_USB_GADGET" redefined
 #define CONFIG_USB_GADGET
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:87:0: note: this is the location of the previous definition
 #define CONFIG_USB_GADGET 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/mem-common.c:16:
include/configs/am43xx_evm.h:140:0: warning: "CONFIG_G_DNL_PRODUCT_NUM" redefined
 #define CONFIG_G_DNL_PRODUCT_NUM 0xBD00
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:49:0: note: this is the location of the previous definition
 #define CONFIG_G_DNL_PRODUCT_NUM 0xbd00
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/mem-common.c:16:
include/configs/am43xx_evm.h:141:0: warning: "CONFIG_USB_GADGET_DUALSPEED" redefined
 #define CONFIG_USB_GADGET_DUALSPEED
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:105:0: note: this is the location of the previous definition
 #define CONFIG_USB_GADGET_DUALSPEED 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/mem-common.c:16:
include/configs/am43xx_evm.h:147:0: warning: "CONFIG_DFU_RAM" redefined
 #define CONFIG_DFU_RAM
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:70:0: note: this is the location of the previous definition
 #define CONFIG_DFU_RAM 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/mem-common.c:16:
include/configs/am43xx_evm.h:148:0: warning: "CONFIG_CMD_DFU" redefined
 #define CONFIG_CMD_DFU
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:114:0: note: this is the location of the previous definition
 #define CONFIG_CMD_DFU 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/mem-common.c:16:
include/configs/am43xx_evm.h:150:0: warning: "CONFIG_DFU_MMC" redefined
 #define CONFIG_DFU_MMC
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:80:0: note: this is the location of the previous definition
 #define CONFIG_DFU_MMC 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/mem-common.c:16:
include/configs/am43xx_evm.h:208:0: warning: "CONFIG_TI_QSPI" redefined
 #define CONFIG_TI_QSPI
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:179:0: note: this is the location of the previous definition
 #define CONFIG_TI_QSPI 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/mem-common.c:16:
include/configs/am43xx_evm.h:209:0: warning: "CONFIG_SPI_FLASH" redefined
 #define CONFIG_SPI_FLASH
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:106:0: note: this is the location of the previous definition
 #define CONFIG_SPI_FLASH 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/mem-common.c:16:
include/configs/am43xx_evm.h:210:0: warning: "CONFIG_SPI_FLASH_MACRONIX" redefined
 #define CONFIG_SPI_FLASH_MACRONIX
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:171:0: note: this is the location of the previous definition
 #define CONFIG_SPI_FLASH_MACRONIX 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/mem-common.c:16:
include/configs/am43xx_evm.h:211:0: warning: "CONFIG_CMD_SF" redefined
 #define CONFIG_CMD_SF
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:76:0: note: this is the location of the previous definition
 #define CONFIG_CMD_SF 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/mem-common.c:16:
include/configs/am43xx_evm.h:212:0: warning: "CONFIG_CMD_SPI" redefined
 #define CONFIG_CMD_SPI
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:200:0: note: this is the location of the previous definition
 #define CONFIG_CMD_SPI 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/mem-common.c:16:
include/configs/am43xx_evm.h:214:0: warning: "CONFIG_SPI_FLASH_BAR" redefined
 #define CONFIG_SPI_FLASH_BAR
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:167:0: note: this is the location of the previous definition
 #define CONFIG_SPI_FLASH_BAR 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/mem-common.c:16:
include/configs/am43xx_evm.h:343:0: warning: "CONFIG_CMD_NET" redefined
 #define CONFIG_CMD_NET
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:175:0: note: this is the location of the previous definition
 #define CONFIG_CMD_NET 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/mem-common.c:16:
include/configs/am43xx_evm.h:344:0: warning: "CONFIG_CMD_DHCP" redefined
 #define CONFIG_CMD_DHCP
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:89:0: note: this is the location of the previous definition
 #define CONFIG_CMD_DHCP 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/mem-common.c:16:
include/configs/am43xx_evm.h:345:0: warning: "CONFIG_CMD_PING" redefined
 #define CONFIG_CMD_PING
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:48:0: note: this is the location of the previous definition
 #define CONFIG_CMD_PING 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/mem-common.c:16:
include/configs/am43xx_evm.h:346:0: warning: "CONFIG_CMD_MII" redefined
 #define CONFIG_CMD_MII
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:191:0: note: this is the location of the previous definition
 #define CONFIG_CMD_MII 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/mem-common.c:16:
include/configs/am43xx_evm.h:360:0: warning: "CONFIG_SPL_ENV_SUPPORT" redefined
 #define CONFIG_SPL_ENV_SUPPORT
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:115:0: note: this is the location of the previous definition
 #define CONFIG_SPL_ENV_SUPPORT 1
 
In file included from include/config.h:7:0,
                 from include/common.h:18,
                 from arch/arm/mach-omap2/mem-common.c:16:
include/configs/am43xx_evm.h:363:0: warning: "CONFIG_SPL_NET_SUPPORT" redefined
 #define CONFIG_SPL_NET_SUPPORT
 
In file included from ././include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:16:0: note: this is the location of the previous definition
 #define CONFIG_SPL_NET_SUPPORT 1
 
arch/arm/mach-omap2/mem-common.c: In function 'set_gpmc_cs0':
arch/arm/mach-omap2/mem-common.c:135:10: error: 'CONFIG_SYS_NAND_BASE' undeclared (first use in this function)
   base = CONFIG_SYS_NAND_BASE;
          ^~~~~~~~~~~~~~~~~~~~
arch/arm/mach-omap2/mem-common.c:135:10: note: each undeclared identifier is reported only once for each function it appears in
scripts/Makefile.build:280: recipe for target 'arch/arm/mach-omap2/mem-common.o' failed
make[2]: *** [arch/arm/mach-omap2/mem-common.o] Error 1
Makefile:1233: recipe for target 'arch/arm/mach-omap2' failed
make[1]: *** [arch/arm/mach-omap2] Error 2
make[1]: Leaving directory '/home/henschel/Development/TANOnet/ti-processor-sdk-linux-rt-am437x-evm-04.02.00.09/board-support/u-boot-2017.01+gitAUTOINC+340fb36f04-g340fb36f04'
Makefile:175: recipe for target 'u-boot' failed
make: *** [u-boot] Error 2

---------------------------------------------------------------------------------------------------------------------non RT SDK------------------------------------------------------------------------------------------------------------

=====================================
Building the Linux Kernel DTBs
=====================================
make -C /home/henschel/Development/TANOnet/ti-processor-sdk-linux-am437x-evm-04.02.00.09/board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305 ARCH=arm CROSS_COMPILE=/home/henschel/Development/TANOnet/ti-processor-sdk-linux-am437x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf- tisdk_am437x-evm_defconfig
make[1]: Entering directory '/home/henschel/Development/TANOnet/ti-processor-sdk-linux-am437x-evm-04.02.00.09/board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305'
#
# configuration written to .config
#
make[1]: Leaving directory '/home/henschel/Development/TANOnet/ti-processor-sdk-linux-am437x-evm-04.02.00.09/board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305'
make -j 2 -C /home/henschel/Development/TANOnet/ti-processor-sdk-linux-am437x-evm-04.02.00.09/board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305 ARCH=arm CROSS_COMPILE=/home/henschel/Development/TANOnet/ti-processor-sdk-linux-am437x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf- am43x-epos-evm.dtb am437x-gp-evm.dtb am437x-gp-evm-hdmi.dtb am437x-sk-evm.dtb am437x-idk-evm.dtb am437x-idk-pru-excl-uio.dtb am437x-idk-pru-excl-uio.dtb
make[1]: Entering directory '/home/henschel/Development/TANOnet/ti-processor-sdk-linux-am437x-evm-04.02.00.09/board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305'
scripts/kconfig/conf  --silentoldconfig Kconfig
make[1]: 'am437x-idk-pru-excl-uio.dtb' is up to date.
make[1]: Leaving directory '/home/henschel/Development/TANOnet/ti-processor-sdk-linux-am437x-evm-04.02.00.09/board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305'
===================================
Building U-boot
===================================
make -j 2 -C /home/henschel/Development/TANOnet/ti-processor-sdk-linux-am437x-evm-04.02.00.09/board-support/u-boot-* CROSS_COMPILE=/home/henschel/Development/TANOnet/ti-processor-sdk-linux-am437x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf- am43xx_evm_config
make[1]: Entering directory '/home/henschel/Development/TANOnet/ti-processor-sdk-linux-am437x-evm-04.02.00.09/board-support/u-boot-2017.01+gitAUTOINC+340fb36f04-g340fb36f04'
#
# configuration written to .config
#
make[1]: Leaving directory '/home/henschel/Development/TANOnet/ti-processor-sdk-linux-am437x-evm-04.02.00.09/board-support/u-boot-2017.01+gitAUTOINC+340fb36f04-g340fb36f04'
make -j 2 -C /home/henschel/Development/TANOnet/ti-processor-sdk-linux-am437x-evm-04.02.00.09/board-support/u-boot-* CROSS_COMPILE=/home/henschel/Development/TANOnet/ti-processor-sdk-linux-am437x-evm-04.02.00.09/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf- DTC=/home/henschel/Development/TANOnet/ti-processor-sdk-linux-am437x-evm-04.02.00.09/board-support/linux-4.9.59+gitAUTOINC+a75d8e9305-ga75d8e9305/scripts/dtc/dtc
make[1]: Entering directory '/home/henschel/Development/TANOnet/ti-processor-sdk-linux-am437x-evm-04.02.00.09/board-support/u-boot-2017.01+gitAUTOINC+340fb36f04-g340fb36f04'
scripts/kconfig/conf  --silentoldconfig Kconfig
  CHK     include/config.h
  GEN     include/autoconf.mk.dep
  CFG     u-boot.cfg
  CFG     spl/u-boot.cfg
  GEN     include/autoconf.mk
  GEN     spl/include/autoconf.mk
  CHK     include/config/uboot.release
  CHK     include/generated/timestamp_autogenerated.h
  UPD     include/generated/timestamp_autogenerated.h
  CHK     include/generated/version_autogenerated.h
  CHK     include/generated/generic-asm-offsets.h
  CHK     include/generated/asm-offsets.h
  HOSTCC  tools/mkenvimage.o
  HOSTCC  tools/fit_image.o
  HOSTCC  tools/image-host.o
  HOSTCC  tools/dumpimage.o
  HOSTCC  tools/mkimage.o
  HOSTLD  tools/mkenvimage
  HOSTLD  tools/dumpimage
  HOSTLD  tools/mkimage
  CC      cmd/version.o
  CC      common/main.o
  CC      common/board_f.o
  LD      cmd/built-in.o
  LD      common/built-in.o
  CC      lib/smbios.o
  CC      lib/efi_loader/helloworld.o
  LD      lib/efi_loader/helloworld.so
  OBJCOPY lib/efi_loader/helloworld.efi
  CC      lib/display_options.o
  LD      lib/built-in.o
  LD      u-boot
  OBJCOPY u-boot-nodtb.bin
  OBJCOPY u-boot.srec
  SYM     u-boot.sym
  MKIMAGE u-boot-dtb.img
  MKIMAGE u-boot.img
  CAT     u-boot-dtb.bin
  COPY    u-boot.bin
  CC      spl/common/spl/spl.o
  LD      spl/common/spl/built-in.o
  CC      spl/lib/display_options.o
  LD      spl/lib/built-in.o
  LD      spl/u-boot-spl
  OBJCOPY spl/u-boot-spl-nodtb.bin
  CAT     spl/u-boot-spl-dtb.bin
  COPY    spl/u-boot-spl.bin
  MKIMAGE MLO
./scripts/check-config.sh u-boot.cfg \
 ./scripts/config_whitelist.txt . 1>&2
make[1]: Leaving directory '/home/henschel/Development/TANOnet/ti-processor-sdk-linux-am437x-evm-04.02.00.09/board-support/u-boot-2017.01+gitAUTOINC+340fb36f04-g340fb36f04'


Viewing all articles
Browse latest Browse all 262198

Trending Articles



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