Skip to content
成功

変更履歴

概要

  1. kernel: backport Mediatek SoC EEE support (commit: d8315d5) (details)
  2. kernel: usbnet: Restore usb%d naming for cdc-ethernet devices with local MAC (commit: ecd609f) (details)
  3. mediatek: Refresh kernel configuration (commit: 5013efc) (details)
  4. mediatek: filogic: enable CONFIG_MITIGATE_SPECTRE_BRANCH_HISTORY (commit: 6af46a6) (details)
  5. kernel: Mediatek: set default EEE Tx LPI timer (commit: edddbaf) (details)
  6. mvebu/image/cortexa53.mk: add kmod-dsa-mv88e6xxx (commit: 2f9ef8a) (details)
  7. qualcommax: fap650: fix dtc warnings on partitions (commit: 213799e) (details)
  8. generic: globally enable CONFIG_PCPU_DEV_REFCNT (commit: ea6f3e4) (details)
  9. mediatek: add support for CMCC A10 (commit: 96c6608) (details)
  10. ramips: mt7621: 02_network optimization (commit: a0449f8) (details)
  11. ramips: fix reading mac address for hiwifi hc5962 (commit: 2091c29) (details)
  12. lantiq: xrx200_legacy: migrate ECI V-2FUb/R to upstream PHY LED control (commit: a2fd837) (details)
  13. cli: improve error handling on editor select call (commit: 7f0913d) (details)
  14. cli: fix spurious error when exiting the cli (commit: f6a9cce) (details)
  15. unetd: update to Git HEAD (2025-03-09) (commit: 84909c6) (details)
  16. ramips: Add support for Cudy M1300 v2 (commit: 8a78637) (details)
  17. kernel: Add KERNEL_DCB (Data Center Bridging) (commit: 40f1db9) (details)
  18. dnsmasq: fix handlers for options `filter_rr` and `cache_rr` (commit: d136c24) (details)
  19. ath79: add support for Fortinet FAP-221-C (commit: 6da7352) (details)
コミット d8315d5358d59233d9f1ff8353f1ce6f3428e1e5 by daniel
kernel: backport Mediatek SoC EEE support

Backport Mediatek SoC EEE support from net-next upstream.

Signed-off-by: Qingfang Deng <dqfext@gmail.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
[refreshed patches]
(commit: d8315d5)
The file was modifiedtarget/linux/generic/pending-6.6/738-02-net-ethernet-mtk_eth_soc-do-not-enable-page-pool-sta.patch (diff)
The file was addedtarget/linux/generic/backport-6.6/753-v6.15-net-ethernet-mediatek-add-EEE-support.patch
The file was modifiedtarget/linux/generic/pending-6.6/735-net-ethernet-mtk_eth_soc-fix-memory-corruption-durin.patch (diff)
The file was modifiedtarget/linux/generic/pending-6.6/732-00-net-ethernet-mtk_eth_soc-compile-out-netsys-v2-code-.patch (diff)
The file was modifiedtarget/linux/generic/pending-6.6/702-net-ethernet-mtk_eth_soc-enable-threaded-NAPI.patch (diff)
The file was modifiedtarget/linux/generic/pending-6.6/733-01-net-ethernet-mtk_eth_soc-use-napi_build_skb.patch (diff)
The file was modifiedtarget/linux/generic/pending-6.6/730-net-ethernet-mtk_eth_soc-reset-all-TX-queues-on-DMA-.patch (diff)
The file was modifiedtarget/linux/generic/pending-6.6/737-net-ethernet-mtk_eth_soc-add-paths-and-SerDes-modes-.patch (diff)
The file was modifiedtarget/linux/generic/pending-6.6/738-01-net-ethernet-mtk_eth_soc-reduce-rx-ring-size-for-older.patch (diff)
The file was modifiedtarget/linux/generic/hack-6.6/730-net-ethernet-mtk_eth_soc-add-hw-dump-for-forced-rese.patch (diff)
The file was modifiedtarget/linux/generic/pending-6.6/734-net-ethernet-mediatek-enlarge-DMA-reserve-buffer.patch (diff)
The file was modifiedtarget/linux/generic/pending-6.6/732-01-net-ethernet-mtk_eth_soc-work-around-issue-with-send.patch (diff)
コミット ecd609f509f29ed1f75db5c7a623f359c64efb72 by robimarko
kernel: usbnet: Restore usb%d naming for cdc-ethernet devices with local MAC

Prior to commit https://github.com/torvalds/linux/commit/8a7d12d674ac6f2147c18f36d1e15f1a48060edf,
cdc-ethernet USB LTE modems (e.g. Quectel EC200A) were consistently named
usb0. After 8a7d12d67, devices began renaming to eth1 due to an assumption
that local MAC addresses originate exclusively from the kernel. Some
devices provide driver-assigned local MACs, causing point-to-point
interfaces with driver-set MACs to adopt eth%d names instead of usb%d.

Restore the naming exception for point-to-point devices: interfaces
without driver MACs or with driver-provided local MACs will retain the
usb%d convention. This addresses issues reported in [1] and fixed in [2].

[1] https://lore.kernel.org/all/Z00udyMgW6XnAw6h@atmark-techno.com/
[2] https://lore.kernel.org/all/20241203130457.904325-1-asmadeus@codewreck.org/

Tested-by: Ahmed Naseef <naseefkm@gmail.com>
Signed-off-by: Ahmed Naseef <naseefkm@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17757
Signed-off-by: Robert Marko <robimarko@gmail.com>
(commit: ecd609f)
The file was addedtarget/linux/generic/pending-6.6/155-usbnet-restore-usb%d-name-exception-for-local-mac-addresses.patch
コミット 5013efc4f907550fadbf15e2fb1bdb2ead3325db by ms
mediatek: Refresh kernel configuration

I selected one subtarget after the other and refreshed their
configuration using this command:
  make kernel_oldconfig CONFIG_TARGET=subtarget

For MT7629 I had to re-add CONFIG_LEDS_SMARTRG_LED manually.
Otherwise, building MT7629 with ALL_KMODS we get prompted for
LEDS_SMARTRG_LED and this will break CI and in future buildbot
compilation. See commit 6bdea8c7bd85 ("mediatek: mt7629: 6.6: disable
LEDS_SMARTRG_LED by default") for more details.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
(commit: 5013efc)
The file was modifiedtarget/linux/mediatek/filogic/config-6.6 (diff)
The file was modifiedtarget/linux/mediatek/mt7623/config-6.6 (diff)
The file was modifiedtarget/linux/mediatek/mt7622/config-6.6 (diff)
The file was modifiedtarget/linux/mediatek/mt7629/config-6.6 (diff)
コミット 6af46a69846e4e92fa8dcf6c3dccbaf87d513064 by ms
mediatek: filogic: enable CONFIG_MITIGATE_SPECTRE_BRANCH_HISTORY

The Cortex-A73 in MediaTek Filogic 880 (MT7988A) is vulnerable to
multiple Spectre variants including Spectre-BHB.

Ref: https://developer.arm.com/Arm%20Security%20Center/Speculative%20Processor%20Vulnerability
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
(commit: 6af46a6)
The file was modifiedtarget/linux/mediatek/filogic/config-6.6 (diff)
コミット edddbaf79ccfce9ce80079a467a596ec27a2a128 by gch981213
kernel: Mediatek: set default EEE Tx LPI timer

Due to API changes during the backport, the default value of Tx LPI
timer is accidentally left unset, breaking the network if EEE is on.
Set the default timer to 1ms on init, and fix an incorrect condition.

Fixes: d8315d5358d5 ("kernel: backport Mediatek SoC EEE support")
Signed-off-by: Qingfang Deng <dqfext@gmail.com>
(commit: edddbaf)
The file was modifiedtarget/linux/generic/pending-6.6/702-net-ethernet-mtk_eth_soc-enable-threaded-NAPI.patch (diff)
The file was modifiedtarget/linux/generic/backport-6.6/753-v6.15-net-ethernet-mediatek-add-EEE-support.patch (diff)
The file was modifiedtarget/linux/generic/pending-6.6/738-02-net-ethernet-mtk_eth_soc-do-not-enable-page-pool-sta.patch (diff)
The file was modifiedtarget/linux/generic/pending-6.6/738-01-net-ethernet-mtk_eth_soc-reduce-rx-ring-size-for-older.patch (diff)
The file was modifiedtarget/linux/generic/pending-6.6/737-net-ethernet-mtk_eth_soc-add-paths-and-SerDes-modes-.patch (diff)
The file was modifiedtarget/linux/generic/hack-6.6/730-net-ethernet-mtk_eth_soc-add-hw-dump-for-forced-rese.patch (diff)
コミット 2f9ef8a256b8a3dc6f1bb91d0c55e0aff167d380 by robimarko
mvebu/image/cortexa53.mk: add kmod-dsa-mv88e6xxx

all espressobins have topaz switch as same soc, so it is safe to add
kmod-dsa-mv88e6xxx to all

Signed-off-by: Jiri Kastner <cz172638@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18161
Signed-off-by: Robert Marko <robimarko@gmail.com>
(commit: 2f9ef8a)
The file was modifiedtarget/linux/mvebu/image/cortexa53.mk (diff)
コミット 213799e33e0518a30f6c22c2142060aba12fcf7d by robimarko
qualcommax: fap650: fix dtc warnings on partitions

This commit adds the missing properties to address the following warnings:
Warning (reg_format): /soc@0/spi@78b5000/flash@0/partitions/partition@x:reg: property has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1)"

Signed-off-by: Weikai Kong <priv@pppig236.com>
Link: #18180
Signed-off-by: Robert Marko <robimarko@gmail.com>
(commit: 213799e)
The file was modifiedtarget/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq6018-fap650.dts (diff)
コミット ea6f3e49d6509f3bddb43364cf7225b4935fee82 by robimarko
generic: globally enable CONFIG_PCPU_DEV_REFCNT

Quoting the kconfig description for CONFIG_PCPU_DEV_REFCNT:

network device refcount are using per cpu variables if this option is
set. This can be forced to N to detect underflows (with a performance
drop).

This was introduced from kernel 5.13 and was wrongly set as disabled.
Some target actually enables it but this should be always enabled unless
refcount needs to be debugged (unlikely for production images)

Enable in generic and drop the entry in every other target.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18174
Signed-off-by: Robert Marko <robimarko@gmail.com>
(commit: ea6f3e4)
The file was modifiedtarget/linux/generic/config-6.6 (diff)
The file was modifiedtarget/linux/loongarch64/config-6.6 (diff)
The file was modifiedtarget/linux/stm32/stm32mp1/config-6.6 (diff)
The file was modifiedtarget/linux/d1/config-6.6 (diff)
コミット 96c6608346758ceffebf30d74cab00db58874bb9 by hauke
mediatek: add support for CMCC A10

This board is also as known as SuperElectron ZN-M5 and ZN-M8. However,
for ZN-M5 and ZN-M8, there's another version uses ZX279128 as CPU
chip, which is unsupported.
You can check it in "高级设置" > "系统日志" > "内核日志" page from webUI.

Hardware specification:
  SoC: MediaTek MT7981B 2x A53
  Flash: 128 MB SPI-NAND
  RAM: 256MB
  Ethernet: 4x 10/100/1000 Mbps
  Switch: MediaTek MT7531AE
  WiFi: MediaTek MT7976C
  Button: Reset, WPS
  Power: DC 12V 1A

Stock layout flash instructions:
Login into webUI and upload sysupgrade firmware in "系统管理" > "升级固件" page.
Remember to unselect "保留配置" ("Keep configurations") first before doing that.

OpenWrt U-Boot layout flash instructions:
1. Flash stock layout firmware first.
2. Connect to the device via SSH, and backup everything,
   especially 'Factory' partition.
3. Unlock MTD partitions:
   apk update && apk add kmod-mtd-rw
   insmod mtd-rw i_want_a_brick=1
4. Write new BL2 and FIP:
   mtd write openwrt-mediatek-filogic-cmcc_a10-ubootmod-preloader.bin BL2
   mtd write openwrt-mediatek-filogic-cmcc_a10-ubootmod-bl31-uboot.fip FIP
5. Set static IP on your PC:
   IP 192.168.1.254/24, GW 192.168.1.1
6. Serve OpenWrt initramfs image using TFTP server.
7. Cut off the power and re-engage, wait for TFTP recovery to complete.
8. After OpenWrt has booted, perform sysupgrade.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Link: https://github.com/openwrt/openwrt/pull/18121
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(commit: 96c6608)
The file was addedtarget/linux/mediatek/dts/mt7981b-cmcc-a10-ubootmod.dts
The file was modifiedtarget/linux/mediatek/filogic/base-files/etc/board.d/02_network (diff)
The file was modifiedtarget/linux/mediatek/image/filogic.mk (diff)
The file was addedtarget/linux/mediatek/dts/mt7981b-cmcc-a10.dtsi
The file was modifiedpackage/boot/uboot-mediatek/Makefile (diff)
The file was modifiedpackage/boot/uboot-envtools/files/mediatek_filogic (diff)
The file was addedpackage/boot/uboot-mediatek/patches/446-add-cmcc_a10.patch
The file was addedtarget/linux/mediatek/dts/mt7981b-cmcc-a10-stock.dts
The file was modifiedtarget/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh (diff)
コミット a0449f8cf3a53f746c409ce033a6c78065c5edde by hauke
ramips: mt7621: 02_network optimization

Merging repeating blocks inside the ramips_setup_interfaces() function.

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/18146
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(commit: a0449f8)
The file was modifiedtarget/linux/ramips/mt7621/base-files/etc/board.d/02_network (diff)
コミット 2091c29578ca99b468e79695149be6f4b6cccb36 by hauke
ramips: fix reading mac address for hiwifi hc5962

The spaces in variables have been stripped since commit 551e04f3c9c0
("base-files: strip space and tab characters from ASCII mac address"),
resulting "Vfac_mac " matches nothing. Fix the issue by removing the
space at end.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Link: https://github.com/openwrt/openwrt/pull/18150
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(commit: 2091c29)
The file was modifiedtarget/linux/ramips/mt7621/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac (diff)
The file was modifiedtarget/linux/ramips/mt7621/base-files/etc/board.d/02_network (diff)
コミット a2fd837e2e0b97a3ebd28378821acbb131a3f9cf by hauke
lantiq: xrx200_legacy: migrate ECI V-2FUb/R to upstream PHY LED control

This commit switches the control of the leds connected to the Lantiq PEF7071V
PHY to an upstream solution. There should be no functional changes.

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Link: https://github.com/openwrt/openwrt/pull/18153
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(commit: a2fd837)
The file was modifiedtarget/linux/lantiq/xrx200_legacy/base-files/etc/board.d/01_leds (diff)
The file was removedtarget/linux/lantiq/patches-6.6/0023-NET-PHY-add-led-support-for-intel-xway.patch
The file was modifiedtarget/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_arcadyan_vg3503j.dts (diff)
コミット 7f0913d7b1fd15d911a23e1651263b6eb64c112a by nbd
cli: improve error handling on editor select call

Use common error functions instead of explicit warn() calls

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(commit: 7f0913d)
The file was modifiedpackage/utils/cli/files/usr/share/ucode/cli/object-editor.uc (diff)
コミット f6a9cce09a6f93e9774ac72ff856e313f44e860b by nbd
cli: fix spurious error when exiting the cli

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(commit: f6a9cce)
The file was modifiedpackage/utils/cli/files/usr/sbin/cli (diff)
コミット 84909c62c8455a08fb8bb29bd7809ab22c927bf0 by nbd
unetd: update to Git HEAD (2025-03-09)

d8b43985e4d7 ubus: fix token_create policy
7326459bd743 ubus: dump service information on network_get
6c9c8fbd8128 service: add @all as alias for all members, unless defined differently

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(commit: 84909c6)
The file was modifiedpackage/network/services/unetd/Makefile (diff)
コミット 8a7863767056ca0dec69a6b383b6e0c0d5fc3af7 by hauke
ramips: Add support for Cudy M1300 v2

The M1300 v2 is similar to the WR1300 series from Cudy. Differences:
- Only 1 LAN port
- No USB

Specifications:
- MT7621
- MT7603E (2.4G b/g/n) and MT7613BE (5G ac/n) wifi
- 128 MB RAM
- 16 MB flash

MAC Addresses:
- There is one on the label, e.g. xx:xx:xx:xx:xx:1C
- LAN (bottom connector) is the same as the label, e.g. xx:xx:xx:xx:xx:1C
- WAN (top connector) is label +2, e.g. xx:xx:xx:xx:xx:1E
- WLAN (2.4G) is the same as the label, e.g. xx:xx:xx:xx:xx:1C
- WLAN (5G) is the same as WAN, e.g. xx:xx:xx:xx:xx:1E

UART:
- is available via the pin holes on the board
- From inner to outer pin: TX, RX, GND, VCC
- Do NOT connect VCC
- Settings: 3.3V, 115200, 8N1

GPIO:
- There are two LEDs: Red (GPIO 3) and White (GPIO 4)
- There are two buttons: Reset (GPIO 8) and WPS (GPIO 10)

Migration to OpenWrt:
- Download the migration image from the Cudy website (it should be available as soon as OpenWrt officially supports the device)
- The migration image is also available here until a image is provided by Cudy: https://github.com/RolandoMagico/openwrt-build/releases/tag/M1300_Build_20240222
- File: openwrt-ramips-mt7621-cudy_m1300-v2-squashfs-flash-signed.bin
- Connect computer to LAN (bottom connector) and flash the migration image via OEM web interface
- In the migration image, LAN and WAN are swapped. Computer must be connected to the other port after flashing
- OpenWrt is now accessible via 192.168.1.1
- After flashing an up to date OpenWrt image, LAN and WAN settings are again the same as in the OEM firmware
- So use the other connector again

Revert back to OEM firmware:
- Set up a TFTP server on IP 192.168.1.88 and connect to the LAN port (lower port)
- Provide the Cudy firmware as recovery.bin in the TFTP server
- Press the reset button while powering on the device
- Recovery process is started now
- When recovery process is done, OEM firmware is accessible via 192.168.10.1 again

General information:
- No possibility to load a initramfs image via U-Boot because there is no option to interrupt U-Boot

Signed-off-by: Roland Reinl <reinlroland+github@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18139
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(commit: 8a78637)
The file was modifiedtarget/linux/ramips/image/mt7621.mk (diff)
The file was addedtarget/linux/ramips/dts/mt7621_cudy_m1300-v2.dts
The file was modifiedtarget/linux/ramips/mt7621/base-files/etc/board.d/02_network (diff)
コミット 40f1db9cb11d98ef0b5061b8e210e6351935df8a by hauke
kernel: Add KERNEL_DCB (Data Center Bridging)

The kmod-mlxsw-spectrum driver activated CONFIG_DCB indirectly already
on all targets which are building this driver. All other DCB capable
driver did not activate their DCB support.

CONFIG_DCB increases the uncompressed kernel size by about 7.8KB.

CONFIG_DCB is only needed some data center Ethernet cards and not used
on normal routers. Activate it only on the x86_64 and the armsr_arm64
target which are used on normal servers or in VMs.

Link: https://github.com/openwrt/openwrt/pull/17672
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(commit: 40f1db9)
The file was modifiedpackage/kernel/linux/modules/netdevices.mk (diff)
The file was modifiedtarget/linux/generic/config-6.6 (diff)
The file was modifiedconfig/Config-kernel.in (diff)
The file was modifiedtarget/linux/loongarch64/config-6.6 (diff)
The file was modifiedtarget/linux/x86/modules.mk (diff)
コミット d136c24f7cc9f7b5ac72259ccf9193683f4ced74 by ansuelsmth
dnsmasq: fix handlers for options `filter_rr` and `cache_rr`

According to:
- https://github.com/openwrt/luci/blob/master/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js#L700
- https://github.com/openwrt/luci/blob/master/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js#L402

These two options should be of type `MultiValue` but here there're used as single value. This results in dnsmasq crashes when either of these options are set with multiple values, which leads to an invalid space-separated value.

As these options are designed to take multiple values, I think it's better to use list format eg. `list filter_rr 'AAAA'`, instead of `option filter_rr 'AAAA,HTTPS'`.

See: https://forum.openwrt.org/t/selecting-more-than-one-filter-arbitrary-rr-or-cache-arbitrary-rr-in-v24-10-0-crashes-dnsmasq/225801

Tested on 24.10.0

Signed-off-by: Eric ZHANG <ericzhangjx@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18149
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(commit: d136c24)
The file was modifiedpackage/network/services/dnsmasq/files/dnsmasq.init (diff)
コミット 6da7352ebe1150928a249aff47eb28c5c81f26aa by hauke
ath79: add support for Fortinet FAP-221-C

FCC ID: TVE-121402

Fortinet FAP-221-C is an indoor access point with 1gb ethernet port,
dual-band wireless, internal antenna plates, and 802.3at PoE+.

Hardware and board design are from Senao. The device appears very
similar to the EnGenius EAP1200H, albeit with double the flash and RAM.

**Specifications:**

  - QCA9557 SOC
  - QCA9882 WLAN PCI card, 5 GHz, 2x2, 26dBm
  - AR8035-A PHY RGMII GbE with PoE+ IN
  - 40 MHz clock
  - 32 MB FLASH FL256SAIFR0
  - 2x 128 MB RAM NT5TU64M16HG
  - UART populated
  - 4 internal antenna plates
  - 5 LEDs, 1 button (power, 'warning', eth0, wifi1, wifi2) (reset)

  Amber LAN LED appears hardwired to ethernet port. Power LED is green
only. Other LEDs are amber/green.

**MAC addresses:**

1 MAC Address in flash at end of uboot
ASCII encoded, no delimiters
Labeled as "MAC Address" on case

**Serial Access:**

Pinout: (arrow) VCC GND RX TX

Pins are populated with a header and traces not blocked.
Bootloader is set to 9600 baud, 8 data, 1 stop.

**Console Access:**

Bootloader:

Interrupt boot with Ctrl+C
Press "k" and enter password "1"
OR
Hold reset button for 5 sec during power on
Interrupt the TFTP transfer with Ctrl+C

to print commands available, enter "help"

OEM:

default username is "admin", password blank
telnet is available at default address 192.168.1.2
serial is available with baud 9600

to print commands available, enter "help"
or tab-tab (busybox list of commands)

**Installation:**

Use factory.bin with OEM upgrade procedures
OR
Use initramfs.bin with uboot TFTP commands.
Then perform a sysupgrade with sysupgrade.bin

**TFTP Recovery:**

Using serial console, load initramfs.bin using TFTP
to boot openwrt without touching the flash.

**Return to OEM:**

The best way to return to OEM firmware
is to have a copy of the MTD partitions
before flashing Openwrt.

Backup copies should be made of partitions
"fwconcat0", "loader", and "fwconcat1"
which together is the same flash range
as OEM's "rootfs" and "uimage"
by loading an initramfs.bin
and using LuCI to download the mtdblocks.

It is also possible to extract from the
OEM firmware upgrade image by splitting it up
in parts of lengths that correspond
to the partitions in openwrt
and write them to flash,
after gzip decompression.

After writing to the firmware partitions,
erase the "reserved" partition and reboot.

Signed-off-by: Bernardus Jansen <bernardus@bajansen.nl>
Link: https://github.com/openwrt/openwrt/pull/18109
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(commit: 6da7352)
The file was modifiedtarget/linux/ath79/image/generic.mk (diff)
The file was modifiedtarget/linux/ath79/generic/base-files/etc/board.d/02_network (diff)
The file was modifiedtarget/linux/ath79/generic/base-files/lib/upgrade/platform.sh (diff)
The file was addedtarget/linux/ath79/dts/qca9557_fortinet_fap-221-c.dts