<samueldr> :thinking:
<samueldr> the rockchip miniloader binary has an awful lot of strings identical to u-boot
<samueldr> or at least, as far as GPT is concerned
<samueldr> maybe it can be chalked up to luck :/
<samueldr> ooh, progress, downstream u-boot booting (firefly pushed sources)
<samueldr> but it's... the nastiest build possible right now :)
<samueldr> tomorrow: cleanup detail
<samueldr> and I *maybe* have found documentation detailing what the upstream rockchip tools do, and if I did, it should be trivial to re-implement what it does
LnL has quit [Ping timeout: 245 seconds]
<makefu> samueldr: that sounds nice, i am looking forward also testing my board
FRidh has joined #nixos-aarch64
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 245 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 245 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 272 seconds]
orivej has joined #nixos-aarch64
LnL has joined #nixos-aarch64
LnL is now known as Guest34980
Guest34980 has joined #nixos-aarch64
Guest34980 has quit [Changing host]
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 250 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 245 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 250 seconds]
Guest34980 is now known as LnL
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 246 seconds]
zupo has joined #nixos-aarch64
orivej has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 255 seconds]
orivej has joined #nixos-aarch64
zupo has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
zupo_ has joined #nixos-aarch64
zupo has quit [Ping timeout: 246 seconds]
Thra11 has joined #nixos-aarch64
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<samueldr> \o/ full "downstream" build completely nixified
<samueldr> main issue: it's too big
<samueldr> and we don't really have room (IIRC) in the sd_image builds to keep 16M open for the rockchip downstream firmwares, unless we reduce the FAT32 partition size and use the ext4 partition as bootable
<samueldr> (which would also help alleviate the pain point of filling up /boot easily)
<samueldr> makefu: this could help you make a full build, if you track down the most likely u-boot repo, and the most likely source of the binary rockchip blobs
<samueldr> at least, it's known to work on a similar platform, using the same kind of steps the downstream firefly folks use
<makefu> cool!
<samueldr> then from there I think it's going to be less guesswork to figure out how to replace proprietary bits, knowing the build should be working
zupo has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alex_giusi_tiri has joined #nixos-aarch64
FRidh has quit [Quit: Konversation terminated!]
zupo has joined #nixos-aarch64
alex_giusi_tiri has quit [Ping timeout: 250 seconds]
alex_giusi_tiri has joined #nixos-aarch64
<makefu> i've added the AIO-3399 board, however i am not sure it works yet. https://github.com/makefu/ROC-RK3399-PC-overlay . i tried to pass a board variable to the "firware" to avoid duplicating the code but for some reason the derivation will then not use the cross-compiled rkbin but the original one. also "nix-build firmware --option system aarch64-linux" due to rkbin patchelfing does not work directly on
<makefu> aarch64
<makefu> anyway, the rest looks good, i will try to flash the image to the emmc tomorrow
<samueldr> I'll look
<samueldr> right now it wasn't intended to be generic
<samueldr> but I was thinking it could become
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<samueldr> I also patched u-boot "heavily" to work better :)
<makefu> i saw that :)
<samueldr> ah, you used the same commit, not sure it'll work
<samueldr> maybe, hopefully
<samueldr> but it looks like they added commits specific to workaround "things"
<makefu> an image builder for all these weird boards would be quite awesome, that way not all custom uboot bootloader need to reside in nixpkgs
<makefu> but step by step
<samueldr> right :)
<makefu> thanks for your fantastic work! i will go to sleep, bye
<samueldr> 'night
<samueldr> (I kinda got sidetracked in the whole github actions thing instead of this)
<makefu> that is also a great topic :D