From 6b0b526a4fc11d3b1b588d5b3b789da0c66adce9 Mon Sep 17 00:00:00 2001 From: FUKAUMI Naoki Date: Sun, 29 Jan 2017 01:05:56 +0900 Subject: ramips: add support for Buffalo WCR-1166DS Buffalo WCR-1166DS is a small wireless router with - MT7628AN + MT7612E - 64MiB DDR2 SDRAM - 16MiB SPI flash - 2T2R 11ac/a/b/g/n Wi-Fi - 2x 10/100M ethernet switch - 8x programmable LED - 3x button - UART pad on PCB (J2: 3.3V, GND, TX, RX) factory image can be installed via stock web UI. due to the "dual image" function in the bootloader, the second half of the SPI flash ("firmware2" partition) cannot be used as a part of the file system. Signed-off-by: FUKAUMI Naoki --- target/linux/ramips/image/mt7628.mk | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'target/linux/ramips/image/mt7628.mk') diff --git a/target/linux/ramips/image/mt7628.mk b/target/linux/ramips/image/mt7628.mk index 4502588c80..0304921f41 100644 --- a/target/linux/ramips/image/mt7628.mk +++ b/target/linux/ramips/image/mt7628.mk @@ -55,3 +55,19 @@ define Device/mac1200r-v2 DEVICE_TITLE := Mercury MAC1200R v2.0 endef TARGET_DEVICES += mac1200r-v2 + +define Device/wcr-1166ds + DTS := WCR-1166DS + BUFFALO_TAG_PLATFORM := MTK + BUFFALO_TAG_VERSION := 9.99 + BUFFALO_TAG_MINOR := 9.99 + IMAGES += factory.bin + IMAGE/sysupgrade.bin := trx | pad-rootfs | append-metadata + IMAGE/factory.bin := \ + trx -M 0x746f435c | pad-rootfs | append-metadata | \ + buffalo-enc WCR-1166DS $$(BUFFALO_TAG_VERSION) -l | \ + buffalo-tag-dhp WCR-1166DS JP JP | buffalo-enc-tag -l | \ + buffalo-dhp-image + DEVICE_TITLE := Buffalo WCR-1166DS +endef +TARGET_DEVICES += wcr-1166ds -- cgit v1.2.3