summaryrefslogtreecommitdiff
path: root/configs/qemu_xtensa_lx60_defconfig
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-07-11 14:50:22 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-07-15 22:18:45 +0200
commita570dea84f2e1728b43348c166694a3246d1b49c (patch)
tree5ccfd0655946680f7fea4498fe5bb26af5e1119a /configs/qemu_xtensa_lx60_defconfig
parentc78d57637cd57a383e44713eb27e654b3071340e (diff)
configs: add new configuration for qemu-system-xtensa
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>
Diffstat (limited to 'configs/qemu_xtensa_lx60_defconfig')
-rw-r--r--configs/qemu_xtensa_lx60_defconfig30
1 files changed, 30 insertions, 0 deletions
diff --git a/configs/qemu_xtensa_lx60_defconfig b/configs/qemu_xtensa_lx60_defconfig
new file mode 100644
index 000000000..05598a948
--- /dev/null
+++ b/configs/qemu_xtensa_lx60_defconfig
@@ -0,0 +1,30 @@
+# 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"