diff options
Diffstat (limited to 'target/arm/Makefile')
-rw-r--r-- | target/arm/Makefile | 33 |
1 files changed, 25 insertions, 8 deletions
diff --git a/target/arm/Makefile b/target/arm/Makefile index 1e2cc478b..280e954b7 100644 --- a/target/arm/Makefile +++ b/target/arm/Makefile @@ -85,6 +85,11 @@ ifeq ($(ADK_TARGET_SYSTEM_PHYTEC_IMX6),y) @echo "sudo ./scripts/install.sh phytec-imx6 /dev/sdX $(FW_DIR)/$(ROOTFSTARBALL)" @echo endif +ifeq ($(ADK_TARGET_SYSTEM_BEAGEBONE_BLACK),y) + @echo "Use following command to install it on SD card:" + @echo "sudo ./scripts/install.sh beaglebone-black /dev/sdX $(FW_DIR)/$(ROOTFSTARBALL)" + @echo +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)" @@ -157,7 +162,7 @@ ifeq ($(ADK_TARGET_FS),genimage) targethelp: @echo "The disk image is: $(FW_DIR)/sdcard.img" @echo "Use following command to install it on SD card:" - @echo 'sudo dd if=$(FW_DIR)/sdcard.img of=/dev/sdX bs=2048k' + @echo 'sudo dd if=$(FW_DIR)/sdcard.img of=/dev/sdX bs=32M' endif kernel-strip: @@ -175,7 +180,7 @@ ifeq ($(ADK_TARGET_FS),squashfs) dd conv=notrunc if=$(BUILD_DIR)/root.squashfs of=$(FW_DIR)/$(ROOTFSSQUASHFS) endif -ifeq ($(ADK_TARGET_LINUX_KERNEL_VERSION_6_6),y) +ifeq ($(ADK_TARGET_LINUX_KERNEL_VERSION_6_6)$(ADK_TARGET_LINUX_KERNEL_VERSION_6_9)$(ADK_TARGET_LINUX_KERNEL_VERSION_GIT),y) ifeq ($(ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB),y) VENDOR:=arm/ endif @@ -188,9 +193,21 @@ endif ifeq ($(ADK_TARGET_SYSTEM_QEMU_ARM_XILINX_ZYNQ),y) VENDOR:=xilinx/ endif +ifeq ($(ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG),y) +VENDOR:=marvell/ +endif ifeq ($(ADK_TARGET_SYSTEM_ST_STM32F746G),y) VENDOR:=st/ endif +ifeq ($(ADK_TARGET_SYSTEM_SOLIDRUN_IMX6),y) +VENDOR:=nxp/imx/ +endif +ifeq ($(ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK),y) +VENDOR:=ti/omap/ +endif +ifeq ($(ADK_TARGET_SYSTEM_BANANA_PRO),y) +VENDOR:=allwinner/ +endif endif dtb-install: @@ -215,8 +232,8 @@ ifeq ($(ADK_TARGET_SYSTEM_PHYTEC_IMX6),y) cp $(LINUX_DIR)/arch/arm/boot/dts/imx6q-phytec-pbab01.dtb ${TARGET_DIR}/boot endif ifeq ($(ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK),y) - ${KERNEL_MAKE} am335x-boneblack.dtb $(MAKE_TRACE) - cp $(LINUX_DIR)/arch/arm/boot/dts/am335x-boneblack.dtb ${TARGET_DIR}/boot + ${KERNEL_MAKE} $(VENDOR)am335x-boneblack.dtb $(MAKE_TRACE) + cp $(LINUX_DIR)/arch/arm/boot/dts/$(VENDOR)am335x-boneblack.dtb ${TARGET_DIR}/boot endif ifeq ($(ADK_TARGET_BOARD_BCM28XX),y) ${KERNEL_MAKE} dtbs $(MAKE_TRACE) @@ -231,7 +248,7 @@ ifeq ($(ADK_TARGET_BOARD_BCM28XX),y) done endif ifeq ($(ADK_TARGET_SYSTEM_BANANA_PRO),y) - ${KERNEL_MAKE} sun7i-a20-bananapro.dtb $(MAKE_TRACE) + ${KERNEL_MAKE} $(VENDOR)sun7i-a20-bananapro.dtb $(MAKE_TRACE) endif ifeq ($(ADK_TARGET_SYSTEM_ORANGE_PI0),y) ${KERNEL_MAKE} sun8i-h2-plus-orangepi-zero.dtb $(MAKE_TRACE) @@ -240,11 +257,11 @@ ifeq ($(ADK_TARGET_SYSTEM_BANANA_P2_ZERO),y) ${KERNEL_MAKE} sun8i-h2-plus-bananapi-m2-zero.dtb $(MAKE_TRACE) endif ifeq ($(ADK_TARGET_SYSTEM_SOLIDRUN_IMX6),y) - ${KERNEL_MAKE} imx6q-cubox-i.dtb imx6dl-cubox-i.dtb \ - imx6dl-hummingboard.dtb imx6q-hummingboard.dtb $(MAKE_TRACE) + ${KERNEL_MAKE} $(VENDOR)imx6q-cubox-i.dtb $(VENDOR)imx6dl-cubox-i.dtb \ + $(VENDOR)imx6dl-hummingboard.dtb $(VENDOR)imx6q-hummingboard.dtb $(MAKE_TRACE) endif ifeq ($(ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG),y) - ${KERNEL_MAKE} armada-388-clearfog.dtb $(MAKE_TRACE) + ${KERNEL_MAKE} $(VENDOR)armada-388-clearfog.dtb $(MAKE_TRACE) endif ifeq ($(ADK_TARGET_SYSTEM_ST_STM32F429),y) ${KERNEL_MAKE} dtbs $(MAKE_TRACE) |