Re: [PATCH] sunxi: H6: Enable Ethernet on Orange Pi One Plus

2023-07-18 Thread Anne Macedo
On Sun, Jul 16, 2023 at 08:14:50AM +0200, Corentin Labbe wrote: > Le Sun, Jul 16, 2023 at 01:35:02AM +0100, Andre Przywara a écrit : > > On Tue, 11 Jul 2023 19:40:21 + > > Anne Macedo wrote: > > > > Hi Anne, > > > > thanks for reaching out to the li

Re: [PATCH] sunxi: H6: Enable Ethernet on Orange Pi One Plus

2023-07-18 Thread Anne Macedo
On Sun, Jul 16, 2023 at 01:35:02AM +0100, Andre Przywara wrote: > On Tue, 11 Jul 2023 19:40:21 + > Anne Macedo wrote: > > Hi Anne, > > thanks for reaching out to the list! But please try to avoid > pushing any patches downstream (Yocto) before they are accepted &g

Re: [PATCH] sunxi: H6: Enable Ethernet on Orange Pi One Plus

2023-07-13 Thread Anne Macedo
On Thu, Jul 13, 2023 at 02:22:31PM +0530, Jagan Teki wrote: > + Andre > > On Tue, Jul 11, 2023 at 6:11 AM Anne Macedo wrote: > > > > Enable Ethernet on Orange Pi One Plus by using the correct phy for > > Realtek RTL8211E instead of the Generic One. Also use CONFIG_MAC

Re: [PATCH] sunxi: H6: Enable Ethernet on Orange Pi One Plus

2023-07-11 Thread Anne Macedo
On 11.07.2023 02:39, Anne Macedo wrote: Enable Ethernet on Orange Pi One Plus by using the correct phy for Realtek RTL8211E instead of the Generic One. Also use CONFIG_MACPWR to turn on ethernet on startup. After this patch is applied, a few issues can be seen: - there's still a PHY reset

[PATCH] sunxi: H6: Enable Ethernet on Orange Pi One Plus

2023-07-10 Thread Anne Macedo
, it is not probed on boot, so it only starts after a "regulator status" command is issued. More details about the troubleshooting on [1]. [1] https://lore.kernel.org/u-boot/4wsvwgy56e2xfgtvioru2tf2ofkqprlts36qggivxogww6pn5j@4jk63zxhzhag/ Signed-off-by: Anne Macedo --- arch/arm/dts/sun50i-h

Re: [bug report] sunxi: H6: no ethernet on Orange Pi One Plus

2023-07-09 Thread Anne Macedo
On Sun, Jul 09, 2023 at 04:32:22PM +, Anne Macedo wrote: > On Tue, Jul 04, 2023 at 11:22:29PM +0000, Anne Macedo wrote: > > Hey! > > > > I'm trying to bake Linux images for the Orange Pi One Plus using Yocto. > > Everything works fine, except for Ethernet. &g

Re: [bug report] sunxi: H6: no ethernet on Orange Pi One Plus

2023-07-09 Thread Anne Macedo
On Tue, Jul 04, 2023 at 11:22:29PM +, Anne Macedo wrote: > Hey! > > I'm trying to bake Linux images for the Orange Pi One Plus using Yocto. > Everything works fine, except for Ethernet. > > On the u-boot prompt: > > => dhcp > No ethernet found. > > After

Re: [bug report] sunxi: H6: no ethernet on Orange Pi One Plus

2023-07-08 Thread Anne Macedo
On Fri, Jul 07, 2023 at 02:20:48PM +, Anne Macedo wrote: > On Fri, Jul 07, 2023 at 10:54:00AM -0300, Fabio Estevam wrote: > > On Fri, Jul 7, 2023 at 10:46 AM Anne Macedo wrote: > > > > > On u-boot shell: > > > > > > gpio set pd6 > > >

Re: [bug report] sunxi: H6: no ethernet on Orange Pi One Plus

2023-07-07 Thread Anne Macedo
On Fri, Jul 07, 2023 at 10:54:00AM -0300, Fabio Estevam wrote: > On Fri, Jul 7, 2023 at 10:46 AM Anne Macedo wrote: > > > On u-boot shell: > > > > gpio set pd6 > > Good point. You should pass the following options: > > CONFIG_DM_REGULATOR=y &

Re: [bug report] sunxi: H6: no ethernet on Orange Pi One Plus

2023-07-07 Thread Anne Macedo
On Fri, Jul 07, 2023 at 08:42:33AM -0300, Anne Macedo wrote: > On Thu, Jul 06, 2023 at 11:51:54PM +0000, Anne Macedo wrote: > > On Wed, Jul 05, 2023 at 02:15:43PM -0300, Fabio Estevam wrote: > > > On Wed, Jul 5, 2023 at 1:31 PM Anne Macedo wrote: > > > > >

Re: [bug report] sunxi: H6: no ethernet on Orange Pi One Plus

2023-07-07 Thread Anne Macedo
On Thu, Jul 06, 2023 at 11:51:54PM +, Anne Macedo wrote: > On Wed, Jul 05, 2023 at 02:15:43PM -0300, Fabio Estevam wrote: > > On Wed, Jul 5, 2023 at 1:31 PM Anne Macedo wrote: > > > > > I think I'm on the right path :) > > > > > > 1. Included SUNXI_S

Re: [bug report] sunxi: H6: no ethernet on Orange Pi One Plus

2023-07-06 Thread Anne Macedo
On Wed, Jul 05, 2023 at 02:15:43PM -0300, Fabio Estevam wrote: > On Wed, Jul 5, 2023 at 1:31 PM Anne Macedo wrote: > > > I think I'm on the right path :) > > > > 1. Included SUNXI_SETUP_REGULATORS=0 to the bl31 make > > 2. Changed the phy mode on arch/arm/dts/s

Re: [bug report] sunxi: H6: no ethernet on Orange Pi One Plus

2023-07-05 Thread Anne Macedo
On Wed, Jul 05, 2023 at 01:31:28PM -0300, Anne Macedo wrote: > On Wed, Jul 05, 2023 at 03:24:23PM +0000, Anne Macedo wrote: > > On Wed, Jul 05, 2023 at 10:46:25AM -0300, Fabio Estevam wrote: > > > Hi Anne, > > > > > > On Tue, Jul 4, 2023 at 8:52 PM Ann

Re: [bug report] sunxi: H6: no ethernet on Orange Pi One Plus

2023-07-05 Thread Anne Macedo
On Wed, Jul 05, 2023 at 03:24:23PM +, Anne Macedo wrote: > On Wed, Jul 05, 2023 at 10:46:25AM -0300, Fabio Estevam wrote: > > Hi Anne, > > > > On Tue, Jul 4, 2023 at 8:52 PM Anne Macedo wrote: > > > > > > Hey! > > > > > > I'm trying to

Re: [bug report] sunxi: H6: no ethernet on Orange Pi One Plus

2023-07-05 Thread Anne Macedo
On Wed, Jul 05, 2023 at 10:46:25AM -0300, Fabio Estevam wrote: > Hi Anne, > > On Tue, Jul 4, 2023 at 8:52 PM Anne Macedo wrote: > > > > Hey! > > > > I'm trying to bake Linux images for the Orange Pi One Plus using Yocto. > > Everything works fine, exc

Re: [bug report] sunxi: H6: no ethernet on Orange Pi One Plus

2023-07-05 Thread Anne Macedo
On Wed, Jul 05, 2023 at 12:08:30PM +, Anne Macedo wrote: > On Wed, Jul 05, 2023 at 11:26:45AM +0100, Christopher Obbard wrote: > > Hi Anne, > > > > [please don't forget to CC the list, in case someone else > > has the same issue in future they don't miss the context

Re: [bug report] sunxi: H6: no ethernet on Orange Pi One Plus

2023-07-05 Thread Anne Macedo
On Wed, Jul 05, 2023 at 11:26:45AM +0100, Christopher Obbard wrote: > Hi Anne, > > [please don't forget to CC the list, in case someone else > has the same issue in future they don't miss the context ;-)] > > On Wed, 2023-07-05 at 10:12 +, Anne Macedo wrote: > > On We

[bug report] sunxi: H6: no ethernet on Orange Pi One Plus

2023-07-04 Thread Anne Macedo
Hey! I'm trying to bake Linux images for the Orange Pi One Plus using Yocto. Everything works fine, except for Ethernet. On the u-boot prompt: => dhcp No ethernet found. After adding: CONFIG_SPL_SPI_SUNXI=y CONFIG_SUN8I_EMAC=y to configs/orangepi_one_plus_defconfig, I started seeing this