openwrt/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 airoha: drop kernel 6.1 support 2024-06-05 09:34:06 +02:00
apm821xx apm821xx: meraki: fix mac addresses in dts 2024-09-15 13:16:44 +02:00
archs38 kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
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 generic: 6.6: add backported bmips CBR patches 2024-08-06 14:06:09 +02:00
bcm53xx bcm53xx: drop 6.1 support 2024-09-09 14:29:58 +02:00
bcm4908 bcm4908: drop 6.1 support 2024-08-30 11:39:44 +02:00
bmips bmips: add support for TP-Link TD-W8968 V3 2024-08-24 20:35:30 +02:00
d1 d1: drop 6.1 support 2024-05-29 17:56:28 +02:00
gemini kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
generic generic: phy: aquantia: add pending patch to force MDI pair order 2024-09-20 22:47:05 +01:00
imx kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
ipq40xx ipq40xx: add PoE passthrough GPIO 2024-09-20 19:51:57 +02:00
ipq806x treewide: rename ZyXEL to Zyxel 2024-08-25 15:08:25 +02:00
ixp4xx ixp4xx: Add back support for D-Link DSM G600 A 2024-05-25 09:17:19 +02:00
kirkwood kirkwood: remove left-over files-6.1 folder 2024-09-20 18:57:33 +01:00
lantiq treewide: rename ZyXEL to Zyxel 2024-08-25 15:08:25 +02:00
layerscape layerscape: remove left-over config-6.1 files 2024-09-20 18:57:33 +01:00
loongarch64 kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
malta kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
mediatek mediatek: add Adtran SmartRG SDG-8733A 2024-09-20 22:47:05 +01:00
mpc85xx mpc85xx: add static to init functions 2024-09-07 22:24:07 +02:00
mvebu mvebu: improve sysupgrade for FortiGate/FortiWiFi devices 2024-09-22 15:29:16 +02:00
mxs mxs: drop 6.1 support 2024-04-25 14:33:22 +02:00
octeon octeon: set Linux 6.6 as the default kernel 2024-09-09 18:24:34 +02:00
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 ipq807x: add support for TP-Link EAP660 HD v1 2024-09-08 12:01:19 +02:00
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 kernel: activate *_FS_SECURITY and *_FS_ACL_ATTR options for all big flash targets 2024-09-06 22:46:59 +02:00
tegra tegra: promote kernel 6.6 as default 2024-07-13 14:29:16 +02:00
uml uml: fix glibc-static check with GCC14 2024-06-22 22:06:06 +02:00
x86 armsr: use console=tty1 to make console more readily available 2024-08-25 13:15:33 +02:00
zynq zynq: drop 6.1 support 2024-08-03 11:36:59 +02:00
Makefile linux: add dtb makefile target to targets list 2024-02-08 23:04:55 +01:00