From 24ced6d46248987b7621189ebeb42fe48453bfd3 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 30 Jul 2014 07:57:43 +0200 Subject: fix boot from disk --- target/linux/config/Config.in.block | 2 ++ target/sparc/Makefile | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3