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 +0000, Anne Macedo wrote: > On Wed, Jul 05, 2023 at 09:23:35AM +0100, Christopher Obbard wrote: > > Hi Anne, > > > > On Tue, 2023-07-04 at 23:22 +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. > > > > > > 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 error: > > > > > > => dhcp > > > sun8i_emac_eth_start: Timeout > > > > Can you attempt to change the TF-A target from sun50i_h6 to > > sun50i_h6_no_pmic? > > Hello Christopher! I tried this, but it failed. It doesn't seem that > there's any PLAT for sun50i_h6_no_pmic on TF-A: > > https://github.com/ARM-software/arm-trusted-firmware/tree/master/plat/allwinner > > This is the error I get: > > "Error: Invalid platform. The following platforms are available: > a3700|a5ds|a70x0|a70x0_amc|a70x0_mochabin|a80x0|a80x0_mcbin|a80x0_puzzle|agilex|arm_fpga|axg|corstone1000|corstone700|fvp|fvp_r|fvp_ve|g12a|gxbb|gxl|hikey|hikey960|imx8mm|imx8mn|imx8mp|imx8mq|imx8qm > |imx8qx|juno|k3|ls1028ardb|ls1043ardb|ls1046afrwy|ls1046aqds|ls1046ardb|ls1088aqds|ls1088ardb|lx2160aqds|lx2160ardb|lx2162aqds|morello|msm8916|mt8173|mt8183|mt8186|mt8188|mt8192|mt8195|n1sdp|n5x|pic > opi|poplar|px30|qemu|qemu_sbsa|rcar|rde1edge|rdn1edge|rdn2|rdv1|rdv1mc|rk3288|rk3328|rk3368|rk3399|rpi3|rpi4|rzg|sc7180|sc7280|sgi575|stingray|stm32mp1|stratix10|sun50i_a64|sun50i_h6|sun50i_h616|sun > 50i_r329|synquacer|t9130|t9130_cex7_eval|tc|tegra|uniphier|versal|versal_net|warp7|zynqmp" > > > > I also tried adding CONFIG_SUNXI_NO_PMIC=y but it also didn't work :( > > I didn't find the sun50i_h6_no_pmic platform being defined anywhere... > https://packages.debian.org/bookworm/arm-trusted-firmware > > Wow, this is very recent! > https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1911472.html. > > The change was merged a few days ago. Right, looking at the packaging once more, it seems like this is a custom target just for Debian which sets SUNXI_SETUP_REGULATORS=0 Cheers! Chris