Skip to content

Commit fe6f6f2

Browse files
Merge branch 'openwrt:main' into main
2 parents fe49a05 + 3207627 commit fe6f6f2

182 files changed

Lines changed: 2541 additions & 984 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.

config/Config-build.in

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,16 @@ menu "Global build settings"
7373
bool "Use APK instead of OPKG to build distribution"
7474
default y
7575

76+
config SIGN_EACH_PACKAGE
77+
bool "Cryptographically sign each package .apk file"
78+
depends on USE_APK
79+
default n if BUILDBOT
80+
default y
81+
help
82+
Sign also the individual package .apk file. Removes the need for
83+
--allow-untrusted when installing self-compiled packages to a
84+
firmware compiled by the same buildhost as public key matches.
85+
7686
comment "General build options"
7787

7888
config TESTING_KERNEL

include/package-pack.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,7 @@ else
605605
$$(APK_SCRIPTS_$(1)) \
606606
--info "depends:$$(foreach depends,$$(subst $$(comma),$$(space),$$(subst $$(space),,$$(subst $$(paren_right),,$$(subst $$(paren_left),,$$(Package/$(1)/DEPENDS))))),$$(depends))" \
607607
--files "$$(IDIR_$(1))" \
608+
$(if $(CONFIG_SIGN_EACH_PACKAGE),--sign $(BUILD_KEY_APK_SEC),) \
608609
--output "$$(PACK_$(1))"
609610
endif
610611

include/target.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,9 @@ ifeq ($(DUMP),1)
317317
ifneq ($(CONFIG_PWM),)
318318
FEATURES += pwm
319319
endif
320+
ifneq ($(CONFIG_REGULATOR),)
321+
FEATURES += regulator
322+
endif
320323
ifneq ($(CONFIG_USB)$(CONFIG_USB_SUPPORT),)
321324
ifneq ($(CONFIG_USB_ARCH_HAS_HCD)$(CONFIG_USB_EHCI_HCD),)
322325
FEATURES += usb

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

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ define Trusted-Firmware-A/mt7986-spim-nand-ubi-ddr4
335335
endef
336336

337337
define Trusted-Firmware-A/mt7986-spim-nand-4k-ddr4
338-
NAME:=MediaTek MT7986 (SPI-NAND via SPIM, DDR4)
338+
NAME:=MediaTek MT7986 (SPI-NAND 4k+256 via SPIM, DDR4)
339339
BOOT_DEVICE:=spim-nand
340340
BUILD_SUBTARGET:=filogic
341341
PLAT:=mt7986
@@ -403,6 +403,15 @@ define Trusted-Firmware-A/mt7986-spim-nand-ubi-ddr3
403403
USE_UBI:=1
404404
endef
405405

406+
define Trusted-Firmware-A/mt7986-spim-nand-4k-ddr3
407+
NAME:=MediaTek MT7986 (SPI-NAND 4k+256 via SPIM, DDR3)
408+
BOOT_DEVICE:=spim-nand
409+
BUILD_SUBTARGET:=filogic
410+
PLAT:=mt7986
411+
DDR_TYPE:=ddr3
412+
NAND_TYPE:=spim:4k+256
413+
endef
414+
406415
define Trusted-Firmware-A/mt7987-emmc-comb
407416
NAME:=MediaTek MT7987 (eMMC)
408417
BOOT_DEVICE:=emmc
@@ -708,6 +717,7 @@ TFA_TARGETS:= \
708717
mt7986-snand-ddr3 \
709718
mt7986-spim-nand-ddr3 \
710719
mt7986-spim-nand-ubi-ddr3 \
720+
mt7986-spim-nand-4k-ddr3 \
711721
mt7986-ram-ddr4 \
712722
mt7986-emmc-ddr4 \
713723
mt7986-nor-ddr4 \

package/boot/uboot-mediatek/Makefile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -856,6 +856,18 @@ define U-Boot/mt7986_zyxel_ex5601-t0
856856
DEPENDS:=+trusted-firmware-a-mt7986-spim-nand-4k-ddr4
857857
endef
858858

859+
define U-Boot/mt7986_zyxel_wx5600-t0
860+
NAME:=Zyxel WX5600-T0
861+
BUILD_SUBTARGET:=filogic
862+
BUILD_DEVICES:=zyxel_wx5600-t0-ubootmod
863+
UBOOT_CONFIG:=mt7986_zyxel_wx5600-t0
864+
UBOOT_IMAGE:=u-boot.fip
865+
BL2_BOOTDEV:=spim-nand-4k
866+
BL2_SOC:=mt7986
867+
BL2_DDRTYPE:=ddr3
868+
DEPENDS:=+trusted-firmware-a-mt7986-spim-nand-4k-ddr3
869+
endef
870+
859871
define U-Boot/mt7987_bananapi_bpi-r4-lite-emmc
860872
NAME:=BananaPi BPi-R4 Lite
861873
BUILD_SUBTARGET:=filogic
@@ -1181,6 +1193,7 @@ UBOOT_TARGETS := \
11811193
mt7986_tplink_tl-xtr8488 \
11821194
mt7986_xiaomi_redmi-router-ax6000 \
11831195
mt7986_zyxel_ex5601-t0 \
1196+
mt7986_zyxel_wx5600-t0 \
11841197
mt7986_rfb \
11851198
mt7987_bananapi_bpi-r4-lite-emmc \
11861199
mt7987_bananapi_bpi-r4-lite-sdmmc \

0 commit comments

Comments
 (0)