openwrtv4/target/linux/ath79/dts
INAGAKI Hiroshi 879f2ef7c0 ath79: modify mtd partitions for Buffalo BHR-4GRV2
This commit modifies mtd partitions define for Buffalo BHR-4GRV2 and
move it to generic subtarget.

In Buffalo BHR-4GRV2, "kernel" partition is located behined "rootfs"
partition in the stock firmware. This causes the size of the kernel
to be limited by the fixed value.

0x50000                       0xe80000        0xff0000
  +-------------------------------+--------------+
  |            rootfs             |    kernel    |
  |           (14528k)            |    (1472k)   |
  +-------------------------------+--------------+

After ar71xx was updated to Kernel 4.14, the kernel size of BHR-4GRV2
exceeded the limit, and it breaks builds on official buildbot.
Since this issue was also confirmed in ath79, I modified the mtd
partitions to get rid of that limitation.

0x50000                                       0xff0000
  +----------------------------------------------+
  |                   firmware                   |
  |                   (16000k)                   |
  +----------------------------------------------+

However, this commit breaks compatibility with ar71xx firmware, so I
dropped "SUPPORTED_DEVICES += bhr-4grv2".

This commit requires new flash instruction instead of the old one.

Flash instruction using initramfs image:

1. Connect the computer to the LAN port of BHR-4GRV2
2. Set the IP address of the computer to 192.168.12.10
3. Rename the OpenWrt initramfs image to
"bhr4grv2-uImage-initramfs-gzip.bin" and place it into the TFTP
directory
4. Start the tftp server on the computer
5. While holding down the "ECO" button, connect power cable to
BHR-4GRV2 and turn on it
6. Flashing (orange) diag LED and release the finger from the button,
BHR-4GRV2 downloads the intiramfs image from TFTP server and boot
with it
7. On the initramfs image, create "/etc/fw_env.config" file with
following contents
  /dev/mtd1 0x0 0x10000 0x10000
8. Execute following commands to add environment variables for
u-boot
  fw_setenv ipaddr 192.168.12.1
  fw_setenv serverip 192.168.12.10
  fw_setenv ethaddr 00:aa:bb:cc:dd:ee
  fw_setenv bootcmd "bootm 0x9f050000 || bootm 0x9fe80000"
9. Perform sysupgrade with squashfs-sysupgrade image
10. Wait ~150 seconds to complete flashing

And this commit includes small fix; BHR-4GRV2 has QCA9557 as a SoC,
not QCA9558.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-11-26 12:28:17 +01:00
..
ar724x.dtsi ath79: add pinmux node to ar724x.dtsi 2018-06-01 08:23:02 +02:00
ar934x.dtsi ath79: fix dts warnings 2018-08-08 08:11:11 +02:00
ar7100.dtsi ath79: add syscon compatible property to ar7100 ethernet nodes 2018-09-06 21:35:53 +02:00
ar7161_buffalo_wzr-hp-ag300h.dts ath79: specify "firmware" partition format for Buffalo devices 2018-11-26 12:09:25 +01:00
ar7161_dlink_dir-825-b1.dts treewide: fix some cosmetic glitches in dts files 2018-08-27 19:31:17 +02:00
ar7161_netgear_wndr3700.dts ath79: specify "firmware" partition format for WNDR3700 and v2 2018-11-24 13:15:55 +01:00
ar7161_netgear_wndr3700.dtsi ath79: use both WNDR3x00 power leds for boot status indication 2018-08-15 07:42:36 +02:00
ar7161_netgear_wndr3700v2.dts ath79: specify "firmware" partition format for WNDR3700 and v2 2018-11-24 13:15:55 +01:00
ar7161_netgear_wndr3800.dts ath79: specify "firmware" partition format for Netgear WNDR3800 2018-11-24 08:46:59 +01:00
ar7161_ubnt_routerstation-pro.dts ath79: add syscon compatible property to ar7100 ethernet nodes 2018-09-06 21:35:53 +02:00
ar7161_ubnt_routerstation.dts ath79: initial support for Ubiquiti RouterStation and RouterStation Pro 2018-08-27 19:31:17 +02:00
ar7161_ubnt_routerstation.dtsi ath79: initial support for Ubiquiti RouterStation and RouterStation Pro 2018-08-27 19:31:17 +02:00
ar7240.dtsi ath79: fix dts warnings 2018-08-08 08:11:11 +02:00
ar7240_buffalo_whr-g301n.dts ath79: specify "firmware" partition format for Buffalo devices 2018-11-26 12:09:25 +01:00
ar7240_netgear_wnr612-v2.dts ath79: add Netgear WNR612 v2 2018-06-26 07:05:30 +02:00
ar7240_netgear_wnr612-v2.dtsi ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
ar7240_on_n150r.dts ath79: add support for ON Networks N150R 2018-06-26 07:05:44 +02:00
ar7240_tplink_tl-wr74xn-v1.dtsi ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
ar7240_tplink_tl-wr740n-v1.dts ath79: Fix led nodes for TL-WR740N v2 and add its clones 2018-08-08 08:11:11 +02:00
ar7240_tplink_tl-wr740n-v3.dts ath79: Fix led nodes for TL-WR740N v2 and add its clones 2018-08-08 08:11:11 +02:00
ar7240_tplink_tl-wr741-v1.dts ath79: Fix led nodes for TL-WR740N v2 and add its clones 2018-08-08 08:11:11 +02:00
ar7240_tplink_tl-wr743nd-v1.dts ath79: Fix led nodes for TL-WR740N v2 and add its clones 2018-08-08 08:11:11 +02:00
ar7240_tplink_tl-wr841-v5.dts ath79: Fix led nodes for TL-WR740N v2 and add its clones 2018-08-08 08:11:11 +02:00
ar7240_tplink_tl-wr941-v4.dts ath79: Fix led nodes for TL-WR740N v2 and add its clones 2018-08-08 08:11:11 +02:00
ar7241.dtsi ath79: fix dts warnings 2018-08-08 08:11:11 +02:00
ar7241_tplink.dtsi ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
ar7241_tplink_tl-mr3x20.dtsi ath79: fix dts warnings 2018-08-08 08:11:11 +02:00
ar7241_tplink_tl-mr3220-v1.dts ath79: rename dts/image using manufacturer_board scheme 2018-08-06 07:31:54 +02:00
ar7241_tplink_tl-mr3420-v1.dts ath79: rename dts/image using manufacturer_board scheme 2018-08-06 07:31:54 +02:00
ar7241_tplink_tl-wr841-v7.dts ath79: rename dts/image using manufacturer_board scheme 2018-08-06 07:31:54 +02:00
ar7241_ubnt_bullet-m.dts ath79: ar7241: Update dts for current ag71xx driver 2018-07-30 10:43:34 +02:00
ar7241_ubnt_nano-m.dts ath79: fix dts files 2018-05-17 07:40:19 +02:00
ar7241_ubnt_rocket-m.dts ath79: ar7241: Update dts for current ag71xx driver 2018-07-30 10:43:34 +02:00
ar7241_ubnt_unifi.dts ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
ar7241_ubnt_xm.dtsi ath79: ubnt-xm: hijack LED4 as booting/failsafe 2018-08-23 22:42:15 +02:00
ar7242.dtsi ath79: Add switch reset definition in dts 2018-07-30 10:43:35 +02:00
ar7242_avm_fritz300e.dts ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
ar7242_buffalo_bhr-4grv.dts ath79: fix MAC address for Buffalo BHR-4GRV 2018-10-07 10:46:20 +02:00
ar7242_buffalo_wzr-bhr.dtsi ath79: specify "firmware" partition format for Buffalo devices 2018-11-26 12:09:25 +01:00
ar7242_buffalo_wzr-hp-g302h-a1a0.dts ath79: specify "firmware" partition format for Buffalo devices 2018-11-26 12:09:25 +01:00
ar7242_buffalo_wzr-hp-g450h.dts ath79: fix MAC address for Buffalo BHR-4GRV 2018-10-07 10:46:20 +02:00
ar7242_tplink_tl-wr2543-v1.dts treewide: fix some cosmetic glitches in dts files 2018-08-27 19:31:17 +02:00
ar9132.dtsi ath79: ag71xx: apply interface mode to MII0/1_CTRL on ar71xx/ar913x 2018-08-28 11:26:53 +02:00
ar9132_tplink_tl-wa901nd-v2.dts ath79: add support for TP-Link TL-WA901ND v2 2018-10-07 15:49:25 +02:00
ar9132_tplink_tl-wr941-v2.dts ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
ar9132_tplink_tl-wr1043nd-v1.dts ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
ar9330.dtsi ath79: fix dts warnings 2018-08-08 08:11:11 +02:00
ar9330_glinet_ar150.dts ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
ar9330_pqi_air-pen.dts ath79: fix PQI Air Pen support 2018-10-28 11:03:49 +01:00
ar9331.dtsi ath79: add tl-mr3020-v1 support 2018-06-08 12:19:49 +02:00
ar9331_dptechnics_dpt-module.dts ath79: fix dts warnings 2018-08-08 08:11:11 +02:00
ar9331_dragino_ms14.dts ath79: fix dts warnings 2018-08-08 08:11:11 +02:00
ar9331_embeddedwireless_dorin.dts ath79: fix mac address increment for embedded wireless Dorin 2018-08-25 19:18:08 +02:00
ar9331_etactica_eg200.dts ath79: fix dts warnings 2018-08-08 08:11:11 +02:00
ar9331_onion_omega.dts ath79: fix dts warnings 2018-08-08 08:11:11 +02:00
ar9331_pisen_wmm003n.dts treewide: fix some cosmetic glitches in dts files 2018-08-27 19:31:17 +02:00
ar9331_tplink_tl-mr10u.dts ath79: rename dts/image using manufacturer_board scheme 2018-08-06 07:31:54 +02:00
ar9331_tplink_tl-mr3020-v1.dts ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
ar9331_tplink_tl-mr3040-v2.dts ath79: add support for TP-Link MR-3040 v2 2018-08-16 21:20:57 +02:00
ar9331_tplink_tl-wr703n.dts ath79: rename dts/image using manufacturer_board scheme 2018-08-06 07:31:54 +02:00
ar9331_tplink_tl-wr703n_tl-mr10u.dtsi ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
ar9331_tplink_tl-wr740nd-v4.dts ath79: rename dts/image using manufacturer_board scheme 2018-08-06 07:31:54 +02:00
ar9331_tplink_tl-wr741nd-v4.dts ath79: rename dts/image using manufacturer_board scheme 2018-08-06 07:31:54 +02:00
ar9331_tplink_tl-wr741nd-v4.dtsi ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
ar9341.dtsi ath79: ar934x: Update dts for current ag71xx driver 2018-07-30 10:43:33 +02:00
ar9341_pcs_cr3000.dts treewide: fix some cosmetic glitches in dts files 2018-08-27 19:31:17 +02:00
ar9341_tplink_tl-wr842n-v2.dts ath79: Add support for TP-Link TL-WR842N-v2 2018-10-07 15:44:19 +02:00
ar9342_iodata_etg3-r.dts ath79: add support for I-O DATA ETG3-R 2018-08-23 22:42:15 +02:00
ar9342_ubnt_bullet-m-xw.dts ath79: Add support for Ubiquity Bullet M (XW) 2018-11-26 12:05:38 +01:00
ar9342_ubnt_lap-120.dts ath79: Add support for Ubiquiti LiteAP ac (LAP-120) 2018-10-28 10:59:09 +01:00
ar9342_ubnt_nanostation-ac-loco.dts ath79: Add support for Ubiquiti NanoStation AC loco 2018-10-07 10:46:20 +02:00
ar9342_ubnt_nanostation-ac.dts ath79: Add support for Ubiquiti Nanostation AC 2018-10-07 10:46:20 +02:00
ar9342_ubnt_wa.dtsi ath79: Add generic device tree for Ubiquiti WA boards 2018-10-07 10:46:20 +02:00
ar9342_ubnt_xw.dtsi ath79: Add support for Ubiquity Bullet M (XW) 2018-11-26 12:05:38 +01:00
ar9344.dtsi ath79: fix dts warnings 2018-08-08 08:11:11 +02:00
ar9344_ocedo_raccoon.dts ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
ar9344_pcs_cap324.dts treewide: fix some cosmetic glitches in dts files 2018-08-27 19:31:17 +02:00
ar9344_pcs_cr5000.dts treewide: fix some cosmetic glitches in dts files 2018-08-27 19:31:17 +02:00
ar9344_tplink_tl-wdr3600.dts ath79: rename dts/image using manufacturer_board scheme 2018-08-06 07:31:54 +02:00
ar9344_tplink_tl-wdr4300.dts ath79: rename dts/image using manufacturer_board scheme 2018-08-06 07:31:54 +02:00
ar9344_tplink_tl-wdr4300.dtsi ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
ar9344_wd_mynet-wifi-rangeextender.dts ath79: add support for WD My Net Wi-Fi Range Extender 2018-09-10 09:07:41 +02:00
ath79.dtsi ath79: ar934x: Update dts for current ag71xx driver 2018-07-30 10:43:33 +02:00
qca956x.dtsi ath79: add QCA956x GMAC config 2018-08-13 08:43:15 +02:00
qca9533.dtsi ath79: fix dts warnings 2018-08-08 08:11:11 +02:00
qca9533_glinet_ar300m.dtsi ath79: Fix GL-AR300M USB trigger 2018-09-22 21:20:48 +02:00
qca9533_glinet_ar300m_nand.dts ath79: fix dts warnings 2018-08-08 08:11:11 +02:00
qca9533_glinet_ar300m_nor.dts ath79: fix dts warnings 2018-08-08 08:11:11 +02:00
qca9533_glinet_x750.dts ath79: add support for GL-iNet GL-X750 2018-11-26 12:05:45 +01:00
qca9533_glinet_x750.dtsi ath79: add support for GL-iNet GL-X750 2018-11-26 12:05:45 +01:00
qca9533_tplink_tl-wr841-v9.dts ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
qca9533_tplink_tl-wr841-v11.dts ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
qca9533_tplink_tl-wr841.dtsi ath79: add support for TP-Link WR841N/ND v11 2018-08-14 10:19:37 +02:00
qca9557.dtsi ath79: fix PLL settings for QCA955x 2018-08-09 17:24:39 +01:00
qca9557_buffalo_bhr-4grv2.dts ath79: modify mtd partitions for Buffalo BHR-4GRV2 2018-11-26 12:28:17 +01:00
qca9557_iodata_wn-ac-dgr.dtsi ath79: fix wrong pll-data value for I-O DATA WN-AC-DGR devices 2018-09-26 20:35:07 +02:00
qca9557_iodata_wn-ac1167dgr.dts ath79: add support for I-O DATA WN-AC1167DGR 2018-08-16 21:20:57 +02:00
qca9557_iodata_wn-ac1600dgr2.dts ath79: add support for I-O DATA WN-AC1167DGR 2018-08-16 21:20:57 +02:00
qca9558_ocedo_koala.dts ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
qca9558_openmesh_om5p-ac-v2.dts ath79: fix PLL settings for QCA955x 2018-08-09 17:24:39 +01:00
qca9558_tplink_archer-c7-v1.dts ath79: add support for TP-Link Archer C7 v1 2018-08-19 18:48:43 +02:00
qca9558_tplink_archer-c7-v2.dts ath79: specify "firmware" partition format for TP-LINK Archer C7 v2 2018-11-24 12:46:00 +01:00
qca9558_tplink_archer-c7.dtsi ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
qca9558_tplink_tl-wdr4900-v2.dts treewide: fix some cosmetic glitches in dts files 2018-08-27 19:31:17 +02:00
qca9558_tplink_tl-wr1043nd-v2.dts ath79: rename dts/image using manufacturer_board scheme 2018-08-06 07:31:54 +02:00
qca9558_tplink_tl-wr1043nd-v3.dts ath79: rename dts/image using manufacturer_board scheme 2018-08-06 07:31:54 +02:00
qca9558_tplink_tl-wr1043nd.dtsi ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
qca9561_avm_fritz4020.dts ath79: flag FritzBox 4020 buttons as active low 2018-09-22 19:26:26 +02:00
qca9561_tplink_archer-c5x.dtsi ath79: add support for Archer C58/C59 v1 2018-11-26 12:05:45 +01:00
qca9561_tplink_archer-c58-v1.dts ath79: add support for Archer C58/C59 v1 2018-11-26 12:05:45 +01:00
qca9561_tplink_archer-c59-v1.dts ath79: add support for Archer C58/C59 v1 2018-11-26 12:05:45 +01:00
qca9563_elecom_wrc-300ghbk2-i.dts ath79: add support for ELECOM WRC-300GHBK2-I 2018-09-10 09:30:28 +02:00
qca9563_phicomm_k2t.dts ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
qca9563_tplink_re450-v2.dts ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
qca9563_tplink_tl-wr1043n.dtsi ath79: add support for indicating the boot state using multiple leds 2018-08-15 07:42:36 +02:00
qca9563_tplink_tl-wr1043nd-v4.dts ath79: fix dts warnings 2018-08-08 08:11:11 +02:00
qca9563_ubnt_unifiac-lite.dts ath79: add support for Unifi AC Mesh 2018-06-28 20:31:48 +02:00
qca9563_ubnt_unifiac-lite.dtsi ath79: add support for Unifi AC Mesh 2018-06-28 20:31:48 +02:00
qca9563_ubnt_unifiac-mesh-pro.dts ath79: add support for UniFi AC-Mesh Pro 2018-07-07 21:07:40 +02:00
qca9563_ubnt_unifiac-mesh.dts ath79: add support for Unifi AC Mesh 2018-06-28 20:31:48 +02:00
qca9563_ubnt_unifiac-pro.dts ath79: add support for UniFi AC-Mesh Pro 2018-07-07 21:07:40 +02:00
qca9563_ubnt_unifiac-pro.dtsi ath79: add support for UniFi AC-Mesh Pro 2018-07-07 21:07:40 +02:00
qca9563_ubnt_unifiac.dtsi ath79: specify "firmware" partition format for Ubiquiti UniFi 2018-11-24 19:04:29 +01:00