<samueldr>
it's as I suspected, linuxPackages_testing.zfs doesn't currently build
<samueldr>
(which can be expected since it uses kernel APIs, which those are not 100% stable like userland APIs)
orivej has quit [Ping timeout: 244 seconds]
Acou_Bass has quit [Ping timeout: 250 seconds]
Acou_Bass has joined #nixos-aarch64
Acou_Bass has quit [Ping timeout: 272 seconds]
Acou_Bass has joined #nixos-aarch64
orivej has joined #nixos-aarch64
<samrose>
thnx samueldr
zupo_ has joined #nixos-aarch64
<zupo_>
Hey all! After years of being on the receiving end of Nix evangelism by friends I finally bit the bullet today and am installing Nix on my RPi 3! Tried it years ago but RPi was not well supported back then. Today I found https://nixos.wiki/wiki/NixOS_on_ARM#Installation and yep, this looks way more doable. So big thanks to whoever contributed to the images and the documentation!
<gchristensen>
yay zupo_!
<makefu>
zupo_: a lot of different people contributed to the article, i think without the bootstrapping of Dezgeg a lot of people were discouraged from trying. samueldr has put huge efforts into structuring, adding and cleaning the wiki article. and of course there is the aarch64 binary cache now which is mainly thanks to gchristensen!
zupo has joined #nixos-aarch64
zupo_ has quit [Ping timeout: 250 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
<samrose>
samueldr: hdmi, ethernet, and USB work with 4.20-rc5, turning off zfs boot, and the diver you suggested on the bananapi m64 (in my case I had to build an sd-aarch64 image to get it working)
<samueldr>
samrose: "the d[r]iver you suggested" what do you mean?
<samrose>
sorry for vagueness: the "SUN8I_DE2_CCU = yes" in common configuration, building sd-aarch64 image using testing, and removing the zfs from boot.supportedFilesystems
<samrose>
samueldr: ^
<samrose>
I still have a branch where I saved the work I did to get the u-boot working, so I will PR that, and back track through my clone + document the wiki on what it takes to make this much work
<samrose>
ah, I also followed the step of deactivating the /boot partition after copying image to emmc too
<samueldr>
ah, so yeah, for ethernet here I'm thinking either u-boot inits something differently than the kernel expects (unsure if even relevant) which would be fixed at the next u-boot release if my intuition is right
<samueldr>
(for my board)
<samueldr>
samrose: if you're still on your first boot and ethernet works, dump the dmesg output and reboot, in case after a reboot it won't work anymore like on mine
<samrose>
samueldr: ok, I will
<samueldr>
that's just because somehow on first boot with 4.20 it worked, but never worked after; PROBABLY just luck
<samueldr>
(on something racy)
<samrose>
I haven't actually even copied image to emmc yet
<samrose>
samueldr: are you using a newer version?
<samueldr>
I don't think I was
<samrose>
I think we end up building the same one
<samrose>
however, there may be some args that are bpim64 or pine64 specific in the u-boot and trusted firmware
<samueldr>
probably, except yours would be with the bananapi defconfig and mine the sopine defconfig
<samrose>
yes that's right
<samueldr>
did you touch the ATF release used in nixpkgs?
<samrose>
samueldr: "ATF release"?
<samueldr>
don't really know, you said "however, there may be some args [...] specific in the [...] trusted firmware"
<samueldr>
my experience is limited in what the ATF really does here
<samrose>
sorry samueldr: yes, it is limited upon review and no I did not modify ATF
<samueldr>
right, so all differences should be in DTB and defconfig :)
<samrose>
samueldr: I think you are right that if defconfig and DTB are reviewed you may find the drivers. I can try to help if you think it would be of help to have me look at them too
<samrose>
I will be back on later tonight my time
<samrose>
(not that you need my help, but if I can help somehow, I am glad to try)