summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-09-04 19:00:28 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-09-04 19:00:28 +0200
commit33f5911f08c585039888d7372481352e2aa9811e (patch)
tree295e64896e5dbd265d1acf7204c1b01a78bdad55
parentd12998a35c19652dda0743dd9fc19eafad7250d8 (diff)
enable disk support for qemu arm versatile
-rw-r--r--target/arm/Makefile2
-rw-r--r--target/config/Config.in5
-rw-r--r--target/linux/config/Config.in.block3
-rw-r--r--target/linux/config/Config.in.kernel3
4 files changed, 12 insertions, 1 deletions
diff --git a/target/arm/Makefile b/target/arm/Makefile
index a903166f9..50ea0b85a 100644
--- a/target/arm/Makefile
+++ b/target/arm/Makefile
@@ -58,7 +58,7 @@ ifeq ($(ADK_TARGET_SYSTEM_QEMU_ARM),y)
@echo "Use following command to create a QEMU Image:"
@echo "sudo ./scripts/create-image.sh -f $(ADK_TARGET_ROOTFS) qemu-${CPU_ARCH}.img $(BIN_DIR)/$(ROOTFSTARBALL)"
@echo "Start qemu with following options:"
- @echo 'qemu-system-arm -M $(MACH) -nographic $(NET) -kernel $(BIN_DIR)/$(TARGET_KERNEL) -hda qemu-${CPU_ARCH}.img -append "root=/dev/hda1"'
+ @echo 'qemu-system-arm -M $(MACH) -nographic $(NET) -kernel $(BIN_DIR)/$(TARGET_KERNEL) -hda qemu-${CPU_ARCH}.img'
endif
endif
ifeq ($(ADK_TARGET_FS),initramfs)
diff --git a/target/config/Config.in b/target/config/Config.in
index 787b347ea..a6719eb52 100644
--- a/target/config/Config.in
+++ b/target/config/Config.in
@@ -89,6 +89,11 @@ config ADK_TARGET_QEMU_ARM_MODEL_SPITZ
config ADK_TARGET_QEMU_ARM_MODEL_VERSATILE
boolean "ARM Ltd. Versatile"
select ADK_KERNEL_ARCH_VERSATILE
+ select ADK_KERNEL_PCI
+ select ADK_KERNEL_BLOCK
+ select ADK_KERNEL_SCSI
+ select ADK_KERNEL_BLK_DEV_SD
+ select ADK_KERNEL_SCSI_SYM53C8XX_2
endchoice
diff --git a/target/linux/config/Config.in.block b/target/linux/config/Config.in.block
index fdafb06b0..fe4c0a9c8 100644
--- a/target/linux/config/Config.in.block
+++ b/target/linux/config/Config.in.block
@@ -62,6 +62,9 @@ config ADK_KERNEL_MMC
config ADK_KERNEL_MMC_BLOCK
boolean
+config ADK_KERNEL_SCSI_SYM53C8XX_2
+ boolean
+
config ADK_KERNEL_MMC_AT91
boolean
select ADK_KERNEL_BLOCK
diff --git a/target/linux/config/Config.in.kernel b/target/linux/config/Config.in.kernel
index 696f7afc9..1791a624a 100644
--- a/target/linux/config/Config.in.kernel
+++ b/target/linux/config/Config.in.kernel
@@ -85,3 +85,6 @@ config ADK_KERNEL_NFS_COMMON
config ADK_KERNEL_SUNRPC
boolean
+
+config ADK_KERNEL_PCI
+ boolean