Closed retpolanne closed 11 months ago
For documentation:
Mailing thread: https://lore.kernel.org/u-boot/d0427cea18fad6e36537931962fa5070b084045e.camel@collabora.com/T/#t
Changing TFA make parameters
--- a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
+++ b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend
@@ -5,3 +5,5 @@ TFA_PLATFORM:sun50i-h6 = "sun50i_h6"
TFA_PLATFORM:sun50i-h616 = "sun50i_h616"
TFA_BUILD_TARGET = "bl31"
+#EXTRA_OEMAKE += " SUNXI_SETUP_REGULATORS=0 LOG_LEVEL=40"
+EXTRA_OEMAKE += " LOG_LEVEL=40"
Recompiling TFA and bootloader
bitbake -ccleansstate trusted-firmware-a
bitbake virtual/bootloader
Sending to SDCard only the bootloader
sudo dd if=../orange-pi-one-plus/tmp/deploy/images/orange-pi-one-plus/u-boot-sunxi-with-spl.bin of=/dev/sdb bs=1024 seek=8
Sent a patch fixing it :)
https://lore.kernel.org/u-boot/20230711003957.658805-2-retpolanne@posteo.net/T/#u
ok nice, can you post PR with this patch to this meta layer please? Thanks.
Sure! Will do. I'll be out the whole day but I should send it today or tomorrow Brazil time
Patch sent to upstream and added to bbappend. Closing this ;)
Hello! I wanted to use this issue to document what we need to enable Ethernet on the Orange Pi One Plus.
It seems that the Orange Pi One Plus doesn't have upstream support for ethernet:
I made a hacky patch (attached to this issue) and added it to sunxi bbappends. 0003-sunxi-H6-Enable-Ethernet-on-Orange-Pi-One-Plus.patch
Added the
CONFIG_RTL8211E_PINE64_GIGABIT_FIX
from [3] and started seeing also this error:The thread [4] reports the same error.
These are a few links I'm using for reference:
[1] https://patchwork.ozlabs.org/project/uboot/patch/20200507231052.23706-3-samuel@sholland.org/ [2] https://patchwork.kernel.org/project/linux-arm-kernel/patch/20180722053955.25266-6-icenowy@aosc.io/ [3] https://patchwork.ozlabs.org/project/uboot/patch/20180214230216.2001-2-kevans@FreeBSD.org/ [4] https://lists.denx.de/pipermail/u-boot/2021-June/451357.html [5] https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=67&state=%2A&archive=both
DTB dump for Orange Pi One Plus