orivej has quit [Ping timeout: 265 seconds]
bdju has quit [Remote host closed the connection]
bdju has joined #nixos-aarch64
<samueldr> I'm in
<ashkitten> !
<samueldr> yes!
<samueldr> the first non-vendor-built ROM (excluding the TWRP that uses the vendor kernel) for that device is AFAICT Mobile NixOS!
<samueldr> though I guess there is likely no one else who's gonna have one of those
orivej has joined #nixos-aarch64
bdju has quit [Remote host closed the connection]
bdju has joined #nixos-aarch64
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-aarch64
h0m1 has quit [Ping timeout: 260 seconds]
h0m1 has joined #nixos-aarch64
zupo has quit [Ping timeout: 264 seconds]
rajivr has joined #nixos-aarch64
orivej_ has joined #nixos-aarch64
orivej has quit [Ping timeout: 260 seconds]
knerten2 has joined #nixos-aarch64
knerten1 has quit [Ping timeout: 240 seconds]
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
bdju has quit [Quit: leaving]
bdju has joined #nixos-aarch64
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-aarch64
kloenk has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
kloenk has joined #nixos-aarch64
orivej has quit [Read error: Connection reset by peer]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 265 seconds]
<c00w> Anyone here know how to tell nix-build to compile an aarch64 package? I'm trying to set up my rpi as a aarch64 builder for nix (running on a x86 machine).
<c00w> And I'm not seeing a way to tell nix-build, hey build this for aarch64 instead of x86_64
<clever> c00w: set the system arg when you import nixpkgs
<clever> nix-build '<nixpkgs>' --argstr system aarch64-linux -A nix
<c00w> Thank you!
<c00w> clever++
<{^_^}> clever's karma got increased to 463
<jwaksbaum[m]> You also should use [this](https://nixos.wiki/wiki/Distributed_build)
<c00w> Yeah - I found that wiki page and it looked doable
<c00w> so I was trying to figure out what i was missing on the nix-build side :)
<c00w> Now hopefully this build will error out on my x86_64 machine and I can get my rpi set up.
<c00w> Perfect - it errors :)
<c00w> Updated https://nixos.wiki/wiki/NixOS_on_ARM to include links to the rpi4 sd image
<samueldr> c00w: I'll edit and put this on the raspberry pi page
<c00w> Nice :) - I also didn't see a rpi4 anywhere in the supported device list
<samueldr> just added the row
<c00w> ty!
<c00w> samualdr++
<samueldr> the raspberry pi page is global
<samueldr> all instructions on the main page should be generic
<c00w> Nice - I'll go work through them to get this rpi4 set up
<c00w> Has anyone managed to get an encrypted root working with a raspberry pi?
<c00w> I've been trying for... longer than I'd like to admit? x86 no issues, but for some reason the raspberry pi always hangs
<samueldr> I did
<samueldr> hangs, as in no display?
<c00w> Do you happen to have the config you used?
<samueldr> no, but if it's no display, I know the fix
<samueldr> (on mainline, pi3)
<c00w> It's been a while since I last tried to debug this, but I think what happens is I see the stage0 (i.e. the initramfs).
<c00w> But then it never prompts me for a password
<c00w> and then goes blank on the display?
<c00w> I believe this was a rpi3b+
<samueldr> boot.initrd.kernelModules = [ "vc4" "bcm2835_dma" "i2c_bcm2835" ];
<samueldr> the mainline kernel builds those as modules
<samueldr> and is not able to show things unless they are present
<samueldr> that's why you get no output between u-boot and stage-2 on a normal boot
<samueldr> (except for the sd image, where the config loads those!)
<c00w> Got it
<c00w> I'll try it out.
<c00w> I think I was missing vc4
<c00w> Using literally the newest build of rpi4 sd image may have been a mistake :|
<c00w> Since I'm now rebuilding the world
<c00w> I think everything is configured - kicking off my first distributed build :)
<samueldr> just in case the name wasn't set
<samueldr> the first time around
<samueldr> oh oops
<samueldr> I see the diff now
<samueldr> carry on
<c00w> And my remote build is working :) This is awesome. Time to go delete some sketchy ssh script.
<c00w> Now I just need to get an RPI4 booting off an ssd :D
<samueldr> I'm slowly getting the hang at adding and fixing things in kernel drivers, this is fun
<samueldr> like how I implemented a missing feature in the mediatek leds driver https://github.com/NixOS/mobile-nixos/pull/175/commits/51e7b891ff1280431f5c68b9decbeaeae98363ec
<ashkitten> nice!
<ashkitten> btw i haven't been keeping up with this channel much, did you ever get around to messing with libhybris or plasma mobile?
<samueldr> not yet
<samueldr> this is a distraction from the actual yak shaving I should have been working on :)
<ashkitten> hehe, that's valid
<ashkitten> if you get libhybris working i'd love to test on my phone
<samueldr> btw, mobile-nixos#175 is open with the port to the phone which doesn't have custom ROMs :) probably not useful to anyone
<{^_^}> https://github.com/NixOS/mobile-nixos/pull/175 (by samueldr, 58 minutes ago, open): device: add asus-x018d
orivej has joined #nixos-aarch64
t184256 has left #nixos-aarch64 ["Disconnected: Replaced by new connection"]
t184256 has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
t184256 has left #nixos-aarch64 ["Error from remote client"]
t184256 has joined #nixos-aarch64
t184256 has left #nixos-aarch64 [#nixos-aarch64]
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos-aarch64
<patagonicus> Meh. After a reboot my SATA SSD isn't detected by the HC2. I thought this was the known problem that HDDs are not properly shut down when the board is shut down, but the fix for that (using hdparm -Y to put the disk to sleep) doesn't help with rebooting the SSD.
t184256 has joined #nixos-aarch64
pbb has quit [Remote host closed the connection]
<patagonicus> Maybe I should try with a HDD instead of an SSD. But that's a really annoying problem - I want to be able to automatically reboot for kernel updates. If I have to manually unplug the power for that, that's no good.
t184256 has left #nixos-aarch64 ["Error from remote client"]
orivej has quit [Ping timeout: 265 seconds]
orivej_ has joined #nixos-aarch64
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
zupo has joined #nixos-aarch64
orivej has quit [Ping timeout: 260 seconds]
t184256 has joined #nixos-aarch64
orivej has joined #nixos-aarch64
t184256 has left #nixos-aarch64 [#nixos-aarch64]
t184256 has joined #nixos-aarch64
t184256 has left #nixos-aarch64 [#nixos-aarch64]
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
t184256 has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #nixos-aarch64
<patagonicus> The Hardkernel Ubuntu doesn't have that problem. I guess I'll have to check what patches they have in their kernel and then compare kernel settings - or does anyone have an idea what might be broken?
<patagonicus> The device is still showing up (i.e. I have /dev/sda), but I can't access it. There's a few error messages in dmesg, I'll grab them real quick.
<patagonicus> http://sprunge.us/dvaLV0 claims the unit is not ready.
<patagonicus> Hmm, there was something about an update for the SATA bridge firmware. But considering it doesn't happen on Ubuntu …
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos-aarch64
zupo has joined #nixos-aarch64
<patagonicus> Yeah, no, already at the newest version.
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-aarch64
t184256 has left #nixos-aarch64 ["Disconnected: Replaced by new connection"]
t184256 has joined #nixos-aarch64
pbb has joined #nixos-aarch64
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 240 seconds]
zupo has joined #nixos-aarch64
orivej has joined #nixos-aarch64
t184256 has left #nixos-aarch64 [#nixos-aarch64]
<srk> maybe you can kexec as well :D
<patagonicus> Heh
<sphalerite> oh yeah, I have an unrebootable device too. It is a pain :)
<srk> esp8266 + relay :D
<srk> cheapo ipmi, you can use it as a wifi serial bridge as well :)
<patagonicus> Mine's bootable, but only once without unplugging power. :D
<patagonicus> Well, even that is not true, it boots off of an MicroSD card and that works, but considering I want to use it as network storage with a big HDD and that doesn't work after a reboot …
t184256 has joined #nixos-aarch64
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 264 seconds]
alp has joined #nixos-aarch64
hpfr[m] has quit [Quit: killed]
Ox4A6F has quit [Quit: killed]
gmr has quit [Quit: killed]
goibhniu has quit [Quit: killed]
edrex has quit [Quit: killed]
thefloweringash has quit [Quit: killed]
puzzlewolf has quit [Quit: killed]
AberDerBart[m] has quit [Quit: killed]
Danct12[m] has quit [Quit: killed]
Ke has quit [Quit: killed]
bennofs[m] has quit [Quit: killed]
jwaksbaum[m] has quit [Quit: killed]
hsngrmpf[m] has quit [Quit: killed]
matthewbauer has quit [Quit: killed]
JJJollyjim has quit [Quit: killed]
atopuzov[m] has quit [Quit: killed]
Ericson2314 has quit [Quit: killed]
kai_w has quit [Quit: killed]
theotherjimmy[m] has quit [Quit: killed]
danielrf[m] has quit [Quit: killed]
leonardp has quit [Quit: killed]
NickHu has quit [Quit: killed]
bqy has quit [Quit: killed]
comrandroxaos[m] has quit [Quit: killed]
colemickens has quit [Quit: killed]
marius851000[m] has quit [Quit: killed]
cornu has quit [Quit: killed]
bigvalen[m] has quit [Quit: killed]
alj[m] has quit [Quit: killed]
exarkun_ is now known as tahoe
tahoe is now known as exarkun
zupo has quit [Ping timeout: 246 seconds]
exarkun is now known as tahoe
zupo has joined #nixos-aarch64
tahoe is now known as exarkun
hoverbear has joined #nixos-aarch64
Jake[m] has joined #nixos-aarch64
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos-aarch64
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 244 seconds]
orivej has joined #nixos-aarch64
yangm has joined #nixos-aarch64
Ke has joined #nixos-aarch64
danielrf[m] has joined #nixos-aarch64
alj[m] has joined #nixos-aarch64
thefloweringash has joined #nixos-aarch64
bqy has joined #nixos-aarch64
theotherjimmy[m] has joined #nixos-aarch64
hpfr[m] has joined #nixos-aarch64
atopuzov[m] has joined #nixos-aarch64
JJJollyjim has joined #nixos-aarch64
gmr has joined #nixos-aarch64
marius851000[m] has joined #nixos-aarch64
Ox4A6F has joined #nixos-aarch64
kai_w has joined #nixos-aarch64
NickHu has joined #nixos-aarch64
bennofs[m] has joined #nixos-aarch64
edrex has joined #nixos-aarch64
leonardp has joined #nixos-aarch64
goibhniu has joined #nixos-aarch64
Danct12[m] has joined #nixos-aarch64
matthewbauer has joined #nixos-aarch64
comrandroxaos[m] has joined #nixos-aarch64
Ericson2314 has joined #nixos-aarch64
cornu has joined #nixos-aarch64
dtz has joined #nixos-aarch64
AberDerBart[m] has joined #nixos-aarch64
hsngrmpf[m] has joined #nixos-aarch64
puzzlewolf has joined #nixos-aarch64
colemickens has joined #nixos-aarch64
bigvalen[m] has joined #nixos-aarch64
<patagonicus> Mainline 4.14.47 doesn't boot - at least not with the defconfig from the Hardkernel fork. Let's try current kernel with the settings from Hardkernel.
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
dtz has left #nixos-aarch64 ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
patagonicus42 has joined #nixos-aarch64
patagonicus has quit [Quit: patagonicus]
patagonicus42 is now known as patagonicus
patagonicus has quit [Client Quit]
patagonicus42 has joined #nixos-aarch64
patagonicus has joined #nixos-aarch64
cole-h has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
<lopsided98> My ODROID-XU4 refuses to warm reboot. It just hangs early in the kernel. Same with my RockPro64...
hoverbear has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<lopsided98> It also becomes unstable when the little cores run at 1.5GHz, presumably because the core voltage is too low
<grw1> fwiw my hc1 does warm reboot ok, although i have nothing connected to sata port
rajivr has quit [Quit: Connection closed for inactivity]
bennofs_ has joined #nixos-aarch64
bennofs has quit [Ping timeout: 260 seconds]
hoverbear has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-aarch64
alp has quit [Ping timeout: 272 seconds]
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-aarch64
alp has joined #nixos-aarch64
<patagonicus> Well, yeah, my hc2 also reboots fine - except for the SATA port. But I have an image that works fine, I "just" have to figure out what to change in my nixos setup to make it work.
<patagonicus> Hmm. Current NixOS kernel with Hardkernel defconfig also doesn't work (but at least it boots).
<patagonicus> Tomorrow I'll try building the Hardkernel 4.14 kernel. If that also doesn't work it's probably some script that runs on shutdown or something.
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
cole-h has quit [Quit: Goodbye]
globin has quit [Ping timeout: 272 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
globin has joined #nixos-aarch64
quinn_ has quit [Ping timeout: 240 seconds]
pbb has quit [Read error: Connection reset by peer]
pbb has joined #nixos-aarch64
quinn has joined #nixos-aarch64
<cript0nauta> patagonicus: it's great to see other HC2 users!
<cript0nauta> i'm using NixOS lxd containers inside ubuntu, but I want to switch to a full NixOS soon
<cript0nauta> just to know, where did you get (or build) your working image?
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-aarch64
hoverbear has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
orivej has quit [Ping timeout: 258 seconds]
orivej_ has joined #nixos-aarch64