Skip to content

Commit 0037c50

Browse files
committed
merge tag: v25.12.4
1 parent 9f2a7c2 commit 0037c50

464 files changed

Lines changed: 11074 additions & 2716 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

feeds.conf.default

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
src-git packages https://git.openwrt.org/feed/packages.git^268d92d3d46147efe1e81892e3a618f8bbd4806b
2-
src-git luci https://git.openwrt.org/project/luci.git^067535eaf51a59582b775a8b588a9b05810f8030
3-
src-git routing https://git.openwrt.org/feed/routing.git^5b23ea12d417e5dba99788c5b34abdae81cccf33
1+
src-git packages https://git.openwrt.org/feed/packages.git^f91b06b3faff7ad3c8cbeb1ab39cef680d2f28ed
2+
src-git luci https://git.openwrt.org/project/luci.git^e9ebca7598ce2f754b76267fd66bf2b85e6e4347
3+
src-git routing https://git.openwrt.org/feed/routing.git^b2097c85bef85251364f59a6b2a3ed1f9f5c0c21
44
src-git telephony https://git.openwrt.org/feed/telephony.git^2618106d5846a4a542fdf5809f0d3ed228ce439b
55
src-git video https://github.com/openwrt/video.git^094bf58da6682f895255a35a84349a79dab4bf95
66
#src-git kenzo https://github.com/kenzok8/openwrt-packages

include/image-commands.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ define Build/copy-file
324324
endef
325325

326326
# Create a header for a D-Link AI series recovery image and add it at the beginning of the image
327-
# Currently supported: AQUILA M30, EAGLE M32 and R32
327+
# Currently supported: AQUILA E30 and M30, EAGLE M32 and R32
328328
# Arguments:
329329
# 1: Start string of the header
330330
# 2: Firmware version

include/version.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ PKG_CONFIG_DEPENDS += \
2727
sanitize = $(call tolower,$(subst _,-,$(subst $(space),-,$(1))))
2828

2929
VERSION_NUMBER:=$(call qstrip,$(CONFIG_VERSION_NUMBER))
30-
VERSION_NUMBER:=$(if $(VERSION_NUMBER),$(VERSION_NUMBER),25.12.2)
30+
VERSION_NUMBER:=$(if $(VERSION_NUMBER),$(VERSION_NUMBER),25.12.4)
3131

3232
VERSION_CODE:=$(call qstrip,$(CONFIG_VERSION_CODE))
33-
VERSION_CODE:=$(if $(VERSION_CODE),$(VERSION_CODE),r32802-f505120278)
33+
VERSION_CODE:=$(if $(VERSION_CODE),$(VERSION_CODE),r32933-4ccb782af7)
3434

3535
VERSION_REPO:=$(call qstrip,$(CONFIG_VERSION_REPO))
36-
VERSION_REPO:=$(if $(VERSION_REPO),$(VERSION_REPO),https://downloads.openwrt.org/releases/25.12.2)
36+
VERSION_REPO:=$(if $(VERSION_REPO),$(VERSION_REPO),https://downloads.openwrt.org/releases/25.12.4)
3737

3838
VERSION_DIST:=$(call qstrip,$(CONFIG_VERSION_DIST))
3939
VERSION_DIST:=$(if $(VERSION_DIST),$(VERSION_DIST),OpenWrt)

package/base-files/files/lib/upgrade/common.sh

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ part_magic_fat() {
167167

168168
export_bootdevice() {
169169
local cmdline uuid blockdev uevent line class
170-
local MAJOR MINOR DEVNAME DEVTYPE
170+
local MAJOR MINOR DEVNAME DEVTYPE DISKSEQ PARTN
171171
local rootpart="$(cmdline_get_var root)"
172172

173173
case "$rootpart" in
@@ -216,25 +216,26 @@ export_bootdevice() {
216216
while read line; do
217217
export -n "$line"
218218
done < "$uevent"
219-
export BOOTDEV_MAJOR=$MAJOR
220-
export BOOTDEV_MINOR=$MINOR
219+
export BOOTDEV_DISKSEQ=$DISKSEQ
221220
return 0
222221
fi
223222

224223
return 1
225224
}
226225

227226
export_partdevice() {
228-
local var="$1" offset="$2"
229-
local uevent line MAJOR MINOR DEVNAME DEVTYPE
227+
local var="$1" partn="$2"
228+
local uevent line MAJOR MINOR DEVNAME DEVTYPE DISKSEQ PARTN
230229

231230
for uevent in /sys/class/block/*/uevent; do
232231
while read line; do
233232
export -n "$line"
234233
done < "$uevent"
235-
if [ "$BOOTDEV_MAJOR" = "$MAJOR" -a $(($BOOTDEV_MINOR + $offset)) = "$MINOR" -a -b "/dev/$DEVNAME" ]; then
236-
export "$var=$DEVNAME"
237-
return 0
234+
if [ "$BOOTDEV_DISKSEQ" = "$DISKSEQ" -a -b "/dev/$DEVNAME" ]; then
235+
if [ "$PARTN" = "$partn" -a "$DEVTYPE" = "partition" ] || [ "$partn" = "0" -a "$DEVTYPE" = "disk" ]; then
236+
export "$var=$DEVNAME"
237+
return 0
238+
fi
238239
fi
239240
done
240241

package/base-files/files/sbin/sysupgrade

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,12 +201,17 @@ build_list_of_backup_overlay_files() {
201201

202202
# do not backup files from packages, except those listed
203203
# in conffiles and keep.d
204-
{
204+
if [ -f /usr/lib/opkg/status ]; then
205205
find /usr/lib/opkg/info -type f -name "*.list" -exec cat {} \;
206206
find /usr/lib/opkg/info -type f -name "*.control" -exec sed \
207207
-ne '/^Alternatives/{s/^Alternatives: //;s/, /\n/g;p}' {} \; |
208208
cut -f2 -d:
209-
} | grep -v -x -F -f $conffiles |
209+
elif [ -d /lib/apk/packages ]; then
210+
find /lib/apk/packages -type f -name "*.list" -exec cat {} \;
211+
find /lib/apk/packages -type f -name "*.alternatives" -exec cat {} \; |
212+
tr ' ' '\n' |
213+
cut -f2 -d:
214+
fi | grep -v -x -F -f $conffiles |
210215
grep -v -x -F -f $keepfiles | sort -u > "$packagesfiles"
211216
rm -f "$keepfiles" "$conffiles"
212217
fi
@@ -217,10 +222,14 @@ build_list_of_backup_overlay_files() {
217222
( cd /overlay/upper/; find .$SAVE_OVERLAY_PATH \( -type f -o -type l \) $find_filter | sed \
218223
-e 's,^\.,,' \
219224
-e '\,^/etc/board.json$,d' \
225+
-e '\,^/etc/luci-uploads/\.placeholder,d' \
220226
-e '\,/[^/]*-opkg$,d' \
221227
-e '\,^/etc/urandom.seed$,d' \
228+
-e '\,^/etc/apk/world$,d' \
222229
-e "\,^$INSTALLED_PACKAGES$,d" \
223230
-e '\,^/usr/lib/opkg/.*,d' \
231+
-e '\,^/lib/apk/.*,d' \
232+
-e '\,^/run$,d' \
224233
) | grep -v -x -F -f $packagesfiles > "$file"
225234

226235
rm -f "$packagesfiles"
@@ -298,6 +307,9 @@ create_backup_archive() {
298307
\( -exec test -f /overlay/upper/{} \; -exec echo {} overlay \; \) -o \
299308
\( -exec echo {} unknown \; \) \
300309
\) | sed -e 's,.*/,,;s/\.list /\t/')" || ret=1
310+
else
311+
echo "Failed to detect installed packages metadata files." >&2
312+
ret=1
301313
fi
302314
fi
303315
fi
@@ -395,7 +407,7 @@ json_get_var forceable "forceable"
395407
}
396408

397409
if [ -n "$CONF_IMAGE" ]; then
398-
case "$(get_magic_word $CONF_IMAGE cat)" in
410+
case "$(get_magic_word "$CONF_IMAGE" cat)" in
399411
# .gz files
400412
1f8b) ;;
401413
*)

package/base-files/image-config.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ if VERSIONOPT
198198
config VERSION_REPO
199199
string
200200
prompt "Release repository"
201-
default "https://downloads.openwrt.org/releases/25.12.2"
201+
default "https://downloads.openwrt.org/releases/25.12.4"
202202
help
203203
This is the repository address embedded in the image, it defaults
204204
to the trunk snapshot repo; the url may contain the following placeholders:

package/boot/arm-trusted-firmware-mediatek/Makefile

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,16 @@ define Trusted-Firmware-A/mt7981-cudy-ddr3
272272
FIP_SIZE:=0x200000
273273
endef
274274

275+
define Trusted-Firmware-A/mt7981-cudy-ddr4
276+
NAME:=Cudy (SPI-NAND via SPIM, DDR4)
277+
BOOT_DEVICE:=spim-nand
278+
BUILD_SUBTARGET:=filogic
279+
PLAT:=mt7981
280+
DDR_TYPE:=ddr4
281+
FIP_OFFSET:=0x3c0000
282+
FIP_SIZE:=0x200000
283+
endef
284+
275285
define Trusted-Firmware-A/mt7986-ram-ddr4
276286
NAME:=MediaTek MT7986 (RAM, DDR4)
277287
BOOT_DEVICE:=ram
@@ -335,7 +345,7 @@ define Trusted-Firmware-A/mt7986-spim-nand-ubi-ddr4
335345
endef
336346

337347
define Trusted-Firmware-A/mt7986-spim-nand-4k-ddr4
338-
NAME:=MediaTek MT7986 (SPI-NAND via SPIM, DDR4)
348+
NAME:=MediaTek MT7986 (SPI-NAND 4k+256 via SPIM, DDR4)
339349
BOOT_DEVICE:=spim-nand
340350
BUILD_SUBTARGET:=filogic
341351
PLAT:=mt7986
@@ -403,6 +413,15 @@ define Trusted-Firmware-A/mt7986-spim-nand-ubi-ddr3
403413
USE_UBI:=1
404414
endef
405415

416+
define Trusted-Firmware-A/mt7986-spim-nand-4k-ddr3
417+
NAME:=MediaTek MT7986 (SPI-NAND 4k+256 via SPIM, DDR3)
418+
BOOT_DEVICE:=spim-nand
419+
BUILD_SUBTARGET:=filogic
420+
PLAT:=mt7986
421+
DDR_TYPE:=ddr3
422+
NAND_TYPE:=spim:4k+256
423+
endef
424+
406425
define Trusted-Firmware-A/mt7987-emmc-comb
407426
NAME:=MediaTek MT7987 (eMMC)
408427
BOOT_DEVICE:=emmc
@@ -673,13 +692,15 @@ TFA_TARGETS:= \
673692
mt7981-sdmmc-ddr4 \
674693
mt7981-spim-nand-ddr4 \
675694
mt7981-cudy-ddr3 \
695+
mt7981-cudy-ddr4 \
676696
mt7986-ram-ddr3 \
677697
mt7986-emmc-ddr3 \
678698
mt7986-nor-ddr3 \
679699
mt7986-sdmmc-ddr3 \
680700
mt7986-snand-ddr3 \
681701
mt7986-spim-nand-ddr3 \
682702
mt7986-spim-nand-ubi-ddr3 \
703+
mt7986-spim-nand-4k-ddr3 \
683704
mt7986-ram-ddr4 \
684705
mt7986-emmc-ddr4 \
685706
mt7986-nor-ddr4 \

package/boot/uboot-at91/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ endef
104104
define U-Boot/sama5d4_xplained_nandflash
105105
NAME:=SAMA5D4 Xplained board (NandFlash)
106106
BUILD_SUBTARGET:=sama5
107-
BUILD_DEVICES:=microchip_sama5d3-xplained
107+
BUILD_DEVICES:=microchip_sama5d4-xplained
108108
endef
109109

110110
define U-Boot/sama5d27_som1_ek_mmc

package/boot/uboot-mediatek/Makefile

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,54 @@ define U-Boot/mt7981_cudy_wbr3000uax-v1
337337
DEPENDS:=+trusted-firmware-a-mt7981-cudy-ddr3
338338
endef
339339

340+
define U-Boot/mt7981_cudy_wr3000e-v1
341+
NAME:=Cudy WR3000E v1
342+
BUILD_SUBTARGET:=filogic
343+
BUILD_DEVICES:=cudy_wr3000e-v1-ubootmod
344+
UBOOT_CONFIG:=mt7981_cudy_wr3000e-v1
345+
UBOOT_IMAGE:=u-boot.fip
346+
BL2_BOOTDEV:=cudy
347+
BL2_SOC:=mt7981
348+
BL2_DDRTYPE:=ddr3
349+
DEPENDS:=+trusted-firmware-a-mt7981-cudy-ddr3
350+
endef
351+
352+
define U-Boot/mt7981_cudy_wr3000s-v1
353+
NAME:=Cudy WR3000S v1
354+
BUILD_SUBTARGET:=filogic
355+
BUILD_DEVICES:=cudy_wr3000s-v1-ubootmod
356+
UBOOT_CONFIG:=mt7981_cudy_wr3000s-v1
357+
UBOOT_IMAGE:=u-boot.fip
358+
BL2_BOOTDEV:=cudy
359+
BL2_SOC:=mt7981
360+
BL2_DDRTYPE:=ddr3
361+
DEPENDS:=+trusted-firmware-a-mt7981-cudy-ddr3
362+
endef
363+
364+
define U-Boot/mt7981_cudy_wr3000h-v1
365+
NAME:=Cudy WR3000H v1
366+
BUILD_SUBTARGET:=filogic
367+
BUILD_DEVICES:=cudy_wr3000h-v1-ubootmod
368+
UBOOT_CONFIG:=mt7981_cudy_wr3000h-v1
369+
UBOOT_IMAGE:=u-boot.fip
370+
BL2_BOOTDEV:=cudy
371+
BL2_SOC:=mt7981
372+
BL2_DDRTYPE:=ddr3
373+
DEPENDS:=+trusted-firmware-a-mt7981-cudy-ddr3
374+
endef
375+
376+
define U-Boot/mt7981_cudy_wr3000p-v1
377+
NAME:=Cudy WR3000P v1
378+
BUILD_SUBTARGET:=filogic
379+
BUILD_DEVICES:=cudy_wr3000p-v1-ubootmod
380+
UBOOT_CONFIG:=mt7981_cudy_wr3000p-v1
381+
UBOOT_IMAGE:=u-boot.fip
382+
BL2_BOOTDEV:=cudy
383+
BL2_SOC:=mt7981
384+
BL2_DDRTYPE:=ddr4
385+
DEPENDS:=+trusted-firmware-a-mt7981-cudy-ddr4
386+
endef
387+
340388
define U-Boot/mt7981_glinet_gl-mt2500
341389
NAME:=GL.iNet GL-MT2500
342390
BUILD_SUBTARGET:=filogic
@@ -856,6 +904,18 @@ define U-Boot/mt7986_zyxel_ex5601-t0
856904
DEPENDS:=+trusted-firmware-a-mt7986-spim-nand-4k-ddr4
857905
endef
858906

907+
define U-Boot/mt7986_zyxel_wx5600-t0
908+
NAME:=Zyxel WX5600-T0
909+
BUILD_SUBTARGET:=filogic
910+
BUILD_DEVICES:=zyxel_wx5600-t0-ubootmod
911+
UBOOT_CONFIG:=mt7986_zyxel_wx5600-t0
912+
UBOOT_IMAGE:=u-boot.fip
913+
BL2_BOOTDEV:=spim-nand-4k
914+
BL2_SOC:=mt7986
915+
BL2_DDRTYPE:=ddr3
916+
DEPENDS:=+trusted-firmware-a-mt7986-spim-nand-4k-ddr3
917+
endef
918+
859919
define U-Boot/mt7987_bananapi_bpi-r4-lite-emmc
860920
NAME:=BananaPi BPi-R4 Lite
861921
BUILD_SUBTARGET:=filogic
@@ -1139,6 +1199,10 @@ UBOOT_TARGETS := \
11391199
mt7981_comfast_cf-wr632ax \
11401200
mt7981_cudy_tr3000-v1 \
11411201
mt7981_cudy_wbr3000uax-v1 \
1202+
mt7981_cudy_wr3000e-v1 \
1203+
mt7981_cudy_wr3000s-v1 \
1204+
mt7981_cudy_wr3000h-v1 \
1205+
mt7981_cudy_wr3000p-v1 \
11421206
mt7981_gatonetworks_gdsp \
11431207
mt7981_glinet_gl-mt2500 \
11441208
mt7981_glinet_gl-x3000 \
@@ -1181,6 +1245,7 @@ UBOOT_TARGETS := \
11811245
mt7986_tplink_tl-xtr8488 \
11821246
mt7986_xiaomi_redmi-router-ax6000 \
11831247
mt7986_zyxel_ex5601-t0 \
1248+
mt7986_zyxel_wx5600-t0 \
11841249
mt7986_rfb \
11851250
mt7987_bananapi_bpi-r4-lite-emmc \
11861251
mt7987_bananapi_bpi-r4-lite-sdmmc \

0 commit comments

Comments
 (0)