ramips: improve sysupgrade helpers for I-O DATA devices
authorINAGAKI Hiroshi <musashino.open@gmail.com>
Sun, 6 Aug 2023 07:09:35 +0000 (16:09 +0900)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 19 Aug 2023 23:26:15 +0000 (01:26 +0200)
commit9088b5445f8e3586836820a63fd804941eda7b8a
tree4c49a53ea9ff9626035bc24db0198cca563f0f0c
parent6cc14bf66aa924962b926ea9702b6153ae418a7d
ramips: improve sysupgrade helpers for I-O DATA devices

I-O DATA devices manufactured by MSTC (MitraStar Technology Corp.)
have some important flags for booting, "bootnum" and "debugflag".
The almost devices have both flags but some devices have only
"bootnum" flag.
So optimize helper functions in iodata.sh to set each flags.

- both:
  - WN-AX1167GR2
  - WN-AX2033GR
  - WN-DX1167R
  - WN-DX1200GR
  - WN-DX2033GR

- "bootnum" only
  - WN-DEAX1800GR

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
target/linux/ramips/mt7621/base-files/lib/upgrade/iodata.sh
target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh