diff options
author | INAGAKI Hiroshi <musashino.open@gmail.com> | 2018-08-07 01:59:23 +0900 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-08-09 18:44:57 +0200 |
commit | 23519edbcaa9cfd24b5a6fff44770f0fa9e13f3c (patch) | |
tree | cdd6d5bfa0fb10a97dcac2910223502109141a51 /target/linux/ath79/base-files | |
parent | 2e02fdb3637c7a0320d230a3232d61e874c1e4d1 (diff) | |
download | upstream-23519edbcaa9cfd24b5a6fff44770f0fa9e13f3c.tar.gz upstream-23519edbcaa9cfd24b5a6fff44770f0fa9e13f3c.tar.bz2 upstream-23519edbcaa9cfd24b5a6fff44770f0fa9e13f3c.zip |
ath79: add support for Buffalo BHR-4GRV2
Buffalo BHR-4GRV2 is a wired router, based on Qualcomm Atheros
QCA9558.
Ported from ar71xx target.
Specification:
- Qualcomm Atheros QCA9558
- 64 MB of RAM
- 16 MB of Flash
- 5x 10/100/1000 Ethernet
- QCA8337N
- 4x LEDs, 2x keys
- UART header on PCB
- Vcc, TX, RX, GND from LED side
- 115200n8
Flash instruction using factory image:
1. Connect the computer to the LAN port of BHR-4GRV2
2. Connect power cable to BHR-4GRV2 and turn on it
3. Access to "http://192.168.12.1/" and open firmware update
page ("ファームウェア更新")
4. Select the OpenWrt factory image and click update ("更新実行")
button
5. Wait ~120 seconds to complete flashing
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Diffstat (limited to 'target/linux/ath79/base-files')
-rwxr-xr-x | target/linux/ath79/base-files/etc/board.d/02_network | 4 | ||||
-rw-r--r-- | target/linux/ath79/base-files/lib/upgrade/platform.sh | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network index 9ec78ece23..573bc80462 100755 --- a/target/linux/ath79/base-files/etc/board.d/02_network +++ b/target/linux/ath79/base-files/etc/board.d/02_network @@ -25,6 +25,10 @@ ath79_setup_interfaces() ucidef_add_switch "switch0" \ "0@eth0" "2:lan" "3:lan" "4:lan" "5:lan" "1:wan" ;; + buffalo,bhr-4grv2) + ucidef_add_switch "switch0" \ + "0@eth1" "1:lan" "2:lan" "3:lan" "4:lan" "5:wan" "6@eth0" + ;; embeddedwireless,dorin) ucidef_add_switch "switch0" \ "0@eth0" "1:wan" "2:lan:3" "3:lan:2" diff --git a/target/linux/ath79/base-files/lib/upgrade/platform.sh b/target/linux/ath79/base-files/lib/upgrade/platform.sh index dfcf70487b..08039e0052 100644 --- a/target/linux/ath79/base-files/lib/upgrade/platform.sh +++ b/target/linux/ath79/base-files/lib/upgrade/platform.sh @@ -13,6 +13,10 @@ platform_do_upgrade() { local board=$(board_name) case "$board" in + buffalo,bhr-4grv2) + PART_NAME="rootfs:kernel" + default_do_upgrade "$ARGV" + ;; *) default_do_upgrade "$ARGV" ;; |