summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-01-25 07:36:46 +0100
committerPeter Korsgaard <peter@korsgaard.com>2017-01-25 23:20:26 +0100
commitc1395b347fb2e4a7551d220881e1a075d1e6e7bd (patch)
tree4da4cbfb61608ee3091308d0c2cee48809d39cdf /configs
parenta818e29e76d9a083877094ed7bb3e9cfd31f3a46 (diff)
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 <wbx@openadk.org> Tested-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'configs')
-rw-r--r--configs/qemu_or1k_defconfig19
1 files changed, 19 insertions, 0 deletions
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"