From dfd6417b8a8bfcb3662cea030ef301fe5fb6e365 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 6 Apr 2016 15:21:02 +0200 Subject: add basic raspberry pi3 support (ARM 32Bit) --- target/arm/Makefile | 34 ++++------------------------------ 1 file changed, 4 insertions(+), 30 deletions(-) (limited to 'target/arm/Makefile') diff --git a/target/arm/Makefile b/target/arm/Makefile index 3184351e1..faa4b6cd7 100644 --- a/target/arm/Makefile +++ b/target/arm/Makefile @@ -50,30 +50,16 @@ ifeq ($(ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9)$(ADK_TARGET_SYSTEM_QEMU_ARM_VERS @echo "Start qemu with following options:" @echo 'qemu-system-${ADK_TARGET_CPU_ARCH} ${QEMU_ARGS} -kernel $(FW_DIR)/$(TARGET_KERNEL) qemu-${ADK_TARGET_CPU_ARCH}.img' endif -ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI),y) +ifeq ($(ADK_TARGET_BOARD_BCM28XX)$(ADK_TARGET_SYSTEM_SOLIDRUN_IMX6),y) ifeq ($(ADK_APPLIANCE_KODI),y) @echo "Use following command to install with a writable data partition" - @echo "sudo ./scripts/install.sh -d 256 raspberry-pi /dev/sdX $(FW_DIR)/$(ROOTFSTARBALL)" + @echo "sudo ./scripts/install.sh -d 256 $(ADK_TARGET_SYSTEM) /dev/sdX $(FW_DIR)/$(ROOTFSTARBALL)" @echo "If you want to update a card without loosing existing data on the writable partition use:" - @echo "sudo ./scripts/install.sh -k -d 256 raspbrry-pi /dev/sdX $(FW_DIR)/$(ROOTFSTARBALL)" + @echo "sudo ./scripts/install.sh -k -d 256 $(ADK_TARGET_SYSTEM) /dev/sdX $(FW_DIR)/$(ROOTFSTARBALL)" @echo "In both cases the cfgfs partition is _not_ removed!" else @echo "Use following command to install it on SD card:" - @echo "sudo ./scripts/install.sh raspberry-pi /dev/sdX $(FW_DIR)/$(ROOTFSTARBALL)" -endif -endif -ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI2),y) -ifeq ($(ADK_APPLIANCE_KODI),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)" - @echo "If you want to update a card without loosing existing data on the writable partition use:" - @echo "sudo ./scripts/install.sh -k -d 256 raspberry-pi2 /dev/sdX $(FW_DIR)/$(ROOTFSTARBALL)" - @echo "In both cases the cfgfs partition is _not_ removed!" -else - @echo "Use following command to install it on SD card:" - @echo "sudo ./scripts/install.sh raspberry-pi2 /dev/sdX $(FW_DIR)/$(ROOTFSTARBALL)" - @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)" + @echo "sudo ./scripts/install.sh $(ADK_TARGET_SYSTEM) /dev/sdX $(FW_DIR)/$(ROOTFSTARBALL)" endif endif ifeq ($(ADK_TARGET_SYSTEM_BANANA_PRO),y) @@ -82,18 +68,6 @@ ifeq ($(ADK_TARGET_SYSTEM_BANANA_PRO),y) @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" - @echo "sudo ./scripts/install.sh -d 256 solidrun-imx6 /dev/sdX $(FW_DIR)/$(ROOTFSTARBALL)" - @echo "If you want to update a card without loosing existing data on the writable partition use:" - @echo "sudo ./scripts/install.sh -k -d 256 solidrun-imx6 /dev/sdX $(FW_DIR)/$(ROOTFSTARBALL)" - @echo "In both cases the cfgfs partition is _not_ removed!" -else - @echo "Use following command to install it on SD card:" - @echo "sudo ./scripts/install.sh solidrun-imx6 /dev/sdX $(FW_DIR)/$(ROOTFSTARBALL)" -endif -endif endif ifeq ($(ADK_TARGET_FS),initramfs) targethelp: -- cgit v1.2.3