4bb1d97b11
The arm_foundationv8_defconfig currently doesn't build because it uses an external AArch64 toolchain that has been updated (Linaro toolchain) and is now based on gcc 5.x. Unfortunately, Linux 3.13 is too old to be built with gcc 5.x. As a minimal fix to make this defconfig build again, we switch to use the internal toolchain backend. At the time this defconfig was introduced, there was no support for AArch64 in the internal toolchain backend, but now that it is available, there is no reason to not use it. This makes the defconfig also more consistent with the other defconfigs. Obviously, the kernel headers used to build the toolchain are set to the fixed version 3.13, so that they match the kernel being used. While we're at it, the readme.txt file corresponding to this defconfig is updated. Runtime testing has been performed with the latest version of the ARM Foundation model. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
18 lines
694 B
Plaintext
18 lines
694 B
Plaintext
BR2_aarch64=y
|
|
BR2_KERNEL_HEADERS_VERSION=y
|
|
BR2_DEFAULT_KERNEL_VERSION="3.13"
|
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_13=y
|
|
BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
|
|
BR2_LINUX_KERNEL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.13.6"
|
|
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
|
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(LINUX_DIR)/arch/arm64/configs/defconfig"
|
|
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
|
BR2_LINUX_KERNEL_INTREE_DTS_NAME="foundation-v8"
|
|
BR2_TARGET_ROOTFS_EXT2=y
|
|
# BR2_TARGET_ROOTFS_TAR is not set
|
|
BR2_TARGET_BOOT_WRAPPER_AARCH64=y
|
|
BR2_TARGET_BOOT_WRAPPER_AARCH64_DTS="foundation-v8"
|
|
BR2_TARGET_BOOT_WRAPPER_AARCH64_BOOTARGS="root=/dev/vda consolelog=9 console=ttyAMA0 rw"
|