openwrt/target/linux
Tomasz Maciej Nowak 0cc87b3bac ath79: image: disable sysupgrade images for routerstations and ja76pf2
Because a bug in handling partial erase blocks in 4.19 kernel, using
sysupgrade images will hard brick devices that use RedBoot bootloader
and have "FIS directory" with "RedBoot config" on the same erase block.
Since flashing the devices from bootloader is safe, and to not cause a
situation where external chip programmer or JTAG is needed, disable
sysupgrade images for affected boards while creating kernel.bin and
rootfs.bin for jjPlus JA76PF2 board, which doesn't have factory image.

To set up the JA76PF2 board follow "Installation" instructions in b3a0c97
("ath79: add support for jjPlus JA76PF2") except the part of loading
initramfs image and using sysupgrade image for flashing (point 6 and 7).
Enter following commands to flash the board from bootloader:
  fis init
  load -r -b 0x80060000 <openwrt_kernel_image_name>
  fis create linux
  load -r -b %{FREEMEMLO} <openwrt_rootfs_image_name>
  fis create rootfs
  fis load -l linux
  exec -c ""

For RouterStations use TFTP recovery procedure.

Ref: FS#2428
Cc: Matt Merhar <mattmerhar@protonmail.com>
Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
2019-09-01 00:12:03 +02:00
..
apm821xx
ar7
ar71xx ar71xx: sysupgrade: accept ath79 combined-image 2019-09-01 00:12:02 +02:00
arc770
archs38
armvirt
at91
ath25
ath79 ath79: image: disable sysupgrade images for routerstations and ja76pf2 2019-09-01 00:12:03 +02:00
bcm53xx kernel: bump 4.19 to 4.19.68 2019-08-28 13:08:20 +02:00
brcm47xx
brcm63xx kernel: bump 4.14 to 4.14.141 2019-08-30 16:45:54 +02:00
brcm2708 kernel: bump 4.19 to 4.19.69 2019-08-30 16:45:54 +02:00
cns3xxx
gemini
generic kernel: add disable_eap_hack sysfs attribute 2019-08-28 16:10:45 +02:00
imx6
ipq40xx kernel: bump 4.19 to 4.19.68 2019-08-28 13:08:20 +02:00
ipq806x ipq806x: Replace backticks by $(...) 2019-08-31 12:08:23 +02:00
ixp4xx
kirkwood
lantiq
layerscape
malta
mediatek kernel: bump 4.19 to 4.19.69 2019-08-30 16:45:54 +02:00
mpc85xx
mvebu mvebu: sysupgrade: fix uDPU eMMC check regression 2019-08-29 20:53:32 +02:00
mxs
octeon
octeontx
omap
orion
oxnas
pistachio
ramips ramips: add support for Netgear R6260 and R6850 2019-08-31 10:31:00 +02:00
rb532
samsung
sunxi
tegra
uml
x86
zynq
Makefile