configs/{at91sam9x5ek*, atmel_*_xplained*}: U-Boot needs DTC
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 2 Jul 2017 09:06:40 +0000 (11:06 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 2 Jul 2017 13:48:05 +0000 (15:48 +0200)
Since the bump of the Atmel defconfigs to linux4sam_5.6 in commit
0f7b5d4a9f3a78be07e22c81db41f88e45e8c0cf, the new U-Boot version uses
the Device Tree compiler, so we need to add BR2_TARGET_UBOOT_NEEDS_DTC
in order to build dtc before u-boot and avoid build failures.

Fixes:

>>> uboot linux4sam_5.6 Configuring
>>> uboot linux4sam_5.6 Building
[...]
  CHK     include/generated/timestamp_autogenerated.h
  UPD     include/generated/timestamp_autogenerated.h
./scripts/dtc-version.sh: line 17: dtc: command not found
./scripts/dtc-version.sh: line 18: dtc: command not found
*** Your dtc is too old, please upgrade to dtc 1.4 or newer

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 files changed:
configs/at91sam9x5ek_defconfig
configs/at91sam9x5ek_dev_defconfig
configs/at91sam9x5ek_mmc_defconfig
configs/at91sam9x5ek_mmc_dev_defconfig
configs/atmel_sama5d2_xplained_mmc_defconfig
configs/atmel_sama5d2_xplained_mmc_dev_defconfig
configs/atmel_sama5d3_xplained_defconfig
configs/atmel_sama5d3_xplained_dev_defconfig
configs/atmel_sama5d3_xplained_mmc_defconfig
configs/atmel_sama5d3_xplained_mmc_dev_defconfig
configs/atmel_sama5d4_xplained_defconfig
configs/atmel_sama5d4_xplained_dev_defconfig
configs/atmel_sama5d4_xplained_mmc_defconfig
configs/atmel_sama5d4_xplained_mmc_dev_defconfig

index fc1a31576fb2cc5dc4e9cb35d9fd4cbc8ccc4a73..beb8d818c349a83bfb8055805013f18de7a4b94a 100644 (file)
@@ -24,4 +24,5 @@ BR2_TARGET_UBOOT_CUSTOM_GIT=y
 BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux4sam/u-boot-at91.git"
 BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="linux4sam_5.6"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="at91sam9x5ek_nandflash"
+BR2_TARGET_UBOOT_NEEDS_DTC=y
 BR2_PACKAGE_HOST_SAM_BA=y
index f6126db1b9591d4d3cb316edc4365895107adf8f..af755831ee0f1cde92f3fbacbca177c8a0e329f6 100644 (file)
@@ -94,6 +94,7 @@ BR2_TARGET_UBOOT_CUSTOM_GIT=y
 BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux4sam/u-boot-at91.git"
 BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="linux4sam_5.6"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="at91sam9x5ek_nandflash"
+BR2_TARGET_UBOOT_NEEDS_DTC=y
 
 # Host packages
 BR2_PACKAGE_HOST_SAM_BA=y
index 0ce8877c5fbab302395b5308ac44937bfcfbfd5c..5cc129f0ed5a107540aa475f05e56ce2d6ba31f7 100644 (file)
@@ -33,6 +33,7 @@ BR2_TARGET_UBOOT_CUSTOM_GIT=y
 BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux4sam/u-boot-at91.git"
 BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="linux4sam_5.6"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="at91sam9x5ek_mmc"
+BR2_TARGET_UBOOT_NEEDS_DTC=y
 BR2_TARGET_UBOOT_ENVIMAGE=y
 BR2_TARGET_UBOOT_ENVIMAGE_SOURCE="board/atmel/at91sam9x5ek_mmc/uboot-env.txt"
 BR2_TARGET_UBOOT_ENVIMAGE_SIZE="0x4000"
index 4df4d661a77437f7a12d5592a78d0cd6cbbce854..0060111fca15001b95328aab6b3c7faf38f41432 100644 (file)
@@ -95,6 +95,7 @@ BR2_TARGET_UBOOT_CUSTOM_GIT=y
 BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux4sam/u-boot-at91.git"
 BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="linux4sam_5.6"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="at91sam9x5ek_mmc"
+BR2_TARGET_UBOOT_NEEDS_DTC=y
 BR2_TARGET_UBOOT_ENVIMAGE=y
 BR2_TARGET_UBOOT_ENVIMAGE_SOURCE="board/atmel/at91sam9x5ek_mmc/uboot-env.txt"
 BR2_TARGET_UBOOT_ENVIMAGE_SIZE="0x4000"
index b1c7c520e13bd6fedcbf6c2db87441c678331790..8abb0996dfbf42f97330757c0b1f09fe18158376 100644 (file)
@@ -25,6 +25,7 @@ BR2_TARGET_UBOOT_CUSTOM_GIT=y
 BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux4sam/u-boot-at91.git"
 BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="linux4sam_5.6"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d2_xplained_mmc"
+BR2_TARGET_UBOOT_NEEDS_DTC=y
 BR2_PACKAGE_HOST_DOSFSTOOLS=y
 BR2_PACKAGE_HOST_GENIMAGE=y
 BR2_PACKAGE_HOST_MTOOLS=y
index 232ab0723a5aa4f66d9d656eda1d43b777ad5fe1..e5a748ab05fc8976dbe4350ba30236f3c6d9c1d1 100644 (file)
@@ -97,6 +97,7 @@ BR2_TARGET_UBOOT_CUSTOM_GIT=y
 BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux4sam/u-boot-at91.git"
 BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="linux4sam_5.6"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d2_xplained_mmc"
+BR2_TARGET_UBOOT_NEEDS_DTC=y
 
 # Host packages
 # Needed to generate the SD card image
index 09c7ad0f4651daf1105ef2b07b9698cdee104d3a..2b76cc1c1d2d3777e4259a517e416e6be5f9219c 100644 (file)
@@ -25,4 +25,5 @@ BR2_TARGET_UBOOT_CUSTOM_GIT=y
 BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux4sam/u-boot-at91.git"
 BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="linux4sam_5.6"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d3_xplained_nandflash"
+BR2_TARGET_UBOOT_NEEDS_DTC=y
 BR2_PACKAGE_HOST_SAM_BA=y
index 09354179b52749b30364fc90d6d1a15942a4b703..89d6698dde4ebe8568cefb6164aa922084bfa964 100644 (file)
@@ -96,6 +96,7 @@ BR2_TARGET_UBOOT_CUSTOM_GIT=y
 BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux4sam/u-boot-at91.git"
 BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="linux4sam_5.6"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d3_xplained_nandflash"
+BR2_TARGET_UBOOT_NEEDS_DTC=y
 
 # Host packages
 BR2_PACKAGE_HOST_SAM_BA=y
index 9b8b2139f7cdd62ef8d925f2d6f144af69dcf08b..c34e333af2472421489fddf67df1149999b03f38 100644 (file)
@@ -24,6 +24,7 @@ BR2_TARGET_UBOOT_CUSTOM_GIT=y
 BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux4sam/u-boot-at91.git"
 BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="linux4sam_5.6"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d3_xplained_mmc"
+BR2_TARGET_UBOOT_NEEDS_DTC=y
 BR2_PACKAGE_HOST_DOSFSTOOLS=y
 BR2_PACKAGE_HOST_GENIMAGE=y
 BR2_PACKAGE_HOST_MTOOLS=y
index 2650274fd24fbd1a0fd80d5b1e116a2e396e1cda..fb4d91c354d3ce06dea573e9db488ac104823bf3 100644 (file)
@@ -96,6 +96,7 @@ BR2_TARGET_UBOOT_CUSTOM_GIT=y
 BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux4sam/u-boot-at91.git"
 BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="linux4sam_5.6"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d3_xplained_mmc"
+BR2_TARGET_UBOOT_NEEDS_DTC=y
 
 # Host packages
 # Needed to generate the SD card image
index 96bc2af3279c71985690e45a05f75ec5fe047fa0..8cdf0d98daa4fbc59c19d5055d8d19567067ac00 100644 (file)
@@ -29,4 +29,5 @@ BR2_TARGET_UBOOT_CUSTOM_GIT=y
 BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux4sam/u-boot-at91.git"
 BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="linux4sam_5.6"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d4_xplained_nandflash"
+BR2_TARGET_UBOOT_NEEDS_DTC=y
 BR2_PACKAGE_HOST_SAM_BA=y
index 5e57fc0e70c39f6a61efaf54be8351289c64e5e1..7f6155df6fcff1caa772624f09ef17dc6b5001c2 100644 (file)
@@ -100,6 +100,7 @@ BR2_TARGET_UBOOT_CUSTOM_GIT=y
 BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux4sam/u-boot-at91.git"
 BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="linux4sam_5.6"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d4_xplained_nandflash"
+BR2_TARGET_UBOOT_NEEDS_DTC=y
 
 # Host packages
 BR2_PACKAGE_HOST_SAM_BA=y
index a7ffcda42c707359ba261a846ea5236c171b0128..d6230ca8b8dff1b14a0c0e6332af1ec56404adfd 100644 (file)
@@ -25,6 +25,7 @@ BR2_TARGET_UBOOT_CUSTOM_GIT=y
 BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux4sam/u-boot-at91.git"
 BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="linux4sam_5.6"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d4_xplained_mmc"
+BR2_TARGET_UBOOT_NEEDS_DTC=y
 BR2_PACKAGE_HOST_DOSFSTOOLS=y
 BR2_PACKAGE_HOST_GENIMAGE=y
 BR2_PACKAGE_HOST_MTOOLS=y
index 16a4a19640279ec32bb61e853b8af431bd10ab49..84992427c18f940c4b25d8597b598114625050f2 100644 (file)
@@ -97,6 +97,7 @@ BR2_TARGET_UBOOT_CUSTOM_GIT=y
 BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux4sam/u-boot-at91.git"
 BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="linux4sam_5.6"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d4_xplained_mmc"
+BR2_TARGET_UBOOT_NEEDS_DTC=y
 
 # Host packages
 # Needed to generate the SD card image