2021-02-10 13:52:34 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2017-02-02 09:42:04 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2017 OpenWrt.org
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
include $(INCLUDE_DIR)/image.mk
|
|
|
|
|
|
|
|
KERNEL_LOADADDR := 0x80400000
|
|
|
|
|
|
|
|
define Device/Default
|
2017-03-17 16:00:39 +00:00
|
|
|
PROFILES := Default
|
|
|
|
FILESYSTEMS := squashfs
|
|
|
|
KERNEL_DEPENDS = $$(wildcard $$(DTS_DIR)/$$(DEVICE_DTS).dts)
|
|
|
|
KERNEL = kernel-bin | gzip | fit gzip $$(DTS_DIR)/$$(DEVICE_DTS).dtb
|
|
|
|
KERNEL_SUFFIX := -kernel.itb
|
|
|
|
KERNEL_INSTALL := 1
|
|
|
|
KERNEL_IN_UBI := 1
|
2021-10-24 18:13:23 +00:00
|
|
|
DEVICE_DTS_CONFIG := config@1
|
2017-03-17 16:00:39 +00:00
|
|
|
IMAGES := factory.ubi sysupgrade.tar
|
|
|
|
IMAGE/factory.ubi := append-ubi
|
|
|
|
IMAGE/sysupgrade.tar := sysupgrade-tar
|
2017-02-02 09:42:04 +00:00
|
|
|
endef
|
|
|
|
|
2020-08-20 20:18:40 +00:00
|
|
|
define Device/img_creator-ci40
|
2019-09-25 22:02:21 +00:00
|
|
|
DEVICE_VENDOR := Imagination Technologies
|
|
|
|
DEVICE_MODEL := Creator Ci40 (VL-62899)
|
|
|
|
DEVICE_ALT0_VENDOR := Imagination Technologies
|
|
|
|
DEVICE_ALT0_MODEL := Marduk board
|
2017-03-17 16:02:55 +00:00
|
|
|
BOARD_NAME := img,pistachio-marduk
|
2017-03-17 16:00:39 +00:00
|
|
|
DEVICE_DTS := img/pistachio_marduk
|
|
|
|
BLOCKSIZE := 256KiB
|
|
|
|
PAGESIZE := 4KiB
|
2020-08-21 09:04:57 +00:00
|
|
|
DEVICE_PACKAGES := kmod-tpm-i2c-infineon kmod-ca8210 wpan-tools
|
2017-02-02 09:42:04 +00:00
|
|
|
endef
|
|
|
|
|
2020-08-20 20:18:40 +00:00
|
|
|
TARGET_DEVICES += img_creator-ci40
|
2017-02-02 09:42:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
$(eval $(call BuildImage))
|