On Fri, 2010-12-03 at 20:57 +0100, Hauke Mehrtens wrote:
> On 12/03/2010 08:13 PM, Steve Brown wrote:
> > Tested on Asus 520gu and 500gpv2.
> > 
> > Hangs at: "Starting program at 0x80001000"
> > 
> > No output thereafter.
> > 
> > Rev 24162 boots on both routers.
> > 
> > Steve
> > 
> Hi Steve,
> 
> Thank you for the information. To fix the problem we need some more
> informations. Please also test version r24166.
> 
> Does the same image work on other devices? Have you run make distclean
> before building an image for version >= 24167?
> 
> Hauke

With the patch below, 2.6.36 now boots on both a BCM5352 and BCM5354.

I don't understand enough of what's going on to propose a fix.

Steve

  
--- arch/mips/bcm47xx/nvram.c.orig	2010-12-05 08:21:44.281900877 -0500
+++ arch/mips/bcm47xx/nvram.c	2010-12-05 08:22:23.178900840 -0500
@@ -91,7 +91,7 @@
 	char *var, *value, *end, *eq;
 
 	if (!name)
-		return NVRAM_ERR_INV_PARAM;
+		return 1;
 
 	if (!nvram_buf[0])
 		early_nvram_init();
@@ -117,7 +117,7 @@
 			return 0;
 		}
 	}
-	return NVRAM_ERR_ENVNOTFOUND;
+	return 1;
 }
 EXPORT_SYMBOL(nvram_getenv);
 
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to