Re: [OpenWrt-Devel] AsiaRF MT7620a mounting sdhci drive readonly

2014-08-26 Thread John Crispin
Hi, i saw that the latest RTSDK driver has support for CD polling. i will have a look at the datasheet to figure out if we can work around this in software. i need to port the newest sdk driver anyhow to get the mt7628 support John On 27/08/2014 07:10, Luis Soltero wrote: > > > hello John, >

[OpenWrt-Devel] [PATCH] lantiq: BTHOMEHUBV2B use bigger mtd partition for kernel

2014-08-26 Thread Ben Mulvihill
The bb-rc3 image for the BTHOMEHUBV2B is too big for its mtd partition. This patch corrects the partition sizes in the device tree. This patch should really go in before bb-final, otherwise the BTHOMEHUBV2B images won't be useable. I do apologise for not spotting this straight away. Many thanks,

Re: [OpenWrt-Devel] NAND flashes in Broadcom routers: bad blocks, ECC

2014-08-26 Thread Rafał Miłecki
On 19 August 2014 20:45, Rafał Miłecki wrote: > I wanted to finally switch from NAND_ECC_NONE to NAND_ECC_SOFT (there > is no hw ECC) but it appears it won't be that straightforward. The > problem is NAND implementation in Broadcom's CFE bootloader. > > It appears that all the bootloader cares abo

Re: [OpenWrt-Devel] AsiaRF MT7620a mounting sdhci drive readonly

2014-08-26 Thread Luis Soltero
hello John, the following patch fixes the write protect issue on the AsiaRF FXS board (AWV002-001 REV .1) so the "broken-wp" patch is not required to mount the drive rw once the pin is grounded.  Not sure if you want to

[OpenWrt-Devel] [PATCH 2/2] dnsmasq: Make the --dhcp-host logic easier to understand

2014-08-26 Thread Kevin Cernekee
Use an if/else statement to cover the two different syntaxes. Add comments explaining what the end results should look like. This patch should not change the script's output. Signed-off-by: Kevin Cernekee --- .../network/services/dnsmasq/files/dnsmasq.init| 14 -- 1 file chan

[OpenWrt-Devel] [PATCH 1/2] dnsmasq: Fix hosts file format when MAC address is not specified

2014-08-26 Thread Kevin Cernekee
An entry like this in /etc/config/dhcp: config 'host' option 'name' 'pc2' option 'ip' '192.168.100.56' option 'dns' '1' results in a /tmp/hosts/dhcp entry that looks like this: 192.168.100.56 .lan Obviously it should say "pc2.lan". This happens because $name is

[OpenWrt-Devel] [PATCH] ar71xx: add Support for RB2011UiAS-2HnD

2014-08-26 Thread Michael Gerlach
--- .../ar71xx/base-files/etc/uci-defaults/01_leds | 3 ++- .../ar71xx/base-files/etc/uci-defaults/02_network | 5 ++-- target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 +++ ...6-MIPS-ath79-add_mikrotik_rb2011uias-2hnd.patch | 28 + ...6-MIPS-ath79-add_mikrotik_rb

[OpenWrt-Devel] [PATCH] ar71xx: add Support for RB2011UiAS-2HnD

2014-08-26 Thread Michael Gerlach
--- .../ar71xx/base-files/etc/uci-defaults/01_leds | 3 ++- .../ar71xx/base-files/etc/uci-defaults/02_network | 5 +++-- target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 +++ ...5-MIPS-ath79-add_mikrotik_rb2011uias-2hnd.patch | 26 ++ 4 files changed, 34 insertion

[OpenWrt-Devel] [PATCH RESENDv2] Create rDNS records for LuCI "Hostnames"

2014-08-26 Thread Tyler Fenby
LuCI creates "domain" UCI config sections, which the dnsmasq init file then, currently, translates into "address" config lines. This is not the correct usage of "address" (see r36943), and also causes rDNS records to not be created. This patches dnsmasq.init to utilize the additional hosts file int

Re: [OpenWrt-Devel] [PATCH] dnsmasq: Generate rDNS records for custom domain names

2014-08-26 Thread Tyler Fenby
...and it only just occurred to me that by "whitespace broken" John was referring to the fact that it's tabs and spaces mixed (.vimrc set up to work with Python, heh). I thought maybe gmail had screwed something up. I'm sorry. I'll actually correct the patch and send it again. Tyler Fenby Security

[OpenWrt-Devel] [PATCH RESEND] Create rDNS records for LuCI "Hostnames"

2014-08-26 Thread Tyler Fenby
LuCI creates "domain" UCI config sections, which the dnsmasq init file then, currently, translates into "address" config lines. This is not the correct usage of "address" (see r36943), and also causes rDNS records to not be created. This patches dnsmasq.init to utilize the additional hosts file int

Re: [OpenWrt-Devel] [PATCH] brcm47xx: image: build alternative TRX using less optimized LZMA

2014-08-26 Thread Stephen Parry
On 26 August 2014 10:00:35 BST, "Rafał Miłecki" wrote: >On 26 August 2014 10:26, Stephen Parry wrote: >> One gap in my my knowledge: which code actually loads squashfs into >memory - is that lzma-loader or something between lzma-loader and >kernel start please? > >SquashFS? It's loaded much lat

[OpenWrt-Devel] [Issue] busybox: template nc: "NO OPT l!"

2014-08-26 Thread Christian Schoenebeck
I compiled busybox 1.22.1 from current trunk with various (custom) settings for netcat template and find out following results: without any options/extension -> works fine only "server options (-l)" -> works fine only "extensions (-eiw and -f FILE)"-> works fine only "1

Re: [OpenWrt-Devel] [PATCH] brcm47xx: image: build alternative TRX using less optimized LZMA

2014-08-26 Thread Rafał Miłecki
On 26 August 2014 10:26, Stephen Parry wrote: > One gap in my my knowledge: which code actually loads squashfs into memory - > is that lzma-loader or something between lzma-loader and kernel start please? SquashFS? It's loaded much later, but the Linux kernel. After platform registers flash and

Re: [OpenWrt-Devel] [PATCH] brcm47xx: image: build alternative TRX using less optimized LZMA

2014-08-26 Thread Stephen Parry
I still have the original trx (I think) and the source plus the notes of how I built the trx. However, there are a lot of differences between the two builds: - The openwrt startup has changed dramatically in the last 9 months or so. - The old image was squashfs plus minimal writable jffs2; the new

Re: [OpenWrt-Devel] 6in4 does not recover after wan outage

2014-08-26 Thread Richard Mortimer
Hi, On 23/08/2014 00:19, Weedy wrote: On Fri, Aug 22, 2014 at 9:15 AM, Richard Mortimer wrote: However I've noticed that if the ADSL line drops then when it recovers my SiXXS 6in4 tunnel does not automatically re-establish the connection. Incase you need it "fixed" now, here's a workaround.

Re: [OpenWrt-Devel] [PATCH] brcm47xx: image: build alternative TRX using less optimized LZMA

2014-08-26 Thread Mathias Adam
Hi Stephen, do you still have the old working trx, or better, remember how you created it? That might help debugging the "Starting program" hang... Mathias Am Di, 26.08.2014, 04:34 schrieb Stephen Parry: > No sorry - I did not explain carefully enough: > 1. About 9 months ago I built a trx usi