summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-07-04 22:13:34 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-07-04 22:13:34 +0200
commitedd929510568cf11da927e0c6b0ef09948cd86d3 (patch)
tree2a886b96a34028bf5068271d8bbcd657d7ca541c /target
parent151b96ff2ad49f75e536cc4834aaf69fe9ae189a (diff)
add basic raspberry-pi0 sample
Diffstat (limited to 'target')
-rw-r--r--target/arm/kernel/raspberry-pi023
-rw-r--r--target/arm/systems/raspberry-pi023
2 files changed, 46 insertions, 0 deletions
diff --git a/target/arm/kernel/raspberry-pi0 b/target/arm/kernel/raspberry-pi0
new file mode 100644
index 000000000..fa604d7d9
--- /dev/null
+++ b/target/arm/kernel/raspberry-pi0
@@ -0,0 +1,23 @@
+CONFIG_ARM=y
+CONFIG_ARM_PATCH_PHYS_VIRT=y
+CONFIG_ARCH_MULTIPLATFORM=y
+CONFIG_ARCH_MULTI_V6=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-pi0 b/target/arm/systems/raspberry-pi0
new file mode 100644
index 000000000..98ec51e86
--- /dev/null
+++ b/target/arm/systems/raspberry-pi0
@@ -0,0 +1,23 @@
+config ADK_TARGET_SYSTEM_RASPBERRY_PI0
+ bool "Raspberry PI0"
+ depends on ADK_TARGET_LITTLE_ENDIAN
+ select ADK_TARGET_CPU_ARM_ARM1176JZF_S
+ 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_NET
+ select ADK_TARGET_WITH_NETDEVICE
+ select ADK_TARGET_WITH_BLOCK
+ select ADK_TARGET_WITH_SOUND
+ select ADK_PACKAGE_BCM28XX_BOOTLOADER
+ select ADK_TARGET_WITH_ROOT_RW
+ select ADK_TARGET_KERNEL_IMAGE
+ help
+ Raspberry PI0
+