summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rw-r--r--target/linux/x86/Makefile2
-rw-r--r--target/linux/x86/xen_domu/base-files/etc/inittab5
-rw-r--r--target/linux/x86/xen_domu/config-2.6.3184
-rw-r--r--target/linux/x86/xen_domu/target.mk2
4 files changed, 92 insertions, 1 deletions
diff --git a/target/linux/x86/Makefile b/target/linux/x86/Makefile
index 7389530a76..41b348341f 100644
--- a/target/linux/x86/Makefile
+++ b/target/linux/x86/Makefile
@@ -10,7 +10,7 @@ ARCH:=i386
BOARD:=x86
BOARDNAME:=x86
FEATURES:=squashfs jffs2 ext2 vdi vmdk pcmcia tgz
-SUBTARGETS=generic olpc
+SUBTARGETS=generic olpc xen_domu
LINUX_VERSION:=2.6.31.12
diff --git a/target/linux/x86/xen_domu/base-files/etc/inittab b/target/linux/x86/xen_domu/base-files/etc/inittab
new file mode 100644
index 0000000000..469b8a9a9f
--- /dev/null
+++ b/target/linux/x86/xen_domu/base-files/etc/inittab
@@ -0,0 +1,5 @@
+::sysinit:/etc/init.d/rcS S boot
+::shutdown:/etc/init.d/rcS K stop
+tts/0::askfirst:/bin/ash --login
+hvc0::askfirst:/bin/ash --login
+tty1::askfirst:/bin/ash --login
diff --git a/target/linux/x86/xen_domu/config-2.6.31 b/target/linux/x86/xen_domu/config-2.6.31
new file mode 100644
index 0000000000..3d24d1673b
--- /dev/null
+++ b/target/linux/x86/xen_domu/config-2.6.31
@@ -0,0 +1,84 @@
+# CONFIG_ACPI_CUSTOM_DSDT is not set
+# CONFIG_APM is not set
+# CONFIG_DEBUG_BUGVERBOSE is not set
+# CONFIG_KERNEL_LZMA is not set
+# CONFIG_KVM_CLOCK is not set
+# CONFIG_KVM_GUEST is not set
+# CONFIG_LGUEST_GUEST is not set
+# CONFIG_M386 is not set
+# CONFIG_NETWORK_FILESYSTEMS is not set
+# CONFIG_PARAVIRT_SPINLOCKS is not set
+# CONFIG_PERF_COUNTERS is not set
+# CONFIG_RWSEM_GENERIC_SPINLOCK is not set
+# CONFIG_SCHED_SMT is not set
+# CONFIG_VMI is not set
+# CONFIG_X86_BIGSMP is not set
+# CONFIG_X86_DS is not set
+# CONFIG_X86_EXTENDED_PLATFORM is not set
+# CONFIG_X86_PLATFORM_DEVICES is not set
+# CONFIG_XENFS is not set
+# CONFIG_XEN_DEBUG_FS is not set
+# CONFIG_XEN_DEV_EVTCHN is not set
+# CONFIG_XEN_NETDEV_FRONTEND is not set
+CONFIG_ACPI_CONTAINER=y
+CONFIG_ACPI_HOTPLUG_CPU=y
+CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
+CONFIG_CPU_IDLE=y
+CONFIG_CPU_IDLE_GOV_LADDER=y
+CONFIG_FREEZER=y
+CONFIG_GENERIC_PENDING_IRQ=y
+CONFIG_HAVE_KERNEL_LZO=y
+CONFIG_HAVE_PERF_COUNTERS=y
+CONFIG_HOTPLUG_CPU=y
+CONFIG_HPET_EMULATE_RTC=y
+CONFIG_HPET_TIMER=y
+CONFIG_HVC_DRIVER=y
+CONFIG_HVC_IRQ=y
+CONFIG_HVC_XEN=y
+CONFIG_KERNEL_GZIP=y
+CONFIG_LOCK_KERNEL=y
+CONFIG_MARKERS=y
+CONFIG_MPENTIUM4=y
+CONFIG_NR_CPUS=2
+CONFIG_PARAVIRT=y
+CONFIG_PARAVIRT_CLOCK=y
+CONFIG_PARAVIRT_GUEST=y
+CONFIG_PCI_MMCONFIG=y
+CONFIG_PHYS_ADDR_T_64BIT=y
+CONFIG_PM_SLEEP=y
+CONFIG_PM_SLEEP_SMP=y
+CONFIG_PNPACPI=y
+CONFIG_POWER_SUPPLY=y
+CONFIG_RWSEM_XCHGADD_ALGORITHM=y
+CONFIG_SCHED_MC=y
+CONFIG_SMP=y
+CONFIG_SPARSE_IRQ=y
+CONFIG_STOP_MACHINE=y
+CONFIG_SYS_HYPERVISOR=y
+CONFIG_THERMAL=y
+CONFIG_TRACEPOINTS=y
+CONFIG_USE_GENERIC_SMP_HELPERS=y
+CONFIG_X86_32_SMP=y
+CONFIG_X86_BSWAP=y
+CONFIG_X86_CMOV=y
+CONFIG_X86_CMPXCHG64=y
+CONFIG_X86_CMPXCHG=y
+CONFIG_X86_DEBUGCTLMSR=y
+CONFIG_X86_HT=y
+CONFIG_X86_INVLPG=y
+CONFIG_X86_L1_CACHE_SHIFT=7
+CONFIG_X86_MINIMUM_CPU_FAMILY=4
+CONFIG_X86_PAE=y
+CONFIG_X86_POPAD_OK=y
+CONFIG_X86_TRAMPOLINE=y
+CONFIG_X86_TSC=y
+CONFIG_X86_USE_PPRO_CHECKSUM=y
+CONFIG_X86_WP_WORKS_OK=y
+CONFIG_X86_XADD=y
+CONFIG_XEN=y
+CONFIG_XEN_BALLOON=y
+CONFIG_XEN_BLKDEV_FRONTEND=y
+CONFIG_XEN_MAX_DOMAIN_MEMORY=8
+CONFIG_XEN_SAVE_RESTORE=y
+CONFIG_XEN_SCRUB_PAGES=y
+CONFIG_XEN_SYS_HYPERVISOR=y
diff --git a/target/linux/x86/xen_domu/target.mk b/target/linux/x86/xen_domu/target.mk
new file mode 100644
index 0000000000..bed0647839
--- /dev/null
+++ b/target/linux/x86/xen_domu/target.mk
@@ -0,0 +1,2 @@
+BOARDNAME:=Xen Paravirt Guest
+DEFAULT_PACKAGES += kmod-xen-fs kmod-xen-evtchn kmod-xen-netdev kmod-xen-kbddev