aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/image
diff options
context:
space:
mode:
authorINAGAKI Hiroshi <musashino.open@gmail.com>2018-08-07 01:59:23 +0900
committerMathias Kresin <dev@kresin.me>2018-08-09 18:44:57 +0200
commit23519edbcaa9cfd24b5a6fff44770f0fa9e13f3c (patch)
treecdd6d5bfa0fb10a97dcac2910223502109141a51 /target/linux/ath79/image
parent2e02fdb3637c7a0320d230a3232d61e874c1e4d1 (diff)
downloadupstream-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/image')
-rw-r--r--target/linux/ath79/image/Makefile1
-rw-r--r--target/linux/ath79/image/tiny.mk18
2 files changed, 19 insertions, 0 deletions
diff --git a/target/linux/ath79/image/Makefile b/target/linux/ath79/image/Makefile
index 15f4c1883a..734f27e689 100644
--- a/target/linux/ath79/image/Makefile
+++ b/target/linux/ath79/image/Makefile
@@ -75,6 +75,7 @@ ifeq ($(SUBTARGET),nand)
include ./nand.mk
endif
ifeq ($(SUBTARGET),tiny)
+include ./tiny.mk
include ./tiny-netgear.mk
include ./tiny-tp-link.mk
endif
diff --git a/target/linux/ath79/image/tiny.mk b/target/linux/ath79/image/tiny.mk
new file mode 100644
index 0000000000..0a14fcdd5b
--- /dev/null
+++ b/target/linux/ath79/image/tiny.mk
@@ -0,0 +1,18 @@
+DEVICE_VARS += ROOTFS_SIZE
+
+define Device/buffalo_bhr-4grv2
+ ATH_SOC := qca9558
+ DEVICE_TITLE := Buffalo BHR-4GRV2
+ BOARDNAME := BHR-4GRV2
+ ROOTFS_SIZE := 14528k
+ KERNEL_SIZE := 1472k
+ IMAGE_SIZE := 16000k
+ IMAGES += factory.bin
+ IMAGE/sysupgrade.bin := \
+ append-rootfs | pad-rootfs | pad-to $$$$(ROOTFS_SIZE) | \
+ append-kernel | append-metadata | check-size $$$$(IMAGE_SIZE)
+ IMAGE/factory.bin := append-kernel | \
+ pad-to $$$$(KERNEL_SIZE) | append-rootfs | pad-rootfs | mkbuffaloimg
+ SUPPORTED_DEVICES += bhr-4grv2
+endef
+TARGET_DEVICES += buffalo_bhr-4grv2