<samueldr> whew, turns out dropbear needed some LD_LIBRARY_PATH massaging + libnss libs
<gchristensen> nice...
<gchristensen> sphalerit / sphalerite ping
<sphalerit> gchristensen: pong
<sphalerit> andi-: nice, did you order a devkit?
<andi-> sphalerit: nah, only thought about it a few days ago. I'll try to get the software packaging done until then. I can imagine packaging the KDE/GNOME kind they are producing will already be a small challenge. After all we could probably fallback to a Gemini for initial testing of the stack. Not the same CPU (I think) but phone-like aarch64. In January my device is supposed to arrive..
<sphalerit> Yeah I haven't ordered mine yet
<sphalerit> I should have a fair bit of free time this summer, so if you want to work together on it let me know :)
<andi-> Sure :)
<andi-> I also have the need for proper cross compilation.. I just yesterday had to fix an older system (xilinx pynq board half FPGA/half arm core).. Will have to see how I can fit the custom u-boot and custom kernel into nixos.. :/ also just 512MB of RAM piratically forcing me to crosscompile
<elvishjerricco> andi-: Cross compiling perl stuff has been the main problem for me with cross compiling nixos
<andi-> Its by far my number one concern regarding embeddedish (RPI and those) devices: the memory footprint of running nix :/
LnL has quit [Read error: Connection reset by peer]
LnL has joined #nixos-aarch64
<sphalerite> yeah… and memory aside, building stuff on them isn't fun either
orivej has quit [Ping timeout: 265 seconds]
<gchristensen> sphalerite: ping
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 240 seconds]
<sphalerite> gchristensen: pong :x
Acou_Bass has quit [Ping timeout: 264 seconds]
Sonarpulse has joined #nixos-aarch64
<andi-> sphalerite: yep... must look into cross compiling again.. a few months ago (5?) I tried to do it but I just couldn't figure out how... :/
<sphalerite> basically pass crossSystem to nixpkgs
<sphalerite> let nativePkgs = import <nixpkgs> {}; crossPkgs = import <nixpkgs> {crossSystem = pkgs.lib.examples.foo;}
<sphalerite> not sure about cross-compiling nixos, but I do think shlevy got that working a while back when he was doing the risc-v stuff
<andi-> ok
<andi-> i'll try to at least try to emulate my future hardware (as close as I can get)
<andi-> should be feasible to boot it up on qemu... With out graphics probably
<samueldr> elvishjerricco got aarch64 nixos working, the sd-image for qemu can be cross-compiled
<samueldr> (not upstreamed yet)
<elvishjerricco> samueldr: Yea, I have that working too
<samueldr> I mean that YOU got it working :)
<elvishjerricco> Oh, thought you were saying you fixed the stuff on master :P My GitHub repo was on a pretty old nixpkgs
<samueldr> tried to cross-compile my device kernel, but it needs gcc6 which doesn't build using gcc7 and I'm a bit stumped at how to get cross gcc6 built using system's gcc5 or gcc6
<elvishjerricco> Seems like GCC 7 broke a lot of builds. Is that typical of major GCC version changes?
<samueldr> kind of
<samueldr> it's either undefined behaviour changing
<samueldr> or more warnings, with -Werror
<samueldr> in the case of gcc6. it seems to be (at least) a new warning
<andi-> IMO the problem is also not eased by us just disabling errors.. We should submit changes to upstream and ask them to fix it :/ I remember two motnsh trying to work on the gcc7 migration...
<samueldr> as for my kernel, I don't know, it builds, but doesn't work using gcc7, fine with gcc6
<samueldr> (but it's a crusty old 3.10 from asus)
<samueldr> (so it's kind of expected stuff's broken)
orivej has joined #nixos-aarch64
Acou_Bass has joined #nixos-aarch64
<elvishjerricco> linux-next worked flawlessly out of the box on my rpi 3 b plus... Wish I hadn't wasted time fixing things up for the linux-rpi kernel :P
<elvishjerricco> Oh wait, I used the old image. Never mind, it is not working out of the box :P