From 23519edbcaa9cfd24b5a6fff44770f0fa9e13f3c Mon Sep 17 00:00:00 2001 From: INAGAKI Hiroshi Date: Tue, 7 Aug 2018 01:59:23 +0900 Subject: ath79: add support for Buffalo BHR-4GRV2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- target/linux/ath79/base-files/etc/board.d/02_network | 4 ++++ target/linux/ath79/base-files/lib/upgrade/platform.sh | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'target/linux/ath79/base-files') 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" ;; -- cgit v1.2.3