<samueldr>
makefu: might be useful to you for first steps: booting from the firefly ubuntu img, stopping the boot, then running `run distro_bootcmd` on the u-boot cli boots up to the nixos boot menu; can't load the dtb since it doesn't exist, thus aborts
<samueldr>
but that's like 99% of the way there
<samueldr>
it's likely that figuring the start and end of their u-boot build is enough since the boot command has distro_bootcmd in
<samueldr>
(at least for my board)
<samueldr>
(and my board has Model: Firefly-RK3399 Board
<samueldr>
in the output at boot)
<samueldr>
aww, your previous serial boot log doesn't have anything from u-boot
<samueldr>
I stand corrected, a previous one has more
<samueldr>
right, it's not the same u-boot build exactly
<samueldr>
my board doesn't have emmc, well, it supports it, but they're shipping later :/
<makefu>
you can find the complete MAME collection and all psx and ps2 games on archive.org
<makefu>
if you can get the mmc working that would be nice :)
<samueldr>
trying upstream u-boot, I think found a good lead and it could be working
<samueldr>
I think your biggest problem will be figuring out a device tree for your board
<makefu>
for uboot you will most likely need the tbl (third level bootloader) and the arm trusted firmware. which ones exactily is not so clear to me :D
<samueldr>
yeah
<samueldr>
I have reasons to think it *should* work with as upstream as possible due to a small mailing list thread
<makefu>
i have a device tree from the downstream uboot, also rk3399-evb seems to be used by the "official" image
<samueldr>
if it does you'll have a template
<samueldr>
yeah, except it might not match for some thing, at least it might not for my board
<makefu>
dang ... that may be why the mmc was not detected
<samueldr>
my guess too
<samueldr>
another thing I wanted to try is to extract the dtb from their u-boot, decompile it to dts and compare
<makefu>
however the emmc was detected so maybe i can just burn the boot and root image onto it
<samueldr>
I'm thinking our two builds differ only there
<samueldr>
that's another possibiliy
<samueldr>
hm, without much fuss I have *something* building, now time to figure out the missing parts
<makefu>
great!
<samueldr>
like, right now it sure won't boot as it doesn't have an ATF AFAIK