summaryrefslogtreecommitdiff
path: root/target/arm
diff options
context:
space:
mode:
Diffstat (limited to 'target/arm')
-rw-r--r--target/arm/Makefile12
-rw-r--r--target/arm/kernel/banana-pro7
-rw-r--r--target/arm/systems/banana-pro19
-rw-r--r--target/arm/systems/linksys-nslu22
-rw-r--r--target/arm/systems/raspberry-pi2
-rw-r--r--target/arm/systems/raspberry-pi22
-rw-r--r--target/arm/systems/sharp-zaurus2
-rw-r--r--target/arm/systems/solidrun-imx62
8 files changed, 40 insertions, 8 deletions
diff --git a/target/arm/Makefile b/target/arm/Makefile
index 0e7441090..6b2a8ee79 100644
--- a/target/arm/Makefile
+++ b/target/arm/Makefile
@@ -55,6 +55,12 @@ ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI2),y)
@echo "Use following command to install with a writable data partition"
@echo "sudo ./scripts/install.sh -d 256 raspberry-pi2 /dev/sdX $(FW_DIR)/$(ROOTFSTARBALL)"
endif
+ifeq ($(ADK_TARGET_SYSTEM_BANANA_PRO),y)
+ @echo "Use following command to install it on SD card:"
+ @echo "sudo ./scripts/install.sh banana-pro /dev/sdX $(FW_DIR)/$(ROOTFSTARBALL)"
+ @echo "Use following command to install with a writable data partition"
+ @echo "sudo ./scripts/install.sh -d 256 banana-pro /dev/sdX $(FW_DIR)/$(ROOTFSTARBALL)"
+endif
ifeq ($(ADK_TARGET_SYSTEM_SOLIDRUN_IMX6),y)
ifeq ($(ADK_APPLIANCE_KODI),y)
@echo "Use following command to install with a writable data partition"
@@ -114,13 +120,13 @@ kernel-install: kernel-strip
dtb-install:
ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI),y)
- env $(KERNEL_MAKE_ENV) $(MAKE) $(KERNEL_MAKE_OPTS) dtbs $(MAKE_TRACE)
+ env $(KERNEL_MAKE_ENV) $(MAKE) -C "${LINUX_DIR}" $(KERNEL_MAKE_OPTS) dtbs $(MAKE_TRACE)
endif
ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI2),y)
- env $(KERNEL_MAKE_ENV) $(MAKE) $(KERNEL_MAKE_OPTS) dtbs $(MAKE_TRACE)
+ env $(KERNEL_MAKE_ENV) $(MAKE) -C "${LINUX_DIR}" $(KERNEL_MAKE_OPTS) dtbs $(MAKE_TRACE)
endif
ifeq ($(ADK_TARGET_SYSTEM_SOLIDRUN_IMX6),y)
- env $(KERNEL_MAKE_ENV) $(MAKE) $(KERNEL_MAKE_OPTS) \
+ env $(KERNEL_MAKE_ENV) $(MAKE) -C "${LINUX_DIR}" $(KERNEL_MAKE_OPTS) \
imx6q-cubox-i.dtb imx6dl-cubox-i.dtb imx6dl-hummingboard.dtb imx6q-hummingboard.dtb $(MAKE_TRACE)
endif
for x in $(LINUX_DIR)/arch/arm/boot/dts/*.dtb; do \
diff --git a/target/arm/kernel/banana-pro b/target/arm/kernel/banana-pro
new file mode 100644
index 000000000..c06104359
--- /dev/null
+++ b/target/arm/kernel/banana-pro
@@ -0,0 +1,7 @@
+CONFIG_ARM=y
+CONFIG_ARM_PATCH_PHYS_VIRT=y
+CONFIG_ARCH_MULTI_V7=y
+CONFIG_ARCH_SUN7I=y
+CONFIG_SERIAL_8250=y
+CONFIG_SERIAL_8250_CONSOLE=y
+CONFIG_SERIAL_8250_SUNXI=y
diff --git a/target/arm/systems/banana-pro b/target/arm/systems/banana-pro
new file mode 100644
index 000000000..d4e687a92
--- /dev/null
+++ b/target/arm/systems/banana-pro
@@ -0,0 +1,19 @@
+config ADK_TARGET_SYSTEM_BANANA_PRO
+ bool "Banana Pro"
+ select ADK_CPU_CORTEX_A7
+ select ADK_TARGET_LITTLE_ENDIAN
+ 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_SMP
+ select ADK_TARGET_WITH_ROOT_RW
+ select ADK_TARGET_KERNEL_ZIMAGE
+ select ADK_PACKAGE_U_BOOT_GIT
+ help
+ Banana Pro
diff --git a/target/arm/systems/linksys-nslu2 b/target/arm/systems/linksys-nslu2
index 1133eb00b..9fb12ee34 100644
--- a/target/arm/systems/linksys-nslu2
+++ b/target/arm/systems/linksys-nslu2
@@ -1,7 +1,7 @@
config ADK_TARGET_SYSTEM_LINKSYS_NSLU2
bool "Linksys NSLU2"
- select ADK_TARGET_BIG_ENDIAN
select ADK_CPU_XSCALE
+ select ADK_TARGET_BIG_ENDIAN
select ADK_TARGET_WITH_USB
select ADK_TARGET_WITH_SERIAL
select ADK_TARGET_KERNEL_ZIMAGE
diff --git a/target/arm/systems/raspberry-pi b/target/arm/systems/raspberry-pi
index 049b4dcac..96f2fe1f5 100644
--- a/target/arm/systems/raspberry-pi
+++ b/target/arm/systems/raspberry-pi
@@ -1,7 +1,7 @@
config ADK_TARGET_SYSTEM_RASPBERRY_PI
bool "Raspberry PI"
- select ADK_TARGET_LITTLE_ENDIAN
select ADK_CPU_ARM1176JZF_S
+ select ADK_TARGET_LITTLE_ENDIAN
select ADK_TARGET_BOARD_BCM28XX
select ADK_TARGET_WITH_VGA
select ADK_TARGET_WITH_SERIAL
diff --git a/target/arm/systems/raspberry-pi2 b/target/arm/systems/raspberry-pi2
index 702aae0f5..da6a8265c 100644
--- a/target/arm/systems/raspberry-pi2
+++ b/target/arm/systems/raspberry-pi2
@@ -1,7 +1,7 @@
config ADK_TARGET_SYSTEM_RASPBERRY_PI2
bool "Raspberry PI 2"
- select ADK_TARGET_LITTLE_ENDIAN
select ADK_CPU_CORTEX_A7
+ select ADK_TARGET_LITTLE_ENDIAN
select ADK_TARGET_BOARD_BCM28XX
select ADK_TARGET_WITH_VGA
select ADK_TARGET_WITH_SERIAL
diff --git a/target/arm/systems/sharp-zaurus b/target/arm/systems/sharp-zaurus
index 568b41865..ee18de579 100644
--- a/target/arm/systems/sharp-zaurus
+++ b/target/arm/systems/sharp-zaurus
@@ -1,7 +1,7 @@
config ADK_TARGET_SYSTEM_SHARP_ZAURUS
bool "Sharp Zaurus CL3200 (Terrier)"
- select ADK_TARGET_LITTLE_ENDIAN
select ADK_CPU_XSCALE
+ select ADK_TARGET_LITTLE_ENDIAN
select ADK_TARGET_CPU_WITH_IWMMXT
select ADK_TARGET_WITH_VGA
select ADK_TARGET_WITH_SERIAL
diff --git a/target/arm/systems/solidrun-imx6 b/target/arm/systems/solidrun-imx6
index ae32b3a1b..acc5ccc78 100644
--- a/target/arm/systems/solidrun-imx6
+++ b/target/arm/systems/solidrun-imx6
@@ -1,7 +1,7 @@
config ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
bool "Solidrun IMX6 Embedded Systems"
- select ADK_TARGET_LITTLE_ENDIAN
select ADK_CPU_CORTEX_A9
+ select ADK_TARGET_LITTLE_ENDIAN
select ADK_TARGET_WITH_VGA
select ADK_TARGET_WITH_SERIAL
select ADK_TARGET_WITH_CPU_FREQ