openwrt/target/linux/ath79
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
..
base-files ath79: add support for gl-ar750 2019-08-24 08:55:33 +08:00
dts ath79: dts: fix ja76pf2 spi frequency 2019-09-01 00:12:02 +02:00
files ar71xx/ath79: ag71xx: dont fetch the same var again 2019-08-27 10:32:44 +02:00
generic ath79: widen RedBoot directory search and add PHY 2019-07-17 22:59:29 +02:00
image ath79: image: disable sysupgrade images for routerstations and ja76pf2 2019-09-01 00:12:03 +02:00
nand treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
patches-4.14 kernel: bump 4.14 to 4.14.127 2019-06-18 14:47:53 +02:00
patches-4.19 ath79: fix FIS partition detection for 4.19 kernel 2019-09-01 00:12:03 +02:00
tiny treewide: use wpad-basic for not small flash targets 2018-10-16 15:07:41 +01:00
config-4.14 ath79: add support for D-Link DIR-859 A1 2018-12-30 20:08:13 +01:00
config-4.19 ath79: add support for Qihoo C301 2019-07-16 09:51:03 +08:00
Makefile treewide: kernel: bump some targets to 4.19 2019-06-18 16:08:55 +02:00
modules.mk ath79: add new OF only target for QCA MIPS silicon 2018-05-07 08:06:51 +02:00