-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
erro recompile u-boot-with-spl.bin h616 #11
Comments
Sorry, but taking the DTB from the vendor firmware won't work: Allwinner's DTs are not compliant to the mainline bindings, and Allwinner has a very different understanding of how this should work. So the DTs would be vastly different. If you upload information somewhere, namely the DTB you extracted, maybe a pointer to a recovery image, and a vendor firmware bootlog (over serial), I could help you out with a tailored mainline compatible DT. The best would be actually to create a page in our wiki, then others can contribute and all information is in one place. |
@apritzel my box tv is an ik316, is the same h616 with emcp chip. I've been trying to solve 2 problems for a long time: the boot problem with the TVbox's EMMC, as you already said, the network card problem and the WiFi problem, which still doesn't work. My idea was to compile it with the supplier's DTB to solve the problem. internal emmc problem. and use this dtb to solve the network and wifi problem when booting Linux, I'm using a compilation of Armbian that I created because I had to disable the thermal gpu, for now so it doesn't keep rebooting. The dtb that I saw on the Android box TV is below. error on boot dwmac for ok boot i used ths dtb: |
Thanks for the info, I will have a closer look later. In general you cannot use the vendor DTB directly to solve any problem with mainline based code, as those two DT versions are incompatible. You (or I) can look into the vendor DTB, though, to deduce what the mainline based DT should look like. The issue with the PHY is that the OrangePi Zero3 uses an external Gigabit PHY, whereas all those TV boxes rely on the SoC-internal PHY (only 100Mbit/s). This PHY is not supported in mainline, but Armbian carries some early patches which were sketched out a while ago. Please use the X96 Mate DT as a base, that should be closer to your box. Can you also please check your uploaded box.dts.txt again? That downloads as a 0 byte sized file for me. |
|
about emac: Well, sorry for the excess of questions, but I bought an older kernel version 5.16 with Debian 10 (https://github.com/dumtux/Allwinner-H616) and tried to use the dtb versions of miniarch, since miniarch doesn't load even after changing u-boot. and now the ehternet errors have changed. [5.255047] dwmac-sun8i 5030000.ethernet: IRQ eth_wake_irq not found I already tried changing the syscom settings, but there was no change. |
I'm trying to compile - u-boot-with-spl.bin with the dtb that I extracted from the device, but when trying to do this it takes as a base other dtbs marked with an asterisk and the error below appears, I've already tried to modify everything way but the error always appears:
CC net/net.o
CC net/ping.o
CC net/tftp.o
AR net/built-in.o
LDS u-boot.lds
LD u-boot
OBJCOPY u-boot.srec
OBJCOPY u-boot-nodtb.bin
RELOC u-boot-nodtb.bin
DTC arch/arm/dts/box-novembro.dtb
arch/arm/dts/box-novembro.dtb: ERROR (path_references): /aliases: Reference to non-existent node or label "mmc0"
The text was updated successfully, but these errors were encountered: