Skip to content
成功

変更履歴

概要

  1. uboot-tools: validate all uImage.FIT sub-images (commit: 27adf03) (details)
  2. udebug: add missing dependencies (commit: b0710e9) (details)
  3. qualcommax: fix ECC strength of SPI-NAND flash on GL-iNet GL-B3000 (commit: aa6d245) (details)
  4. lantiq: fix syntax error for fritz736x (commit: 38b14a8) (details)
  5. uboot-mvebu: rb5009: disable YAFFS (commit: 4710a1f) (details)
  6. mediatek: filogic: fix mistaken executable bit on dts file (commit: f733442) (details)
  7. mediatek: add support for Routerich AX3000 v1 (commit: fdb6962) (details)
  8. mediatek: filogic: add support for ASUS RT-AX52 (commit: 50d9ca6) (details)
  9. mediatek: fix GL.iNet GL-MT2500 preinit interface (commit: 30618d4) (details)
  10. mediatek: add missing pipe (commit: 6b1d0ce) (details)
  11. kernel: fix UDPv6 GSO segmentation with NAT (commit: 5501a50) (details)
  12. generic: convert MTK PCS patch to .remove_new (commit: 9073b48) (details)
  13. qualcommax: ipq50xx: drop unused factory.ubi for ELECOM WRC-X3000GS2 (commit: f22d872) (details)
コミット 27adf03f703319f4a6900b07be5f6786045a6dad by daniel
uboot-tools: validate all uImage.FIT sub-images

uImage.FIT validation was restricted to certain sub-image types
which is problematic as it then won't validate eg. 'filesystem' type
subimages. Also prevent decompressing sub-images into a arbitrary
sized buffer just to then free that buffer -- there is not need to
do this and creating malicious compressed payloads which overflow the
buffer is too easy.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(commit: 27adf03)
The file was addedpackage/boot/uboot-tools/patches/014-tools-fit_check_sign-no-decompress.patch
The file was modifiedpackage/boot/uboot-tools/Makefile (diff)
The file was addedpackage/boot/uboot-tools/patches/013-tools-fit_check_sign-all-image-types.patch
コミット b0710e964df705079a09435e87b1ecc3058d33bf by nbd
udebug: add missing dependencies

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(commit: b0710e9)
The file was modifiedpackage/libs/udebug/Makefile (diff)
コミット aa6d245e399112d5498344e6432ff197e7bb63df by robimarko
qualcommax: fix ECC strength of SPI-NAND flash on GL-iNet GL-B3000

Fix nand-ecc-strength property in the spi-nand node of GL-iNet GL-B3000
to 4, to solve the following ECC error on that spi-nand chip.

[    1.551618] ubi0: attaching mtd11
[    1.552331] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 0:0, read only 64 bytes, retry
[    1.554455] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 0:0, read only 64 bytes, retry
[    1.565931] ubi0 warning: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 0:0, read only 64 bytes, retry
[    1.576568] ubi0 error: ubi_io_read: error -74 (ECC error) while reading 64 bytes from PEB 0:0, read 64 bytes
[    1.587146] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 6.6.87 #0
[    1.597153] Hardware name: GL.iNet GL-B3000 (DT)
[    1.602881] Call trace:
[    1.607739]  dump_backtrace+0xa0/0xe0
[    1.609910]  show_stack+0x18/0x24
[    1.613728]  dump_stack_lvl+0x48/0x60
[    1.617027]  dump_stack+0x18/0x24
[    1.620672]  ubi_io_read+0x11c/0x32c
[    1.623972]  ubi_io_read_ec_hdr+0x50/0x1f0
[    1.627618]  ubi_attach+0x35c/0x133c
[    1.631524]  ubi_attach_mtd_dev+0x494/0xaf4
[    1.635257]  ubi_init_attach+0xac/0x2e4
[    1.639163]  do_one_initcall+0x6c/0x1fc
[    1.642983]  kernel_init_freeable+0x204/0x2e4
[    1.646803]  kernel_init+0x28/0x1dc
[    1.651316]  ret_from_fork+0x10/0x20

The GL-B3000 has a Winbond W25N01GW and the spare size (oobsize) of it
is 64. So the maximum available ECC strength with the qpic-snand driver
is 4 but not 8.
The "nand-ecc-strength" property was not used before the commit
fc3ff2af0c ("qualcommax: allow overriding ECC strength for qpic-snand")
and calculated from the registered spare size in the Linux Kernel. As a
result, we had no issues on the GL-B3000 with the wrong ECC strength
value.

Fixes: 3307fe8ee4 ("qualcommax: ipq50xx: add support for GL.iNET GL-B3000")
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18595
Signed-off-by: Robert Marko <robimarko@gmail.com>
(commit: aa6d245)
The file was modifiedtarget/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-gl-b3000.dts (diff)
コミット 38b14a8308642f779cccf3ff9b7b11b6fb7859c2 by robimarko
lantiq: fix syntax error for fritz736x

Add missing semicolon to the end of the property.
Remove whitespace while at it.

Fixes: 5a3b9d88f158 ("lantiq: Improve support for LED's fritz736x")
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Link: https://github.com/openwrt/openwrt/pull/18594
Signed-off-by: Robert Marko <robimarko@gmail.com>
(commit: 38b14a8)
The file was modifiedtarget/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz736x.dtsi (diff)
コミット 4710a1f125afb70d15060227e663371502eb2c59 by robimarko
uboot-mvebu: rb5009: disable YAFFS

YAFFS support in U-Boot is basically abandoned and will even fail to
build with GCC14, so simply disable it.

Link: https://github.com/openwrt/openwrt/pull/18598
Signed-off-by: Robert Marko <robimarko@gmail.com>
(commit: 4710a1f)
The file was modifiedpackage/boot/uboot-mvebu/patches/101-net-mvpp2-fix-10GBase-R-support.patch (diff)
The file was modifiedpackage/boot/uboot-mvebu/patches/102-arm-mvebu-add-support-for-MikroTik-RB5009UG-S-IN.patch (diff)
コミット f733442c028ffdd1747e4ac670cc76954c278a1c by mail
mediatek: filogic: fix mistaken executable bit on dts file

This commit fixes mistaken executable bit on
mt7981b-mercusys-mr80x-v3.dts file.

Fixes: 7921e48d4357 ("mediatek: add support for Mercusys MR80X v3")
Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>
(commit: f733442)
The file was modifiedtarget/linux/mediatek/dts/mt7981b-mercusys-mr80x-v3.dts (diff)
コミット fdb6962f20aaaa703ce91338f5efcc1d055677c8 by mail
mediatek: add support for Routerich AX3000 v1

Routerich AX3000 v1 is a wireless WiFi 6 router.

Specification
-------------
- SoC       : MediaTek MT7981BA dual-core ARM Cortex-A53 1.3 GHz
- RAM       : DDR3 512 MiB
- Flash     : SPI-NAND 128 MiB (Winbond)
- WLAN      : MediaTek MT7976CN dual-band WiFi 6
  - 2.4 GHz : b/g/n/ax, MIMO 2x2
  - 5 GHz   : a/n/ac/ax, MIMO 2x2
- Ethernet  : 10/100/1000 Mbps x3, LAN (MediaTek MT7531AE)
              10/100/1000 Mbps x1, WAN (MT7981 internal PHY)
- USB       : 1x 3.0 with power control
- UART      : through-hole on PCB
  - [J500] GND, TX, RX, 3.3V (115200n8)
- Buttons   : Mesh, Reset
- LEDs      : 1x Power (Blue)
              1x WiFi 2.4 GHz (Blue)
              1x WiFi 5 GHz (Red)
              1x Mesh (Blue)
              3x LAN activity (Blue)
              1x WAN activity (Blue)
              1x WAN no-internet (Red)
- Power     : 12 VDC, 1.5 A

Installation
------------
Flash OpenWrt 'sysupgrade.bin' image using stock firmware web-interface
(without keeping settings).

Return to stock
---------------
Install stock firmware image (without keeping settings) using OpenWrt
sysupgrade method.

Recovery
--------
Connect uart, use u-boot menu to flash stock firmware image or boot
OpenWrt initramfs image.

MAC addresses
-------------
+---------+-------------------+-----------+
|         | MAC               | Algorithm |
+---------+-------------------+-----------+
| WAN     | 24:0f:5e:xx:xx:08 | label     |
| LAN     | 24:0f:5e:xx:xx:09 | label+1   |
| WLAN 2g | 24:0f:5e:xx:xx:0a | label+2   |
| WLAN 5g | 24:0f:5e:xx:xx:0b | label+3   |
+---------+-------------------+-----------+
The WLAN 2g MAC was found in 'Factory', 0x4

Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>
(commit: fdb6962)
The file was modifiedtarget/linux/mediatek/image/filogic.mk (diff)
The file was modifiedtarget/linux/mediatek/filogic/base-files/etc/board.d/01_leds (diff)
The file was addedtarget/linux/mediatek/dts/mt7981b-routerich-ax3000-v1.dts
The file was modifiedtarget/linux/mediatek/filogic/base-files/etc/board.d/02_network (diff)
The file was modifiedpackage/boot/uboot-tools/uboot-envtools/files/mediatek_filogic (diff)
コミット 50d9ca6e5a04724e4263a348bdbe5ff4b1c43998 by mail
mediatek: filogic: add support for ASUS RT-AX52

Hardware
--------
SOC:   MediaTek MT7981b
RAM:   256MB DDR3
FLASH: 128MB SPI-NAND (Winbond W25N01GV)
WIFI:  Mediatek MT7981b DBDC 802.11ax 2.4/5 GHz
ETH:   MediaTek MT7531 Switch
UART:  3V3 115200 8N1 (Pinout silkscreened / Do not connect VCC)

Installation
-----------------------------------------------------------
Vendor-UI Method
-----------------------------------------------------------
1. Download the OpenWrt initramfs.trx image.

2. Connect the PC via LAN to one of the yellow router ports and wait
   until your PC to get a DHCP lease.

3. Browse to http://192.168.50.1

4. If your router is brand new, finish the setup process and log into
   the Web-UI.

5. Navigate to Administration -> Firmware Upgrade and upload the
   downloaded OpenWrt image.

6. Wait for OpenWrt to boot. Transfer the sysupgrade image to the device
   using scp and install using sysupgrade.

   $ sysupgrade -n <path-to-sysupgrade.bin>
-----------------------------------------------------------
TFTP Method
-----------------------------------------------------------
1. Download the OpenWrt initramfs image. Copy the image to a TFTP server
   reachable at 192.168.1.70/24. Rename the image to rtax52.bin.

2. Connect the PC with TFTP server to the RT-AX52.
   Set a static ip on the ethernet interface of your PC.
     (ip address: 192.168.1.70, subnet mask:255.255.255.0)
  Conect to the serial console,
   interrupt the autoboot process by pressing '4' when prompted.

3. Download & Boot the OpenWrt initramfs image.

   $ setenv ipaddr 192.168.1.1
   $ setenv serverip 192.168.1.70
   $ tftpboot 0x46000000 rtax52.bin
   $ bootm 0x46000000

4. Wait for OpenWrt to boot. Transfer the sysupgrade image to the device
   using scp and install using sysupgrade.

   $ sysupgrade -n <path-to-sysupgrade.bin>
---------------------------------------------------------------------------
Revert to stock firmware:
1: Download the rt-ax52 firmware from ASUS official website. Save
   the firmware to tftp server directory and rename to RT-AX52.trx

2: Connect the PC with TFTP server to the RT-AX52.
   Set a static ip on the ethernet interface of your PC.
     (ip address: 192.168.1.70, subnet mask:255.255.255.0)

3: Conect to the serial console,  power on again,  interrupt the
   autoboot process by pressing '4' when prompted.
  $: ubi remove linux
  $: ubi remove jffs2
  $: ubi remove rootfs
  $: ubi remove rootfs_data
  $: ubi create linux 0x45fe000
  $: reset

  Then the dut will reboot,interrupt the autoboot process by
  pressing '2' when prompted.
       2: Load System code then write to Flash via TFTP.
       Warning!! Erase Linux in Flash then burn new one. Are you sure?(Y/N)
       $: enter y
  you will see the follow, type enter directly:
       Input device IP (192.168.1.1) ==:
       Input server IP (192.168.1.70) ==:
       Input Linux Kernel filename (RT-AX52.trx) ==:

4: wait for the device run up

Based on support for ASUS RT-AX52 by liudongdongdong7397
and trx image generation by remittor

Signed-off-by: Christoph Krapp <achterin@gmail.com>
(commit: 50d9ca6)
The file was addedtarget/linux/mediatek/dts/mt7981b-asus-rt-ax52.dts
The file was modifiedtarget/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh (diff)
The file was modifiedtarget/linux/mediatek/filogic/base-files/etc/hotplug.d/ieee80211/11_fix_wifi_mac (diff)
The file was modifiedtarget/linux/mediatek/filogic/base-files/etc/board.d/02_network (diff)
The file was modifiedtarget/linux/mediatek/filogic/base-files/etc/board.d/01_leds (diff)
The file was modifiedtarget/linux/mediatek/image/Makefile (diff)
The file was modifiedtarget/linux/mediatek/image/filogic.mk (diff)
コミット 30618d4239a743ba0afc5b34bd995cc3575f2322 by mail
mediatek: fix GL.iNet GL-MT2500 preinit interface

This was previously set incorrectly to a non-existant interface.

Signed-off-by: David Bauer <mail@david-bauer.net>
(commit: 30618d4)
The file was modifiedtarget/linux/mediatek/base-files/lib/preinit/05_set_preinit_iface (diff)
コミット 6b1d0ce88c26bee5f97b202af59620bed3459709 by mail
mediatek: add missing pipe

Signed-off-by: David Bauer <mail@david-bauer.net>
(commit: 6b1d0ce)
The file was modifiedtarget/linux/mediatek/base-files/lib/preinit/05_set_preinit_iface (diff)
コミット 5501a502e499e0202bdfd0feebbbedb012d5f82b by nbd
kernel: fix UDPv6 GSO segmentation with NAT

Fixes issues with rx-gro-list and NAT66

Fixes: https://github.com/openwrt/openwrt/issues/18387
Fixes: https://github.com/openwrt/openwrt/issues/18516
Fixes: https://github.com/openwrt/openwrt/issues/18608
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(commit: 5501a50)
The file was addedtarget/linux/generic/pending-6.6/691-net-ipv6-fix-UDPv6-GSO-segmentation-with-NAT.patch
コミット 9073b48e96b4fc7ede259093b209ccee39645c63 by ansuelsmth
generic: convert MTK PCS patch to .remove_new

Convert MTK PCS patch to .remove_new to simplify support for new 6.12
kernel version.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(commit: 9073b48)
The file was modifiedtarget/linux/generic/pending-6.6/739-05-net-pcs-add-driver-for-MediaTek-USXGMII-PCS.patch (diff)
The file was modifiedtarget/linux/generic/pending-6.6/739-03-net-pcs-pcs-mtk-lynxi-add-platform-driver-for-MT7988.patch (diff)
コミット f22d872c65f7bd25325b4cec36814c953d6068d2 by robimarko
qualcommax: ipq50xx: drop unused factory.ubi for ELECOM WRC-X3000GS2

Drop the firmware image entry "factory.ubi" from IMAGES for ELECOM
WRC-X3000GS2.
`Device/UbiFit` is added in the early stage of working for adding
support of the device, but finally, only `KERNEL_IN_UBI` is neccesary
and factory.ubi is not. So `Device/UbiFit` should have been replaced
to `KERNEL_IN_UBI` but it was forgotten.

Fixes: 3b7d72bc2e ("qualcommax: add support for ELECOM WRC-X3000GS2")
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18611
Signed-off-by: Robert Marko <robimarko@gmail.com>
(commit: f22d872)
The file was modifiedtarget/linux/qualcommax/image/ipq50xx.mk (diff)