![Thomas Petazzoni](/assets/img/avatar_default.png)
The U-Boot part of the defconfig was not specifying explicitly any
U-Boot version. Since commit 21e3ae8a18
("boot/uboot: default to kconfig buildsystem for latest version"), we
default to using the kconfig build system when the default U-Boot
version is used. Following this change, the apf27 defconfig therefore
started using kconfig, for which the BR2_TARGET_UBOOT_BOARDNAME
Config.in option is not used. Due to this, the build fails with:
boot/uboot/uboot.mk:411: *** No board defconfig name specified, check your BR2_TARGET_UBOOT_BOARD_DEFCONFIG setting. Stop.
Indeed, when Kconfig is used, the board defconfig must be specified
with BR2_TARGET_UBOOT_BOARD_DEFCONFIG.
As part of fixing this, we also set a fixed U-Boot version for this
defconfig, like we do in all other defconfigs.
Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/123771003
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
35 lines
959 B
Plaintext
35 lines
959 B
Plaintext
# Architecture
|
|
BR2_arm=y
|
|
BR2_arm926t=y
|
|
|
|
# Linux headers same as kernel, a 4.12 series
|
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_12=y
|
|
|
|
# System
|
|
BR2_TARGET_GENERIC_HOSTNAME="apf27"
|
|
BR2_TARGET_GENERIC_ISSUE="Welcome to Armadeus development platform !"
|
|
BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
|
|
|
|
# Filesystem
|
|
BR2_TARGET_ROOTFS_UBIFS=y
|
|
BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=2047
|
|
BR2_TARGET_ROOTFS_UBI=y
|
|
|
|
# Kernel
|
|
BR2_LINUX_KERNEL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.12.4"
|
|
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
|
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/armadeus/apf27/linux-4.12.config"
|
|
BR2_LINUX_KERNEL_UIMAGE=y
|
|
BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0xA0008000"
|
|
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
|
BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx27-apf27dev"
|
|
|
|
# U-boot
|
|
BR2_TARGET_UBOOT=y
|
|
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
|
|
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
|
|
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.09"
|
|
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="apf27"
|