diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-07-13 21:00:37 -0500 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-09-01 23:09:51 +0200 |
commit | ce94e1160532b7cb642277d940fb9d8ec39cf9c3 (patch) | |
tree | 2333fecedcb3edcd2eb98521fd78ff65eda55a88 | |
parent | c5c6f661665450bb2a1f9e217fd5022cf7cbdfcd (diff) |
add support for beaglebone black
-rw-r--r-- | target/arm/kernel/beaglebone-black | 8 | ||||
-rw-r--r-- | target/arm/systems/beaglebone-black | 18 | ||||
-rw-r--r-- | target/config/Config.in.cpu | 6 | ||||
-rw-r--r-- | target/config/Config.in.endian.choice | 1 | ||||
-rw-r--r-- | target/config/Config.in.kernel | 1 | ||||
-rw-r--r-- | target/config/Config.in.kernelversion.choice | 6 | ||||
-rw-r--r-- | target/config/Config.in.subsystem | 3 | ||||
-rw-r--r-- | target/linux/config/Config.in.ethernet | 12 |
8 files changed, 55 insertions, 0 deletions
diff --git a/target/arm/kernel/beaglebone-black b/target/arm/kernel/beaglebone-black new file mode 100644 index 000000000..504238189 --- /dev/null +++ b/target/arm/kernel/beaglebone-black @@ -0,0 +1,8 @@ +CONFIG_ARM=y +CONFIG_ARM_PATCH_PHYS_VIRT=y +CONFIG_ARCH_MULTI_V7=y +CONFIG_SOC_AM33XX=y +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_SERIAL_OMAP=y +CONFIG_SERIAL_OMAP_CONSOLE=y diff --git a/target/arm/systems/beaglebone-black b/target/arm/systems/beaglebone-black new file mode 100644 index 000000000..ed8a4a219 --- /dev/null +++ b/target/arm/systems/beaglebone-black @@ -0,0 +1,18 @@ +config ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK + bool "BeagleBone Black" + select ADK_TARGET_LITTLE_ENDIAN + select ADK_CPU_CORTEX_A8 + select ADK_TARGET_CPU_WITH_NEON + 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_ROOT_RW + select ADK_TARGET_KERNEL_ZIMAGE + help + BeagleBone Black + diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu index 218b3901a..2dc874793 100644 --- a/target/config/Config.in.cpu +++ b/target/config/Config.in.cpu @@ -405,6 +405,12 @@ config ADK_CPU_CORTEX_A8 select ADK_TARGET_CPU_WITH_FPU_VFPV3 select ADK_TARGET_CPU_WITH_NEON +config ADK_CPU_CORTEX_A8 + bool + select ADK_TARGET_WITH_NPTL + select ADK_TARGET_WITH_MMU + select ADK_TARGET_CPU_WITH_FPU_VFPV3 + config ADK_CPU_CORTEX_A9 bool select ADK_TARGET_WITH_NPTL diff --git a/target/config/Config.in.endian.choice b/target/config/Config.in.endian.choice index 328bdcaf1..cfcf209d4 100644 --- a/target/config/Config.in.endian.choice +++ b/target/config/Config.in.endian.choice @@ -28,5 +28,6 @@ config ADK_TARGET_BIG_ENDIAN depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 depends on !ADK_TARGET_SYSTEM_QEMU_ARM depends on !ADK_TARGET_SYSTEM_QEMU_XTENSA + depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK endchoice diff --git a/target/config/Config.in.kernel b/target/config/Config.in.kernel index a6e90109c..c03f854fd 100644 --- a/target/config/Config.in.kernel +++ b/target/config/Config.in.kernel @@ -85,3 +85,4 @@ config ADK_TARGET_KERNEL_MINICONFIG default "imgtec-ci20" if ADK_TARGET_SYSTEM_IMGTEC_CI20 default "qemu-metag" if ADK_TARGET_SYSTEM_QEMU_METAG default "qemu-or1k" if ADK_TARGET_SYSTEM_QEMU_OR1K + default "beaglebone-black" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK diff --git a/target/config/Config.in.kernelversion.choice b/target/config/Config.in.kernelversion.choice index b1f407869..5a7c5df54 100644 --- a/target/config/Config.in.kernelversion.choice +++ b/target/config/Config.in.kernelversion.choice @@ -25,6 +25,7 @@ config ADK_TARGET_KERNEL_VERSION_3_18_16 depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 depends on !ADK_TARGET_ARCH_H8300 depends on !ADK_TARGET_SYSTEM_KINETIS_K70 + depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK select ADK_TARGET_KERNEL_VERSION_3_18 config ADK_TARGET_KERNEL_VERSION_3_14_45 @@ -47,6 +48,7 @@ config ADK_TARGET_KERNEL_VERSION_3_12_44 depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI2 depends on !ADK_TARGET_ARCH_H8300 depends on !ADK_TARGET_SYSTEM_KINETIS_K70 + depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK select ADK_TARGET_KERNEL_VERSION_3_12 config ADK_TARGET_KERNEL_VERSION_3_10_81 @@ -59,6 +61,7 @@ config ADK_TARGET_KERNEL_VERSION_3_10_81 depends on !ADK_TARGET_SYSTEM_QEMU_SPARC depends on !ADK_TARGET_ARCH_H8300 depends on !ADK_TARGET_SYSTEM_KINETIS_K70 + depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK select ADK_TARGET_KERNEL_VERSION_3_10 config ADK_TARGET_KERNEL_VERSION_3_4_108 @@ -71,6 +74,7 @@ config ADK_TARGET_KERNEL_VERSION_3_4_108 depends on !ADK_TARGET_SYSTEM_QEMU_SPARC depends on !ADK_TARGET_ARCH_H8300 depends on !ADK_TARGET_SYSTEM_KINETIS_K70 + depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK select ADK_TARGET_KERNEL_VERSION_3_4 config ADK_TARGET_KERNEL_VERSION_3_2_69 @@ -83,6 +87,7 @@ config ADK_TARGET_KERNEL_VERSION_3_2_69 depends on !ADK_TARGET_SYSTEM_QEMU_SPARC depends on !ADK_TARGET_ARCH_H8300 depends on !ADK_TARGET_SYSTEM_KINETIS_K70 + depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK select ADK_TARGET_KERNEL_VERSION_3_2 config ADK_TARGET_KERNEL_VERSION_2_6_32_67 @@ -95,6 +100,7 @@ config ADK_TARGET_KERNEL_VERSION_2_6_32_67 depends on !ADK_TARGET_SYSTEM_QEMU_SPARC depends on !ADK_TARGET_ARCH_H8300 depends on !ADK_TARGET_SYSTEM_KINETIS_K70 + depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK select ADK_TARGET_KERNEL_VERSION_2_6_32 endchoice diff --git a/target/config/Config.in.subsystem b/target/config/Config.in.subsystem index 052d84033..39bb1394c 100644 --- a/target/config/Config.in.subsystem +++ b/target/config/Config.in.subsystem @@ -1,3 +1,6 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + choice prompt "PCengines ALIX model" depends on ADK_TARGET_SYSTEM_PCENGINES_ALIX diff --git a/target/linux/config/Config.in.ethernet b/target/linux/config/Config.in.ethernet index d1f7c2930..0219f4ef9 100644 --- a/target/linux/config/Config.in.ethernet +++ b/target/linux/config/Config.in.ethernet @@ -29,6 +29,9 @@ config ADK_KERNEL_NET_VENDOR_REALTEK config ADK_KERNEL_NET_VENDOR_MARVELL bool +config ADK_KERNEL_NET_VENDOR_TI + bool + config ADK_KERNEL_NET_VENDOR_VIA bool @@ -261,6 +264,15 @@ config ADK_KERNEL_MACB help Atmel NGW100 network driver +config ADK_KERNEL_TI_DAVINCI_MDIO + tristate "BeagleBone Back Davinci" + select ADK_KERNEL_NET_VENDOR_TI + depends on ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK + default y if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK + default n + help + TI Davinci driver + config ADK_KERNEL_SKY2 tristate "Marvell Yukon SKY2 driver" select ADK_KERNEL_NETDEV_1000 |