bennofs__ has joined #nixos-aarch64
bennofs_ has quit [Ping timeout: 265 seconds]
justanotheruser has quit [Ping timeout: 260 seconds]
rajivr has joined #nixos-aarch64
cole-h has quit [Ping timeout: 268 seconds]
cole-h has joined #nixos-aarch64
patagonicus183 has joined #nixos-aarch64
patagonicus18 has quit [Ping timeout: 245 seconds]
<elvishjerricco> Good news, I tried `enableParallelBuilding = true;` for tow-boot, and it looks like it didn't break anything
<samueldr> when it hit issues, it was an obvious build failure due to erroneous dependencies in the makefiles
<samueldr> so either you were lucky, or it was fixed
<samueldr> but the good thing is that it shouldn't cause weirdly broken builds
h0m1 has quit [Ping timeout: 250 seconds]
<elvishjerricco> clever: If I wanted to mess around with helping to get log output, where should I start?
<clever> elvishjerricco: lists_bind_fdt
h0m1 has joined #nixos-aarch64
<clever> elvishjerricco: that function deals with parsing the DT that came in from the firmware
<clever> elvishjerricco: it then calls driver_check_compatible to search all registered drivers, and load any it finds
<clever> i think the root problem, is that this process is what enables the uart
<clever> so the uart wont work until after this has finished
<clever> cmd/log.c may let you recover the logs after the fact, but i didnt see how to turn it on yet
<elvishjerricco> Oh right I was going to try bisecting the firmware real quick
<elvishjerricco> But I don't have a known good commit so... where do I start?
<clever> dumb idea, the first commit to introduce a start4.elf!
<elvishjerricco> might as well :P
<clever> it will definitely lack netboot support, but the eeprom should clearly tell you so
<clever> you can just wrongly claim to bisect that its good (enough), and it will find the rest for you
<elvishjerricco> So I'm at the last bisect step. So far, I've only encountered files that aren't new enough to even run, and files that exhibit the config.txt issue.
<clever> there might also be files that can netboot on a pi4, but dont support the cm4
<clever> a middle zone
<clever> but the error wont tell you the difference
<elvishjerricco> But with these last ones, the pi downloads start4.elf and fixup4.dat, says it's starting start4.elf, and then nothing happens.
<elvishjerricco> Like no more tftp access
<clever> i would classify that as good, because skip tends to be too slow
<clever> it feels like is too old, and not detected as such
<elvishjerricco> Well there's 0 revisions left to test after this one
<clever> ack!
<clever> you could throw a fat32 with config.txt and uart_2ndstage=1 onto the emmc, just incase its looking in the wrong place
<clever> got a pi4 by chance?
<elvishjerricco> I do not :/
<clever> i should try the same bisect on mine
<clever> its one of the original revs, so it should support any start4.elf
<clever> oh right, and one other thing
<clever> boot_load_flags
<clever> if you add boot_load_flags=1 to config.txt, then you disable the "is it supported" check in the bootcode.bin
<clever> so it will run unsupported start4.elf files
<clever> those may ignore the netboot situation, and then load from the emmc
<clever> which could still give some extra info
superherointj has quit [Quit: Leaving]
<elvishjerricco> Well, I put a config.txt on an sd card and now things are very different.
orivej has joined #nixos-aarch64
<elvishjerricco> I get the usual stuff, but now, after Starting start4.elf, I get all this: https://www.irccloud.com/pastebin/Q37V6MX0/
<clever> that would be the start4.elf debug logs, enabled by uart_2ndstage=1
<elvishjerricco> figured
<elvishjerricco> "No compatible kernel found"
<elvishjerricco> I think it's looking at the sd card
<clever> yeah
<clever> genet is the name of the gigabit ethernet controller
<clever> so lines 29-31 are it turning back on, after the previous stage stopped it
<elvishjerricco> clever: It is still trying to netboot i think
<elvishjerricco> because I put back kernel8.img on the tftp server and it changed behavior
<clever> ah
<clever> try repeating the bisect in that situation then?
<elvishjerricco> Well the whole point of the bisect was to find one that didn't need a kernel8.img wasn't it?
<clever> having logging is still useful
<elvishjerricco> looks like this loaded kernel8.img, but shouldn't u-boot be outputting on serial, now that we got it to respect enable_uart=1?
<clever> not exactly
<clever> uart_2ndstage=1 is handled by the 1st stage (bootcode.bin)
<clever> enable_uart=1 is handled by the 2nd stage
<clever> but if the 2nd stage is loading kernel8.img, its not loading config.txt
<elvishjerricco> ah
<clever> there are 4 seperate passes thru different config files
<clever> first, bootcode.bin (in spi flash), will parse bootconf.txt (also in spi flash), and do whatever those options say
<clever> if booting from something with partitions (usb, sd), it will parse autoboot.txt, which can only have one config option, boot_partition=<int>
<clever> the boot_partition parameter, re-directs which fat32 partition it uses for the next steps, so your config.txt + start4.elf can be on the 2nd fat32
<clever> the 3rd pass, is bootcode.bin parsing config.txt for basic paramaters (start_file changes which .elf it loads), this pass does not support include statements
<clever> all 3 passes, also support a range of conditional statements, like [pi3] or [gpio21=0]
<clever> elvishjerricco: following so far?
<clever> the 4th pass, is start(4).elf re-parsing config.txt, this time, with support for include statements
<clever> the first 3 passes, all have a very clearly defined list of valid options, and ignore all others
<elvishjerricco> sorry, stepped away for a min
<clever> the 4th pass is more fuzzy, there is just a function to get a config entry, so listing them is tricky
<elvishjerricco> ok, yea that makes sense
<clever> [clever@amd-nixos:~/apps/rpi]$ strings firmware//boot/start4.elf | grep uart
<clever> enable_uart
<clever> [clever@amd-nixos:~/apps/rpi]$ strings rpi-eeprom/firmware/beta/pieeprom-2021-01-16.bin | grep uart
<clever> uart_2ndstage
<clever> elvishjerricco: from this, you can also tell which option gets processed in which stage
Adluc has quit [Ping timeout: 240 seconds]
justanotheruser has joined #nixos-aarch64
Adluc has joined #nixos-aarch64
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-aarch64
<s1341_> morning.
<s1341_> I asked in #nixos, but this might be a better place to do so.
<s1341_> I need lzma/openssl at build time and at run time when cross-compiling with rust for aarch64-android.
<s1341_> this is my nix-shell derivation: https://www.irccloud.com/pastebin/ZWkPRNN7/
<s1341_> but pkg-config only has aarch64-android binaries...
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
cole-h has quit [Ping timeout: 252 seconds]
orivej has quit [Ping timeout: 260 seconds]
zupo has joined #nixos-aarch64
pbb has quit [Ping timeout: 260 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
pbb has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
HenrikK has joined #nixos-aarch64
globin_ has quit [Ping timeout: 250 seconds]
globin_ has joined #nixos-aarch64
henrik-ch has joined #nixos-aarch64
globin_ has quit [Ping timeout: 260 seconds]
globin_ has joined #nixos-aarch64
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
globin_ has quit [Ping timeout: 245 seconds]
HenrikK has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
globin_ has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
zupo has quit [Client Quit]
zupo has joined #nixos-aarch64
orivej has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
zupo has quit [Client Quit]
HenrikK has joined #nixos-aarch64
jasom has quit [Ping timeout: 276 seconds]
jasom has joined #nixos-aarch64
dev_mohe has joined #nixos-aarch64
dev_mohe has quit [Client Quit]
HenrikK has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #nixos-aarch64
ryantrinkle has joined #nixos-aarch64
Dandellion has quit [Ping timeout: 276 seconds]
leonardp has quit [Ping timeout: 276 seconds]
LinuxHackerman has quit [Ping timeout: 245 seconds]
spacetato has quit [Ping timeout: 245 seconds]
CRTified[m] has quit [Ping timeout: 245 seconds]
thefloweringash has quit [Ping timeout: 276 seconds]
dxb[m] has quit [Ping timeout: 245 seconds]
veleiro has quit [Ping timeout: 245 seconds]
mica[m] has quit [Ping timeout: 245 seconds]
siraben has quit [Ping timeout: 245 seconds]
hiroshi[m] has quit [Ping timeout: 260 seconds]
Dandellion has joined #nixos-aarch64
leonardp has joined #nixos-aarch64
henrik-ch has quit [Read error: Connection reset by peer]
thefloweringash has joined #nixos-aarch64
henrik-ch has joined #nixos-aarch64
angerman has quit [Ping timeout: 260 seconds]
illustris has quit [Ping timeout: 250 seconds]
spacetato has joined #nixos-aarch64
CRTified[m] has joined #nixos-aarch64
mica[m] has joined #nixos-aarch64
henrik-ch has quit [Ping timeout: 240 seconds]
dxb[m] has joined #nixos-aarch64
noonien6 has joined #nixos-aarch64
veleiro has joined #nixos-aarch64
siraben has joined #nixos-aarch64
noonien has quit [Ping timeout: 240 seconds]
noonien6 is now known as noonien
hiroshi[m] has joined #nixos-aarch64
LinuxHackerman has joined #nixos-aarch64
henrik-ch has joined #nixos-aarch64
angerman has joined #nixos-aarch64
illustris has joined #nixos-aarch64
cptchaos83 has quit [Remote host closed the connection]
cptchaos83 has joined #nixos-aarch64
dongcarl7 has joined #nixos-aarch64
dongcarl has quit [Quit: Ping timeout (120 seconds)]
quinn has quit [Quit: ZNC 1.8.1 - https://znc.in]
ekleog has quit [Remote host closed the connection]
quinn has joined #nixos-aarch64
sigtrm has quit [Remote host closed the connection]
dongcarl7 is now known as dongcarl
ekleog_ has joined #nixos-aarch64
sigtrm has joined #nixos-aarch64
orivej has quit [Ping timeout: 240 seconds]
zupo has joined #nixos-aarch64
pbb has joined #nixos-aarch64
alpernebbi has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
HenrikK has joined #nixos-aarch64
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos-aarch64
bennofs__ has quit [Read error: Connection reset by peer]
bennofs_ has joined #nixos-aarch64
cole-h has joined #nixos-aarch64
HenrikK has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Thra11 has joined #nixos-aarch64
Thra11 has quit [Client Quit]
Thra11 has joined #nixos-aarch64
superherointj has joined #nixos-aarch64
<superherointj> Does virtualization work on aarch64? I wonder if it is possible to use OVMF on Libvirt.
<samueldr> virtualization works
<samueldr> check /dev/kvm is present, it should be on most SBCs
<superherointj> $ ls -l /dev/kvm
<superherointj> crw-rw-rw- 1 root kvm 10, 232 mai 18 14:33 /dev/kvm
<samueldr> OVMF, if that's the tianocore build for qemu you're thinking of, should work too, but I'm not positive we build it for aarch64
<superherointj> Yes, that is what I mean.
<samueldr> (I didn't check, it might as well be built)
<superherointj> Question is, if OVMF package is being properly build for aarch64?
<superherointj> samueldr, is UEFI available on my RockPro64?
<samueldr> superherointj: what do you mean here?
<samueldr> if it's about virtualization, the board doesn't matter
<samueldr> the "initial boot firmware" is handled by the virtualization system entirely
<samueldr> if you want to know whether you can boot your board using UEFI
<samueldr> yes you could
<samueldr> but RK3399 has two known issues with U-Boot (and thus Tow-Boot) and mainline linux
<samueldr> (1) rockchipdrm won't work if efifb is used, so you won't get the VT consoles
<samueldr> (2) poweroff will hang
<superherointj> On my workstation, I use virt-manager to connect to RockPro64 libvirtd server, it connects. But when I attempt to create a new VM, it sasys: "Warning: Failed to setup UEFI: Did not find any UEFI binary path for arch 'aarch64'. Instal options are limited."
<superherointj> I think this might be related to lack of OVMF, or it being misconfigured?
<superherointj> OVMF packages build on aarch64.
<superherointj> Poweroff hangs?
<superherointj> *builds
<superherointj> OVMF package outputs: result-fd/AAVMF_CODE.fd AAVMF_VARS.fd QEMU_EFI.fd QEMU_VARS.fd
<superherointj> AAVMF is for aarch64, right?
<superherointj> Libvirtd is referencing OVMF_CODE.fd not AAVMF_CODE.fd
<superherointj> (On NixOS)
rajivr has quit [Quit: Connection closed for inactivity]
<samueldr> yeah, that's unrelated to the board
<samueldr> if it's virtualization, it's independent
<superherointj> Right.
<samueldr> and you basically have it understood: it's because OVMF is not configured correctly somewhere for the UEFI firmware
<samueldr> "poweroff hangs" is only if you *booted* the RK3399 SBC with UEFI with U-Boot (or derivative), and try to poweroff
<superherointj> Is that poweroff hanguing issue a hardware issue?
<samueldr> shouldn't be
<samueldr> since poweroff works fine with the same software, but not running through UEFI
<samueldr> and works fine with basically the same firmware/software combination, with UEFI on other SoC families
<superherointj> I have manually patched the path to AAVMF, I think it worked.
* superherointj is testing...
<superherointj> If I get this right, this will be my first non trivial patch. I've come a long way since I first met you here. Do you realise you taught me to use GIT? :D
<superherointj> (I bet you have forgotten.)
<samueldr> I uh forgot... I don't remember teaching anyone git since I probably should have done due diligence and told them: DON'T GIT IS GOING TO RUIN YOUR LIFE ;)
<superherointj> I still laught at the idea of having my hands sweating because of cherry pick.
<superherointj> My first PR in Nixpkgs was a mess.
<superherointj> Lately I've been able to fix/submit packages quite often. Just saying, I'm improving, thanks for the patience and kindness.
<elvishjerricco> So I retried my bisect with `boot_load_flags=1`, and landed at the same "first bad" commit; I only ever saw start4.elf files that didn't try to net boot, or ones that did it wrong
<elvishjerricco> Annoyingly, that commit is d5b8d8d, which doesn't say anything about netboot
<clever> let me check around that commit...
<clever> elvishjerricco: thats something like 20 commits after adding start4.elf, right??
<clever> or is gitk messing up
superherointj has quit [Quit: Leaving]
HenrikK has joined #nixos-aarch64
Venom668 has joined #nixos-aarch64
zupo has joined #nixos-aarch64
<Venom668> hello
<Venom668> samueldr, have you managed to get suspend to ram working on mainline linux and u-boot with tf-a patch on rk3399?
<samueldr> Venom668: not tested in depth, but on the PBP yeah
<Venom668> is there anything apart from these 2 things required for it?
<Venom668> I've seen it, but can't reproduce, i.e. doesn't work for me
<samueldr> on the firmware side, U-Boot build with the following TF-A patch applied to TF-A https://github.com/Tow-Boot/Tow-Boot/blob/a4a624473c59b1c3c6d16ed19de11fb8baeac343/boards/pine64/pinebook-pro.nix#L4-L11
<samueldr> (which is the change linked in the github comment)
<Venom668> I've got u-boot with all the patches from tow-boot repo
<samueldr> and then on the OS side, kernel 5.11 mostly mainline from https://github.com/samueldr/wip-pinebook-pro/pull/24
<{^_^}> samueldr/wip-pinebook-pro#24 (by samueldr, 6 days ago, open): Early 2021 upgrades
<samueldr> including removing the s2idle "fix"
<samueldr> but I never suspended more than a couple minutes
<samueldr> the people from TF-A seem to have doubts that it would survive a long suspend in resuming in different conditions
<Venom668> it doesn't wake up at all for me
<Venom668> but the kernel you linked is 5.7
<samueldr> in https://github.com/samueldr/wip-pinebook-pro/pull/24 _lts is 5.10, _latest is 5.11
<{^_^}> samueldr/wip-pinebook-pro#24 (by samueldr, 6 days ago, open): Early 2021 upgrades
h0m1 has quit [Quit: WeeChat 3.1]
<Venom668> so this is basically nadia's kernel, which I got
h0m1 has joined #nixos-aarch64
<samueldr> but with a different configuration, the NixOS defaults + some changes
<Venom668> okay, thank you
<Venom668> I'm gonna try it
HenrikK has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alpernebbi has quit [Quit: alpernebbi]
superherointj has joined #nixos-aarch64
<superherointj> Just realised the instructions for aarch64 install are hidden: https://nixos.org/download.html
<superherointj> samueldr, which NixOS image you recommend for VMs?
<superherointj> (To be used on aarch64 hardware.)
<samueldr> I don't know
<samueldr> I would assume whatever process works for x86_64 and making images works too for aarch64 mostly
<superherointj> Now I just need to test it before pushing this.
<superherointj> Such a simple fix, and I had lost a ton of time on this (a time ago).
<superherointj> Btw, I have tested it. I'm just not running VMs yet.
<superherointj> I'll try some other OS which has available images for aarch64.
walkah has joined #nixos-aarch64
pbb has quit [Ping timeout: 260 seconds]
<superherointj> samueldr, do you the PR I made fix this: https://github.com/NixOS/nixpkgs/issues/115996 ?
<{^_^}> #115996 (by davidak, 9 weeks ago, open): Virt-Manager: Can't use UEFI in QEMU
<superherointj> I think it does he is calling it UEFI but it actually the OVMF firmware.
<samueldr> I'm not sure, considering this looks like a no-op on x86_64
<superherointj> Just realised one thing, it may be relevant to install the aarch64 variant on x86!
<superherointj> My PR is then improper.
Thra11 has quit [Quit: WeeChat 2.9]
superherointj has quit [Quit: Leaving]
superherointj has joined #nixos-aarch64
superherointj has quit [Client Quit]
superherointj has joined #nixos-aarch64
cptchaos83 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
cptchaos83 has joined #nixos-aarch64
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 260 seconds]
orivej_ has joined #nixos-aarch64
dev_mohe has joined #nixos-aarch64
<walkah> Can someone explain how to load dtbo files? (Specifically I’m looking to get rpi-poe working on my raspberry pi 4s)
<walkah> As far as I can tell boot.loader.raspberryPi.firmwareConfig doesn’t update anything and mounting the FIRMWARE partition and hand-editing config.txt doesn’t seem to work either. But I can see the dtbo file is there (under /boot/nixos)
zupo_ has joined #nixos-aarch64
<clever> walkah: the default on nixos, is that the firmware partition and config.txt are never used
<clever> walkah: you instead pre-apply the overlays to a dtb within a nix build, and uboot loads the final merged result
<clever> but there are some complexities to pre-applying them
<walkah> Ahh, that makes sense… and I seem to be lost in the complexities
zupo has quit [Ping timeout: 240 seconds]
<walkah> clever: I’ve read what’s on the wiki & nix.dev and something’s not clicking. Is there somewhere I can read up on how this is supposed to work?
<clever> walkah: hardware.deviceTree.overlays is the default way to apply overlays
<samueldr> walkah: there's still some things to figure out
<samueldr> but there's been some exploratory work
<{^_^}> nixos-hardware#261 (by samueldr, 5 days ago, merged): raspberry-pi/4: Add modesetting option
<walkah> samueldr: cool. I’m happy to help explore :)
<{^_^}> nixos-hardware#262 (by samueldr, 5 days ago, open): Support for additional "dtparams" for Raspberry Pi
<samueldr> the PR here shows how to apply a dtbo from the source files, which we have to do since the `compatible` string is checked
<samueldr> and upstream doesn't actually fill that in correctly
<samueldr> (or we don't check it correctly, maybe)
<samueldr> it *also* shows how one could replace a "dtparam" with a NixOS option
<samueldr> considering "dtparams" are not really a thing, they are something the raspberry pi foundation has done, but is not standard
<samueldr> the issue, second link, is an open question about looking at other dtparam options
dev_mohe has quit [Quit: dev_mohe]
<samueldr> BUT
<samueldr> there may be some more complexity
<samueldr> clever says that *some* dtparams options *may* also make the vendor firmware turn things on/off
<samueldr> so it may be necessary to *also* change things in the config.txt file to make the hardware work if only changing the device tree isn't enough
<walkah> I was looking at this PR earlier but it looked like this was adding new overlays … when the rpi-poe.dtbo file seems to be there just … not loaded
<clever> i think the poe overlay wont do that
<samueldr> walkah: it's re-implementing the overlay because of the `compatible` string not matching
<walkah> Under raspian, these things “just worked” … no dtparams required
<samueldr> it's basically a copy/paste of the dts for hte overlay
<samueldr> I might have used the wrong terminology
<clever> walkah: yeah, adding uboot into the mix is what broke a lot of the dt stuff
<samueldr> I'm not exactly 100% familiar with the vendor ecosystem
<samueldr> I meant overlays, maybe, for some uses of dtparams
<clever> walkah: there are ways to switch a nixos install back to the non-uboot route, and i recently discovered something that would make that far simpler
<samueldr> note that going non-uboot has issues, e.g. you won't really have generation selection
<samueldr> and it can't load the files from the main partition
<clever> so /boot must be on fat32
<samueldr> and is an "unsupported" state, as we only "support" generic U-Boot based images for aarch64
<walkah> But there’s already a fat32 partition here
<samueldr> (but unsupported does not mean it'll be broken)
<walkah> gotcha.
<walkah> Well, I’m happy to test / try either way… i have a handful of rpi4’s with PoE hats that I’d love to have running nixos :)
<samueldr> ideally it would be preferrable to make it work with the U-Boot-based boot flow since it means generations work
<walkah> Yeah. That makes sense.
<clever> walkah: the default setup, is that the firmware and uboot sit on a firmware fat32 partition, which never gets mounted or updated
<samueldr> walkah: so basically you just dtoverlay=rpi-poe and it works, right?
<clever> walkah: then an extlinux.conf, kernels, initrds, and dtb files, all live in the /boot dir of your rootfs (typically ext4)
<samueldr> (in a vendor-ecosystem based setup)
<walkah> samueldr: in raspian you don’t even need to do that…
<samueldr> that's odd
<clever> there is a hat eeprom on the board
<clever> and the firmware auto-loads overlays on its own
<samueldr> oh right
<walkah> Yeah. What clever said :)
<samueldr> lucky you, no #include
<samueldr> if you were to copy all that, fix the compatible string like that other PR, I think it should work
<clever> samueldr: that reminds me, if you just pass ${fdtcontroladdr} on to linux, a lot of these problems go away
<clever> at the cost of having to update the firmware partition sometimes
<samueldr> clever: "wrong"
<samueldr> it's way more complicated
<samueldr> because of how the mainline kernel takes ownership of the device trees
<clever> how so?
<walkah> samueldr: interesting… our dinner is just about ready, but I will definitely give that a shot
<samueldr> so they have to be loaded with the the generation with the right kernel for things to actually work with mainline
<samueldr> as they too often "just fix things in the device trees"
<samueldr> walkah: great, the __overrides__ thing may or may not have to be removed, I don't recall
<samueldr> walkah: but otherwise AFAICT things look trivial enough that it should work once it applies
<samueldr> clever: so yeah, the fact that mainline assumes you're using the DT they ship really breaks things
<clever> samueldr: are they only changing the names of keys? the compatibles? the config?
<samueldr> since if you were to use the vendor's DT (which should be the way to go!) you end up with the "wrong" node names
<clever> some of those changes are minor and would work with either DTS
<walkah> samueldr: that would be amazing! I will definitely report back :)
<clever> the names only matter for overlay purposes
<samueldr> yeah
<samueldr> but too often they apply quirks in the DTs
<clever> if your using the rpi dtb files, then your also using the rpi dtbo files, and it all works
<samueldr> instead of doing like they do for ACPI and handle it in a side-channel
<samueldr> so if their driver requires data that is not in the vendor tree, it'll be missing
<samueldr> or some values get tweaked
<samueldr> I don't have precise examples
<samueldr> but I had people who knew telling me my observation was right
<samueldr> and that we have to use the DTs the kernel ship or things may not work right
<samueldr> and that is is an issue
<samueldr> that it is*
<samueldr> otherwise, purely on principle, clever, I agree 100%
<samueldr> the firmware's built-in DT should be enough always
<clever> boot.kernelPackages = pkgs.linuxPackages_rpi4;
<samueldr> that's even how the DT spec was supposed to work
<clever> samueldr: is this the fork or upstream?
<samueldr> yes, it's the vendor fork
<clever> then all of those problems are out the window already
<clever> my pi4 didnt even boot with the default value, because the pi4 dtb wasnt in the derivation
<clever> i had to switch to that fork, for it to even boot
<samueldr> support in mainline is quite recent
<clever> so i'm on the forked kernel, and would have zero problems using the forked dt files
<samueldr> so if you weren't using _latest or unstable+_lts it wouldn't have the dtb files
<samueldr> and yeah, the extlinux.conf loader strongly assumes a missing dtb is an error
<samueldr> which I'm not fond of
<clever> it failed thru every generation until it hit the original (from the .img), and booted back up
<samueldr> yep
<samueldr> I would hazard a guess it was _lts 5.4
<clever> Linux nixos 5.4.79 #1-NixOS SMP Tue Jan 1 00:00:00 UTC 1980 aarch64 GNU/Linux
roberth has quit [Ping timeout: 258 seconds]
Ke has quit [Ping timeout: 258 seconds]
<clever> its the .img from jan i think, because i picked the wrong hydra job, and had to go back pretty far
<clever> i havent updated the channel yet
CRTified[m] has quit [Ping timeout: 245 seconds]
spacetato has quit [Ping timeout: 245 seconds]
hpfr has quit [Ping timeout: 245 seconds]
puzzlewolf has quit [Ping timeout: 258 seconds]
veleiro has quit [Ping timeout: 245 seconds]
<samueldr> yep
<samueldr> support for the pi4 was added I think in 5.9
ejpcmac has quit [Ping timeout: 245 seconds]
l-as has quit [Ping timeout: 250 seconds]
FantasyCookie174 has quit [Ping timeout: 258 seconds]
anton[m] has quit [Ping timeout: 258 seconds]
DavHau[m] has quit [Ping timeout: 258 seconds]
hiroshi[m] has quit [Ping timeout: 245 seconds]
thefloweringash has quit [Ping timeout: 245 seconds]
roberth has joined #nixos-aarch64
Ke has joined #nixos-aarch64
spacetato has joined #nixos-aarch64
CRTified[m] has joined #nixos-aarch64
hpfr has joined #nixos-aarch64
puzzlewolf has joined #nixos-aarch64
veleiro has joined #nixos-aarch64
FantasyCookie174 has joined #nixos-aarch64
<davidak[m]> superherointj from a user perspective he UEFI setting does not work. have you tested the steps to reproduce with your fix?
ejpcmac has joined #nixos-aarch64
hiroshi[m] has joined #nixos-aarch64
thefloweringash has joined #nixos-aarch64
DavHau[m] has joined #nixos-aarch64
anton[m] has joined #nixos-aarch64
<superherointj> davidak[m], I have fixed only for aarch64 hosts, for x86 hosts I'm going to work on tomorrow.
l-as has joined #nixos-aarch64
<superherointj> Oh. I'll have to fix virt-manager before I do that even. So not even tomorrow.
<superherointj> You want to use aarch64 at x86 host, but you are missing the aarch64 OVMF firmware to make it possible.