0
0
mirror of https://git.openwrt.org/openwrt/openwrt.git/ synced 2025-10-06 03:02:55 +02:00

ramips: Add factory image for Qding QC202

Added factory image using mkqdimg.

Signed-off-by: Coia Prant <coiaprant@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20102
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Coia Prant
2025-09-20 17:54:10 +08:00
committed by Hauke Mehrtens
parent 8e6df323af
commit d0383bb175

View File

@@ -37,6 +37,12 @@ define Build/elecom-header
mv $@.new $@
endef
define Build/qding-header
$(STAGING_DIR_HOST)/bin/mkqdimg \
-B $(1) -f $@ -o $@.new
mv $@.new $@
endef
define Build/ravpower-wd009-factory
mkimage -A mips -T standalone -C none -a 0x80010000 -e 0x80010000 \
-n "OpenWrt Bootloader" -d $(UBOOT_PATH) $@.new
@@ -647,6 +653,8 @@ define Device/qding_qc202
DEVICE_VENDOR := Qding
DEVICE_MODEL := QC202
DEVICE_PACKAGES := kmod-i2c-mt7628 kmod-gpio-beeper kmod-input-matrix-keypad kmod-input-evdev uboot-envtools
IMAGES += factory.bin
IMAGE/factory.bin := $$(sysupgrade_bin) | qding-header qc202
endef
TARGET_DEVICES += qding_qc202