Seems that the x86_64 build of OpenWRT hangs on boot in KVM and QEMU.
After looking over the 'target/linux/x86_64' folder in comparison with
'target/linux/x86' I've narrowed it down to just these 2 options
that have to explicitly be set in the config-default file of the
x86_64 build.
From 38457a9ef2b07669edda3e90fee80c44d10282c1 Mon Sep 17 00:00:00 2001
From: Alexandru Ardelean <a...@xyne.com>
Date: Wed, 5 Feb 2014 16:24:01 +0200
Subject: [PATCH] [x86_64]: adding ATA GENERIC + PIIX to support IDE HDD

Seems that the x86_64 build of OpenWRT hangs on boot in KVM and QEMU.
After looking over the 'target/linux/x86_64' folder in comparison with
'target/linux/x86' I've narrowed it down to just these 2 options
that have to explicitly be set in the config-default file of the 
x86_64 build.
---
 openwrt/target/linux/x86_64/config-default | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/openwrt/target/linux/x86_64/config-default b/openwrt/target/linux/x86_64/config-default
index ad27973..1bbb427 100644
--- a/openwrt/target/linux/x86_64/config-default
+++ b/openwrt/target/linux/x86_64/config-default
@@ -61,6 +61,8 @@ CONFIG_ARCH_WANT_FRAME_POINTERS=y
 CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
 # CONFIG_ASUS_LAPTOP is not set
 CONFIG_ATA=y
+CONFIG_ATA_GENERIC=y
+CONFIG_ATA_PIIX=y
 # CONFIG_ATA_SFF is not set
 CONFIG_AUDIT_ARCH=y
 CONFIG_BINFMT_MISC=y
-- 
1.8.5.3

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to