<samueldr>
hmmmm, just now realizing I probably can skip the boot selection outright on normal boot, and require the user to "enter recovery" to boot an alternate option
<samueldr>
with an quirk option for devices that "don't have recovery"
<samueldr>
(or if you want to keep an android-like recovery like TWRP, whatever floats your boat)
<clever>
samueldr: i now have little-kernel in a bootcode.bin file, and it can bring the dram online on an rpi3
<samueldr>
nice!
<clever>
its a bit of a tight squeeze, so i'm thinking of making it primarily into a bootloader for a start.elf, like upstream did
<samueldr>
that seems alright
<samueldr>
as long as it can then launch the all-important tianocore
<samueldr>
(or u-boot)
<clever>
to do that, i need to bring up the pll's and arm cpu at a minimum
<clever>
and due to the size constraints, i may not be able to fit the arm loader into the bootcode.bin, so id need sdhost support
<clever>
and at that point, i might as well load a start.elf instead, and be free of all limits
<samueldr>
ah, I was assuming tianocore or u-boot would be on SD :)
<samueldr>
just like it already is, but with a properly open bootloader :D
<clever>
the old rpi-open-firmware has a custom arm bootloader, that gets compiled to a .bit, and shoved into a char[] of the vc4 file
<clever>
so the firmware just does a memcpy, and lets the arm loose
<clever>
the vc4 side entirely lacks the ability to read the sdcard, currently
<clever>
s/bit/bin/
<clever>
replacing that custom loader with uboot is one of my ideas
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 260 seconds]
andi- has quit [Ping timeout: 272 seconds]
andi- has joined #nixos-aarch64
orivej has joined #nixos-aarch64
Ultrasauce_ is now known as Ultrasauce
wavirc22 has joined #nixos-aarch64
orivej has quit [Ping timeout: 268 seconds]
andi- has quit [Ping timeout: 272 seconds]
andi- has joined #nixos-aarch64
ryantrinkle has joined #nixos-aarch64
wavirc22 has quit [Read error: Connection reset by peer]
wavirc22 has joined #nixos-aarch64
andi- has quit [Ping timeout: 265 seconds]
andi- has joined #nixos-aarch64
lovesegfault has joined #nixos-aarch64
makefu has quit [Quit: WeeChat 2.6]
makefu has joined #nixos-aarch64
tilpner has quit [Quit: tilpner]
tilpner has joined #nixos-aarch64
makefu has quit [Quit: WeeChat 2.6]
lovesegfault has quit [Ping timeout: 272 seconds]
vika_nezrimaya has joined #nixos-aarch64
makefu has joined #nixos-aarch64
vika_nezrimaya has quit [Quit: ERC (IRC client for Emacs 26.3)]