Skip to content

Commit d4ab84b

Browse files
committed
Merge remote-tracking branch 'op/main'
2 parents cd650d7 + efd1ec5 commit d4ab84b

File tree

175 files changed

+22345
-649
lines changed

Some content is hidden

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

175 files changed

+22345
-649
lines changed

.github/labeler.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
- any-glob-to-any-file:
3131
- "target/linux/bcm27xx/**"
3232
- "package/kernel/bcm27xx-gpu-fw/**"
33+
- "package/utils/bcm27xx-utils/**"
3334
"target/bcm47xx":
3435
- changed-files:
3536
- any-glob-to-any-file:

config/Config-kernel.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,9 +1187,11 @@ endif
11871187

11881188
config KERNEL_NET_L3_MASTER_DEV
11891189
bool "L3 Master device support"
1190+
default y if !SMALL_FLASH
11901191
help
11911192
This module provides glue between core networking code and device
11921193
drivers to support L3 master devices like VRF.
1194+
Increases the compressed kernel size by ~4kB (as of Linux 6.6).
11931195

11941196
config KERNEL_XDP_SOCKETS
11951197
bool "XDP sockets support"

include/image-commands.mk

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -316,12 +316,12 @@ define Build/elecom-product-header
316316
$(eval product=$(word 1,$(1)))
317317
$(eval fw=$(if $(word 2,$(1)),$(word 2,$(1)),$@))
318318

319-
( \
319+
-( \
320320
echo -n -e "ELECOM\x00\x00$(product)" | dd bs=40 count=1 conv=sync; \
321321
echo -n "0.00" | dd bs=16 count=1 conv=sync; \
322322
dd if=$(fw); \
323-
) > $(fw).new
324-
mv $(fw).new $(fw)
323+
) > $(fw).new \
324+
&& mv $(fw).new $(fw) || rm -f $(fw)
325325
endef
326326

327327
define Build/elecom-wrc-gs-factory
@@ -351,10 +351,10 @@ define Build/elx-header
351351
echo -ne "$$($(MKHASH) md5 $@ | fold -s2 | xargs -I {} echo \\x{} | tr -d '\n')" | \
352352
dd bs=58 count=1 conv=sync; \
353353
) > $(KDIR)/tmp/$(DEVICE_NAME).header
354-
$(call Build/xor-image,-p $(xor_pattern) -x)
355-
cat $(KDIR)/tmp/$(DEVICE_NAME).header $@ > $@.new
356-
mv $@.new $@
357-
rm -rf $(KDIR)/tmp/$(DEVICE_NAME).header
354+
-$(call Build/xor-image,-p $(xor_pattern) -x) \
355+
&& cat $(KDIR)/tmp/$(DEVICE_NAME).header $@ > $@.new \
356+
&& mv $@.new $@ \
357+
&& rm -rf $(KDIR)/tmp/$(DEVICE_NAME).header
358358
endef
359359

360360
define Build/eva-image
@@ -614,8 +614,8 @@ define Build/seama-seal
614614
endef
615615

616616
define Build/senao-header
617-
$(STAGING_DIR_HOST)/bin/mksenaofw $(1) -e $@ -o $@.new
618-
mv $@.new $@
617+
-$(STAGING_DIR_HOST)/bin/mksenaofw $(1) -e $@ -o $@.new \
618+
&& mv $@.new $@ || rm -f $@
619619
endef
620620

621621
define Build/sysupgrade-tar
@@ -666,23 +666,22 @@ define Build/tplink-v1-image
666666
endef
667667

668668
define Build/tplink-v2-header
669-
$(STAGING_DIR_HOST)/bin/mktplinkfw2 \
669+
-$(STAGING_DIR_HOST)/bin/mktplinkfw2 \
670670
-c -H $(TPLINK_HWID) -W $(TPLINK_HWREV) -L $(KERNEL_LOADADDR) \
671671
-E $(if $(KERNEL_ENTRY),$(KERNEL_ENTRY),$(KERNEL_LOADADDR)) \
672672
-w $(TPLINK_HWREVADD) -F "$(TPLINK_FLASHLAYOUT)" \
673673
-T $(TPLINK_HVERSION) -V "ver. 2.0" \
674-
-k $@ -o $@.new $(1)
675-
@mv $@.new $@
674+
-k $@ -o $@.new $(1) \
675+
&& mv $@.new $@ || rm -f $@
676676
endef
677677

678678
define Build/tplink-v2-image
679-
$(STAGING_DIR_HOST)/bin/mktplinkfw2 \
679+
-$(STAGING_DIR_HOST)/bin/mktplinkfw2 \
680680
-H $(TPLINK_HWID) -W $(TPLINK_HWREV) \
681681
-w $(TPLINK_HWREVADD) -F "$(TPLINK_FLASHLAYOUT)" \
682682
-T $(TPLINK_HVERSION) -V "ver. 2.0" -a 0x4 -j \
683-
-k $(IMAGE_KERNEL) -r $(IMAGE_ROOTFS) -o $@.new $(1)
684-
cat $@.new >> $@
685-
rm -rf $@.new
683+
-k $(IMAGE_KERNEL) -r $(IMAGE_ROOTFS) -o $@.new $(1) \
684+
&& cat $@.new >> $@ && rm -rf $@.new || rm -f $@
686685
endef
687686

688687
define Build/uImage
@@ -719,8 +718,8 @@ define Build/multiImage
719718
endef
720719

721720
define Build/xor-image
722-
$(STAGING_DIR_HOST)/bin/xorimage -i $@ -o $@.xor $(1)
723-
mv $@.xor $@
721+
-$(STAGING_DIR_HOST)/bin/xorimage -i $@ -o $@.xor $(1) \
722+
&& mv $@.xor $@ || rm -f $@
724723
endef
725724

726725
define Build/zip

include/image.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,9 @@ define Device/Build/initramfs
542542
$(call Kernel/CompileImage/Initramfs,$(KDIR)/target-dir-$$(ROOTFS_ID/$(1)),.$$(ROOTFS_ID/$(1)))
543543
endif
544544
$(1)-initramfs-images: $$(if $$(KERNEL_INITRAMFS),$(BIN_DIR)/$$(KERNEL_INITRAMFS_IMAGE))
545+
546+
.IGNORE: $(BIN_DIR)/$$(KERNEL_INITRAMFS_IMAGE)
547+
545548
$(BIN_DIR)/$$(KERNEL_INITRAMFS_IMAGE): $(KDIR)/tmp/$$(KERNEL_INITRAMFS_IMAGE)
546549
cp $$^ $$@
547550

include/package-pack.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,7 @@ else
355355
) \
356356
), \
357357
$$(prov) )" \
358+
$(if $(DEFAULT_VARIANT),--info "provider-priority:100") \
358359
--script "post-install:$$(ADIR_$(1))/post-install" \
359360
--script "pre-deinstall:$$(ADIR_$(1))/pre-deinstall" \
360361
--info "depends:$$(foreach depends,$$(subst $$(comma),$$(space),$$(subst $$(space),,$$(subst $$(paren_right),,$$(subst $$(paren_left),,$$(Package/$(1)/DEPENDS))))),$$(depends))" \

package/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ ifneq ($(CONFIG_USE_APK),)
130130
--keys-dir $(TOPDIR) \
131131
--sign $(BUILD_KEY_APK_SEC) \
132132
--output packages.adb \
133-
*.apk; \
133+
$$(ls *.apk | grep -v 'kernel\|libc'); \
134134
done
135135
else
136136
@for d in $(PACKAGE_SUBDIRS); do ( \

package/boot/uboot-mediatek/Makefile

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

632+
define U-Boot/mt7988_arcadyan_mozart
633+
NAME:=Arcadyan Mozart
634+
BUILD_SUBTARGET:=filogic
635+
BUILD_DEVICES:=arcadyan_mozart
636+
UBOOT_CONFIG:=mt7988a_arcadyan_mozart
637+
UBOOT_IMAGE:=u-boot.fip
638+
BL2_BOOTDEV:=emmc
639+
BL2_SOC:=mt7988
640+
BL2_DDRTYPE:=comb
641+
DEPENDS:=+trusted-firmware-a-mt7988-emmc-comb
642+
endef
643+
632644
define U-Boot/mt7988_bananapi_bpi-r4-emmc
633645
NAME:=BananaPi BPi-R4
634646
BUILD_SUBTARGET:=filogic
@@ -816,6 +828,7 @@ UBOOT_TARGETS := \
816828
mt7986_xiaomi_redmi-router-ax6000 \
817829
mt7986_zyxel_ex5601-t0 \
818830
mt7986_rfb \
831+
mt7988_arcadyan_mozart \
819832
mt7988_bananapi_bpi-r4-emmc \
820833
mt7988_bananapi_bpi-r4-sdmmc \
821834
mt7988_bananapi_bpi-r4-snand \

0 commit comments

Comments
 (0)