summaryrefslogtreecommitdiff
path: root/target/config
diff options
context:
space:
mode:
authorOliver Schib <lich000king@yahoo.de>2018-04-15 19:15:07 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2018-04-16 05:24:50 +0100
commite1e95a021796cbaed71456a0d20d16ea189ed4f8 (patch)
tree6c566fb85457951b54bbde2974fabe8ccbd98a6b /target/config
parentdfc2215ba777e9bc7eb7993df52f6382e833376e (diff)
add basic support for raspberry-pi3p
Signed-off-by: Oliver Schib <lich000king@yahoo.de>
Diffstat (limited to 'target/config')
-rw-r--r--target/config/Config.in.addons36
-rw-r--r--target/config/Config.in.runtime6
2 files changed, 30 insertions, 12 deletions
diff --git a/target/config/Config.in.addons b/target/config/Config.in.addons
index 1a7ed1e51..b6c0d7b62 100644
--- a/target/config/Config.in.addons
+++ b/target/config/Config.in.addons
@@ -3,16 +3,21 @@
choice
prompt "Optional hardware configuration"
-depends on ADK_TARGET_OS_LINUX && ADK_TARGET_SYSTEM_RASPBERRY_PI3 \
- || ADK_TARGET_SYSTEM_RASPBERRY_PI3_64
+depends on ADK_TARGET_OS_LINUX || ADK_TARGET_OS_WALDUX \
+ && ( ADK_TARGET_SYSTEM_RASPBERRY_PI3 \
+ || ADK_TARGET_SYSTEM_RASPBERRY_PI3P \
+ || ADK_TARGET_SYSTEM_RASPBERRY_PI3_64 \
+ || ADK_TARGET_SYSTEM_RASPBERRY_PI3P_64 )
config ADK_TARGET_HARDWARE_RPI3_SERIAL
bool "enable serial"
- select ADK_KERNEL_SERIAL_AMBA_PL011
+ select ADK_LINUX_KERNEL_SERIAL_AMBA_PL011 if ADK_TARGET_OS_LINUX
+ select ADK_WALDUX_KERNEL_SERIAL_AMBA_PL011 if ADK_TARGET_OS_WALDUX
config ADK_TARGET_HARDWARE_RPI3_BT
bool "enable bluetooth"
- select ADK_KERNEL_BT_HCIUART_BCM m
+ select ADK_LINUX_KERNEL_BT_HCIUART_BCM m if ADK_TARGET_OS_LINUX
+ select ADK_WALDUX_KERNEL_BT_HCIUART_BCM m if ADK_TARGET_OS_WALDUX
config ADK_TARGET_HARDWARE_RPI3_NONE
bool "disable serial and bluetooth"
@@ -21,37 +26,44 @@ endchoice
choice
prompt "Audio Board"
-depends on ADK_TARGET_OS_LINUX && ADK_TARGET_BOARD_BCM28XX
+depends on ADK_TARGET_OS_LINUX || ADK_TARGET_OS_WALDUX && ADK_TARGET_BOARD_BCM28XX
config ADK_TARGET_HARDWARE_NONE
bool "No audio addon board"
config ADK_TARGET_HARDWARE_HIFIBERRY_AMP
bool "Hifiberry AMP"
- select ADK_KERNEL_SND_BCM2708_SOC_HIFIBERRY_AMP m
+ select ADK_LINUX_KERNEL_SND_BCM2708_SOC_HIFIBERRY_AMP m if ADK_TARGET_OS_LINUX
+ select ADK_WALDUX_KERNEL_SND_BCM2708_SOC_HIFIBERRY_AMP m if ADK_TARGET_OS_WALDUX
config ADK_TARGET_HARDWARE_HIFIBERRY_DAC
bool "Hifiberry DAC"
- select ADK_KERNEL_SND_BCM2708_SOC_HIFIBERRY_DAC m
+ select ADK_LINUX_KERNEL_SND_BCM2708_SOC_HIFIBERRY_DAC m if ADK_TARGET_OS_LINUX
+ select ADK_WALDUX_KERNEL_SND_BCM2708_SOC_HIFIBERRY_DAC m if ADK_TARGET_OS_WALDUX
config ADK_TARGET_HARDWARE_HIFIBERRY_DACPLUS
bool "Hifiberry DACPLUS"
- select ADK_KERNEL_SND_BCM2708_SOC_HIFIBERRY_DACPLUS m
+ select ADK_LINUX_KERNEL_SND_BCM2708_SOC_HIFIBERRY_DACPLUS m if ADK_TARGET_OS_LINUX
+ select ADK_WALDUX_KERNEL_SND_BCM2708_SOC_HIFIBERRY_DACPLUS m if ADK_TARGET_OS_WALDUX
config ADK_TARGET_HARDWARE_HIFIBERRY_DIGI
bool "Hifiberry DIGI"
- select ADK_KERNEL_SND_BCM2708_SOC_HIFIBERRY_DIGI m
+ select ADK_LINUX_KERNEL_SND_BCM2708_SOC_HIFIBERRY_DIGI m if ADK_TARGET_OS_LINUX
+ select ADK_WALDUX_KERNEL_SND_BCM2708_SOC_HIFIBERRY_DIGI m if ADK_TARGET_OS_WALDUX
config ADK_TARGET_HARDWARE_RPI_DAC
bool "RPI-DAC"
- select ADK_KERNEL_SND_BCM2708_SOC_RPI_DAC m
+ select ADK_LINUX_KERNEL_SND_BCM2708_SOC_RPI_DAC m if ADK_TARGET_OS_LINUX
+ select ADK_WALDUX_KERNEL_SND_BCM2708_SOC_RPI_DAC m if ADK_TARGET_OS_WALDUX
config ADK_TARGET_HARDWARE_IQAUDIO_DAC
bool "IQAudio-DAC"
- select ADK_KERNEL_SND_BCM2708_SOC_IQAUDIO_DAC m
+ select ADK_LINUX_KERNEL_SND_BCM2708_SOC_IQAUDIO_DAC m if ADK_TARGET_OS_LINUX
+ select ADK_WALDUX_KERNEL_SND_BCM2708_SOC_IQAUDIO_DAC m if ADK_TARGET_OS_WALDUX
config ADK_TARGET_HARDWARE_RPI_PROTO
bool "Rpi-Proto"
- select ADK_KERNEL_SND_BCM2708_SOC_RPI_PROTO m
+ select ADK_LINUX_KERNEL_SND_BCM2708_SOC_RPI_PROTO m if ADK_TARGET_OS_LINUX
+ select ADK_WALDUX_KERNEL_SND_BCM2708_SOC_RPI_PROTO m if ADK_TARGET_OS_WALDUX
endchoice
diff --git a/target/config/Config.in.runtime b/target/config/Config.in.runtime
index 6ff13706c..d20fe167b 100644
--- a/target/config/Config.in.runtime
+++ b/target/config/Config.in.runtime
@@ -199,6 +199,7 @@ config ADK_RUNTIME_TMPFS_SIZE
default "32768" if ADK_TARGET_SYSTEM_RASPBERRY_PI
default "32768" if ADK_TARGET_SYSTEM_RASPBERRY_PI2
default "32768" if ADK_TARGET_SYSTEM_RASPBERRY_PI3
+ default "32768" if ADK_TARGET_SYSTEM_RASPBERRY_PI3P
default "32768" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
default "16384" if ADK_TARGET_SYSTEM_QEMU_X86_64
default "16384" if ADK_TARGET_SYSTEM_QEMU_X86
@@ -324,7 +325,9 @@ config ADK_RUNTIME_GETTY_VGA
default y if ADK_TARGET_SYSTEM_RASPBERRY_PI0
default y if ADK_TARGET_SYSTEM_RASPBERRY_PI2
default y if ADK_TARGET_SYSTEM_RASPBERRY_PI3
+ default y if ADK_TARGET_SYSTEM_RASPBERRY_PI3P
default y if ADK_TARGET_SYSTEM_RASPBERRY_PI3_64
+ default y if ADK_TARGET_SYSTEM_RASPBERRY_PI3P_64
default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
default y if ADK_TARGET_SYSTEM_IBM_X40
@@ -346,6 +349,7 @@ config ADK_RUNTIME_GETTY_SERIAL
default n if ADK_TARGET_SYSTEM_RASPBERRY_PI
default n if ADK_TARGET_SYSTEM_RASPBERRY_PI2
default n if ADK_TARGET_SYSTEM_RASPBERRY_PI3
+ default n if ADK_TARGET_SYSTEM_RASPBERRY_PI3P
default n if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
default n if ADK_TARGET_SYSTEM_IBM_X40
default n if ADK_TARGET_SYSTEM_ARANYM_M68K
@@ -384,7 +388,9 @@ config ADK_RUNTIME_CONSOLE_SERIAL_DEVICE
default "ttyAMA0" if ADK_TARGET_SYSTEM_RASPBERRY_PI
default "ttyAMA0" if ADK_TARGET_SYSTEM_RASPBERRY_PI2
default "ttyAMA0" if ADK_TARGET_SYSTEM_RASPBERRY_PI3
+ default "ttyAMA0" if ADK_TARGET_SYSTEM_RASPBERRY_PI3P
default "ttyAMA0" if ADK_TARGET_SYSTEM_RASPBERRY_PI3_64
+ default "ttyAMA0" if ADK_TARGET_SYSTEM_RASPBERRY_PI3P_64
default "ttyDA1" if ADK_TARGET_SYSTEM_QEMU_METAG
default "ttyS2" if ADK_TARGET_SYSTEM_KINETIS_K70
default "ttyS2" if ADK_TARGET_SYSTEM_SOM_C6745