2013-05-29 01:27:29 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2013 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
include $(INCLUDE_DIR)/image.mk
|
|
|
|
|
2015-11-18 21:35:24 +00:00
|
|
|
#################################################
|
|
|
|
# Images
|
|
|
|
#################################################
|
|
|
|
|
2018-08-26 18:04:08 +00:00
|
|
|
DEVICE_VARS += MKUBIFS_OPTS UBOOT BOOT_SCRIPT
|
2016-07-31 17:27:15 +00:00
|
|
|
|
|
|
|
define Build/boot-overlay
|
|
|
|
rm -rf $@.boot
|
|
|
|
mkdir -p $@.boot
|
2015-11-18 21:35:24 +00:00
|
|
|
|
2016-07-31 17:27:15 +00:00
|
|
|
$(CP) $@ $@.boot/$(IMG_PREFIX)-uImage
|
|
|
|
ln -sf $(IMG_PREFIX)-uImage $@.boot/uImage
|
|
|
|
|
|
|
|
$(foreach dts,$(DEVICE_DTS), \
|
|
|
|
$(CP) \
|
2018-02-08 11:02:24 +00:00
|
|
|
$(DTS_DIR)/$(dts).dtb \
|
2016-07-31 17:27:15 +00:00
|
|
|
$@.boot/$(IMG_PREFIX)-$(dts).dtb; \
|
|
|
|
ln -sf \
|
|
|
|
$(IMG_PREFIX)-$(dts).dtb \
|
|
|
|
$@.boot/$(dts).dtb; \
|
2013-11-18 22:23:42 +00:00
|
|
|
)
|
2015-11-18 21:35:24 +00:00
|
|
|
mkimage -A arm -O linux -T script -C none -a 0 -e 0 \
|
2016-07-31 17:27:15 +00:00
|
|
|
-n '$(DEVICE_ID) OpenWrt bootscript' \
|
2015-11-18 21:35:24 +00:00
|
|
|
-d ./bootscript-$(DEVICE_NAME) \
|
2016-07-31 17:27:15 +00:00
|
|
|
$@.boot/6x_bootscript-$(DEVICE_NAME)
|
|
|
|
|
2015-11-18 21:35:24 +00:00
|
|
|
$(STAGING_DIR_HOST)/bin/mkfs.ubifs \
|
2017-01-09 15:29:16 +00:00
|
|
|
--space-fixup --compr=zlib --squash-uids \
|
2020-05-28 13:57:05 +00:00
|
|
|
$(MKUBIFS_OPTS) -c 16248 \
|
2016-07-31 17:27:15 +00:00
|
|
|
-o $@.boot.ubifs -d $@.boot
|
2016-08-20 18:17:51 +00:00
|
|
|
|
|
|
|
$(TAR) -C $@.boot -cf $@.boot.tar .
|
2013-05-29 01:27:29 +00:00
|
|
|
endef
|
|
|
|
|
2016-04-19 13:46:33 +00:00
|
|
|
define Build/bootfs.tar.gz
|
2016-08-20 18:17:51 +00:00
|
|
|
rm -rf $@.boot
|
|
|
|
mkdir -p $@.boot
|
|
|
|
|
|
|
|
$(TAR) -C $@.boot -xf $(IMAGE_KERNEL).boot.tar
|
|
|
|
$(TAR) -C $@.boot \
|
2016-07-31 17:27:15 +00:00
|
|
|
--numeric-owner --owner=0 --group=0 --transform "s,./,./boot/," \
|
|
|
|
-czvf $@ .
|
2016-04-19 13:46:33 +00:00
|
|
|
endef
|
|
|
|
|
2018-07-09 09:09:53 +00:00
|
|
|
define Build/boot-scr
|
|
|
|
mkimage -A arm -O linux -T script -C none -a 0 -e 0 \
|
|
|
|
-n '$(DEVICE_ID) OpenWrt bootscript' \
|
|
|
|
-d ./bootscript-$(DEVICE_NAME) \
|
|
|
|
$(BIN_DIR)/boot.scr
|
|
|
|
endef
|
|
|
|
|
imx6: Add support for Toradex Apalis family of CoMs
This patch adds support for the following computer on modules (CoM) from
Toradex[A]:
Apalis iMX6 Quad 2GB IT - i.MX 6Quad 800MHz, 2GB DDR3, 4GB eMMC
-40° to +85° C Temp
Apalis iMX6 Quad 1GB - i.MX 6Quad 1GHz, 1GB DDR3, 4GB eMMC
0° to +70° C Temp
Apalis iMX6 Dual 1GB IT - i.MX 6Dual 800MHz, 1GB DDR3, 4GB eMMC
-40° to +85° C Temp
Apalis iMX6 Dual 512MB - i.MX 6Dual 1GHz, 512MB DDR3, 4GB eMMC
0° to +70° C Temp
I've developed and tested it on Quad 2GB IT v1.1A and Dual 512MB v1.1A
CoMs, using Ixora[B] carrier board v1.0A, but it should hopefuly work on
Eval[C] board as well.
A. https://www.toradex.com/computer-on-modules/apalis-arm-family/nxp-freescale-imx-6
B. https://www.toradex.com/products/carrier-board/ixora-carrier-board
C. https://www.toradex.com/products/carrier-board/apalis-evaluation-board
Flashing/recovery instructions:
1. Download and compile imx_loader for OpenWrt from
https://github.com/ynezz/imx_loader
2. Enter recovery mode as desribed in
https://developer.toradex.com/knowledge-base/imx-recovery-mode
3. Connect board via USB to the host computer, check that it's connected
by lsusb:
15a2:0054 Freescale Semiconductor, Inc. i.MX 6Dual/6Quad SystemOnChip
in RecoveryMode
4. Copy following OpenWrt images to imx_loader directory:
SPL
u-boot.img
u-boot-with-spl.imx
openwrt-imx6-apalis-recovery.scr
openwrt-imx6-apalis-squashfs.combined.bin
5. Run imx_usb in imx_loader directory
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2018-11-23 09:33:24 +00:00
|
|
|
define Build/recovery-scr
|
|
|
|
mkimage -A arm -O linux -T script -C none -a 0 -e 0 \
|
|
|
|
-n '$(DEVICE_ID) OpenWrt recovery bootscript' \
|
|
|
|
-d ./recovery-$(DEVICE_NAME) $@
|
|
|
|
endef
|
|
|
|
|
2018-11-23 08:25:13 +00:00
|
|
|
define Build/imx6-combined-image-prepare
|
2018-08-26 18:04:08 +00:00
|
|
|
rm -rf $@.boot
|
|
|
|
mkdir -p $@.boot
|
2018-11-23 08:25:13 +00:00
|
|
|
endef
|
2018-08-26 18:04:08 +00:00
|
|
|
|
2018-11-23 08:25:13 +00:00
|
|
|
define Build/imx6-combined-image-clean
|
|
|
|
rm -rf $@.boot $@.fs
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/imx6-combined-image
|
2018-08-26 18:04:08 +00:00
|
|
|
$(CP) $(IMAGE_KERNEL) $@.boot/uImage
|
|
|
|
|
|
|
|
$(foreach dts,$(DEVICE_DTS), \
|
|
|
|
$(CP) \
|
|
|
|
$(DTS_DIR)/$(dts).dtb \
|
|
|
|
$@.boot/;
|
|
|
|
)
|
|
|
|
|
|
|
|
mkimage -A arm -O linux -T script -C none -a 0 -e 0 \
|
|
|
|
-n '$(DEVICE_ID) OpenWrt bootscript' \
|
|
|
|
-d $(BOOT_SCRIPT) \
|
|
|
|
$@.boot/boot.scr
|
|
|
|
|
|
|
|
cp $@ $@.fs
|
|
|
|
|
|
|
|
$(SCRIPT_DIR)/gen_image_generic.sh $@ \
|
|
|
|
$(CONFIG_TARGET_KERNEL_PARTSIZE) \
|
|
|
|
$@.boot \
|
|
|
|
$(CONFIG_TARGET_ROOTFS_PARTSIZE) \
|
|
|
|
$@.fs \
|
|
|
|
1024
|
2018-11-23 08:25:13 +00:00
|
|
|
endef
|
2018-08-26 18:04:08 +00:00
|
|
|
|
2018-11-23 08:25:13 +00:00
|
|
|
define Build/imx6-sdcard
|
|
|
|
$(Build/imx6-combined-image-prepare)
|
|
|
|
|
|
|
|
$(CP) $(STAGING_DIR_IMAGE)/$(UBOOT)-u-boot.img $@.boot/u-boot.img
|
|
|
|
$(Build/imx6-combined-image)
|
2018-08-26 18:04:08 +00:00
|
|
|
dd if=$(STAGING_DIR_IMAGE)/$(UBOOT)-SPL of=$@ bs=1024 seek=1 conv=notrunc
|
|
|
|
|
2018-11-23 08:25:13 +00:00
|
|
|
$(Build/imx6-combined-image-clean)
|
|
|
|
endef
|
|
|
|
|
imx6: Add support for Toradex Apalis family of CoMs
This patch adds support for the following computer on modules (CoM) from
Toradex[A]:
Apalis iMX6 Quad 2GB IT - i.MX 6Quad 800MHz, 2GB DDR3, 4GB eMMC
-40° to +85° C Temp
Apalis iMX6 Quad 1GB - i.MX 6Quad 1GHz, 1GB DDR3, 4GB eMMC
0° to +70° C Temp
Apalis iMX6 Dual 1GB IT - i.MX 6Dual 800MHz, 1GB DDR3, 4GB eMMC
-40° to +85° C Temp
Apalis iMX6 Dual 512MB - i.MX 6Dual 1GHz, 512MB DDR3, 4GB eMMC
0° to +70° C Temp
I've developed and tested it on Quad 2GB IT v1.1A and Dual 512MB v1.1A
CoMs, using Ixora[B] carrier board v1.0A, but it should hopefuly work on
Eval[C] board as well.
A. https://www.toradex.com/computer-on-modules/apalis-arm-family/nxp-freescale-imx-6
B. https://www.toradex.com/products/carrier-board/ixora-carrier-board
C. https://www.toradex.com/products/carrier-board/apalis-evaluation-board
Flashing/recovery instructions:
1. Download and compile imx_loader for OpenWrt from
https://github.com/ynezz/imx_loader
2. Enter recovery mode as desribed in
https://developer.toradex.com/knowledge-base/imx-recovery-mode
3. Connect board via USB to the host computer, check that it's connected
by lsusb:
15a2:0054 Freescale Semiconductor, Inc. i.MX 6Dual/6Quad SystemOnChip
in RecoveryMode
4. Copy following OpenWrt images to imx_loader directory:
SPL
u-boot.img
u-boot-with-spl.imx
openwrt-imx6-apalis-recovery.scr
openwrt-imx6-apalis-squashfs.combined.bin
5. Run imx_usb in imx_loader directory
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2018-11-23 09:33:24 +00:00
|
|
|
define Build/apalis-emmc
|
|
|
|
$(Build/imx6-combined-image-prepare)
|
|
|
|
$(Build/imx6-combined-image)
|
|
|
|
$(Build/imx6-combined-image-clean)
|
2018-08-26 18:04:08 +00:00
|
|
|
endef
|
|
|
|
|
2015-11-18 21:35:24 +00:00
|
|
|
#################################################
|
|
|
|
# Devices
|
|
|
|
#################################################
|
|
|
|
|
|
|
|
KERNEL_LOADADDR=0x10008000
|
|
|
|
|
|
|
|
define Device/Default
|
2016-07-02 17:33:52 +00:00
|
|
|
PROFILES := Generic
|
2016-07-02 17:12:09 +00:00
|
|
|
FILESYSTEMS := squashfs ext4
|
|
|
|
KERNEL_INSTALL := 1
|
|
|
|
KERNEL_SUFFIX := -uImage
|
|
|
|
KERNEL_NAME := zImage
|
|
|
|
KERNEL_PREFIX := $$(IMAGE_PREFIX)
|
|
|
|
KERNEL := kernel-bin | uImage none
|
|
|
|
IMAGES :=
|
2013-10-18 00:02:45 +00:00
|
|
|
endef
|
|
|
|
|
2015-11-18 21:35:24 +00:00
|
|
|
define Device/ventana
|
2019-09-09 22:03:07 +00:00
|
|
|
DEVICE_VENDOR := Gateworks
|
|
|
|
DEVICE_MODEL := Ventana family
|
|
|
|
DEVICE_VARIANT := normal NAND flash
|
2016-07-02 17:12:09 +00:00
|
|
|
DEVICE_DTS:= \
|
|
|
|
imx6dl-gw51xx \
|
|
|
|
imx6dl-gw52xx \
|
|
|
|
imx6dl-gw53xx \
|
|
|
|
imx6dl-gw54xx \
|
|
|
|
imx6dl-gw551x \
|
|
|
|
imx6dl-gw552x \
|
2017-03-10 00:05:23 +00:00
|
|
|
imx6dl-gw553x \
|
2017-03-10 15:01:12 +00:00
|
|
|
imx6dl-gw5904 \
|
2020-03-11 15:02:58 +00:00
|
|
|
imx6dl-gw5907 \
|
|
|
|
imx6dl-gw5910 \
|
|
|
|
imx6dl-gw5912 \
|
|
|
|
imx6dl-gw5913 \
|
2016-07-02 17:12:09 +00:00
|
|
|
imx6q-gw51xx \
|
|
|
|
imx6q-gw52xx \
|
|
|
|
imx6q-gw53xx \
|
|
|
|
imx6q-gw54xx \
|
|
|
|
imx6q-gw5400-a \
|
|
|
|
imx6q-gw551x \
|
2016-09-01 14:49:28 +00:00
|
|
|
imx6q-gw552x \
|
2017-03-10 15:01:12 +00:00
|
|
|
imx6q-gw553x \
|
2020-03-11 15:02:58 +00:00
|
|
|
imx6q-gw5904 \
|
|
|
|
imx6q-gw5907 \
|
|
|
|
imx6q-gw5910 \
|
|
|
|
imx6q-gw5912 \
|
|
|
|
imx6q-gw5913
|
2017-01-10 09:10:13 +00:00
|
|
|
DEVICE_PACKAGES := kmod-sky2 kmod-sound-core kmod-sound-soc-imx kmod-sound-soc-imx-sgtl5000 \
|
2016-07-02 17:12:09 +00:00
|
|
|
kmod-can kmod-can-flexcan kmod-can-raw \
|
2016-09-06 16:40:25 +00:00
|
|
|
kmod-hwmon-gsc \
|
2017-01-10 08:59:10 +00:00
|
|
|
kmod-leds-gpio kmod-pps-gpio \
|
2016-07-02 17:12:09 +00:00
|
|
|
kobs-ng
|
2016-07-31 17:27:15 +00:00
|
|
|
KERNEL += | boot-overlay
|
2019-09-12 07:37:05 +00:00
|
|
|
IMAGES := nand.ubi bootfs.tar.gz dtb
|
2018-08-26 18:04:08 +00:00
|
|
|
IMAGE_NAME = $$(IMAGE_PREFIX)-$$(1).$$(2)
|
2016-07-31 17:27:15 +00:00
|
|
|
UBINIZE_PARTS = boot=$$(KDIR_KERNEL_IMAGE).boot.ubifs=15
|
2018-11-23 09:54:25 +00:00
|
|
|
BOOT_SCRIPT := bootscript-ventana
|
2016-07-31 17:27:15 +00:00
|
|
|
IMAGE/nand.ubi := append-ubi
|
2019-09-12 07:37:05 +00:00
|
|
|
IMAGE/bootfs.tar.gz := bootfs.tar.gz
|
|
|
|
IMAGE/dtb := install-dtb
|
2016-07-02 17:33:10 +00:00
|
|
|
IMAGE_NAME = $$(IMAGE_PREFIX)-$$(1)-$$(2)
|
2016-07-31 17:27:15 +00:00
|
|
|
PAGESIZE := 2048
|
2016-09-04 06:56:05 +00:00
|
|
|
BLOCKSIZE := 128k
|
2016-07-31 17:27:15 +00:00
|
|
|
MKUBIFS_OPTS := -m $$(PAGESIZE) -e 124KiB
|
|
|
|
endef
|
2017-12-10 22:45:20 +00:00
|
|
|
TARGET_DEVICES += ventana
|
2016-07-31 17:27:15 +00:00
|
|
|
|
|
|
|
define Device/ventana-large
|
|
|
|
$(Device/ventana)
|
2019-09-09 22:03:07 +00:00
|
|
|
DEVICE_VENDOR := Gateworks
|
|
|
|
DEVICE_MODEL := Ventana family
|
|
|
|
DEVICE_VARIANT := large NAND flash
|
2016-07-31 17:27:15 +00:00
|
|
|
DEVICE_NAME := ventana
|
|
|
|
IMAGES := nand.ubi
|
|
|
|
PAGESIZE := 4096
|
2016-09-04 06:56:05 +00:00
|
|
|
BLOCKSIZE := 256k
|
2016-07-31 17:27:15 +00:00
|
|
|
MKUBIFS_OPTS := -m $$(PAGESIZE) -e 248KiB
|
2013-11-18 22:23:40 +00:00
|
|
|
endef
|
2017-12-10 22:45:20 +00:00
|
|
|
TARGET_DEVICES += ventana-large
|
2013-10-18 00:02:45 +00:00
|
|
|
|
2015-11-18 21:35:24 +00:00
|
|
|
define Device/wandboard
|
2019-09-09 22:03:07 +00:00
|
|
|
DEVICE_VENDOR := Wandboard
|
|
|
|
DEVICE_MODEL := Dual
|
2016-07-02 17:12:09 +00:00
|
|
|
DEVICE_DTS := imx6dl-wandboard
|
2013-10-18 00:02:45 +00:00
|
|
|
endef
|
2017-12-10 22:45:20 +00:00
|
|
|
TARGET_DEVICES += wandboard
|
2013-05-29 01:27:29 +00:00
|
|
|
|
2018-07-09 09:09:53 +00:00
|
|
|
define Device/cubox-i
|
2019-09-09 22:03:07 +00:00
|
|
|
DEVICE_VENDOR := SolidRun
|
|
|
|
DEVICE_MODEL := CuBox-i
|
2019-09-12 07:37:05 +00:00
|
|
|
KERNEL := kernel-bin
|
2018-08-26 18:04:08 +00:00
|
|
|
UBOOT := mx6cuboxi
|
|
|
|
BOOT_SCRIPT = bootscript-cubox
|
2018-07-09 09:09:53 +00:00
|
|
|
DEVICE_NAME := cubox
|
2018-09-05 07:56:52 +00:00
|
|
|
DEVICE_PACKAGES := kmod-drm-imx kmod-drm-imx-hdmi kmod-usb-hid
|
2018-08-26 18:04:08 +00:00
|
|
|
DEVICE_DTS := imx6q-cubox-i imx6dl-cubox-i imx6q-hummingboard imx6dl-hummingboard
|
2019-09-12 07:37:05 +00:00
|
|
|
IMAGES := combined.bin dtb
|
2018-08-26 18:04:08 +00:00
|
|
|
FILESYSTEMS := squashfs
|
|
|
|
IMAGE/combined.bin := append-rootfs | pad-extra 128k | imx6-sdcard
|
2019-09-12 07:37:05 +00:00
|
|
|
IMAGE/dtb := install-dtb
|
2018-07-09 09:09:53 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += cubox-i
|
|
|
|
|
imx6: Add support for Toradex Apalis family of CoMs
This patch adds support for the following computer on modules (CoM) from
Toradex[A]:
Apalis iMX6 Quad 2GB IT - i.MX 6Quad 800MHz, 2GB DDR3, 4GB eMMC
-40° to +85° C Temp
Apalis iMX6 Quad 1GB - i.MX 6Quad 1GHz, 1GB DDR3, 4GB eMMC
0° to +70° C Temp
Apalis iMX6 Dual 1GB IT - i.MX 6Dual 800MHz, 1GB DDR3, 4GB eMMC
-40° to +85° C Temp
Apalis iMX6 Dual 512MB - i.MX 6Dual 1GHz, 512MB DDR3, 4GB eMMC
0° to +70° C Temp
I've developed and tested it on Quad 2GB IT v1.1A and Dual 512MB v1.1A
CoMs, using Ixora[B] carrier board v1.0A, but it should hopefuly work on
Eval[C] board as well.
A. https://www.toradex.com/computer-on-modules/apalis-arm-family/nxp-freescale-imx-6
B. https://www.toradex.com/products/carrier-board/ixora-carrier-board
C. https://www.toradex.com/products/carrier-board/apalis-evaluation-board
Flashing/recovery instructions:
1. Download and compile imx_loader for OpenWrt from
https://github.com/ynezz/imx_loader
2. Enter recovery mode as desribed in
https://developer.toradex.com/knowledge-base/imx-recovery-mode
3. Connect board via USB to the host computer, check that it's connected
by lsusb:
15a2:0054 Freescale Semiconductor, Inc. i.MX 6Dual/6Quad SystemOnChip
in RecoveryMode
4. Copy following OpenWrt images to imx_loader directory:
SPL
u-boot.img
u-boot-with-spl.imx
openwrt-imx6-apalis-recovery.scr
openwrt-imx6-apalis-squashfs.combined.bin
5. Run imx_usb in imx_loader directory
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2018-11-23 09:33:24 +00:00
|
|
|
define Device/apalis
|
2019-09-09 22:03:07 +00:00
|
|
|
DEVICE_VENDOR := Toradex
|
|
|
|
DEVICE_MODEL := Apalis family
|
imx6: Add support for Toradex Apalis family of CoMs
This patch adds support for the following computer on modules (CoM) from
Toradex[A]:
Apalis iMX6 Quad 2GB IT - i.MX 6Quad 800MHz, 2GB DDR3, 4GB eMMC
-40° to +85° C Temp
Apalis iMX6 Quad 1GB - i.MX 6Quad 1GHz, 1GB DDR3, 4GB eMMC
0° to +70° C Temp
Apalis iMX6 Dual 1GB IT - i.MX 6Dual 800MHz, 1GB DDR3, 4GB eMMC
-40° to +85° C Temp
Apalis iMX6 Dual 512MB - i.MX 6Dual 1GHz, 512MB DDR3, 4GB eMMC
0° to +70° C Temp
I've developed and tested it on Quad 2GB IT v1.1A and Dual 512MB v1.1A
CoMs, using Ixora[B] carrier board v1.0A, but it should hopefuly work on
Eval[C] board as well.
A. https://www.toradex.com/computer-on-modules/apalis-arm-family/nxp-freescale-imx-6
B. https://www.toradex.com/products/carrier-board/ixora-carrier-board
C. https://www.toradex.com/products/carrier-board/apalis-evaluation-board
Flashing/recovery instructions:
1. Download and compile imx_loader for OpenWrt from
https://github.com/ynezz/imx_loader
2. Enter recovery mode as desribed in
https://developer.toradex.com/knowledge-base/imx-recovery-mode
3. Connect board via USB to the host computer, check that it's connected
by lsusb:
15a2:0054 Freescale Semiconductor, Inc. i.MX 6Dual/6Quad SystemOnChip
in RecoveryMode
4. Copy following OpenWrt images to imx_loader directory:
SPL
u-boot.img
u-boot-with-spl.imx
openwrt-imx6-apalis-recovery.scr
openwrt-imx6-apalis-squashfs.combined.bin
5. Run imx_usb in imx_loader directory
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2018-11-23 09:33:24 +00:00
|
|
|
SUPPORTED_DEVICES := apalis,ixora apalis,eval
|
|
|
|
DEVICE_DTS := \
|
|
|
|
imx6q-apalis-eval \
|
|
|
|
imx6q-apalis-ixora \
|
|
|
|
imx6q-apalis-ixora-v1.1
|
|
|
|
DEVICE_PACKAGES := \
|
|
|
|
kmod-can kmod-can-flexcan kmod-can-raw \
|
|
|
|
kmod-leds-gpio kmod-gpio-button-hotplug \
|
|
|
|
kmod-pps-gpio kmod-rtc-ds1307
|
|
|
|
BOOT_SCRIPT := bootscript-apalis
|
|
|
|
UBOOT := apalis_imx6
|
|
|
|
FILESYSTEMS := squashfs
|
|
|
|
IMAGES := combined.bin sysupgrade.bin
|
|
|
|
IMAGE_NAME = $$(IMAGE_PREFIX)-$$(1).$$(2)
|
|
|
|
IMAGE/combined.bin := append-rootfs | pad-extra 128k | apalis-emmc
|
|
|
|
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
|
|
ARTIFACTS := recovery.scr
|
|
|
|
ARTIFACT/recovery.scr := recovery-scr
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += apalis
|
|
|
|
|
2013-05-29 01:27:29 +00:00
|
|
|
$(eval $(call BuildImage))
|