orivej has quit [Ping timeout: 240 seconds]
s33se has joined #nixos-aarch64
s33se_ has quit [Ping timeout: 248 seconds]
<gchristensen> I'll be rebooting the builder soon
LnL has quit [Ping timeout: 260 seconds]
LnL has joined #nixos-aarch64
efraim has quit [Remote host closed the connection]
efraim has joined #nixos-aarch64
orivej has joined #nixos-aarch64
buovjaga has joined #nixos-aarch64
LnL has quit [Ping timeout: 252 seconds]
LnL has joined #nixos-aarch64
orivej has quit [Ping timeout: 240 seconds]
Ineff has joined #nixos-aarch64
Ineff has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 240 seconds]
<grw> chris|: yes, boots with mainline kernel and uboot
<chris|> grw: do you know by chance if hardware video accelaration is working?
<grw> i didnt try but i doubt it
<samueldr> grw: nixos' uboot or manually built uboot?
<grw> samueldr: i built my own derivation using nixos, but mainline supports it so i think nixos will work
<samueldr> awesome
<grw> you need to install binary bl1 blobs
<chris|> arg
<samueldr> yeah, that's a given, as with other boards there sometimes is blobby stuff to also add to the device
<chris|> why can't things ever be easy
<grw> i think allwinner doesnt need blobs (else they are included with mainline uboot)
<samueldr> yeah, I think you're right, IIRC it's generally already present on another device on board, dunno the exact nomenclature of it though
<grw> ah yes, boot rom
<samueldr> grw: boot.kernelPackages = pkgs.linuxPackages_sunxi64;
<grw> yes i dont recommend copying the entire file :)
<samueldr> yeah, I was going to ask: did you actually use mailine kernel with odroid-c2?
<grw> it booted with mainline too, just was using that to reduce kernel builds
<samueldr> in case there is something in sunxi64 that made it work
<samueldr> ah good
<samueldr> (I updated the WIP wiki page for odroid-c2 with a report that mainline builds were reported to work)
<grw> Linux odroid-c2 4.14.4 #1-NixOS SMP PREEMPT Tue Dec 5 10:26:38 UTC 2017 aarch64 GNU/Linux
<samueldr> hmmm, that's a couple of boards there grw, your repo looks interesting
<grw> many are just stubbed out/copy of another
<samueldr> were they all booted at least once on hardware?
<grw> i think some have regressed to broken too :(
<grw> no not at all
<samueldr> ah, dang, now I'm reminded that I never started to upstream the patch to u-boot for pine64
<samueldr> I have an open PR for upstreaming pine64-LTS support
<grw> i dont really understand arm-trusted-firmware stuff on pine64
<grw> or at all really
<samueldr> I don't know much either, but it does build
<grw> yeah. mine seems quite stable now its working, but i tried many forks/patches to get a boot at all
<grw> it would be nice to have a wrapper to build nix packages using armbian sources
<grw> i would also like to have ci tests on real hardware
<samueldr> oh, I was lucky with the pine64-LTS that the sopine configuration in uboot recommends a specific fork
<samueldr> forgot to link my pr https://github.com/NixOS/nixpkgs/pull/32553
<grw> both are help needed situations though
<grw> cool, looks good. it looks like we found same magic repo
<grw> i read there is a magic repo with FEL boot for a64 somewhere, couldnt get it to work though
<grw> i guess your uboot will work on all allwinner 64 bit soc, maybe it should be called something else
<samueldr> yes and no
<samueldr> afaiui, it will need to be given the proper defconfig for each board
<samueldr> as uboot tells linux which device-tree to load
<samueldr> and that's the one configured in the defconfig
<samueldr> so, the same recipe, one per defconfig'ed board / dtb
<grw> hm true. i guess this worked for me as dt are mostly identical
<grw> for same soc
<samueldr> just as sopine is about the same as pine64-LTS (well, they are described as being the same by pine64)
<grw> it cant detect variant at runtime?
<samueldr> my last comment describes the situation as far as I understood
<samueldr> line 504 http://git.denx.de/?p=u-boot.git;a=blob;f=include/configs/sunxi-common.h;h=26f889dd3eed2cb800b73d05c4bfda51fdc64743;hb=HEAD#l504
<samueldr> (you'll wind up a couple lines earlier as you read the constants defined)
<grw> hm, i see
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 252 seconds]
orivej has joined #nixos-aarch64
Tasqa has joined #nixos-aarch64
buovjaga has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 260 seconds]