[LEDE-DEV] [PATCH v4 3/3] ramips: add support for Buffalo WCR-1166DS

2017-01-28 Thread FUKAUMI Naoki
. 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 --- Changes in v4: - rebase and resolve conflict Changes in v3: - added .../linux/r

[LEDE-DEV] [PATCH v4 2/3] bcm53xx: build factory images for WZR-900DHP series

2017-01-28 Thread FUKAUMI Naoki
only factory images for DHP-EU and DHP2-JP (fw ver. 2.x) are built. this will not work for DHP-JP/AP/TW (fw ver. 1.x) because they use different buffalo_csum() formula. Signed-off-by: FUKAUMI Naoki --- Changes in v4: - no change Changes in v3: - renumbered, no change Changes in v2: - refresh

[LEDE-DEV] [PATCH v4 1/3] firmware-utils: improve tools for Buffalo DHP series

2017-01-28 Thread FUKAUMI Naoki
some of Buffalo DHP series use slightly different trx magic, buffalo-enc, buffalo-tag, and factory image begin with 'bgn'. this patch adds support for building those images. Signed-off-by: FUKAUMI Naoki --- Changes in v4: Changes in v3: - no change Changes in v2: - refresh everythi

[LEDE-DEV] [PATCH v2] ramips: add support for RATOC REX-WIFISD2

2017-01-28 Thread FUKAUMI Naoki
but "params" partition should be kept if you want to restore stock firmware. Signed-off-by: FUKAUMI Naoki --- Changes in v2: - add "read-only" property to "params", "user_backup", and "user" partitions .../linux/ramips/base-files/etc/board.d/02_

[LEDE-DEV] [PATCH] ramips: add support for RATOC REX-WIFISD2

2017-01-10 Thread FUKAUMI Naoki
"params" partition should be kept if you want to restore stock firmware. Signed-off-by: FUKAUMI Naoki --- .../linux/ramips/base-files/etc/board.d/02_network | 1 + target/linux/ramips/base-files/etc/diag.sh | 3 +- target/linux/ramips/base-files/lib/ramips.sh | 3 + .

[LEDE-DEV] [PATCH v3 3/3] ramips: add support for Buffalo WCR-1166DS

2017-01-10 Thread FUKAUMI Naoki
"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 --- Changes in v3: - added .../linux/ramips/base-files/etc/board.d/02_network | 15 +- target/linux/r

[LEDE-DEV] [PATCH v3 2/3] bcm53xx: build factory images for WZR-900DHP series

2017-01-10 Thread FUKAUMI Naoki
only factory images for DHP-EU and DHP2-JP (fw ver. 2.x) are built. this will not work for DHP-JP/AP/TW (fw ver. 1.x) because they use different buffalo_csum() formula. Signed-off-by: FUKAUMI Naoki --- Changes in v3: - renumbered, no change Changes in v2: - refresh everything to make rules

[LEDE-DEV] [PATCH v3 1/3] firmware-utils: improve tools for Buffalo DHP series

2017-01-10 Thread FUKAUMI Naoki
some of Buffalo DHP series use slightly different trx magic, buffalo-enc, buffalo-tag, and factory image begin with 'bgn'. this patch adds support for building those images. Signed-off-by: FUKAUMI Naoki --- Changes in v3: - no change Changes in v2: - refresh everything to make ru

[LEDE-DEV] [PATCH v2 2/3] mtd: bcm47xxpart: add device specific workaround for Buffalo WZR-900DHP

2016-12-24 Thread FUKAUMI Naoki
2nd trx partition shouldn't be added, otherwise size of 1st trx partition won't be set properly. Signed-off-by: FUKAUMI Naoki --- Changes in v2: - no change .../901-mtd-bcm47xxpart-add-device-specific-workarounds.patch | 8 +++- 1 file changed, 7 insertions(+), 1 deletio

[LEDE-DEV] [PATCH v2 1/3] firmware-utils: improve tools for Buffalo DHP series

2016-12-24 Thread FUKAUMI Naoki
some of Buffalo DHP series use slightly different trx magic, buffalo-enc, buffalo-tag, and factory image begin with 'bgn'. this patch adds support for building those images. Signed-off-by: FUKAUMI Naoki --- Changes in v2: - refresh everything to make rules simple include/image-c

[LEDE-DEV] [PATCH v2 3/3] bcm53xx: build factory images for WZR-900DHP series

2016-12-24 Thread FUKAUMI Naoki
only factory images for DHP-EU and DHP2-JP (fw ver. 2.x) are built. this will not work for DHP-JP/AP/TW (fw ver. 1.x) because they use different buffalo_csum() formula. Signed-off-by: FUKAUMI Naoki --- Changes in v2: - refresh everything to make rules simple target/linux/bcm53xx/image

[LEDE-DEV] [PATCH 2/3] mtd: bcm47xxpart: add device specific workaround for Buffalo WZR-900DHP

2016-12-14 Thread FUKAUMI Naoki
2nd trx partition shouldn't be added, otherwise size of 1st trx partition won't be set properly. Signed-off-by: FUKAUMI Naoki --- .../901-mtd-bcm47xxpart-add-device-specific-workarounds.patch | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/target/lin

[LEDE-DEV] [PATCH 3/3] bcm53xx: build factory images for WZR-900DHP series

2016-12-14 Thread FUKAUMI Naoki
only DHP-EU and DHP2-JP (fw ver. 2.x) images are built for now. it seems DHP-JP/AP/TW (fw ver. 1.x) use different buffalo_csum() formula, so this may not work for them. (not confirmed) Signed-off-by: FUKAUMI Naoki --- target/linux/bcm53xx/image/Makefile | 32 1

[LEDE-DEV] [PATCH 1/3] firmware-utils: improve tools for Buffalo DHP series

2016-12-14 Thread FUKAUMI Naoki
some of Buffalo DHP series use slightly different trx magic, buffalo-tag, and factory image begin with 'bgn'. this patch adds support for building those images. Signed-off-by: FUKAUMI Naoki --- tools/firmware-utils/Makefile | 1 + tools/firmware-utils/src/buffalo-

[LEDE-DEV] [PATCH v3] ramips: build factory images for Buffalo WSR-1166DHP/WSR-1166DHP2

2016-12-10 Thread FUKAUMI Naoki
ade.bin by sysupgrade Signed-off-by: FUKAUMI Naoki --- Changes in v3: - use "DHP/dhp" instead of "WSR/wsr" for keyword for common things - use "-I" instead of "-W" for buffalo-tag optarg - make commit log message better Changes in v2: - cosmetic cleanup in mt762

[LEDE-DEV] [PATCH] ar71xx: prepare jffs2 partition properly in factory.bin for BHR-4GRV2

2016-12-09 Thread FUKAUMI Naoki
"pad-rootfs" is required just after "append-rootfs". Signed-off-by: FUKAUMI Naoki --- target/linux/ar71xx/image/generic.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ar71xx/image/generic.mk b/target/linux/ar71xx/image/generic.mk in

[LEDE-DEV] [PATCH v2] ramips: build factory images for Buffalo WSR-1166DHP/WSR-1166DHP2

2016-12-07 Thread FUKAUMI Naoki
installed from stock Web UI, and can be used to install sysupgrade.bin. install procedure: 1. install initramfs image (factory.bin) from stock Web UI 2. ssh root@192.168.1.1 3. run "mtd erase firmware" (erase factory.bin in mtd3) 4. install sysupgrade.bin by sysupgrade Signed-off-by: FUK

[LEDE-DEV] [PATCH] ramips: build factory images for Buffalo WSR-1166DHP/WSR-1166DHP2

2016-12-07 Thread FUKAUMI Naoki
installed from stock Web UI, and can be used to install sysupgrade.bin. install procedure: 1. install initramfs image (factory.bin) from stock Web UI 2. ssh root@192.168.1.1 3. run "mtd erase firmware" (erase factory.bin in mtd3) 4. install sysupgrade.bin by sysupgrade Signed-off-by: FUK

[LEDE-DEV] [PATCH] ar71xx: add support for Buffalo BHR-4GRV2

2016-11-08 Thread FUKAUMI Naoki
Signed-off-by: FUKAUMI Naoki --- target/linux/ar71xx/base-files/etc/board.d/01_leds | 4 + .../linux/ar71xx/base-files/etc/board.d/02_network | 1 + target/linux/ar71xx/base-files/etc/diag.sh | 9 +- target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 + .../lib/preinit