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 treewide: sysupgrade: pass "save_partitions" option to the "sysupgrade" method 2019-08-22 13:47:51 +02:00
ar7 kernel: bump 4.9 to 4.9.186 2019-07-31 16:51:46 +02:00
ar71xx ar71xx: sysupgrade: accept ath79 combined-image 2019-09-01 00:12:02 +02:00
arc770 treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
archs38 treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
armvirt armvirt: fix overlay support by updating to f2fs/ext4 based overlays 2019-06-25 14:12:22 +00:00
at91 at91/image/sama5.mk: check for sama5d4_xplained device 2019-08-17 23:09:04 +02:00
ath25 ath25: split up DEVICE_TITLE 2019-07-10 16:56:16 +02:00
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 kernel: bump 4.19 to 4.19.62 2019-07-31 16:51:46 +02:00
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 treewide: sysupgrade: don't use $ARGV in platform_do_upgrade() 2019-07-17 08:05:38 +02:00
gemini gemini: Enable flash boot on reference design type 2019-08-17 16:57:32 +02:00
generic kernel: add disable_eap_hack sysfs attribute 2019-08-28 16:10:45 +02:00
imx6 imx6: bump SDMA firmware to 3.5 2019-07-31 16:51:46 +02:00
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 kernel: bump 4.9 to 4.9.187 2019-08-06 11:52:47 +02:00
kirkwood treewide: sync bootcount scripts across targets 2019-08-17 23:52:34 +08:00
lantiq lantiq: add device alias for Alpha ASL56026 2019-08-22 16:26:05 +02:00
layerscape kernel: bump 4.14 to 4.14.136 2019-08-06 11:52:47 +02:00
malta malta: fix overlay support by updating to f2fs/ext4 based overlays 2019-06-25 14:12:22 +00:00
mediatek kernel: bump 4.19 to 4.19.69 2019-08-30 16:45:54 +02:00
mpc85xx treewide: convert WiFi caldata size and offset to hexadecimal 2019-08-14 12:36:37 +02:00
mvebu mvebu: sysupgrade: fix uDPU eMMC check regression 2019-08-29 20:53:32 +02:00
mxs mxs: disable unused serial drivers 2019-03-11 19:35:43 +01:00
octeon octeon: split up DEVICE_TITLE 2019-08-02 22:45:02 +02:00
octeontx kernel: Remove CONFIG_COMPAT 2019-05-11 17:15:41 +02:00
omap treewide: sysupgrade: pass "save_partitions" option to the "sysupgrade" method 2019-08-22 13:47:51 +02:00
orion orion: sysupgrade: change platform_check_image() args validation 2019-07-16 13:58:26 +02:00
oxnas oxnas: convert DEVICE_TITLE to new variables 2019-07-10 16:56:16 +02:00
pistachio treewide: sysupgrade: get rid of platform_nand_pre_upgrade() 2019-07-22 14:27:37 +02:00
ramips ramips: add support for Netgear R6260 and R6850 2019-08-31 10:31:00 +02:00
rb532 treewide: sysupgrade: get rid of platform_nand_pre_upgrade() 2019-07-22 14:27:37 +02:00
samsung kernel: Do not set CONFIG_DEVMEM or CONFIG_DEVKMEM 2019-05-11 17:15:41 +02:00
sunxi treewide: sysupgrade: pass "save_partitions" option to the "sysupgrade" method 2019-08-22 13:47:51 +02:00
tegra treewide: sysupgrade: pass "save_partitions" option to the "sysupgrade" method 2019-08-22 13:47:51 +02:00
uml kernel: Deactivate CONFIG_BINFMT_MISC 2019-05-11 17:15:41 +02:00
x86 kernel: bump 4.19 to 4.19.67 2019-08-27 10:32:44 +02:00
zynq zynq: remove kernel 4.14 support 2019-08-17 16:57:32 +02:00
Makefile