[OpenWrt-Devel] [PATCH] kernel: Fix environment pointer setup in ar71xx/ath79

Ted Hess thess at kitschensync.net
Mon Oct 26 10:19:31 EDT 2015


Hi John -

I don't think this patch needs to be backported to CC. Bug does not exist in the 3.18 patch-set. Environment pointer is setup 
correctly in prom_init().

/ted

------------------------------

>Date: Mon, 26 Oct 2015 10:35:04 +0100
>From: John Crispin <blogic at openwrt.org>
>To: openwrt-devel at lists.openwrt.org
>Subject: Re: [OpenWrt-Devel] [PATCH] kernel: Fix environment pointer setup in ar71xx/ath79
>Message-ID: <562DF3C8.7050301 at openwrt.org>
>Content-Type: text/plain; charset=windows-1252
>
>On 21/10/2015 17:53, Ted Hess wrote:
> Observed on ar71xx/ath79 platforms such as Ubiquiti RouterStations.Reported in #20642.:
> (https://dev.openwrt.org/ticket/20642).
>
> If embedded command-line text exists with CONFIG_IMAGE_CMDLINE_HACK=y,firmware
> init doesn't initialize environment pointer (fw_init_cmdline not called).
>
> arcs_cmdline is not initialized before calling strlcat.
>
> Signed-off-by: Ted Hess <thess at kitschensync.net>
>
>Hi,
>
>can you send a backported version for CC aswell please
>
>John
>
>
   --- snipped  out patch ---
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list