diff options
Diffstat (limited to 'target')
-rw-r--r-- | target/aarch64/kernel/raspberry-pi3p-64 | 10 | ||||
-rw-r--r-- | target/aarch64/systems/raspberry-pi3p-64 | 26 | ||||
-rw-r--r-- | target/arm/kernel/raspberry-pi3p | 24 | ||||
-rw-r--r-- | target/arm/systems/raspberry-pi3p | 27 | ||||
-rw-r--r-- | target/config/Config.in.addons | 36 | ||||
-rw-r--r-- | target/config/Config.in.runtime | 6 | ||||
-rw-r--r-- | target/linux/Config.in.kernelcfg | 2 | ||||
-rw-r--r-- | target/linux/config/Config.in.bluetooth | 1 | ||||
-rw-r--r-- | target/linux/config/Config.in.wireless | 1 | ||||
-rw-r--r-- | target/waldux/Config.in.kernelcfg | 2 | ||||
-rw-r--r-- | target/waldux/config/Config.in.bluetooth | 1 | ||||
-rw-r--r-- | target/waldux/config/Config.in.wireless | 1 |
12 files changed, 125 insertions, 12 deletions
diff --git a/target/aarch64/kernel/raspberry-pi3p-64 b/target/aarch64/kernel/raspberry-pi3p-64 new file mode 100644 index 000000000..6d9ace351 --- /dev/null +++ b/target/aarch64/kernel/raspberry-pi3p-64 @@ -0,0 +1,10 @@ +CONFIG_ARM64=y +CONFIG_ARCH_BCM2835=y +CONFIG_BRCM_CHAR_DRIVERS=y +CONFIG_BCM2708_VCMEM=y +CONFIG_BCM_VCIO=y +CONFIG_BCMA=y +CONFIG_MAILBOX=y +CONFIG_BCM2835_MBOX=y +CONFIG_RASPBERRYPI_POWER=y +CONFIG_RASPBERRYPI_FIRMWARE=y diff --git a/target/aarch64/systems/raspberry-pi3p-64 b/target/aarch64/systems/raspberry-pi3p-64 new file mode 100644 index 000000000..84bf13fff --- /dev/null +++ b/target/aarch64/systems/raspberry-pi3p-64 @@ -0,0 +1,26 @@ +config ADK_TARGET_SYSTEM_RASPBERRY_PI3P_64 + bool "Raspberry PI 3 Model B+ (AARCH64)" + depends on ADK_TARGET_LITTLE_ENDIAN + select ADK_TARGET_CPU_AARCH64_CORTEX_A53 + select ADK_TARGET_BOARD_BCM28XX + select ADK_TARGET_WITH_VGA + select ADK_TARGET_WITH_SERIAL + select ADK_TARGET_WITH_CPU_FREQ + select ADK_TARGET_WITH_USB + select ADK_TARGET_WITH_INPUT + select ADK_TARGET_WITH_SD + select ADK_TARGET_WITH_I2C + select ADK_TARGET_WITH_SPI + select ADK_TARGET_WITH_SMP + select ADK_TARGET_WITH_NET + select ADK_TARGET_WITH_NETDEVICE + select ADK_TARGET_WITH_WIFI + select ADK_TARGET_WITH_BLOCK + select ADK_TARGET_WITH_SOUND + select ADK_TARGET_WITH_SDIO + select ADK_PACKAGE_BCM28XX_BOOTLOADER + select ADK_TARGET_WITH_ROOT_RW + select ADK_TARGET_KERNEL_IMAGE + help + Raspberry PI 3 Model B+ (AARCH64) + diff --git a/target/arm/kernel/raspberry-pi3p b/target/arm/kernel/raspberry-pi3p new file mode 100644 index 000000000..3b115f949 --- /dev/null +++ b/target/arm/kernel/raspberry-pi3p @@ -0,0 +1,24 @@ +CONFIG_ARM=y +CONFIG_ARM_PATCH_PHYS_VIRT=y +CONFIG_ARCH_MULTIPLATFORM=y +CONFIG_ARCH_MULTI_V7=y +CONFIG_ARCH_MULTI_V6_V7=y +CONFIG_ARCH_BCM=y +CONFIG_ARCH_BCM2835=y +CONFIG_VMSPLIT_2G=y +CONFIG_PAGE_OFFSET=0x80000000 +CONFIG_KUSER_HELPERS=y +CONFIG_ARM_AMBA=y +CONFIG_BRCM_CHAR_DRIVERS=y +CONFIG_BCM_VC_CMA=y +CONFIG_BCM2708_VCMEM=y +CONFIG_BCM_VCIO=y +CONFIG_BCM_VC_SM=y +CONFIG_BCMA=y +CONFIG_BCMA_BLOCKIO=y +CONFIG_BCM2708_VCHIQ=y +CONFIG_MAILBOX=y +CONFIG_BCM2835_MBOX=y +CONFIG_RASPBERRYPI_POWER=y +CONFIG_RASPBERRYPI_FIRMWARE=y +CONFIG_STAGING=y diff --git a/target/arm/systems/raspberry-pi3p b/target/arm/systems/raspberry-pi3p new file mode 100644 index 000000000..ca2562355 --- /dev/null +++ b/target/arm/systems/raspberry-pi3p @@ -0,0 +1,27 @@ +config ADK_TARGET_SYSTEM_RASPBERRY_PI3P + bool "Raspberry PI 3 Model B+" + depends on ADK_TARGET_OS_LINUX || ADK_TARGET_OS_WALDUX + depends on ADK_TARGET_LITTLE_ENDIAN + select ADK_TARGET_CPU_ARM_CORTEX_A53 + select ADK_TARGET_BOARD_BCM28XX + select ADK_TARGET_WITH_VGA + select ADK_TARGET_WITH_SERIAL + select ADK_TARGET_WITH_CPU_FREQ + select ADK_TARGET_WITH_USB + select ADK_TARGET_WITH_INPUT + select ADK_TARGET_WITH_SD + select ADK_TARGET_WITH_I2C + select ADK_TARGET_WITH_SPI + select ADK_TARGET_WITH_SMP + select ADK_TARGET_WITH_NET + select ADK_TARGET_WITH_NETDEVICE + select ADK_TARGET_WITH_WIFI + select ADK_TARGET_WITH_BLOCK + select ADK_TARGET_WITH_SOUND + select ADK_TARGET_WITH_SDIO + select ADK_PACKAGE_BCM28XX_BOOTLOADER + select ADK_TARGET_WITH_ROOT_RW + select ADK_TARGET_KERNEL_IMAGE + help + Raspberry PI 3 Model B+ + 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 diff --git a/target/linux/Config.in.kernelcfg b/target/linux/Config.in.kernelcfg index 52b70e810..27a9fee50 100644 --- a/target/linux/Config.in.kernelcfg +++ b/target/linux/Config.in.kernelcfg @@ -26,7 +26,9 @@ config ADK_TARGET_LINUX_KERNEL_DEFCONFIG default "bcmrpi_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI0 default "bcm2709_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI2 default "bcm2709_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI3 + default "bcm2709_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI3P default "bcmrpi3_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI3_64 + default "bcmrpi3_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI3P_64 default "twr-k70f120m_defconfig" if ADK_TARGET_SYSTEM_KINETIS_K70 default "imx_v7_cbi_hb_defconfig" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 && ADK_TARGET_LINUX_KERNEL_VERSION_GIT default "imx_v6_v7_defconfig" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 diff --git a/target/linux/config/Config.in.bluetooth b/target/linux/config/Config.in.bluetooth index 9c549620e..dff5c09f1 100644 --- a/target/linux/config/Config.in.bluetooth +++ b/target/linux/config/Config.in.bluetooth @@ -138,6 +138,7 @@ config ADK_LINUX_KERNEL_BT_HCIUART_BCM select ADK_LINUX_KERNEL_BT_HCIUART_3WIRE select ADK_LINUX_KERNEL_BT_BCM depends on ADK_TARGET_SYSTEM_RASPBERRY_PI3 + depends on ADK_TARGET_SYSTEM_RASPBERRY_PI3P default n help The Broadcom protocol support enables Bluetooth HCI over serial diff --git a/target/linux/config/Config.in.wireless b/target/linux/config/Config.in.wireless index 2a2828c29..4623f6ef2 100644 --- a/target/linux/config/Config.in.wireless +++ b/target/linux/config/Config.in.wireless @@ -158,6 +158,7 @@ config ADK_LINUX_KERNEL_BRCMFMAC_USB select ADK_LINUX_KERNEL_BRCMFMAC m depends on ADK_TARGET_WITH_USB default y if ADK_TARGET_SYSTEM_RASPBERRY_PI3 + default y if ADK_TARGET_SYSTEM_RASPBERRY_PI3P default n help Driver for Broadcom FullMac wireless cards (USB). diff --git a/target/waldux/Config.in.kernelcfg b/target/waldux/Config.in.kernelcfg index 016db26fe..dbcbf7a66 100644 --- a/target/waldux/Config.in.kernelcfg +++ b/target/waldux/Config.in.kernelcfg @@ -23,7 +23,9 @@ config ADK_TARGET_WALDUX_KERNEL_DEFCONFIG default "bcmrpi_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI0 default "bcm2709_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI2 default "bcm2709_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI3 + default "bcm2709_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI3P default "bcmrpi3_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI3_64 + default "bcmrpi3_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI3P_64 default "twr-k70f120m_defconfig" if ADK_TARGET_SYSTEM_KINETIS_K70 default "imx_v6_v7_defconfig" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 default "mvebu_defconfig" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG diff --git a/target/waldux/config/Config.in.bluetooth b/target/waldux/config/Config.in.bluetooth index 012733be2..8c533b866 100644 --- a/target/waldux/config/Config.in.bluetooth +++ b/target/waldux/config/Config.in.bluetooth @@ -138,6 +138,7 @@ config ADK_WALDUX_KERNEL_BT_HCIUART_BCM select ADK_WALDUX_KERNEL_BT_HCIUART_3WIRE select ADK_WALDUX_KERNEL_BT_BCM depends on ADK_TARGET_SYSTEM_RASPBERRY_PI3 + depends on ADK_TARGET_SYSTEM_RASPBERRY_PI3P default n help The Broadcom protocol support enables Bluetooth HCI over serial diff --git a/target/waldux/config/Config.in.wireless b/target/waldux/config/Config.in.wireless index efb9b35b9..a0d8d3697 100644 --- a/target/waldux/config/Config.in.wireless +++ b/target/waldux/config/Config.in.wireless @@ -158,6 +158,7 @@ config ADK_WALDUX_KERNEL_BRCMFMAC_USB select ADK_WALDUX_KERNEL_BRCMFMAC m depends on ADK_TARGET_WITH_USB default y if ADK_TARGET_SYSTEM_RASPBERRY_PI3 + default y if ADK_TARGET_SYSTEM_RASPBERRY_PI3P default n help Driver for Broadcom FullMac wireless cards (USB). |