Re: [OpenWrt-Devel] BT Home Hub 2B support - nand driver patch (for comment only)

2014-03-29 Thread John Crispin
Hi, finally had time to test this. i will merge antonios patch for now, it fixes the basi nand vs pcie issue. i will look at the bthh2 issue afterwards. John On 22/01/2014 01:01, Luka Perkov wrote: On Tue, Jan 21, 2014 at 08:50:03PM +0100, Ben Mulvihill wrote: Any enlightenment you

Re: [OpenWrt-Devel] BT Home Hub 2B support - nand driver patch (for comment only)

2014-03-29 Thread Ben Mulvihill
Hi John, Thanks for getting back to me. I was just about to write to ask whether you had had chance to look at it, because I have my other bthh2 patches more or less ready now. I'll submit a complete set once you have merged Antonio's patch. Ben On Sat, 2014-03-29 at 08:28 +0100, John Crispin

Re: [OpenWrt-Devel] BT Home Hub 2B support - nand driver patch (for comment only)

2014-01-22 Thread Ben Mulvihill
I missed that one on the mailing list. It is the same fix, or part of it anyway. Ben On Wed, 2014-01-22 at 01:01 +0100, Luka Perkov wrote: On Tue, Jan 21, 2014 at 08:50:03PM +0100, Ben Mulvihill wrote: Any enlightenment you can provide will be gratefully received. I have not tested this

Re: [OpenWrt-Devel] BT Home Hub 2B support - nand driver patch (for comment only)

2014-01-22 Thread John Crispin
I have a feeling that the patch posted by luka will fix the fritz3370 problem. i have a vague recollection that it worked once upon a time. I also remember that in my last test it did not work, but i had wifi enabled so that would fit in with the missing locking. I'll let you know if that is the

Re: [OpenWrt-Devel] BT Home Hub 2B support - nand driver patch (for comment only)

2014-01-22 Thread Ben Mulvihill
That makes sense. Thanks again. Ben On Wed, 2014-01-22 at 10:30 +0100, John Crispin wrote: I have a feeling that the patch posted by luka will fix the fritz3370 problem. i have a vague recollection that it worked once upon a time. I also remember that in my last test it did not work, but i

Re: [OpenWrt-Devel] BT Home Hub 2B support - nand driver patch (for comment only)

2014-01-22 Thread Ben Mulvihill
On Wed, 2014-01-22 at 00:42 +0100, John Crispin wrote: On 21/01/2014 21:55, David Lang wrote: On Tue, 21 Jan 2014, Ben Mulvihill wrote: The nand driver currently in trunk works fine, provided ... what is the current status of nand flash support? I asked about this within the last

Re: [OpenWrt-Devel] BT Home Hub 2B support - nand driver patch (for comment only)

2014-01-22 Thread Jonas Gorski
On Wed, Jan 22, 2014 at 1:02 PM, Ben Mulvihill ben.mulvih...@gmail.com wrote: On Wed, 2014-01-22 at 00:42 +0100, John Crispin wrote: On 21/01/2014 21:55, David Lang wrote: On Tue, 21 Jan 2014, Ben Mulvihill wrote: The nand driver currently in trunk works fine, provided ... what is the

Re: [OpenWrt-Devel] BT Home Hub 2B support - nand driver patch (for comment only)

2014-01-22 Thread Matti Laakso
The Home Hub 2B has both nand and nor flash connected to the ebu, plus an ath9k pci wireless card, and the main difficulty is getting all three working at the same time without interfering with each other. The nand driver currently in trunk works fine, provided that open-drain is enabled

Re: [OpenWrt-Devel] BT Home Hub 2B support - nand driver patch (for comment only)

2014-01-22 Thread Matti Laakso
Based on my experience with the boards with NOR only, the EBU_CS1 pin should always be driven (i.e., not open-drain) for the flash not to get corrupted by PCI. If it is not driven, it takes some time for the pin to be pulled up (depending on the pull-up resistors), and the flash chip may

Re: [OpenWrt-Devel] BT Home Hub 2B support - nand driver patch (for comment only)

2014-01-22 Thread Ben Mulvihill
On Wed, 2014-01-22 at 13:39 +0100, Matti Laakso wrote: The Home Hub 2B has both nand and nor flash connected to the ebu, plus an ath9k pci wireless card, and the main difficulty is getting all three working at the same time without interfering with each other. The nand driver currently

Re: [OpenWrt-Devel] BT Home Hub 2B support - nand driver patch (for comment only)

2014-01-22 Thread Matti Laakso
Interesting! I had assumed either that there was a cs0 pin, but that it did not appear anywhere in the sources because it was not reconfigurable in the way cs1 is, or else (but I don't know enough about electronics to know whether this is feasible in practice) that both nand and nor on the

Re: [OpenWrt-Devel] BT Home Hub 2B support - nand driver patch (for comment only)

2014-01-22 Thread Ben Mulvihill
On Wed, 2014-01-22 at 13:38 +0100, Jonas Gorski wrote: On Wed, Jan 22, 2014 at 1:02 PM, Ben Mulvihill ben.mulvih...@gmail.com wrote: On Wed, 2014-01-22 at 00:42 +0100, John Crispin wrote: On 21/01/2014 21:55, David Lang wrote: On Tue, 21 Jan 2014, Ben Mulvihill wrote: The nand

Re: [OpenWrt-Devel] BT Home Hub 2B support - nand driver patch (for comment only)

2014-01-22 Thread Ben Mulvihill
On Wed, 2014-01-22 at 18:28 +0100, Matti Laakso wrote: Interesting! I had assumed either that there was a cs0 pin, but that it did not appear anywhere in the sources because it was not reconfigurable in the way cs1 is, or else (but I don't know enough about electronics to know whether

[OpenWrt-Devel] BT Home Hub 2B support - nand driver patch (for comment only)

2014-01-21 Thread Ben Mulvihill
Together with other contributors at the now defunct psidoc site, I have produced a device tree and some patches to get the BT Home Hub 2B (Lantiq Danube-S) working with recent trunk builds. More work is needed before they are ready for submitting, but before going any further, I'd be very grateful

Re: [OpenWrt-Devel] BT Home Hub 2B support - nand driver patch (for comment only)

2014-01-21 Thread John Crispin
Hi Ben, oh dear, how i hate the ebu ... i will start by testing this patch on the fritz3370 where i have been seeing jffs2 errors. in general i am all for merging this, i will need a few days to think about this. John On 21/01/2014 20:50, Ben Mulvihill wrote: Together with other

Re: [OpenWrt-Devel] BT Home Hub 2B support - nand driver patch (for comment only)

2014-01-21 Thread David Lang
On Tue, 21 Jan 2014, Ben Mulvihill wrote: The nand driver currently in trunk works fine, provided ... what is the current status of nand flash support? I asked about this within the last couple of weeks and was told that supporing devices with nand flash would require major surgery to the

Re: [OpenWrt-Devel] BT Home Hub 2B support - nand driver patch (for comment only)

2014-01-21 Thread Ben Mulvihill
Hi John, Thank you. I had assumed this would probably only be of any use on the HH2B. If you are going to try it (or bits of it) out on the fritz3370, I should perhaps add that BTSimonh's patch for the 3.3.8 kernel (I take it he didn't ever submit it here?) also reset the chip in the chip select

Re: [OpenWrt-Devel] BT Home Hub 2B support - nand driver patch (for comment only)

2014-01-21 Thread Ben Mulvihill
I should perhaps have said provided there are no bad blocks on the part of the nand occupied by the squashfs, and provided that ubox mount_root is patched so that it distinguishes between jffs2 on nor and jffs2 on nand. But I suspect I shouldn't really be using a squashfs image on nand at all. I'd

Re: [OpenWrt-Devel] BT Home Hub 2B support - nand driver patch (for comment only)

2014-01-21 Thread John Crispin
On 21/01/2014 21:55, David Lang wrote: On Tue, 21 Jan 2014, Ben Mulvihill wrote: The nand driver currently in trunk works fine, provided ... what is the current status of nand flash support? I asked about this within the last couple of weeks and was told that supporing devices with nand

Re: [OpenWrt-Devel] BT Home Hub 2B support - nand driver patch (for comment only)

2014-01-21 Thread John Crispin
Hi, i am pretty sure the pinmux is set correctly on the board, however i will reverify it. do you have a link to btsimonh's 3.3.8 patch ? John On 21/01/2014 23:52, Ben Mulvihill wrote: Hi John, Thank you. I had assumed this would probably only be of any use on the HH2B. If you are

Re: [OpenWrt-Devel] BT Home Hub 2B support - nand driver patch (for comment only)

2014-01-21 Thread Luka Perkov
On Tue, Jan 21, 2014 at 08:50:03PM +0100, Ben Mulvihill wrote: Any enlightenment you can provide will be gratefully received. I have not tested this patch yet but it could be related to your problem... Luka From ad77bb90cbebcd107e81722e1fbdcff91fe55614 Mon Sep 17 00:00:00 2001 From: Antonios

Re: [OpenWrt-Devel] BT Home Hub 2B support - nand driver patch (for comment only)

2014-01-21 Thread Ben Mulvihill
It was originally posted at http://sourceforge.net/projects/hh2b4ever/files/ The file is 904-MIPS-lantiq-nand.patch in http://sourceforge.net/projects/hh2b4ever/files/Patches-20120414.zip There is also a compilation of bits and pieces from the original factory firmware, including the nand