openwrt-pf/target/linux
INAGAKI Hiroshi 06fed85948 mvebu: improve sysupgrade for FortiGate/FortiWiFi devices
Update sysupgrade script (fortinet.sh) for Fortinet devices in
mvebu/cortexa9 and fix the following issues,

- Some individuals of FortiGate/FortiWiFi 30E/5xE devices has wrong
  kernel/rootfs offsets in "firmware-info" partition and they are not
  updated with the current sysupgrade script for Fortinet devices
  (fortinet.sh).
  As a result, the bootloader tries to load kernel data from the wrong
  address and boot with it after OpenWrt installation.
  The new script handles offsets in addition to length values.

and improve the following points.

- Only 2 bytes are handled with the current sysupgrade script
  (fortinet.sh) for kernel/rootfs length. The new script handles 4 bytes
  instead.

- The image names of image0/image1 are not handled and not updated when
  sysupgrade. The new sysupgrade script handles it and update to
  "<dist> <version> <revision>" if firmware metadata is available.
  (ex.: "OpenWrt SNAPSHOT r27440-25384026")

log of new sysupgrade script (fortinet.sh):

Tue Sep 17 10:29:16 UTC 2024 upgrade: Performing system upgrade...
Image Index: 0
Image Name : "OpenWrt SNAPSHOT r27440-25384026"
             --> "OpenWrt SNAPSHOT r27441-b3a0806a05"

  kernel:
    old: 0x003c4e00@0x00200000
    new: 0x003c4e00@0x00200000

  rootfs:
    old: 0x005c0200@0x00800000
    new: 0x005c0200@0x00800000

Unlocking kernel ...

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16409
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-09-22 15:29:16 +02:00
..
airoha
apm821xx apm821xx: meraki: fix mac addresses in dts 2024-09-15 13:16:44 +02:00
archs38
armsr packages: remove remnants of kernels below 6.6 2024-09-21 13:03:49 +02:00
at91 at91: drop 6.1 support 2024-09-20 18:42:56 +01:00
ath79 ath79: fix I2C pins on GL-AR750 2024-09-21 18:03:31 +02:00
bcm27xx kernel: bump 6.6 to 6.6.52 2024-09-19 22:57:53 +02:00
bcm47xx
bcm53xx
bcm4908
bmips
d1
gemini
generic generic: phy: aquantia: add pending patch to force MDI pair order 2024-09-20 22:47:05 +01:00
imx
ipq40xx ipq40xx: add PoE passthrough GPIO 2024-09-20 19:51:57 +02:00
ipq806x
ixp4xx
kirkwood kirkwood: remove left-over files-6.1 folder 2024-09-20 18:57:33 +01:00
lantiq
layerscape layerscape: remove left-over config-6.1 files 2024-09-20 18:57:33 +01:00
loongarch64
malta
mediatek mediatek: add Adtran SmartRG SDG-8733A 2024-09-20 22:47:05 +01:00
mpc85xx
mvebu mvebu: improve sysupgrade for FortiGate/FortiWiFi devices 2024-09-22 15:29:16 +02:00
mxs
octeon
omap omap: remove 6.1 support 2024-09-16 00:19:49 +02:00
pistachio pistachio: drop files for Linux 6.1 2024-09-20 18:57:33 +01:00
qoriq qoriq: drop 6.1 support 2024-09-20 18:51:06 +01:00
qualcommax
ramips ramips: dna_valokuitu-plus-ex400: build sysupgrade.bin 2024-09-22 14:07:26 +02:00
realtek realtek: drop 5.15 support 2024-09-20 11:16:02 +02:00
rockchip kernel: bump 6.6 to 6.6.51 2024-09-15 16:32:48 +02:00
sifiveu kernel: bump 6.6 to 6.6.51 2024-09-15 16:32:48 +02:00
siflower siflower: new target for Siflower SF19A2890 2024-09-17 22:16:41 +08:00
starfive kernel: bump 6.6 to 6.6.52 2024-09-19 22:57:53 +02:00
sunxi
tegra
uml
x86
zynq
Makefile