On 06/01/2013 11:56 PM, Tomislav Požega wrote:
> applied the patch and compiled everything from the start but no change
> in boot process

This patch should not fix your boot problem, but you should try to use
it instead of your changes to
target/linux/brcm47xx/base-files/etc/init.d/netconfig

For your boot problem your have to extend drivers/mtd/bcm47xxpart.c in
the kernel to detect your flash partitions.

Hauke

> On 1 June 2013 13:55, Hauke Mehrtens <ha...@hauke-m.de
> <mailto:ha...@hauke-m.de>> wrote:
> 
>     On 06/01/2013 06:24 PM, Tomislav Požega wrote:
>     > vlan0ports=5
>     > vlan1ports=0 1 2 3 4 5*
>     >
>     > i have zipped nvram, original firmware boot process and complete flash
>     > image in case you might find it useful
> 
>     Could you try the attached patch.
> 
>     Hauke
> 
>     >     > Index: target/linux/brcm47xx/base-files/etc/init.d/netconfig
>     >     >
>     ===================================================================
>     >     > --- target/linux/brcm47xx/base-files/etc/init.d/netconfig  
>      (revision
>     >     > 35832)
>     >     > +++ target/linux/brcm47xx/base-files/etc/init.d/netconfig
>     >      (working copy)
>     >     > @@ -225,6 +225,12 @@
>     >     >              c["vlan1ports"] = ""
>     >     >              c["vlan2ports"] = ""
>     >     >          }
>     >     > +        if (model == "Option GlobeSurfer III") {
>     >     > +            c["lan_ifname"] = "eth0.1"
>     >     > +            c["wan_ifname"] = ""
>     >     > +            c["vlan1ports"] = "0 1 2 3 4 5u"
>     >     > +            c["vlan2ports"] = ""
>     >     > +        }
>     >
>     >     I would more like a generic detection of this switch
>     configuration.
>     >     Could you please post your nvram values for vlan{0,1,2}ports.
>     When these
>     >     values are containing correct values we could do a generic
>     detection.
>     >
>     >     >          if (c["vlan1ports"] || c["vlan2ports"]) {
>     >     >              print "#### VLAN configuration "
> 
> 

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to