projects
/
openwrt
/
staging
/
nbd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e6df32
)
ramips: Add factory image for Qding QC202
author
Coia Prant
<
[email protected]
>
Sat, 20 Sep 2025 09:54:10 +0000
(17:54 +0800)
committer
Hauke Mehrtens
<
[email protected]
>
Tue, 23 Sep 2025 20:51:21 +0000
(22:51 +0200)
Added factory image using mkqdimg.
Signed-off-by: Coia Prant <
[email protected]
>
Link:
https://github.com/openwrt/openwrt/pull/20102
Signed-off-by: Hauke Mehrtens <
[email protected]
>
target/linux/ramips/image/mt76x8.mk
patch
|
blob
|
history
diff --git
a/target/linux/ramips/image/mt76x8.mk
b/target/linux/ramips/image/mt76x8.mk
index 92edb98b0075cb2a419d2ec34ad3a63469ab111d..2555596edf3bd7f29689babde0d4b7622aeeea56 100644
(file)
--- a/
target/linux/ramips/image/mt76x8.mk
+++ b/
target/linux/ramips/image/mt76x8.mk
@@
-37,6
+37,12
@@
define Build/elecom-header
mv
[email protected]
$@
endef
+define Build/qding-header
+ $(STAGING_DIR_HOST)/bin/mkqdimg \
+ -B $(1) -f $@ -o
[email protected]
+ mv
[email protected]
$@
+endef
+
define Build/ravpower-wd009-factory
mkimage -A mips -T standalone -C none -a 0x80010000 -e 0x80010000 \
-n "OpenWrt Bootloader" -d $(UBOOT_PATH)
[email protected]
@@
-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