Hi Mark, and the arm devs/list,
and thank you, I've done quite a lot of reading, as
well as some amount of tinkering.
I stumbled upon this old email (by Mark) :
https://marc.info/?l=openbsd-arm&m=168347702111779&w=2
[...] the u-boot developers have poor quality control
and this will almost certainly break some targets.
I think the way forward is to have a u-boot port per SoC [...]
Wow ... that's quite crazy.
To re-center my focus I will ask two simple questions :
- Are the files provided by the u-boot package in
/usr/local/share/u-boot/firefly-rk3399/ also supposed to
fit flashing to the SoC mmc or are they strictly and
solely designed to help a bootable sd card ?
- Am I right to think that if I manage to install some OS or
the other on my SoC, the emmc u-boot should in most cases be
updated to whatever version the OS/distro/image provides ?
I've been trying to make a FreeBSD SD card, as well as
using rkdeveloptool from MacOS ... once more I'm stuck with
a card that doesn't respond, but that hopefully shouldn't last !
I posted to the forums asking for a more recent image or
solution to that outdated u-boot problem, I think the thread
is pending validation :
https://bbs.t-firefly.com/forum.php?mod=viewthread&tid=3764&extra=
Cheers,
Le 2024-02-27 15:22, Mark Kettenis a écrit :
Date: Tue, 27 Feb 2024 15:03:39 +0100
From: Sylvain Saboua <sylvain.sab...@free.fr>
https://lore.kernel.org/devicetree-spec/1a9657a715f2929793c1687baf801...@free.fr/T/#u
I don't think you're going to get a lot of help from there.
Anyway, from the output you showed, it is clear it still using an
ancient U-Boot version. That isn't going to work. Maybe it is using
the first stage bootloader from uSD now but still picking up the 2nd
stage from eMMC. You probably need to wipe more.
The U-Boot version provided in OpenBSD packages is 2021.10.
Cheers,
Mark
-------- Email original --------
Objet: Firefly RK3399 “Invalid device tree, expect boot to fail”
(openbsd-current)
Date: 2024-02-27 10:58
De: Sylvain Saboua <sylvain.sab...@free.fr>
À: devicetree-s...@vger.kernel.org
Hello,
I am trying to boot and install openbsd on my Firefly RK3399 ARM SoC.
With the latest packages I get the following error :
WARNING: Invalid device tree, expect boot to fail
(line n° 152 in the full output https://pastebin.com/5gsrd5Jz)
And the boot indeed fails.
This is very strange, given that using the same method and dtb file
a few years ago circa 2019, at the time when obsd support was minimal,
I managed to boot and install it on the very same card.
What could have gone wrong ?
The incrimined file is
/usr/local/share/dtb/arm64/rockchip/rk3399-firefly.dtb
provided by the dtb package : https://openports.pl/path/sysutils/dtb
I also mailed the openbsd-arm mailing list earlier when trying to boot
from SD card and am now stuck there
https://marc.info/?l=openbsd-arm&m=170836038500353&w=2
Thank you
--
Sylvain Saboua
www.saboua.xyz
--
Sylvain Saboua
www.saboua.xyz