juliosueiras has quit [Ping timeout: 260 seconds]
juliosueiras has joined #nixos-aarch64
h0m2 has quit [Quit: WeeChat 2.9]
h0m1 has joined #nixos-aarch64
knerten1 has quit [Ping timeout: 240 seconds]
veleiro has joined #nixos-aarch64
alp has quit [Remote host closed the connection]
rajivr has joined #nixos-aarch64
h0m2 has joined #nixos-aarch64
h0m1 has quit [Ping timeout: 258 seconds]
<veleiro> so one problem i notice with the pinebook pro is
<veleiro> after suspend (closing the lid, reopening) power through usb-c doesnt work
<samueldr> haven't heard of anything about that
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-aarch64
justanotheruser has quit [Ping timeout: 258 seconds]
Darkmatter66 has quit [Ping timeout: 260 seconds]
Darkmatter66 has joined #nixos-aarch64
<veleiro> hmm
<samueldr> that doesn't mean it's not a thing
<samueldr> literally only that, never tried, never have heard about it
<samueldr> but it's quite possibly a thing :)
<colemickens> I thought suspend just didn't work -_-
dongcarl has joined #nixos-aarch64
<samueldr> I assumed s2idle
<samueldr> but it does work if your u-boot uses the spoopy^W binary ATF from rockchip
<samueldr> (or is the name TF-A? I always forget)
dramforever has joined #nixos-aarch64
orivej has quit [Ping timeout: 264 seconds]
veleiro has quit [Ping timeout: 265 seconds]
juliosueiras has quit [Ping timeout: 256 seconds]
<dramforever> Got a Raspberry Pi 4B :)
<dramforever> Aaaaand I think the image is up and running, at least the serial console works
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
cole-h has quit [Ping timeout: 258 seconds]
<sphalerite> Anybody's helios64 shipped yet?
alp has joined #nixos-aarch64
dramforever has quit [Ping timeout: 260 seconds]
dramforever has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alp has quit [Read error: Connection reset by peer]
alp has joined #nixos-aarch64
<dramforever> Wait a sec, it's a bit confusing: I'm supposed to use the installer image on RPi and just nixos-rebuild on it?
<srk> is there an installer image for rpi?
<dramforever> This thing: sd_image_raspberrypi4.aarch64-linux
<srk> ah yes, sd-image-raspberrypi4.nix contains installation-device
<dramforever> It's my first time running embedded stuff like this :)
<srk> which you can use with nixos-rebuild, installer is handy if you e.g. want to install to usb stick
<dramforever> This part is a bit confusing me -> <nixpkgs/nixos/modules/installer/cd-dvd/sd-image-raspberrypi4.nix>
<dramforever> Maybe it's simply called 'installer' and isn't really just for installation use?
<srk> best to look at the file in nixpkgs
<srk> you'll find out that it imports ../../profiles/installation-device.nix
<srk> thefloweringash: looks like this still contains obsolete Dezgeg cachces https://nixos.wiki/wiki/NixOS_on_ARM#First_rebuild_on_ARMv6_and_ARMv7
<srk> thefloweringash: btw which nixpkgs branch does your hydra build?
<srk> nixos-rebuild switch --fast .. hah, sure :D
<dramforever> srk: Yeah, that's what's confusing me
<thefloweringash> srk: all the branches*!, status page: https://hydra.cons.org.nz/project/thefloweringash-armv7
<srk> dramforever: that installation device profile mostly enables auto-loging and adds nixos-install to systemPackages
<srk> *auto-login
<srk> thefloweringash: ah, but not master ;D
<dramforever> I guess I should just read through it and pick what I want
<dramforever> 'it' being sd-image-raspberrypi4.nix and its imports
<srk> thefloweringash: my nixos-rebuild just finished after like one week because I felt ballsy and just did git pull on master
<dramforever> having a 'proper' system just auto login just didn't sound normal :( you know, stuff like that
<srk> thefloweringash: needed few pokes but it finally finished few minutes ago, surprisingly no llvm failure this time
<dramforever> I was kind of hoping the process of running NixOS on RPi to be mostly similar with running it on a normal laptop or something
<srk> dramforever: yes, that's why none of the example configs on the wiki doesn't include installation-device profile
<srk> I would say it is, altought I've never attempted to nixos-rebuild a pi
<dramforever> Uhh, didn't quite understand what you said about example configs
<srk> hmm, but that imports the installation-device transitively
<dramforever> yup
<srk> so, avoid importing complete <nixpkgs/nixos/modules/installer/cd-dvd/sd-image-raspberrypi4.nix> and only pick few config options for it like boot.* and fileSystems.*
<srk> *from it
<dramforever> I guess that's what I'm going to do
<srk> like, I was wondering about exactly this yesterday - I have a configuration.nix used to produce an installer image but it can't be imported from installed machine because it contains installation-device
<srk> importing profiles is weird, seems to me it would be better if these were modules itself
Cadey has quit [Ping timeout: 246 seconds]
Cadey has joined #nixos-aarch64
<dramforever> My feeling is that this config is 'wrong', and this profile is only meant to be used to build the image on hHydra
<dramforever> *Hydra
<srk> well, mostly, you don't need sdImage part nor installation-device profile
<srk> sdImage is required to build the image, installation-device is required so you don't get an image which can't log-in to
<dramforever> Yeah, I mean the config on the wiki doesn't look right
<srk> there's a lot of outdated or just plain wrong stuff on the wiki
<srk> feel free to try fixing it :)
<dramforever> Yeah, but seems like it's the best we've got on this topic
<srk> today I've found that there's Images chapter (https://nixos.org/manual/nixpkgs/stable/#chap-images) which could be a good fit for mentioning/documenting sdImage
<srk> I guess wiki is still a good place for like hardware specific stuff
flip[m] has quit [Quit: Idle for 30+ days]
pachumicchu has left #nixos-aarch64 ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]
Darkmatter66 has quit [Ping timeout: 256 seconds]
zupo has joined #nixos-aarch64
<dramforever> dang, after reboot i managed to lose my wifi interface (probably) because i forgot hardware.enableRedistributableFirmware = true
Darkmatter66 has joined #nixos-aarch64
<dramforever> thank god it didn't require working network to fix wifi
<dramforever> srk: Leaving for supper now, one last thank you for the hints :)
<srk> yw! :)
dramforever has quit [Quit: Leaving]
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: 265 seconds]
orivej_ has joined #nixos-aarch64
alp has quit [Remote host closed the connection]
alp has joined #nixos-aarch64
Darkmatter66 has quit [Ping timeout: 256 seconds]
FRidh has joined #nixos-aarch64
Darkmatter66 has joined #nixos-aarch64
Darkmatter66 has quit [Ping timeout: 256 seconds]
Darkmatter66 has joined #nixos-aarch64
wavirc22_ has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
wavirc22 has joined #nixos-aarch64
Darkmatter66 has quit [Quit: ZNC 1.7.5 - https://znc.in]
orivej_ has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
Darkmatter66 has joined #nixos-aarch64
Darkmatter66 has quit [Quit: ZNC 1.7.5 - https://znc.in]
Darkmatter66 has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
<pinage404[m]> on this page https://search.nixos.org/packages?show=pulseeffects&query=pulseeffect&from=0&size=15&sort=relevance&channel=20.03#disabled i can see that the supported platforms includes Aarch64 but on the nix expression of the package https://github.com/NixOS/nixpkgs-channels/blob/nixos-20.03/pkgs/applications/audio/pulseeffects/default.nix#L108 , there is `badPlatforms = [ "aarch64-linux" ];` which information
<pinage404[m]> should i trust ?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
zupo has quit [Client Quit]
orivej has quit [Ping timeout: 258 seconds]
Darkmatter66 has quit [Quit: ZNC 1.7.5 - https://znc.in]
zupo has joined #nixos-aarch64
<angerman> So, who's working on nixos/aarch64-macOS?
Darkmatter66 has joined #nixos-aarch64
<thefloweringash> it's on my todo list after making stdenv compatible with big sur on x86_64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<thefloweringash> assuming you mean nixpkgs on aarch64 macos, not nixos on the apple hardware
<angerman> thefloweringash: yea, sorry not nixos. That's nothing I'm much interested in :-)
<angerman> If I want aarch64/nixos, I'd go graviton or emag
<thefloweringash> yikes, those aren't cheap!
<angerman> ohh I have nixOS on an Odroid N2, and on a RockPi, but those are hopelessly underpowered.
<angerman> I'm currently building the GHC NCG for aarch64 on an emag (sponsored by @worksonarm).
<angerman> thefloweringash: the gravitons are actually quite cheap... I just don't like dealing with bringing up machines on aws much :D
<angerman> thefloweringash: looks like I might be able to help with aarch64 macos eventually.
<thefloweringash> did the nixos org get around to registering amis for aarch64?
<angerman> I built some myself
<angerman> but it's still annoying.
<thefloweringash> if you do have a dtk, there's some science that could help: https://github.com/NixOS/nixpkgs/issues/95903#issuecomment-680418535
justanotheruser has joined #nixos-aarch64
zupo has joined #nixos-aarch64
<angerman> thefloweringash: I might eventually get my hands on one.
FRidh has quit [Quit: Konversation terminated!]
zupo has quit [Ping timeout: 265 seconds]
juliosueiras has joined #nixos-aarch64
zupo has joined #nixos-aarch64
zupo has quit [Client Quit]
zupo has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 246 seconds]
nbp_ is now known as nbp
alp has quit [Ping timeout: 246 seconds]
alp has joined #nixos-aarch64
cole-h has joined #nixos-aarch64
<colemickens> the pinebook pro power button is where my Del key used to be. good for a quick coffee break
<AmandaC> hahahaha
Thra11 has joined #nixos-aarch64
<samueldr> colemickens: yeah, that's a hot contested corner in laptops
<samueldr> want to save on the BOM? use a keyboard with built-in power button, shove it there
<samueldr> free space in the top right corner? why not put a delete key there!
<samueldr> sphalerite: >> we still have to group orders based on countries for shipping cost reason
<samueldr> what did I say? ;)
veleiro has joined #nixos-aarch64
<colemickens> wow, this thing looks cool
<samueldr> still miffed that I couldn't jump the queue for nixos support :|
alp has quit [Ping timeout: 272 seconds]
alp has joined #nixos-aarch64
orivej has joined #nixos-aarch64
<veleiro> what thing?
<samueldr> helios64 https://kobol.io/
alp has quit [Remote host closed the connection]
alp has joined #nixos-aarch64
alp has quit [Remote host closed the connection]
alp has joined #nixos-aarch64
Darkmatter66_ has joined #nixos-aarch64
Darkmatter66 has quit [Ping timeout: 260 seconds]
<veleiro> oooooooh, shiny
<veleiro> i'm also in the market of one
<veleiro> gnubee doesnt do enough RAIDs
rajivr has quit [Quit: Connection closed for inactivity]
justanotheruser has quit [Ping timeout: 258 seconds]
AmandaC has quit [Quit: Toodles]
AmandaC has joined #nixos-aarch64
veleiro has quit [Ping timeout: 246 seconds]
jumper149 has joined #nixos-aarch64
justanotheruser has joined #nixos-aarch64
zupo has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
juliosueiras has quit [Ping timeout: 246 seconds]
alp has quit [Ping timeout: 244 seconds]
alp has joined #nixos-aarch64
superherointj has joined #nixos-aarch64
Darkmatter66_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
Darkmatter66 has joined #nixos-aarch64
<superherointj> Hello. Does ARM virtualization (libvirtd / qemu / kvm) in NixOS works? Tried enabling it (virtualisation.libvirtd.enable=true) but it kernel panicked w/ RockPro64.
<samueldr> kvm is known to work
<samueldr> so that means qemu should, and probably libvirtd
<samueldr> now, why this KPd? good question
juliosueiras has joined #nixos-aarch64
<samueldr> Kernel panic - not syncing: Asynchronous SError Interrupt
<superherointj> What does it mean?
* superherointj will google.
<samueldr> I don't know, but that's the error
<samueldr> it seems to be an issue on another pine64 rockchip-based board, but not with kvm seemingly
<samueldr> can you try off of linuxPackages_latest?
<samueldr> AFAICT the error message itself (Asynchronous SError Interrupt) might not be *specific* to your problem :/
<superherointj> What do I have to change to use 'linuxPackages latest'? I'm using 'unstable' channel.
<samueldr> so it seems to be something related to the firmware and/or hardware and/or ARM throwing its hands out in the air?
<samueldr> boot.kernelPackages = pkgs.linuxPackages_latest; # IIRC
<superherointj> Thanks. Will try it. As soon as I learn how to recover the OS.
<superherointj> It is not booting, as there is no grub, I cannot use it to rollback. Need to boot by other means. :)
<samueldr> you should have u-boot that shows you a selection at boot, not sure if it inits the display on that board though
<superherointj> I've inserted the SDCard in my computer, and mounted the partition, and I have access to it, I have edited `/etc/nixos/configuration.nix`, but then I need to rebuild it. But my computer is x86. I wonder if it will cause any trouble.
<samueldr> might need serial
<samueldr> you could edit /boot/extlinux.conf to change the default
<superherointj> Oh. Found it.
<samueldr> if this is not a one-off for you, you should invest in a serial cable if you do anything with SBCs and similar boards :)
<samueldr> and "invest" is a strong word for a couple bucks for a known good cable
<superherointj> Thanks.
<samueldr> you can also go for cheaper, but if you buy from a trustable source you can assume that the cable is good
<superherointj> I have purchased the cable but I was not able to make it work already.
<superherointj> (purchased adapter)
<superherointj> Your method might work. And I agree.
<samueldr> I once bought an horrible batch cheap for ~2$ each where the usb terminals were not anchored to the pcb, so any kind of light tweak on the usb connector would make it flex in unwholesome ways
<W1lkins> Hmm, this Helios64 looks neat
<samueldr> W1lkins: if you sit tight for a couple mores month they're also releasing boards with ECC
<samueldr> a bit annoying that it wasn't an option early on :)
<samueldr> superherointj: you might want to not enable libvirtd in your next rebuild, and instead just run qemu with kvm manually to test
<superherointj> samueldr, I was able to recover access to the board. Thank you!
<samueldr> you know, it might not even be kvm, but rather libvirtd doing something weird? (though unlikely)
<W1lkins> samueldr: well, I'm definitely in no rush.. and would've probably ordered one if you hadn't mentioned it, I will wait
<samueldr> >>
<samueldr> ugh, my copy/paste is weirdly broken
<samueldr> >> *ECC option available 2021
<clever> samueldr: ive been reading a lot of arm docs, and it seems that the A53 core has the option for L1 and L2 ECC, single bit correction, 2 bit detection
<clever> but i dont know what chips actually enable it
<samueldr> I don't know :)
<samueldr> I didn't even realize SBCs were able to until I saw that, since seemingly no other SBC has that
<clever> arm8 (pi3 and pi4) also includes a special opcode, that can zer out 64 bytes of ram at once
justanotheruser has quit [Read error: Connection reset by peer]
<clever> if the given 64 bytes arent in the cache, it will not even allocate to the cache, and just write 64 0's directly to ram
<clever> so you can bulk zero ram, without poluting the cache with useless data
<superherointj> It still kernel panics with "pkgs.linuxPackages_latest".
<samueldr> tried without libvirtd, and running qemu kvm directly?
<samueldr> might need to find something to run
<superherointj> Will try.
disasm has quit [Ping timeout: 240 seconds]
disasm has joined #nixos-aarch64
justanotheruser has joined #nixos-aarch64
alp has quit [Ping timeout: 258 seconds]