Re: [OpenWrt-Devel] [PATCH] [RFC] lantiq: disable a bunch of features not applicable to my box

2016-05-18 Thread Ben Mulvihill
Hi Oswald, On Wed, 2016-05-18 at 09:39 +0200, Oswald Buddenhagen wrote: > - NAND/UBI support is completely irrelevant for my box, and for > lantiq/Danube in general (IIRC). It appears to me that it would make > sense to split it off from the xway target. NAND/UBI is required on BTHOMEHUB2B (x

[OpenWrt-Devel] [PATCH] lantiq: install uboot-envtools by default on BTHOMEHUBV3A

2016-04-25 Thread Ben Mulvihill
process. Signed-off-by: Ben Mulvihill --- diff -uprN a/target/linux/lantiq/xway/profiles/bt.mk b/target/linux/lantiq/xway/profiles/bt.mk --- a/target/linux/lantiq/xway/profiles/bt.mk 2016-04-25 12:05:49.0 +0200 +++ b/target/linux/lantiq/xway/profiles/bt.mk 2016-04-25 12:08:53.0

[OpenWrt-Devel] [PATCH v2] lantiq: use dwc2 by default on all ar9 boards

2016-04-25 Thread Ben Mulvihill
The dwc2 USB driver now works on Lantiq ar9, but the default is still ltq-hcd-ar9. This patch switches to dwc2 by default. v2: all ar9 boards (v1 was just for BTHOMEHUBV3A and WBMR) Signed-off-by: Ben Mulvihill --- diff -uprN a/target/linux/lantiq/xway/profiles/avm.mk b/target/linux/lantiq

Re: [OpenWrt-Devel] [PATCH] lantiq: remove read-only flag on two partitions on BTHOMEHUBV3A

2016-04-25 Thread Ben Mulvihill
On Mon, 2016-04-25 at 16:29 +0200, Martin Blumenstingl wrote: > On Mon, Apr 25, 2016 at 3:00 PM, John Crispin wrote: > > is this not a bit risky ? normally we try to keep them read-only so that > > users cannot accidentally kill them. is the calib data normally not > > located in the art partition

[OpenWrt-Devel] [PATCH] lantiq: use dwc2 by default on BTHOMEHUBV3A and WBMR

2016-04-25 Thread Ben Mulvihill
boards? I presume that if one works then the others should too. Thanks, Ben Signed-off-by: Ben Mulvihill --- diff -uprN a/target/linux/lantiq/xway/profiles/bt.mk b/target/linux/lantiq/xway/profiles/bt.mk --- a/target/linux/lantiq/xway/profiles/bt.mk 2016-04-25 11:53:27.0 +0200 +++ b

[OpenWrt-Devel] [PATCH] lantiq: remove read-only flag on two partitions on BTHOMEHUBV3A

2016-04-24 Thread Ben Mulvihill
Remove read-only flag on two partitions on BTHOMEHUBV3A: uboot-config - otherwise fw_setenv command cannot be used. ath9k-cal- so that ath9k calibration data can be copied to the partition on a newly installed board. Signed-off-by: Ben Mulvihill --- --- a/target/linux

[OpenWrt-Devel] [PATCH] lantiq: uboot-envtools on BTHOMEHUBV3A

2016-04-24 Thread Ben Mulvihill
Generate fw_env.config for BTHOMEHUBV3A. Signed-off-by: Ben Mulvihill --- --- a/package/boot/uboot-envtools/files/lantiq 2016-04-24 17:39:13.800242670 +0200 +++ b/package/boot/uboot-envtools/files/lantiq 2016-04-24 17:38:23.778361298 +0200 @@ -20,6 +20,9 @@ GIGASX76X) BTHOMEHUBV2B

Re: [OpenWrt-Devel] 回复: How toCustom admin page on openwrt ?

2015-03-13 Thread Ben Mulvihill
On Thu, 2015-03-12 at 23:29 +0800, Tymon wrote: > strange, how can the cgi or uhttp translate myrouter.site1 to gateway > ip(i.e. your router, default is 192.168.1.1) ? > I don't think cgi or uhttp translate anything. The computer running the browser (and all other computers on the local network

Re: [OpenWrt-Devel] 回复: How to Custom admin page on openwrt ?

2015-03-12 Thread Ben Mulvihill
Surely it is possible to do this using dnsmasq? I have something like this in my /etc/config/dhcp file: config dnsmasq option domainneeded '1' option boguspriv '1' option filterwin2k '0' option localise_queries '1' option rebind_protection '1' option

Re: [OpenWrt-Devel] [PATCH] uboot-lantiq: fix P-2812HNU-F1/3 package dependency

2015-01-30 Thread Ben Mulvihill
> > the NAND boot does not work yet. I was not able to make it work with a > SPL only because the BootROM only reads the first page. The Lantiq UGW > U-Boot uses a very small pre-loader which loads another pre-loader and > fits in the first page. Thus we need to convert to SPL/TPL support > from

Re: [OpenWrt-Devel] [PATCH] uboot-lantiq: fix P-2812HNU-F1/3 package dependency

2015-01-27 Thread Ben Mulvihill
Hi Antti, (Note that the diffs in this message are for information. They are not patches submitted for merging - not at this stage anyway.) > I tried and it seems the ram version > (openwrt-lantiq-p2812hnufx_ram-u-boot.asc) builds and boots properly. > > The openwrt-lantiq-p2812hnufx_nandspl-u-b

Re: [OpenWrt-Devel] uboot-lantiq cgu settings for ramboot image

2015-01-24 Thread Ben Mulvihill
> > I'm going to integrate that patch in the openwrt/14.04 branch. If you > have a working patch for the BT Home Hub; I'd like to integrate it too. > After that we can refresh the patches in the OpenWRT tree. > Hi Daniel, Not yet I'm afraid. I still have some problems with ethernet and the nan

[OpenWrt-Devel] [PATCH] lantiq: correct value for fpi clock on ar9

2015-01-22 Thread Ben Mulvihill
m not sure about the patch naming and numbering convention. Do please let me know it this is not OK. Many thanks, Ben Mulvihill Signed-off-by: Ben Mulvihill --- diff -uprN a/target/linux/lantiq/patches-3.14/0038-MIPS-lantiq-fpi-on-ar9.patch b/target/linux/lantiq/patches-3.14/0038-MIPS-lantiq-fpi-o

Re: [OpenWrt-Devel] uboot-lantiq cgu settings for ramboot image

2015-01-22 Thread Ben Mulvihill
On Thu, 2015-01-22 at 10:07 +0100, John Crispin wrote: > is this patch correct and should be merged or is it a RFC ? > > http://patchwork.ozlabs.org/patch/431024/ Daniel found a mistake in the current code. I found another. This fixes both, so I guess it is a patch rather than an RFC. I understan

Re: [OpenWrt-Devel] [PATCH] lantiq: correct value for fpi clock on ar9

2015-01-22 Thread Ben Mulvihill
On Thu, 2015-01-22 at 08:34 +0100, John Crispin wrote: > > On 21/01/2015 10:35, Ben Mulvihill wrote: > > Hello, > > > > This is a patch to go in target/linux/lantiq/patches-3.14/ > > please send a patch that adds the file instead of just sending the file > &g

[OpenWrt-Devel] [PATCH] lantiq: correct value for fpi clock on ar9

2015-01-21 Thread Ben Mulvihill
Hello, This is a patch to go in target/linux/lantiq/patches-3.14/ It corrects the fpi clock value on lantiq ar9. See this discussion for further details: https://lists.openwrt.org/pipermail/openwrt-devel/2015-January/030688.html --- a/arch/mips/lantiq/xway/clk.c 2015-01-21 10:15:44.0

Re: [OpenWrt-Devel] uboot-lantiq cgu settings for ramboot image

2015-01-20 Thread Ben Mulvihill
On Tue, 2015-01-20 at 14:05 +0100, Daniel Schwierzeck wrote: > 2015-01-20 12:28 GMT+01:00 Ben Mulvihill : > > > > > Some of the bitshifting in arch/mips/cpu/mips32/arx100/cgu.c is 1 > > out. A patch along these lines should fix it: > > yes, the code is wrong. I hav

Re: [OpenWrt-Devel] uboot-lantiq cgu settings for ramboot image

2015-01-20 Thread Ben Mulvihill
On Tue, 2015-01-20 at 00:39 +0100, Ben Mulvihill wrote: > On Mon, 2015-01-19 at 19:21 +0100, Ben Mulvihill wrote: > > On Mon, 2015-01-19 at 16:47 +0100, Daniel Schwierzeck wrote: > > > 2015-01-19 15:44 GMT+01:00 Ben Mulvihill : > > > > On Mon, 2015-01-19 at 11:

Re: [OpenWrt-Devel] uboot-lantiq cgu settings for ramboot image

2015-01-19 Thread Ben Mulvihill
On Mon, 2015-01-19 at 19:21 +0100, Ben Mulvihill wrote: > On Mon, 2015-01-19 at 16:47 +0100, Daniel Schwierzeck wrote: > > 2015-01-19 15:44 GMT+01:00 Ben Mulvihill : > > > On Mon, 2015-01-19 at 11:51 +, Conor O'Gorman wrote: > > >> On 19/01/15 10:46,

Re: [OpenWrt-Devel] uboot-lantiq cgu settings for ramboot image

2015-01-19 Thread Ben Mulvihill
On Mon, 2015-01-19 at 16:47 +0100, Daniel Schwierzeck wrote: > 2015-01-19 15:44 GMT+01:00 Ben Mulvihill : > > On Mon, 2015-01-19 at 11:51 +, Conor O'Gorman wrote: > >> On 19/01/15 10:46, Ben Mulvihill wrote: > >> > Hello, > >> > > >> &g

Re: [OpenWrt-Devel] uboot-lantiq cgu settings for ramboot image

2015-01-19 Thread Ben Mulvihill
On Mon, 2015-01-19 at 11:51 +, Conor O'Gorman wrote: > On 19/01/15 10:46, Ben Mulvihill wrote: > > Hello, > > > > I am trying to build uboot-lantiq for the BT Home Hub 3A (lantiq > > ar9), and am wondering where to initialise the cgu, in the case > &g

Re: [OpenWrt-Devel] uboot-lantiq cgu settings for ramboot image

2015-01-19 Thread Ben Mulvihill
Hi Daniel, On Mon, 2015-01-19 at 14:57 +0100, Daniel Schwierzeck wrote: > Hi Ben, > > 2015-01-19 11:46 GMT+01:00 Ben Mulvihill : > > Hello, > > > > I am trying to build uboot-lantiq for the BT Home Hub 3A (lantiq > > ar9), and am wondering where to initial

[OpenWrt-Devel] uboot-lantiq cgu settings for ramboot image

2015-01-19 Thread Ben Mulvihill
Hello, I am trying to build uboot-lantiq for the BT Home Hub 3A (lantiq ar9), and am wondering where to initialise the cgu, in the case of a ramboot image for uart booting. Normally the cgu is initialised in lowlevel_init, but that code is bypassed in ramboot images. The result is that the board

Re: [OpenWrt-Devel] question about ath9k endianness check in eeprom_9287.c

2015-01-16 Thread Ben Mulvihill
On Sun, 2014-12-28 at 01:02 +0100, Ben Mulvihill wrote: > Hello Felix, > > I am working on the BT Home Hub 3A, which has ath9k wireless. > More or less everything is working now, apart from > reading the calibration data. To get that working too, > endianness checking mus

[OpenWrt-Devel] [PATCH 2/3] lantiq: BT Home Hub 3A - profile

2014-12-28 Thread Ben Mulvihill
BT Home Hub 3A - profile Signed-off-by: Ben Mulvihill --- target/linux/lantiq/image/Makefile |3 +++ target/linux/lantiq/xway/profiles/bt.mk | 18 ++ 2 files changed, 21 insertions(+) diff -uprN a/target/linux/lantiq/image/Makefile b/target/linux/lantiq/image

[OpenWrt-Devel] [PATCH 3/3] lantiq: BT Home Hub 3A - userspace

2014-12-28 Thread Ben Mulvihill
BT Home Hub 3A - userspace Signed-off-by: Ben Mulvihill --- target/linux/lantiq/base-files/etc/uci-defaults/01_leds|5 + target/linux/lantiq/base-files/etc/uci-defaults/02_network |2 +- target/linux/lantiq/base-files/lib/upgrade/platform.sh |2 +- 3 files changed, 7

[OpenWrt-Devel] [PATCH 1/3] lantiq: BT Home Hub3A - device tree

2014-12-28 Thread Ben Mulvihill
BT Home Hub3A - device tree Signed-off-by: Ben Mulvihill --- diff -uprN a/target/linux/lantiq/dts/BTHOMEHUBV3A.dts b/target/linux/lantiq/dts/BTHOMEHUBV3A.dts --- a/target/linux/lantiq/dts/BTHOMEHUBV3A.dts 1970-01-01 01:00:00.0 +0100 +++ b/target/linux/lantiq/dts/BTHOMEHUBV3A.dts 2014

[OpenWrt-Devel] support for BT Home Hub 3A

2014-12-28 Thread Ben Mulvihill
calibration data can be fixed up offline as part of the installation process. Regards, Ben Mulvihill ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] question about ath9k endianness check in eeprom_9287.c

2014-12-27 Thread Ben Mulvihill
1/patches ? Or should I try to get the fix into compat-wireless directly? Many thanks, Ben Mulvihill ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] patchwork has moved

2014-12-19 Thread Ben Mulvihill
nwrt/list/ > > (plain patchwork.openwrt.org address seems to get redirected to the new site > at ozlabs) > > > On 19.12.2014 17:09, Ben Mulvihill wrote: > > Hi, > > > > Are the patches from the old patchwork (regardless of status) > > accessible anywhere? They a

[OpenWrt-Devel] [PATCH] lantiq: Fix adsl led on Home Hub 2B

2014-12-19 Thread Ben Mulvihill
This fixes the adsl led on the Home Hub 2B. Signed-off-by: Ben Mulvihill --- --- a/target/linux/lantiq/base-files/etc/uci-defaults/01_leds 2014-12-19 16:26:11.0 +0100 +++ b/target/linux/lantiq/base-files/etc/uci-defaults/01_leds 2014-12-19 16:27:55.0 +0100 @@ -22,7 +22,7

Re: [OpenWrt-Devel] patchwork has moved

2014-12-19 Thread Ben Mulvihill
Hi, Are the patches from the old patchwork (regardless of status) accessible anywhere? They are sometimes a useful reference. Many thanks, Ben On Wed, 2014-12-10 at 10:19 +0100, John Crispin wrote: > Hi, > > patchwork has moved, to https://patchwork.ozlabs.org > > we would like express our

Re: [OpenWrt-Devel] lantiq usb - isochronous transfers

2014-11-17 Thread Ben Mulvihill
obably I will also try to use dwc-usb one with my device as this one > seems to be the most promising one. > > > Tobias > > > Am Montag, den 17.11.2014, 12:58 +0100 schrieb Ben Mulvihill: > > Hi Tobias, > > > > Thank you for reporting on your investigati

Re: [OpenWrt-Devel] lantiq usb - isochronous transfers

2014-11-17 Thread Ben Mulvihill
Hi Tobias, Thank you for reporting on your investigations. I have been comparing the AA and BB versions of ifx-hcd, having completely failed to notice that AA actually uses dwc-usb. Silly me! I am intrigued though that ifx-hcd 3.2 does compile for you with isochronous transfers enabled. I get th

Re: [OpenWrt-Devel] lantiq usb - isochronous transfers

2014-11-10 Thread Ben Mulvihill
es though that imporve the current state. > > maybe we could also try to port a ifxhcd froma recent GPL tarball. > > > > > On 10/11/2014 09:03, Ben Mulvihill wrote: > > May I ask what the status of isochronous transfer support is > > in the lantiq hcd driver? It

[OpenWrt-Devel] lantiq usb - isochronous transfers

2014-11-10 Thread Ben Mulvihill
igate further can you tell me whether it is supposed to be working? (Below, for reference, are the corrections I have made. But this is just an initial attempt, certainly not a patch to be merged.) Many thanks, Ben Mulvihill --- a/package/kernel/lantiq/ltq-hcd/src/ifxhcd_intr.c 2014-11-10

Re: [OpenWrt-Devel] Barrier Breaker 14.07 Final

2014-10-10 Thread Ben Mulvihill
Congratulations! (a little late ...) On Thu, 2014-10-02 at 14:59 +0200, Steven Barth wrote: > The OpenWrt developers are proud to announce the final release > of OpenWrt Barrier Breaker. > >___ __ > | |.-.-.-.| | | |..| |_ >

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

2014-09-01 Thread Ben Mulvihill
Brilliant! ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

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

2014-09-01 Thread Ben Mulvihill
On Wed, 2014-08-27 at 08:43 +0200, Ben Mulvihill wrote: > 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&

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

2014-08-26 Thread Ben Mulvihill
hanks, Ben Signed-off-by: Ben Mulvihill --- --- a/target/linux/lantiq/dts/BTHOMEHUBV2B.dts 2014-08-27 08:28:48.372326110 +0200 +++ b/target/linux/lantiq/dts/BTHOMEHUBV2B.dts 2014-08-27 01:04:46.230278970 +0200 @@ -81,12 +81,12 @@ partition

Re: [OpenWrt-Devel] [PATCH] lantiq xway: generate ramdisk image by default

2014-07-21 Thread Ben Mulvihill
to > install. we do the same for the mikrotik boards. > > John > > On 20/07/2014 10:03, Ben Mulvihill wrote: > > No problem. I'll try to make sure there is a link to a non-official > > ramdisk image on the wiki. (Along with some installation > > inst

Re: [OpenWrt-Devel] [PATCH] lantiq xway: generate ramdisk image by default

2014-07-20 Thread Ben Mulvihill
bug left over from > some cargo cult cleanups. this causes the image builder to not build > when ramdisk is enabled. i plan to clean this up post BB. i will > ignore this patch until said time. > > John > > On 19/07/2014 15:13, Ben Mulvihill wrote: > > The instal

[OpenWrt-Devel] [PATCH] lantiq xway: generate ramdisk image by default

2014-07-19 Thread Ben Mulvihill
The installation process on nand-based boards using ubi like the BTHOMEHUBV2B makes use of a ramdisk image, so it makes sense to generate this by default. Signed-off-by: Ben Mulvihill --- --- a/target/linux/lantiq/xway/target.mk2014-07-19 14:59:39.691201637 +0200 +++ b/target/linux

[OpenWrt-Devel] [PATCH] lantiq: configure uboot-envtools on BTHOMEHUBV2B and make it work correctly on other lantiq boards

2014-07-12 Thread Ben Mulvihill
Generate the configuration file for uboot-envtools on BTHOMEHUBV2B. Adds the specific parameters for the BTHOMEHUBV2B and also fixes an incorrect path which would have affected other lantiq boards as well (currently only the GIGASX76X). Signed-off-by: Ben Mulvihill --- --- a/package/boot/uboot

[OpenWrt-Devel] [PATCH] lantiq: enable SysupgradeNAND for BTHOMEHUBV2B

2014-07-10 Thread Ben Mulvihill
Enables SysupgradeNAND for BTHOMEHUBV2B. Depends on the following patches: http://patchwork.openwrt.org/patch/5817/ http://patchwork.openwrt.org/patch/5848/ http://patchwork.openwrt.org/patch/5851/ Many thanks everyone for your help the last couple of days. Ben Signed-off-by: Ben Mulvihill

[OpenWrt-Devel] [PATCH] lantiq xway: disable gluebi and enable ubiblock

2014-07-10 Thread Ben Mulvihill
Disables gluebi and enables ubiblock on lantiq xway. Squashfs images on nand use ubifs instead of jffs2 for the overlay. I'll leave the equivalent patch for xrx200 to someone who has a board to test. Signed-off-by: Ben Mulvihill --- --- a/target/linux/lantiq/xway/config-default 2014-

Re: [OpenWrt-Devel] Help with SysupgradeNAND

2014-07-09 Thread Ben Mulvihill
On Wed, 2014-07-09 at 16:27 +0200, Daniel Golle wrote: > On Wed, Jul 09, 2014 at 04:10:52PM +0200, Ben Mulvihill wrote: > > > JFFS2 works on bare MTD devices (originally NOR only, hackish NAND support > > > exists in the wild though YAFFS2 is more commonly used). > > >

[OpenWrt-Devel] [PATCH] procd: correctly identify ubifs in tar file

2014-07-09 Thread Ben Mulvihill
A missing path prevents the rootfs type contained in a SysupgradeNAND tar file from being determined correctly. This fixes it, and also corrects a minor spelling mistake. Signed-off-by: Ben Mulvihill --- --- a/package/system/procd/files/nand.sh2014-07-09 08:11:04.563205951 +0200 +++ b

Re: [OpenWrt-Devel] Help with SysupgradeNAND

2014-07-09 Thread Ben Mulvihill
On Wed, 2014-07-09 at 09:02 +0200, John Crispin wrote: > > On 09/07/2014 08:42, Ben Mulvihill wrote: > > Hello Daniel, > > > > I have got SysupgradeNAND working on the BTHOMEHUBV2B with an > > all-ubifs rootfs, with a patch which I'll submit in another email,

[OpenWrt-Devel] Help with SysupgradeNAND

2014-07-08 Thread Ben Mulvihill
Hello Daniel, I have got SysupgradeNAND working on the BTHOMEHUBV2B with an all-ubifs rootfs, with a patch which I'll submit in another email, once I've recompiled with the latest trunk and made sure that everything is working, but in the meantime I have a question: am I right in thinking that th

[OpenWrt-Devel] [PATCH] lantiq: generate /tmp/sysinfo/lantiq_board_name if missing

2014-07-04 Thread Ben Mulvihill
d-off-by: Ben Mulvihill --- --- a/target/linux/lantiq/base-files/lib/functions/lantiq.sh2014-07-04 14:21:28.777178976 +0200 +++ b/target/linux/lantiq/base-files/lib/functions/lantiq.sh2014-07-04 14:17:23.451467131 +0200 @@ -13,6 +13,7 @@ lantiq_board_detect() { lantiq_board_

Re: [OpenWrt-Devel] [PATCH v2] lantiq: UbinizeImage instead of lantiq-specific ubinize.cfg files

2014-07-03 Thread Ben Mulvihill
On Wed, 2014-07-02 at 18:44 +0200, John Crispin wrote: > > On 02/07/2014 08:37, Ben Mulvihill wrote: > > New make target in lantiq to use UbinizeImage and SysupgradeNand. > > Only enabled for BTHOMEHUBV2B for the moment but should be useable > > for other lantiq nand boa

[OpenWrt-Devel] [PATCH v2] lantiq: UbinizeImage instead of lantiq-specific ubinize.cfg files

2014-07-01 Thread Ben Mulvihill
New make target in lantiq to use UbinizeImage and SysupgradeNand. Only enabled for BTHOMEHUBV2B for the moment but should be useable for other lantiq nand boards. Signed-off-by: Ben Mulvihill --- --- a/target/linux/lantiq/image/Makefile2014-07-02 03:44:34.190125289 +0200 +++ b/target

Re: [OpenWrt-Devel] [PATCH - for comment only] lantiq: use UbinizeImage instead lantiq-specific ubinize.cfg files

2014-07-01 Thread Ben Mulvihill
On Tue, 2014-07-01 at 22:17 +0200, John Crispin wrote: > > On 01/07/2014 22:12, Ben Mulvihill wrote: > > Hello again, > > > > I have just tried sysupgradeNAND on the BTHOMEHUBV2B, and it fails > > with the following error: > > > > > > cat: can&#

Re: [OpenWrt-Devel] [PATCH - for comment only] lantiq: use UbinizeImage instead lantiq-specific ubinize.cfg files

2014-07-01 Thread Ben Mulvihill
> On 30/06/2014 20:40, John Crispin wrote: > > > > > > On 30/06/2014 20:32, Ben Mulvihill wrote: > >> Great. Unless Daniel has any objections, I'll re-submit it > >> properly ( - Patchwork didn't pick this one up). It didn't break > >> the BTHO

Re: [OpenWrt-Devel] [PATCH - for comment only] lantiq: use UbinizeImage instead lantiq-specific ubinize.cfg files

2014-06-30 Thread Ben Mulvihill
> is the kernel located on the same nand .. i recall that the unit had a > nor flash aswell. > Yes, kernel is on nand. The nor is just for uBoot. Iĺl have a look at your example. Ben ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http

Re: [OpenWrt-Devel] [PATCH - for comment only] lantiq: use UbinizeImage instead lantiq-specific ubinize.cfg files

2014-06-30 Thread Ben Mulvihill
Mon, 2014-06-30 at 14:43 +0200, John Crispin wrote: > > On 30/06/2014 13:40, Ben Mulvihill wrote: > > Hello Daniel and John, > > > > Could you have a look at this patch, and let me know if this is the > > best approach? I have defined new make targets for lantiq

[OpenWrt-Devel] [PATCH - for comment only] lantiq: use UbinizeImage instead lantiq-specific ubinize.cfg files

2014-06-30 Thread Ben Mulvihill
t has been modified as well the make targets Image/Build/ubifs and Image/Build/ubi can be removed from target/linux/lantiq/image/Makefile. Thanks, Ben Signed-off-by: Ben Mulvihill --- --- a/target/linux/lantiq/image/Makefile2014-06-30 11:49:59.562213352 +0200 +++ b/target/linux/lantiq/imag

[OpenWrt-Devel] [PATCH] lantiq: remove deprecated jffs2_nand configuration

2014-06-23 Thread Ben Mulvihill
/ It is marked as accepted in patchwork but doesn't seem to have been committed. As far as I am concerned it too is deprecated. Signed-off-by: Ben Mulvihill --- target/linux/lantiq/image/Makefile |8 target/linux/lantiq/xway/target.mk |2 +- 2 files changed, 1 insertion(

Re: [OpenWrt-Devel] [PATCH] lantiq: ubinize autoresize flag for rootfs_data

2014-06-22 Thread Ben Mulvihill
On Sun, 2014-06-22 at 14:52 +0200, John Crispin wrote: > > On 22/06/2014 14:44, Daniel wrote: > > (which should maybe also become a make target similar to > > SysupgradeNAND). > > patches welcome @Daniel: I'll have a look. I might come back to you for help at some point if that's OK. @John:

[OpenWrt-Devel] [PATCH] lantiq: ubinize autoresize flag for rootfs_data

2014-06-22 Thread Ben Mulvihill
Setting this flag allows rootfs_data to expand on first boot to fill remaining free space on nand. Signed-off-by: Ben Mulvihill --- --- a/target/linux/lantiq/image/ubinize-overlay.cfg 2014-06-22 13:06:07.165906341 +0200 +++ b/target/linux/lantiq/image/ubinize-overlay.cfg 2014-06-22 13

[OpenWrt-Devel] ubinize autoresize flag for overlay partition on lantiq

2014-06-22 Thread Ben Mulvihill
Hi, Is there any reason why the autoresize flag is not currently enabled for the rootfs_data partition in ubinize-overlay.cfg on lantiq? I have tried it and it seems to work fine. Thanks, Ben ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.

[OpenWrt-Devel] [PATCH v3] lantiq: make zlib compression on ubifs the default for BTHOMEHUBV2B

2014-06-19 Thread Ben Mulvihill
On Fri, 2014-06-20 at 07:51 +0200, Ben Mulvihill wrote: > On Thu, 2014-06-19 at 23:09 +0200, Ben Mulvihill wrote: > > Nand flash on the Home Hub 2B is 32M, so it makes sense at > > least for this board to use some sort of compression on > > ubifs. Of course anyone building tru

[OpenWrt-Devel] [PATCH v2] lantiq: make zlib compression on ubifs the default for BTHOMEHUBV2B

2014-06-19 Thread Ben Mulvihill
On Thu, 2014-06-19 at 23:09 +0200, Ben Mulvihill wrote: > Nand flash on the Home Hub 2B is 32M, so it makes sense at > least for this board to use some sort of compression on > ubifs. Of course anyone building trunk for themselves can > choose whatever they want, but with a release co

[OpenWrt-Devel] [PATCH] lantiq: make zlib compression on ubifs the default for BTHOMEHUBV2B

2014-06-19 Thread Ben Mulvihill
Nand flash on the Home Hub 2B is 32M, so it makes sense at least for this board to use some sort of compression on ubifs. Of course anyone building trunk for themselves can choose whatever they want, but with a release coming up, I think compression should be the default in pre-built images. Howeve

[OpenWrt-Devel] [PATCH] lantiq: copy rootfs-overlay.ubi to bin/lantiq

2014-06-18 Thread Ben Mulvihill
At the moment, an rootfs.ubi is copied over to bin/lantiq but rootfs-overlay.ubi is not. This adds it. Signed-off-by: Ben Mulvihill --- --- a/target/linux/lantiq/image/Makefile2014-06-18 20:50:46.799775413 +0200 +++ b/target/linux/lantiq/image/Makefile2014-06-18 20:51

[OpenWrt-Devel] [PATCH] lantiq: make loading pci fixup data from cal_data work again

2014-06-17 Thread Ben Mulvihill
nd it in in case it was any use to anyone. Ben Mulvihill --- a/arch/mips/lantiq/xway/ath_eep.c 2014-06-16 12:10:10.413893209 +0200 +++ b/arch/mips/lantiq/xway/ath_eep.c 2014-06-16 12:10:26.366264625 +0200 @@ -35,6 +35,7 @@ static int ath9k_pci_plat_dev_init(struc return 0; } +stati

[OpenWrt-Devel] [PATCH] lantiq BTHOMEHUBV2B - update dts for automatic detection of ubi partition and rootfs type

2014-06-15 Thread Ben Mulvihill
This patches the BTHOMEHUB2B device tree to make use of the new code for automatic detection of the ubi partition and the rootfs type within it. Gets rid of the ugly alternative bootargs lines. Signed-off-by: Ben Mulvihill --- --- a/target/linux/lantiq/dts/BTHOMEHUBV2B.dts 2014-06-14 07:24

Re: [OpenWrt-Devel] changeset 40948 breaks loading ath9k calibration data from EEPROM

2014-06-14 Thread Ben Mulvihill
On Sat, 2014-06-14 at 23:08 +0200, José Vázquez wrote: > 2014-06-14 21:47 GMT+02:00, Ben Mulvihill : > > On Sat, 2014-06-14 at 18:53 +0200, José Vázquez wrote: > >> > >> Unless the BTHOMEHUBV2B has an Atheros b/g wireless chip the patch > >> should have no e

Re: [OpenWrt-Devel] changeset 40948 breaks loading ath9k calibration data from EEPROM

2014-06-14 Thread Ben Mulvihill
On Sat, 2014-06-14 at 18:53 +0200, José Vázquez wrote: > 2014-06-14 14:32 GMT+02:00, Ben Mulvihill : > > > > On Sat, 2014-06-14 at 14:06 +0200, John Crispin wrote: > >> > >> On 14/06/2014 13:29, Ben Mulvihill wrote: > >> > Hi, > >> > &g

Re: [OpenWrt-Devel] changeset 40948 breaks loading ath9k calibration data from EEPROM

2014-06-14 Thread Ben Mulvihill
On Sat, 2014-06-14 at 14:06 +0200, John Crispin wrote: > > On 14/06/2014 13:29, Ben Mulvihill wrote: > > Hi, > > > > Since changeset 40948, calibration data is no longer correctly > > loaded from EEPROM on the BTHOMEHUBV2B. I've been trying to make

[OpenWrt-Devel] changeset 40948 breaks loading ath9k calibration data from EEPROM

2014-06-14 Thread Ben Mulvihill
Hi, Since changeset 40948, calibration data is no longer correctly loaded from EEPROM on the BTHOMEHUBV2B. I've been trying to make sense of the various changes to 0010-MIPS-lantiq-wifi-and-ethernet-eeprom-handling.patch and it looks to me as though merging José's recent patch for the ARV4518PW

[OpenWrt-Devel] [PATCH] fix ubi-utils dependency problem

2014-06-13 Thread Ben Mulvihill
The latest few versions of trunk fail to build on boards using ubi (I tried BTHOMEHUB2B and FRITZ3370). The error is that zlib.h is not found while building ubi-utils. It looks like a dependency problem and the following patch fixes it. Signed-off-by: Ben Mulvihill --- --- a/package/utils/ubi

Re: [OpenWrt-Devel] ubi on BTHH2B

2014-06-08 Thread Ben Mulvihill
On Sun, 2014-06-08 at 10:57 +0200, John Crispin wrote: > > On 08/06/2014 10:21, Ben Mulvihill wrote: > > Hello, > > > > May I ask for a update on these plans? > > i am in the middle of this. so any day now ... > > managed to get ubiblock running on 3.10 and

Re: [OpenWrt-Devel] ubi on BTHH2B

2014-06-08 Thread Ben Mulvihill
Hello, May I ask for a update on these plans? On Mon, 2014-04-21 at 09:29 +0200, John Crispin wrote: > > On 21/04/2014 07:06, Ben Mulvihill wrote: > > Hi John, > > > > May I take up your offer of a hand with overlayfs on top of ubi? I > > have in fact managed

Re: [OpenWrt-Devel] [PATCH] lantiq: BT Home Hub 2B - overlayfs on top of ubi

2014-04-22 Thread Ben Mulvihill
On Tue, 2014-04-22 at 09:52 +0200, John Crispin wrote: > > On 21/04/2014 19:44, Ben Mulvihill wrote: > > - bootargs = "console=ttyLTQ0,115200 init=/etc/preinit > > rootfstype=squashfs,jffs2"; + // uncomment for overlayfs on > > top o

[OpenWrt-Devel] [PATCH] lantiq: BT Home Hub 2B - overlayfs on top of ubi

2014-04-21 Thread Ben Mulvihill
BT Home Hub 2B: use overlayfs on top of ubi. Signed-off-by: Ben Mulvihill --- target/linux/lantiq/dts/BTHOMEHUBV2B.dts | 14 +++--- target/linux/lantiq/xway/config-default | 17 + target/linux/lantiq/xway/profiles/bt.mk |4 target/linux/lantiq/xway

Re: [OpenWrt-Devel] ubi on BTHH2B

2014-04-21 Thread Ben Mulvihill
On Mon, 2014-04-21 at 09:29 +0200, John Crispin wrote: > > On 21/04/2014 07:06, Ben Mulvihill wrote: > > Hi John, > > > > May I take up your offer of a hand with overlayfs on top of ubi? I > > have in fact managed to get a working overlay + ubi image, and also >

[OpenWrt-Devel] ubi on BTHH2B

2014-04-20 Thread Ben Mulvihill
Hi John, May I take up your offer of a hand with overlayfs on top of ubi? I have in fact managed to get a working overlay + ubi image, and also a ubifs image. But I still have a few questions: - Am I right in thinking that there is no way to concatenate the kernel and ubi image and have them sp

[OpenWrt-Devel] [PATCH 7/7] lantiq: BT Home Hub 2B support - userspace

2014-04-02 Thread Ben Mulvihill
Basic userspace configuration for BT Home Hub 2B Signed-off-by: Ben Mulvihill --- target/linux/lantiq/base-files/etc/uci-defaults/01_leds|7 +++ target/linux/lantiq/base-files/etc/uci-defaults/02_network |5 + 2 files changed, 12 insertions(+) diff -uprN a/target/linux

[OpenWrt-Devel] [PATCH 6/7] lantiq: BT Home Hub 2B support - board support

2014-04-02 Thread Ben Mulvihill
Board support patch for BT Home Hub 2B Signed-off-by: Ben Mulvihill --- include/image.mk |4 target/linux/lantiq/dts/BTHOMEHUBV2B.dts | 275 + target/linux/lantiq/image/Makefile | 13 target/linux/lantiq/xway/config-default |6

[OpenWrt-Devel] [PATCH 5/7] lantiq: BT Home Hub 2B support - jedec probe

2014-04-02 Thread Ben Mulvihill
Lantiq nor patch. Adds support for jedec probing if cfi probing fails. Signed-off-by: Ben Mulvihill --- target/linux/lantiq/config-default |1 target/linux/lantiq/patches-3.10/0105-mips-lantiq-flash-add-jedec-probe.patch | 38 ++ 2

[OpenWrt-Devel] [PATCH 4/7] lantiq: BT Home Hub 2B support - nand pci interference

2014-04-02 Thread Ben Mulvihill
Prevents interference between the xway nand driver and pci. (Based on work by Simon Hayes first published on www.psidoc.com and http://sourceforge.net/projects/hh2b4ever/) Signed-off-by: Ben Mulvihill --- --- a/drivers/mtd/nand/xway_nand.c 2014-04-01 21:24:52.798612391 +0200 +++ a/drivers

[OpenWrt-Devel] [PATCH 3/7] lantiq: BT Home Hub 2B support - nand driver locking

2014-04-02 Thread Ben Mulvihill
. This patch removes that code. Signed-off-by: Ben Mulvihill --- --- a/drivers/mtd/nand/xway_nand.c 2014-04-01 20:14:53.072824371 +0200 +++ b/drivers/mtd/nand/xway_nand.c 2014-04-01 21:24:52.798612391 +0200 @@ -102,7 +102,6 @@ static void xway_cmd_ctrl(struct mtd_inf { struct

[OpenWrt-Devel] [PATCH 2/7] fstools: BT Home Hub 2B support - squashfs image

2014-04-02 Thread Ben Mulvihill
Patches fstools to identify a jffs2 partition on nand by looking for the cleanmarker in the oob instead of at the start of an erase block. Signed-off-by: Ben Mulvihill --- lib/mtd.c | 82 ++-- 1 file changed, 80 insertions(+), 2 deletions(-) --- a/lib

[OpenWrt-Devel] [PATCH 1/7] mtd: BT Home Hub 2B support - jffs2 image

2014-04-02 Thread Ben Mulvihill
On nand flash, identifies a jffs2 partition by looking for the jffs2 cleanmarker in the oob area instead of at the beginning of an erase block. Signed-off-by: Ben Mulvihill --- drivers/mtd/mtdsplit.c | 49 +++ 1 file changed, 45 insertions(+), 4 deletions

[OpenWrt-Devel] BT Home Hub 2B patches

2014-04-02 Thread Ben Mulvihill
Hello, Here is my set of 7 patches adding support for the BT Home Hub 2B. The last three are patches to the OpenWRT source tree. The others I have left as diffs of the kernel or fstools sources, because if you accept them I don't know whether or not you will want to merge them with other patches.

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

2014-03-29 Thread Ben Mulvihill
hn Crispin wrote: > 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

Re: [OpenWrt-Devel] Firstboot problems

2014-02-07 Thread Ben Mulvihill
On Fri, 2014-02-07 at 23:33 +0100, Marco Antonio Mauro wrote: > On Fri, Feb 7, 2014 at 12:38 PM, Marco Antonio Mauro > wrote: > > I think I found out the cause. The partition rootfs data gets created > > after the squashfs one at 0x73 in my case, but there there's the > > sercomm signature an

Re: [OpenWrt-Devel] Firstboot problems

2014-02-07 Thread Ben Mulvihill
Hi, I had a similar problem on the BT Home Hub 2B, which also has nand flash. The problem as you say seems to be that mount_root assume that the deadc0de will be at the start of the block where it would be for nor flash. I expect others will have a better idea of the right way to solve this (perha

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 whe

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 > 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 wrot

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 curr

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 su

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

2014-01-22 Thread Ben Mulvihill
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 case and then we can look at the > nor/nand/pci combo afterwards > > John > > > On 22/01/2014 09:46, Ben Mulvihill wrote: > > I mi

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

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

2014-01-21 Thread Ben Mulvihill
monh'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 going to try it (or bits of it) out on > > the fritz3370, I

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

2014-01-21 Thread Ben Mulvihill
shfs image on nand at all. I'd also be interested to know if anything is planned along the lines of what David mentioned. Ben Mulvihill On Tue, 2014-01-21 at 12:55 -0800, David Lang wrote: > On Tue, 21 Jan 2014, Ben Mulvihill wrote: > > > The nand driver currently in trunk works f

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

2014-01-21 Thread Ben Mulvihill
0, John Crispin wrote: > 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. > > Jo

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

2014-01-21 Thread Ben Mulvihill
gratefully received. Thank you, Ben Mulvihill --- a/drivers/mtd/nand/xway_nand.c 2014-01-21 20:21:11.0 +0100 +++ b/drivers/mtd/nand/xway_nand.c 2014-01-21 20:29:16.0 +0100 @@ -54,8 +54,28 @@ #define NAND_CON_CSMUX (1 << 1) #define NAND_CON_NANDM

  1   2   >