Re: [OpenWrt-Devel] lantiq: netgear dgn3500 with sysfs eeprom loading

2012-05-08 Thread Pieter Voorthuijsen
Hi John, Thanks for replying in my absence.. i am currently considering to load pci after nand/spi to be able to get the pci fixup code to load the eeprom directly. That could fix it too, but it is a change deep down in the kernel. A change hard to accept for many I think. The PCI hotplug me

Re: [OpenWrt-Devel] lantiq: netgear dgn3500 with sysfs eeprom loading

2012-05-08 Thread John Crispin
Hi, > Why is needed in so early stages? to load the eeprom. the dgn3500 has no eep attached to the wifi chip and requires the eeprom to be loaded from falsh > Why not in a kernel module? its a platform specific issue and should be handled in the arch code raqther than inside the wifi driver >

Re: [OpenWrt-Devel] lantiq: netgear dgn3500 with sysfs eeprom loading

2012-05-08 Thread Giuseppe Caso
Why is needed in so early stages? Why not in a kernel module? This seems the solution on atheros driver in netgear's firmware, or not? On 08/05/2012 12:07, John Crispin wrote: On 07/05/12 21:39, Pieter Voorthuijsen wrote: Hi all, I've been working on the dgn3500 implementation and I have a pat

Re: [OpenWrt-Devel] lantiq: netgear dgn3500 with sysfs eeprom loading

2012-05-08 Thread John Crispin
On 07/05/12 21:39, Pieter Voorthuijsen wrote: > Hi all, > > I've been working on the dgn3500 implementation and I have a patch that > fully supports this platform. I need advice on an init script to load > the eeprom from user-space: > > +#!/bin/sh /etc/rc.common > +# Copyright (C) 2012 Pieter Vo

[OpenWrt-Devel] lantiq: netgear dgn3500 with sysfs eeprom loading

2012-05-07 Thread Pieter Voorthuijsen
Hi all, I've been working on the dgn3500 implementation and I have a patch that fully supports this platform. I need advice on an init script to load the eeprom from user-space: +#!/bin/sh /etc/rc.common +# Copyright (C) 2012 Pieter Voorthuijsen + +START=04 +start() { + echo "Loading eep