summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-09-10 12:25:58 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-09-10 12:25:58 +0200
commit4c8e9488814c0add98a02776499999e4e23bf507 (patch)
treea5f3280dba6eaa457e78e4c0ef69415a0195d703 /target
parenta481c461a4a7dae7440b9de3145ecb5b87206b3a (diff)
finally boot shuttle from raid1 root
you need to set hard disk partition types to type fd. I added a grub binary package, because grub does not allow to be cross-compiled from x86_64 for example without using a multilib gcc, which we do not support.
Diffstat (limited to 'target')
-rw-r--r--target/Config.in21
-rw-r--r--target/linux/config/Config.in.block24
2 files changed, 37 insertions, 8 deletions
diff --git a/target/Config.in b/target/Config.in
index 81c639418..0b7b95c13 100644
--- a/target/Config.in
+++ b/target/Config.in
@@ -203,21 +203,25 @@ config ADK_LINUX_QEMU
config ADK_LINUX_X86_64_SHUTTLE
bool "Shuttle PC"
+ select ADK_shuttle
select ADK_KERNEL_INPUT_KEYBOARD
select ADK_KERNEL_NETDEVICES
select ADK_KERNEL_NET_PCI
select ADK_KERNEL_NET_ETHERNET
- select ADK_shuttle
- select ADK_KPACKAGE_KMOD_SKY2
- select ADK_KPACKAGE_KMOD_SATA_AHCI
- select ADK_KPACKAGE_KMOD_XFS_FS
- select ADK_KPACKAGE_KMOD_BLK_DEV_MD
- select ADK_KPACKAGE_KMOD_MD_RAID0
- select ADK_KPACKAGE_KMOD_MD_RAID1
+ select ADK_KERNEL_SATA_AHCI if ADK_TARGET_ROOTFS_ARCHIVE
+ select ADK_KERNEL_BLK_DEV_MD if ADK_TARGET_ROOTFS_ARCHIVE
+ select ADK_KERNEL_MD_RAID0 if ADK_TARGET_ROOTFS_ARCHIVE
+ select ADK_KERNEL_MD_RAID1 if ADK_TARGET_ROOTFS_ARCHIVE
+ select ADK_KERNEL_XFS_FS if ADK_TARGET_ROOTFS_ARCHIVE
+ select ADK_KPACKAGE_KMOD_SKY2 if ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
+ select ADK_KPACKAGE_KMOD_SATA_AHCI if ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
+ select ADK_KPACKAGE_KMOD_XFS_FS if ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
+ select ADK_KPACKAGE_KMOD_BLK_DEV_MD if ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
+ select ADK_KPACKAGE_KMOD_MD_RAID0 if ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
+ select ADK_KPACKAGE_KMOD_MD_RAID1 if ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
help
Support for a nice and fast shuttle xpc with AMD quad-core CPU.
Known as OpenADK multi operating system buildserver.
- System is on RAID1, kvm guests are on RAID1.
endchoice
@@ -436,6 +440,7 @@ config ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK
ADK_LINUX_MIPSEL_QEMU || \
ADK_LINUX_MIPS64_QEMU || \
ADK_LINUX_MIPS64EL_QEMU || \
+ ADK_LINUX_X86_64_SHUTTLE || \
ADK_LINUX_NATIVE || \
ADK_LINUX_RESCUE
help
diff --git a/target/linux/config/Config.in.block b/target/linux/config/Config.in.block
index 15b8f7d49..cd4781b15 100644
--- a/target/linux/config/Config.in.block
+++ b/target/linux/config/Config.in.block
@@ -53,12 +53,20 @@ config ADK_KERNEL_ATA
boolean
default n
+config ADK_KERNEL_SATA_AHCI
+ tristate
+ select ADK_KERNEL_BLOCK
+ select ADK_KERNEL_ATA
+ select ADK_KERNEL_BLK_DEV_SD
+ default n
+
config ADK_KPACKAGE_KMOD_SATA_AHCI
prompt "kmod-sata-ahci.................... AHCI SATA driver"
tristate
select ADK_KERNEL_BLOCK
select ADK_KERNEL_ATA
select ADK_KPACKAGE_KMOD_BLK_DEV_SD
+ depends on !ADK_KERNEL_SATA_AHCI
default n
help
Enables support for AHCI Serial ATA.
@@ -202,18 +210,34 @@ config ADK_KPACKAGE_KMOD_BLK_DEV_SR
<http://www.tldp.org/docs.html#howto>. Also make sure to say
Y or M to "ISO 9660 CD-ROM file system support" later.
+config ADK_KERNEL_BLK_DEV_MD
+ tristate
+ select ADK_KERNEL_MD
+ default n
+
config ADK_KPACKAGE_KMOD_BLK_DEV_MD
prompt "kmod-md........................... RAID support"
tristate
+ depends on !ADK_KERNEL_BLK_DEV_MD
select ADK_KERNEL_MD
help
+config ADK_KERNEL_MD_RAID0
+ tristate
+ depends on ADK_KERNEL_BLK_DEV_MD
+ help
+
config ADK_KPACKAGE_KMOD_MD_RAID0
prompt "kmod-md-raid0..................... RAID0 support"
tristate
depends on ADK_KPACKAGE_KMOD_BLK_DEV_MD
help
+config ADK_KERNEL_MD_RAID1
+ tristate
+ depends on ADK_KERNEL_BLK_DEV_MD
+ help
+
config ADK_KPACKAGE_KMOD_MD_RAID1
prompt "kmod-md-raid1..................... RAID1 support"
tristate