Re: [OpenWrt-Devel] [PATCH][RFC] ramips:Add support for HiWiFi HC5761.

2015-04-18 Thread 郭传鈜
Sorry...The EEPROM script is not working correctly because I forgot to include /lib/functions/system.sh... But I still want some suggestions about the script:-) 2015-04-19 0:02 GMT+08:00 郭传鈜 : > Hi,all! > I'm trying to add support for HiWiFi HC5761 router,This patch works > fine.Because the mac

Re: [OpenWrt-Devel] [PATCH] [libubox][v4] b64: add base64 support

2015-04-18 Thread Luka Perkov
On Fri, Apr 17, 2015 at 02:14:14AM +0200, Felix Fietkau wrote: > > +size_t b64decode(void *out, const void *in, size_t len) > > +{ > > + uint8_t *o = (uint8_t *) out; > > + const uint8_t *data = (const uint8_t *) in; > > + size_t lenout, i, j; > > + uint32_t cv = 0; > > + > > + lenout = b

[OpenWrt-Devel] [PATCH] [libubox][v5] b64: add base64 support

2015-04-18 Thread Luka Perkov
The base code has been taken from zstream project which was written by Steven Barth. Signed-off-by: Luka Perkov CC: Steven Barth --- => changes in v2: Use new API: size_t b64decode(void **out, const char *in, size_t len); size_t b64encode(char **out, const void *in, size_t len); => changes in

[OpenWrt-Devel] [PATCH][RFC] ramips:Add support for HiWiFi HC5761.

2015-04-18 Thread 郭传鈜
Hi,all! I'm trying to add support for HiWiFi HC5761 router,This patch works fine.Because the mac address is not saved in factory partition and I think my way to deal with this problem is not so good,I hope I could get some suggestions for this patch. HiWiFi HC5761 is a dual band router with

Re: [OpenWrt-Devel] [PATCH] [ramips] HiWiFi HC5661 Support for Openwrt

2015-04-18 Thread 郭传鈜
Oh...I'm planning to send support for HiWiFi HC5761 and I was dealing with the MAC address problem last week.. You should read the MAC address from bdinfo partition which is described by Yousong.(This can be done with a simple script.) I'll send the support for HC5761 now and you can have a loo

Re: [OpenWrt-Devel] [PATCH] [ramips] HiWiFi HC5661 Support for Openwrt

2015-04-18 Thread Yousong Zhou
Hi, Yunhao The patch is not in plaintext format and is whitespace broken. You can work around this by generating a patch with git-format-patch, then send it with git-send-email. On 18 April 2015 at 19:39, 田韵豪 wrote: > HiWiFi HC5661 (Ji 1s) support. > > Signed-off-by: B Tian < tianyh2...@163.com

[OpenWrt-Devel] [PATCH] [ramips] HiWiFi HC5661 Support for Openwrt

2015-04-18 Thread 田韵豪
HiWiFi HC5661 (Ji 1s) support. Signed-off-by: B Tian < tianyh2...@163.com> --- diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds index 56ba3b7..292859d 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/

[OpenWrt-Devel] [PATCH] brcm63xx: BCM963268BU_P300 reference board fixes

2015-04-18 Thread Álvaro Fernández Rojas
- Fix profile name. - Rremove whitespace on board patch. - Refresh patches. Signed-off-by: Álvaro Fernández Rojas --- .../103-MIPS-BCM63XX-add-OHCI-EHCI-configuration-bits-to-com.patch | 2 +- .../202-MTD-DEVICES-m25p80-use-parsers-if-provided-in-flash-.patch | 2 +- .../203-MTD-DEVICES-m25p80

[OpenWrt-Devel] [PATCH V2] ar71xx: add TP-LINK TL-WR710N v2

2015-04-18 Thread Cezary Jackiewicz
TP-Link TL-WR710n v2 looks like v1, but has less memory (4MB). Signed-off-by: Cezary Jackiewicz --- diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index 49c3ca0..ad2f8c1 100644 --- a/target/linux/ar71xx/image/Makefile +++ b/target/linux/ar71xx/image/Makefil

Re: [OpenWrt-Devel] [PATCH] ar71xx: add TP-LINK TL-WR710N v2

2015-04-18 Thread John Crispin
Hi, the patch does not apply anymore as we merges the patches that lynxis sent. can you rebase it please John On 18/04/2015 06:43, Cezary Jackiewicz wrote: > TP-Link TL-WR710n v2 looks like v1, but has less memory (4MB). > > Signed-off-by: Cezary Jackiewicz > --- > > diff --git a/targ