summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-07-30 07:57:43 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-07-30 08:00:35 +0200
commit24ced6d46248987b7621189ebeb42fe48453bfd3 (patch)
treeea207f7991179afd631857b3947bd2968f928142
parent08acd9026094853e007064c60415488ebcd661f6 (diff)
fix boot from disk
-rw-r--r--target/linux/config/Config.in.block2
-rw-r--r--target/sparc/Makefile5
2 files changed, 6 insertions, 1 deletions
diff --git a/target/linux/config/Config.in.block b/target/linux/config/Config.in.block
index 5f8cc3b05..025f05680 100644
--- a/target/linux/config/Config.in.block
+++ b/target/linux/config/Config.in.block
@@ -257,6 +257,7 @@ config ADK_KERNEL_SCSI_IBMVSCSI
prompt "IBM VSCSI support"
tristate
select ADK_KERNEL_SCSI
+ select ADK_KERNEL_SCSI_LOWLEVEL
select ADK_KERNEL_BLK_DEV
select ADK_KERNEL_BLK_DEV_SD
depends on ADK_TARGET_SYSTEM_QEMU_PPC64
@@ -267,6 +268,7 @@ config ADK_KERNEL_SCSI_SUNESP
prompt "SUN ESP support"
tristate
select ADK_KERNEL_SCSI
+ select ADK_KERNEL_SCSI_LOWLEVEL
select ADK_KERNEL_SBUS
select ADK_KERNEL_BLK_DEV
select ADK_KERNEL_BLK_DEV_SD
diff --git a/target/sparc/Makefile b/target/sparc/Makefile
index e166d7426..ac94569db 100644
--- a/target/sparc/Makefile
+++ b/target/sparc/Makefile
@@ -9,8 +9,11 @@ include $(ADK_TOPDIR)/mk/image.mk
KERNEL:=$(LINUX_DIR)/arch/sparc/boot/zImage
-QEMU_ARGS:=-M SS-5
+QEMU_ARGS:=-M SS-10
QEMU_ARGS+=${ADK_QEMU_ARGS}
+ifeq ($(ADK_TARGET_FS),archive)
+QEMU_ARGS+=-append "root=/dev/sda1"
+endif
# target helper text
ifeq ($(ADK_TARGET_FS),archive)