i have managed to boot the system further, but seems like the switch detection is causing the problems.
i tried your netconfig patch but i'm getting the same scenario as with Fiach's patch. when applied it i have only recompiled the firmware, please tell me if it is neccessary to compile the whole thing from the start. these error messages are only displayed when entered failsafe mode https://docs.google.com/file/d/0B9q26mDpDIZoVFBfcm4wT3hFY28/edit i can't access router from failsafe mode or get ping replies when flashing image i always delete flash between CFE and NVRAM, do i need to delete NVRAM also, and if i do it will the CFE rebuild it on the next boot? On 2 June 2013 06:01, Hauke Mehrtens <ha...@hauke-m.de> wrote: > 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