mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 15:56:49 +00:00
496d32cb78
Manually refreshed: - 903-MIPS-DTS-img-marduk-Add-NXP-SC16IS752IPW.patch - 905-MIPS-DTS-img-marduk-Add-led-aliases.patch (led node was renamed to led-1) Automatically refreshed: - 109-MIPS-DTS-img-marduk-switch-mmc-to-1-bit-mode.patch - 401-mtd-nor-support-mtd-name-from-device-tree.patch - 901-MIPS-DTS-img-marduk-Add-SPI-NAND-flash.patch - 902-MIPS-DTS-img-marduk-Add-Cascoda-CA8210-6LoWPAN.patch - 904-MIPS-DTS-img-marduk-Add-partition-name.patch Enable testing kernel. Co-Developed-by: Hauke Mehrtens <hauke@hauke-m.de> Tested-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Nick Hainke <vincent@systemli.org>
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Copyright (C) 2017 OpenWrt.org
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
include $(INCLUDE_DIR)/image.mk
|
|
|
|
ifdef CONFIG_LINUX_5_10
|
|
KERNEL_LOADADDR := 0x80400000
|
|
else
|
|
KERNEL_LOADADDR := 0x80100000
|
|
endif
|
|
|
|
define Device/Default
|
|
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
|
|
DEVICE_DTS_CONFIG := config@1
|
|
IMAGES := factory.ubi sysupgrade.tar
|
|
IMAGE/factory.ubi := append-ubi
|
|
IMAGE/sysupgrade.tar := sysupgrade-tar
|
|
endef
|
|
|
|
define Device/img_creator-ci40
|
|
DEVICE_VENDOR := Imagination Technologies
|
|
DEVICE_MODEL := Creator Ci40 (VL-62899)
|
|
DEVICE_ALT0_VENDOR := Imagination Technologies
|
|
DEVICE_ALT0_MODEL := Marduk board
|
|
BOARD_NAME := img,pistachio-marduk
|
|
DEVICE_DTS := img/pistachio_marduk
|
|
BLOCKSIZE := 256KiB
|
|
PAGESIZE := 4KiB
|
|
DEVICE_PACKAGES := kmod-tpm-i2c-infineon kmod-ca8210 wpan-tools
|
|
endef
|
|
|
|
TARGET_DEVICES += img_creator-ci40
|
|
|
|
|
|
$(eval $(call BuildImage))
|