From: Andre Przywara <andre.przywara@arm.com>
To: "Petr Štetiar" <ynezz@true.cz>
Cc: Jagan Teki <jagan@amarulasolutions.com>,
Tom Rini <trini@konsulko.com>, Simon Glass <sjg@chromium.org>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Samuel Holland <samuel@sholland.org>,
Chen-Yu Tsai <wens@csie.org>, Icenowy Zheng <icenowy@aosc.io>,
Jesse Taube <mr.bossman075@gmail.com>,
u-boot@lists.denx.de, linux-sunxi@lists.linux.dev
Subject: Re: A20-OLinuXino-LIME2 network regression [Was: [PATCH v2 1/5] sunxi: move non-essential code out of s_init()]
Date: Mon, 21 Mar 2022 11:39:58 +0000 [thread overview]
Message-ID: <20220321113958.7e32066d@slackpad.lan> (raw)
In-Reply-To: <20220320221031.GA20535@meh.true.cz>
On Sun, 20 Mar 2022 23:10:31 +0100
Petr Štetiar <ynezz@true.cz> wrote:
Hi Petr,
> Andre Przywara <andre.przywara@arm.com> [2022-02-01 01:41:12]:
>
> > Since we have an SPL, which is called right after s_init(), move those
> > calls to our board_init_f() function. As we overwrite this only for
> > the SPL, this has the added benefit of not doing this setup *again*
> > shortly afterwards, when running U-Boot proper.
>
> something didn't went as expected, since this commit has broken ethernet on my
> A20-OLinuXino-LIME2:
Thanks for the report, much appreciated! And yes, there is a
regression, I figured this myself already the other week. I sent
https://lore.kernel.org/u-boot/20220316005443.16260-1-andre.przywara@arm.com/
Can you check whether this fixes it for you? Then reply with a
Tested-by:? I will then send the PR in the next days, so that 2022.04
should be fine.
Thanks!
Andre
>
> U-Boot SPL 2022.04-rc4-00052-g2a243d9bd62f (Mar 20 2022 - 22:57:07 +0100)
> DRAM: 1024 MiB
> CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
> Trying to boot from FEL
>
>
> U-Boot 2022.04-rc4-00052-g2a243d9bd62f (Mar 20 2022 - 22:57:07 +0100) Allwinner Technology
>
> CPU: Allwinner A20 (SUN7I)
> Model: Olimex A20-OLinuXino-LIME2-eMMC
> DRAM: 1 GiB
> Core: 38 devices, 19 uclasses, devicetree: separate
> WDT: Not starting watchdog@1c20c90
> MMC: mmc@1c0f000: 0, mmc@1c11000: 1
> Loading Environment from FAT... Unable to read "uboot.env" from mmc0:1...
> Unknown monitor
> Unknown monitor
> In: serial
> Out: serial
> Err: serial
> Allwinner mUSB OTG (Peripheral)
> Net: Could not get PHY for ethernet@1c50000: addr 1
>
> Reverting this commit fixes it:
>
> Net: eth0: ethernet@1c50000, eth1: usb_ether
>
> Cheers,
>
> Petr
next prev parent reply other threads:[~2022-03-21 11:40 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-01 1:41 [PATCH v2 0/5] sunxi: remove lowlevel_init Andre Przywara
2022-02-01 1:41 ` [PATCH v2 1/5] sunxi: move non-essential code out of s_init() Andre Przywara
2022-03-20 22:10 ` A20-OLinuXino-LIME2 network regression [Was: [PATCH v2 1/5] sunxi: move non-essential code out of s_init()] Petr Štetiar
2022-03-21 11:39 ` Andre Przywara [this message]
2022-02-01 1:41 ` [PATCH v2 2/5] sunxi: move Cortex SMPEN setting into start.S Andre Przywara
2022-02-03 1:06 ` Samuel Holland
2022-02-03 1:21 ` Fabio Estevam
2022-02-03 14:28 ` Andre Przywara
2022-02-01 1:41 ` [PATCH v2 3/5] sunxi: move early "SRAM setup" into separate file Andre Przywara
2022-02-01 1:41 ` [PATCH v2 4/5] armv8: remove no longer needed lowlevel_init.S Andre Przywara
2022-02-01 1:41 ` [PATCH v2 5/5] sunxi-common.h: remove pointless #ifdefs Andre Przywara
2022-02-03 1:07 ` Samuel Holland
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220321113958.7e32066d@slackpad.lan \
--to=andre.przywara@arm.com \
--cc=icenowy@aosc.io \
--cc=jagan@amarulasolutions.com \
--cc=jernej.skrabec@gmail.com \
--cc=linux-sunxi@lists.linux.dev \
--cc=mr.bossman075@gmail.com \
--cc=samuel@sholland.org \
--cc=sjg@chromium.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=wens@csie.org \
--cc=ynezz@true.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox