* [PATCH] arm: mach-omap: xload: Enable network interface
@ 2018-11-14 13:56 Teresa Remmet
2018-11-16 7:34 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Teresa Remmet @ 2018-11-14 13:56 UTC (permalink / raw)
To: barebox
Since f0624a701513 ("net: Do not route traffic to interfaces that are not up")
interfaces need to be "up" before used. To make enthernet boot work again
enable the interface after dhcp is set up.
Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
---
arch/arm/mach-omap/xload.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-omap/xload.c b/arch/arm/mach-omap/xload.c
index bb58825dcf9c..47aa8275b9ee 100644
--- a/arch/arm/mach-omap/xload.c
+++ b/arch/arm/mach-omap/xload.c
@@ -257,6 +257,8 @@ static void *am33xx_net_boot(void)
dhcp_set_result(edev, dhcp_res);
+ edev->ifup = true;
+
/*
* Older tftp server don't send the file size.
* Then tftpfs needs temporary place to store the file.
--
2.7.4
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] arm: mach-omap: xload: Enable network interface
2018-11-14 13:56 [PATCH] arm: mach-omap: xload: Enable network interface Teresa Remmet
@ 2018-11-16 7:34 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2018-11-16 7:34 UTC (permalink / raw)
To: Teresa Remmet; +Cc: barebox
On Wed, Nov 14, 2018 at 02:56:01PM +0100, Teresa Remmet wrote:
> Since f0624a701513 ("net: Do not route traffic to interfaces that are not up")
> interfaces need to be "up" before used. To make enthernet boot work again
> enable the interface after dhcp is set up.
>
> Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
> ---
> arch/arm/mach-omap/xload.c | 2 ++
> 1 file changed, 2 insertions(+)
Applied, thanks
Sascha
>
> diff --git a/arch/arm/mach-omap/xload.c b/arch/arm/mach-omap/xload.c
> index bb58825dcf9c..47aa8275b9ee 100644
> --- a/arch/arm/mach-omap/xload.c
> +++ b/arch/arm/mach-omap/xload.c
> @@ -257,6 +257,8 @@ static void *am33xx_net_boot(void)
>
> dhcp_set_result(edev, dhcp_res);
>
> + edev->ifup = true;
> +
> /*
> * Older tftp server don't send the file size.
> * Then tftpfs needs temporary place to store the file.
> --
> 2.7.4
>
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-11-16 7:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-14 13:56 [PATCH] arm: mach-omap: xload: Enable network interface Teresa Remmet
2018-11-16 7:34 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox