summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-11-03 18:22:18 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2018-06-08 20:11:17 +0200
commit72355950a683de4bc70f83ca2cd843216d6556f6 (patch)
tree70d00c20bd4a7f68cab365d629116fc25a0e2b80 /target
parent20863d6664c4ea59f7f51b3044b97db6af9d2241 (diff)
add sample for lenovo x200, fix gentooinstaller
Diffstat (limited to 'target')
-rw-r--r--target/config/Config.in.runtime2
-rw-r--r--target/linux/config/Config.in.block2
-rw-r--r--target/linux/config/Config.in.ethernet13
-rw-r--r--target/linux/config/Config.in.graphics1
-rw-r--r--target/linux/config/Config.in.input3
-rw-r--r--target/linux/config/Config.in.pm3
-rw-r--r--target/linux/config/Config.in.usb3
-rw-r--r--target/x86_64/kernel/lenovo-x2006
-rw-r--r--target/x86_64/systems/lenovo-x20020
9 files changed, 53 insertions, 0 deletions
diff --git a/target/config/Config.in.runtime b/target/config/Config.in.runtime
index a103f57c3..18ae17041 100644
--- a/target/config/Config.in.runtime
+++ b/target/config/Config.in.runtime
@@ -195,6 +195,7 @@ source "target/config/Config.in.scripts"
config ADK_RUNTIME_TMPFS_SIZE
string "size of /tmp in memory (kB)"
default "32768" if ADK_TARGET_SYSTEM_IBM_X40
+ default "32768" if ADK_TARGET_SYSTEM_LENOVO_X200
default "32768" if ADK_TARGET_SYSTEM_SGI_O2
default "32768" if ADK_TARGET_SYSTEM_RASPBERRY_PI
default "32768" if ADK_TARGET_SYSTEM_RASPBERRY_PI2
@@ -331,6 +332,7 @@ config ADK_RUNTIME_GETTY_VGA
default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
default y if ADK_TARGET_SYSTEM_IBM_X40
+ default y if ADK_TARGET_SYSTEM_LENOVO_X200
default y if ADK_TARGET_SYSTEM_ARANYM_M68K
default y if ADK_TARGET_MODEL_PCENGINES_ALIX1C
default y if ADK_TARGET_VBOX
diff --git a/target/linux/config/Config.in.block b/target/linux/config/Config.in.block
index ed9937c36..11dce14c3 100644
--- a/target/linux/config/Config.in.block
+++ b/target/linux/config/Config.in.block
@@ -230,10 +230,12 @@ config ADK_LINUX_KERNEL_SATA_AHCI
select ADK_LINUX_KERNEL_BLK_DEV_SD
depends on ADK_TARGET_SYSTEM_ASUS_P5BVM || \
ADK_TARGET_SYSTEM_PCENGINES_APU || \
+ ADK_TARGET_SYSTEM_LENOVO_X200 || \
ADK_TARGET_GENERIC || \
ADK_TARGET_VBOX
default y if ADK_TARGET_SYSTEM_PCENGINES_APU
default y if ADK_TARGET_SYSTEM_ASUS_P5BVM
+ default y if ADK_TARGET_SYSTEM_LENOVO_X200
default y if ADK_TARGET_VBOX
default n
help
diff --git a/target/linux/config/Config.in.ethernet b/target/linux/config/Config.in.ethernet
index 48b4d29ec..ed1f5d393 100644
--- a/target/linux/config/Config.in.ethernet
+++ b/target/linux/config/Config.in.ethernet
@@ -396,6 +396,19 @@ config ADK_LINUX_KERNEL_E1000
help
Intel(R) PRO/1000 gigabit ethernet driver
+config ADK_LINUX_KERNEL_E1000E
+ tristate "Intel(R) PRO/1000e Gigabit Ethernet driver"
+ select ADK_LINUX_KERNEL_NET_VENDOR_INTEL
+ select ADK_LINUX_KERNEL_NETDEV_1000
+ select ADK_LINUX_KERNEL_FIRMWARE_IN_KERNEL
+ depends on ADK_TARGET_WITH_PCI || \
+ ADK_TARGET_SYSTEM_LENOVO_X200 || \
+ ADK_TARGET_GENERIC
+ default y if ADK_TARGET_SYSTEM_LENOVO_X200
+ default n
+ help
+ Intel(R) PRO/1000e gigabit ethernet driver
+
config ADK_LINUX_KERNEL_SUNLANCE
tristate "AMD Sunlance Ethernet driver"
select ADK_LINUX_KERNEL_NET_VENDOR_AMD
diff --git a/target/linux/config/Config.in.graphics b/target/linux/config/Config.in.graphics
index b1fd33953..737b66a74 100644
--- a/target/linux/config/Config.in.graphics
+++ b/target/linux/config/Config.in.graphics
@@ -316,6 +316,7 @@ config ADK_LINUX_KERNEL_DRM_I915
select ADK_LINUX_KERNEL_DRM_KMS_HELPER
select ADK_LINUX_KERNEL_DRM_FBDEV_EMULATION
default y if ADK_TARGET_SYSTEM_IBM_X40
+ default y if ADK_TARGET_SYSTEM_LENOVO_X200
default n
help
Support for Intel chipsets.
diff --git a/target/linux/config/Config.in.input b/target/linux/config/Config.in.input
index a03cd12ba..e11db2640 100644
--- a/target/linux/config/Config.in.input
+++ b/target/linux/config/Config.in.input
@@ -34,6 +34,7 @@ config ADK_LINUX_KERNEL_INPUT
default y if ADK_TARGET_VBOX
default y if ADK_TARGET_SYSTEM_ARANYM_M68K
default y if ADK_TARGET_SYSTEM_IBM_X40
+ default y if ADK_TARGET_SYSTEM_LENOVO_X200
default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
default y if ADK_TARGET_SYSTEM_SHARP_ZAURUS
default y if ADK_TARGET_SYSTEM_QEMU_ARM_SPITZ
@@ -85,6 +86,7 @@ config ADK_LINUX_KERNEL_INPUT_KEYBOARD
default y if ADK_TARGET_VBOX
default y if ADK_TARGET_SYSTEM_ARANYM_M68K
default y if ADK_TARGET_SYSTEM_IBM_X40
+ default y if ADK_TARGET_SYSTEM_LENOVO_X200
default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
default y if ADK_TARGET_SYSTEM_SHARP_ZAURUS
default y if ADK_TARGET_SYSTEM_QEMU_ARM_SPITZ
@@ -97,6 +99,7 @@ config ADK_LINUX_KERNEL_INPUT_MOUSE
default y if ADK_TARGET_VBOX
default y if ADK_TARGET_SYSTEM_ARANYM_M68K
default y if ADK_TARGET_SYSTEM_IBM_X40
+ default y if ADK_TARGET_SYSTEM_LENOVO_X200
default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
default y if ADK_TARGET_SYSTEM_SHARP_ZAURUS
default y if ADK_TARGET_SYSTEM_QEMU_ARM_SPITZ
diff --git a/target/linux/config/Config.in.pm b/target/linux/config/Config.in.pm
index 4586477dc..948508b23 100644
--- a/target/linux/config/Config.in.pm
+++ b/target/linux/config/Config.in.pm
@@ -48,6 +48,7 @@ config ADK_HARDWARE_ACPI
select ADK_LINUX_KERNEL_ACPI_FAN
select ADK_LINUX_KERNEL_ACPI_DOCK
default y if ADK_TARGET_SYSTEM_IBM_X40
+ default y if ADK_TARGET_SYSTEM_LENOVO_X200
default y if ADK_TARGET_SYSTEM_PCENGINES_ALIX
default y if ADK_TARGET_SYSTEM_PCENGINES_APU
default y if ADK_TARGET_SYSTEM_GENERIC_X86
@@ -62,6 +63,7 @@ config ADK_LINUX_KERNEL_SUSPEND
select ADK_LINUX_KERNEL_PM
select ADK_LINUX_KERNEL_PM_RUNTIME
default y if ADK_TARGET_SYSTEM_IBM_X40
+ default y if ADK_TARGET_SYSTEM_LENOVO_X200
default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
default n
help
@@ -74,6 +76,7 @@ config ADK_LINUX_KERNEL_HIBERNATION
select ADK_LINUX_KERNEL_SWAP
select BUSYBOX_SWAPONOFF
default y if ADK_TARGET_SYSTEM_IBM_X40
+ default y if ADK_TARGET_SYSTEM_LENOVO_X200
default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
default n
help
diff --git a/target/linux/config/Config.in.usb b/target/linux/config/Config.in.usb
index 629cff052..25472a14e 100644
--- a/target/linux/config/Config.in.usb
+++ b/target/linux/config/Config.in.usb
@@ -63,6 +63,7 @@ config ADK_LINUX_KERNEL_USB
default m if ADK_TARGET_SYSTEM_PCENGINES_APU
default m if ADK_TARGET_SYSTEM_PCENGINES_ALIX
default m if ADK_TARGET_SYSTEM_IBM_X40
+ default m if ADK_TARGET_SYSTEM_LENOVO_X200
default m if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
default m if ADK_TARGET_SYSTEM_ACMESYSTEMS_FOXG20
default m if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
@@ -112,6 +113,7 @@ config ADK_LINUX_KERNEL_USB_EHCI_HCD
default m if ADK_TARGET_SYSTEM_PCENGINES_APU
default m if ADK_TARGET_SYSTEM_PCENGINES_ALIX
default m if ADK_TARGET_SYSTEM_IBM_X40
+ default m if ADK_TARGET_SYSTEM_LENOVO_X200
default m if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
default m if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
default y if ADK_TARGET_SYSTEM_KINETIS_K70
@@ -145,6 +147,7 @@ config ADK_LINUX_KERNEL_USB_UHCI_HCD
default m if ADK_TARGET_SYSTEM_PCENGINES_APU
default m if ADK_TARGET_SYSTEM_PCENGINES_ALIX
default m if ADK_TARGET_SYSTEM_IBM_X40
+ default m if ADK_TARGET_SYSTEM_LENOVO_X200
default m if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
default n
help
diff --git a/target/x86_64/kernel/lenovo-x200 b/target/x86_64/kernel/lenovo-x200
new file mode 100644
index 000000000..ad080ab40
--- /dev/null
+++ b/target/x86_64/kernel/lenovo-x200
@@ -0,0 +1,6 @@
+CONFIG_X86=y
+CONFIG_X86_64=y
+CONFIG_GENERIC_CPU=y
+CONFIG_PROCESSOR_SELECT=y
+CONFIG_CPU_SUP_INTEL=y
+CONFIG_CMDLINE_BOOL=y
diff --git a/target/x86_64/systems/lenovo-x200 b/target/x86_64/systems/lenovo-x200
new file mode 100644
index 000000000..6c58e6825
--- /dev/null
+++ b/target/x86_64/systems/lenovo-x200
@@ -0,0 +1,20 @@
+config ADK_TARGET_SYSTEM_LENOVO_X200
+ bool "Lenovo X200"
+ select ADK_TARGET_CPU_X86_64_CORE2
+ select ADK_TARGET_KERNEL_BZIMAGE
+ select ADK_TARGET_KERNEL_WITH_COMPRESSION
+ select ADK_TARGET_WITH_VGA
+ select ADK_TARGET_WITH_PCI
+ select ADK_TARGET_WITH_MINIPCI
+ select ADK_TARGET_WITH_USB
+ select ADK_TARGET_WITH_USB_BOOT
+ select ADK_TARGET_WITH_ACPI
+ select ADK_TARGET_WITH_SATA
+ select ADK_TARGET_WITH_SMP
+ select ADK_TARGET_WITH_NET
+ select ADK_TARGET_WITH_NETDEVICE
+ select ADK_TARGET_WITH_BLOCK
+ select ADK_PACKAGE_GRUB
+ help
+ Support for Lenovo X200 subnotebook.
+