mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-21 11:13:42 +08:00
a570dea84f
Tested with Qemu 2.0.0. Overlay is from https://github.com/jcmvbkbc/xtensa-toolchain-build/tree/master/overlays Many thanks to Max Filippov <jcmvbkbc@gmail.com> for his extended help and kernel config examples. A small kernel patch is required, because mkimage does not contain support for Xtensa and the uImage target is failing. Redboot is unused so disable it, too. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
31 lines
850 B
Plaintext
31 lines
850 B
Plaintext
# Architecture
|
|
BR2_xtensa=y
|
|
BR2_XTENSA_CUSTOM=y
|
|
BR2_XTENSA_CUSTOM_NAME="dc232b"
|
|
BR2_XTENSA_CORE_NAME="lx60"
|
|
BR2_XTENSA_OVERLAY_DIR="board/qemu/xtensa-lx60"
|
|
|
|
BR2_GLOBAL_PATCH_DIR="board/qemu/xtensa-lx60"
|
|
|
|
# System
|
|
BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
|
|
|
|
# Filesystem
|
|
# BR2_TARGET_ROOTFS_TAR is not set
|
|
BR2_TARGET_ROOTFS_INITRAMFS=y
|
|
|
|
# Lock to 3.15 headers to avoid breaking with newer kernels
|
|
BR2_KERNEL_HEADERS_VERSION=y
|
|
BR2_DEFAULT_KERNEL_VERSION="3.15.5"
|
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_15=y
|
|
|
|
# Kernel
|
|
BR2_LINUX_KERNEL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.15.5"
|
|
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
|
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/xtensa-lx60/linux-3.15.config"
|
|
BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y
|
|
BR2_LINUX_KERNEL_IMAGE_NAME="Image.elf"
|
|
BR2_LINUX_KERNEL_IMAGE_TARGET_NAME="zImage"
|