From c1395b347fb2e4a7551d220881e1a075d1e6e7bd Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 25 Jan 2017 07:36:46 +0100 Subject: or1k: add defconfig for Qemu system emulation You can bootup a OpenRISC system, networking is not working. [Peter: drop unneeded _GETTY_PORT="ttyS0" setting] Signed-off-by: Waldemar Brodkorb Tested-by: Romain Naour Signed-off-by: Peter Korsgaard --- configs/qemu_or1k_defconfig | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 configs/qemu_or1k_defconfig (limited to 'configs') diff --git a/configs/qemu_or1k_defconfig b/configs/qemu_or1k_defconfig new file mode 100644 index 000000000..b2527b4c8 --- /dev/null +++ b/configs/qemu_or1k_defconfig @@ -0,0 +1,19 @@ +# Architecture +BR2_or1k=y + +# Patches +BR2_GLOBAL_PATCH_DIR="board/qemu/or1k/patches" + +# Filesystem +# BR2_TARGET_ROOTFS_TAR is not set +BR2_TARGET_ROOTFS_INITRAMFS=y + +# Linux headers same as kernel, a 4,9 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.9" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/or1k/linux-4.9.config" -- cgit v1.2.3