summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target/alpha/Makefile6
-rw-r--r--target/alpha/kernel/qemu-alpha3
-rw-r--r--target/config/Config.in.qemuopts1
-rw-r--r--target/linux/config/Config.in.block24
-rw-r--r--target/linux/config/Config.in.debug4
-rw-r--r--target/linux/config/Config.in.serial2
6 files changed, 37 insertions, 3 deletions
diff --git a/target/alpha/Makefile b/target/alpha/Makefile
index f80cdec38..2d58e8014 100644
--- a/target/alpha/Makefile
+++ b/target/alpha/Makefile
@@ -10,6 +10,10 @@ KERNEL:=$(LINUX_DIR)/vmlinux
QEMU_ARGS:=-monitor null
QEMU_ARGS+=${ADK_QEMU_ARGS}
+ifeq ($(ADK_TARGET_QEMU_WITH_BLOCK),y)
+QEMU_ARGS+=-drive file=qemu-alpha.img,format=raw -append "root=/dev/hda1"
+endif
+
# target helper text
ifeq ($(ADK_TARGET_FS),archive)
targethelp:
@@ -19,7 +23,7 @@ ifeq ($(ADK_TARGET_QEMU),y)
@echo "Use following command to create a QEMU Image:"
@echo "./scripts/create.sh qemu-${ADK_TARGET_CPU_ARCH}.img $(FW_DIR)/$(ROOTFSTARBALL)"
@echo "Start qemu with following options:"
- @echo 'qemu-system-${ADK_TARGET_CPU_ARCH} ${QEMU_ARGS} -kernel $(FW_DIR)/$(TARGET_KERNEL) qemu-${ADK_TARGET_CPU_ARCH}.img'
+ @echo 'qemu-system-${ADK_TARGET_CPU_ARCH} ${QEMU_ARGS} -kernel $(FW_DIR)/$(TARGET_KERNEL)'
endif
endif
ifeq ($(ADK_TARGET_FS),initramfs)
diff --git a/target/alpha/kernel/qemu-alpha b/target/alpha/kernel/qemu-alpha
index e0f3d0822..ddf62d2fb 100644
--- a/target/alpha/kernel/qemu-alpha
+++ b/target/alpha/kernel/qemu-alpha
@@ -1,6 +1,5 @@
CONFIG_ALPHA=y
CONFIG_ALPHA_DP264=y
+CONFIG_ALPHA_QEMU=y
CONFIG_ISA=y
CONFIG_ISA_DMA_API=y
-CONFIG_SERIAL_8250=y
-CONFIG_SERIAL_8250_CONSOLE=y
diff --git a/target/config/Config.in.qemuopts b/target/config/Config.in.qemuopts
index 505a648e8..368147716 100644
--- a/target/config/Config.in.qemuopts
+++ b/target/config/Config.in.qemuopts
@@ -32,6 +32,7 @@ config ADK_TARGET_QEMU_WITH_BLOCK
select ADK_KERNEL_PATA_PXA if ADK_TARGET_QEMU_ARM_SPITZ \
|| ADK_TARGET_SYSTEM_QEMU_ARM_TERRIER
select ADK_KERNEL_MMC_ARMMMCI if ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9
+ select ADK_KERNEL_BLK_DEV_CMD64X if ADK_TARGET_SYSTEM_QEMU_ALPHA
menu "Qemu system configuration"
depends on ADK_TARGET_QEMU && (ADK_TARGET_SYSTEM_QEMU_X86_64 \
diff --git a/target/linux/config/Config.in.block b/target/linux/config/Config.in.block
index 4fc5a113a..179b59a0a 100644
--- a/target/linux/config/Config.in.block
+++ b/target/linux/config/Config.in.block
@@ -8,6 +8,15 @@ menu "Block devices support"
depends on ADK_TARGET_WITH_BLOCK \
|| ADK_TARGET_GENERIC
+config ADK_KERNEL_IDE
+ bool
+
+config ADK_KERNEL_IDE_GD
+ bool
+
+config ADK_KERNEL_IDE_GD_ATA
+ bool
+
config ADK_KERNEL_LBDAF
bool
@@ -303,6 +312,21 @@ config ADK_KERNEL_PATA_PXA
endmenu
+menu "IDE driver support"
+depends on ADK_TARGET_SYSTEM_QEMU_ALPHA
+
+config ADK_KERNEL_BLK_DEV_CMD64X
+ tristate "CMD64x support"
+ select ADK_KERNEL_BLOCK
+ select ADK_KERNEL_IDE
+ select ADK_KERNEL_IDE_GD
+ select ADK_KERNEL_IDE_GD_ATA
+ depends on ADK_TARGET_SYSTEM_QEMU_ALPHA
+ help
+ CMD64x IDE driver.
+
+endmenu
+
menu "SCSI driver support"
depends on ADK_TARGET_WITH_SCSI || \
ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB || \
diff --git a/target/linux/config/Config.in.debug b/target/linux/config/Config.in.debug
index 9c2d6701b..9373b912f 100644
--- a/target/linux/config/Config.in.debug
+++ b/target/linux/config/Config.in.debug
@@ -56,8 +56,12 @@ config ADK_KERNEL_BUG
help
Enable if you need BUGS() in the kernel.
+config ADK_KERNEL_ELF_CORE
+ bool
+
config ADK_KERNEL_COREDUMP
bool "Enable coredumps"
+ select ADK_KERNEL_ELF_CORE
help
Enable if you need coredumps.
diff --git a/target/linux/config/Config.in.serial b/target/linux/config/Config.in.serial
index 444faf17c..408b17d9b 100644
--- a/target/linux/config/Config.in.serial
+++ b/target/linux/config/Config.in.serial
@@ -103,6 +103,7 @@ config ADK_KERNEL_SERIAL_8250
|| ADK_TARGET_SYSTEM_QEMU_MIPS \
|| ADK_TARGET_SYSTEM_QEMU_MIPS64 \
|| ADK_TARGET_SYSTEM_SGI_O2 \
+ || ADK_TARGET_SYSTEM_QEMU_ALPHA \
|| ADK_TARGET_SYSTEM_QEMU_NIOS2 \
|| ADK_TARGET_SYSTEM_QEMU_OR1K \
|| ADK_TARGET_SYSTEM_QEMU_PPC_BAMBOO \
@@ -126,6 +127,7 @@ config ADK_KERNEL_SERIAL_8250
default y if ADK_TARGET_SYSTEM_QEMU_MIPS
default y if ADK_TARGET_SYSTEM_QEMU_MIPS64
default y if ADK_TARGET_SYSTEM_SGI_O2
+ default y if ADK_TARGET_SYSTEM_QEMU_ALPHA
default y if ADK_TARGET_SYSTEM_QEMU_NIOS2
default y if ADK_TARGET_SYSTEM_QEMU_OR1K
default y if ADK_TARGET_SYSTEM_QEMU_PPC_BAMBOO