<sdfgsdfs>
maybe not exactly a linux question, but I have this orangepi zero3 that doesn't start at all, not even the power LED comes on, if I try to boot with an SD card in. the SD card has armbian on it, and I saw a forum post saying that the wrong version of armbian could cause that, but how??? why won't it get to uboot regardless?
<sdfgsdfs>
does sunxi not have its bootloader integrated with the SoC itself?
<sdfgsdfs>
seems to function normally if booted without the SD card
KREYREN__ has quit [Remote host closed the connection]
KREYREN_oftc has joined #linux-sunxi
<tokyovigilante>
sdfgsdfs: are you sure the SD has u-boot on it? the SoC bootloader is limited to enabling FEL or just jumping to the correct SD card sector to load AFAIK
<sdfgsdfs>
oh i didnt know i needed to supply uboot
KREYREN_oftc has quit [Write error: connection closed]
KREYREN_oftc has joined #linux-sunxi
dsimic is now known as Guest977
dsimic has joined #linux-sunxi
Guest977 has quit [Ping timeout: 480 seconds]
jakllsch has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
KREYREN_oftc has quit [Ping timeout: 480 seconds]
vagrantc has joined #linux-sunxi
warpme has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
warpme has quit [Remote host closed the connection]
warpme has joined #linux-sunxi
apritzel has quit [Remote host closed the connection]
warpme has quit []
warpme has joined #linux-sunxi
warpme has quit []
warpme has joined #linux-sunxi
warpme has quit []
ftg has joined #linux-sunxi
warpme has joined #linux-sunxi
warpme has quit []
warpme has joined #linux-sunxi
warpme has quit []
warpme has joined #linux-sunxi
vpeter has quit [Remote host closed the connection]
vpeter has joined #linux-sunxi
apritzel has joined #linux-sunxi
bauen1 has joined #linux-sunxi
<apritzel>
sdfgsdfs: the SoC itself just contains the BootROM, which just checks various media (SD card, eMMC, SPI flash) for a specific signature, loads some KBytes of code from there into SRAM and executes that
<apritzel>
sdfgsdfs: and while the OPi Zero3 has SPI flash, where you can put U-Boot into, the SD card takes precedence in this BROM routine, so if it finds a valid signature, it will load and execute the code from the SD card
<apritzel>
Armbian always bundles bootloader and kernel and rootfs, so you load everything from the SD card in your case
<apritzel>
you could put mainline U-Boot to the SPI flash, then just have a normal SD card (without the magic signature), with a kernel and rootfs, and then it would boot from SPI flash and load the rest from the SD card
<macromorgan>
apritzel: I can't speak to the phy pin mapping, I guess that's a you/Jernej question. For the device tree do you just want me to drop the OF_UPSTREAM (as well as prune the defconfig) and resubmit, or should I wait for your mainline piece to be finished?
<apritzel>
well, there is no real rush: I won't push those changes for v2024.10 anyway
<apritzel>
macromorgan: if you want a clean and functional series on the list now, I'd suggest you stick to the arch/arm/dts tree for now - I updated that in mainline, to pull the .dts files in
<apritzel>
same with bootstd, just stick to what's in the tree now, and you will get the update for free
<apritzel>
and don't worry, I can take care of adjusting your series to whatever landed before, when it comes to merging
<macromorgan>
okay
<macromorgan>
all that matters is cherry picking 2 commits, and I can do that to both the mainline and u-boot DTS if needed
<macromorgan>
as far as the RAM the only commentary I can provide is "I know this works for me". I guess I'll wait for more comments there.
<apritzel>
yeah, I am as clueless as you, I guess. I will try to find some time to run the code on the other H616 boards I have
hazardchem has quit [Read error: Connection reset by peer]
hazardchem has joined #linux-sunxi
hentai has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
warpme has quit []
<macromorgan>
okay, I guess I'll give it a day and then post my fixes. I switched back to a U-Boot tree and pruned the defconfig so I hope that works.