orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
<samueldr>
hi!
<samueldr>
"stuck in recovery mode" meaning what exactly?
<samueldr>
it could be the Mobile NixOS recovery menu showing up at boot
<samueldr>
or another recovery
<samueldr>
or stuck at fastboot mode could be another possibility I guess
<samueldr>
if it's the mobile nixos recovery, does selecting a generation continue booting? if so, something is "stuck" launching it in recovery mode
<samueldr>
which, if it's been freshly built with some of the changes I merged today, maybe there's a tiny mistake with an assumption with boot as recovery and such
<samueldr>
I kinda lost the ability to trivially test on the note 7 for the moment :/
<cript0nauta>
i'm able to boot the Mobile NixOS Recovery Menu
<cript0nauta>
and it has two available generations to boot from
<cript0nauta>
but when I choose any of those generations the system is stuck (even the date freezes) and I need to reboot it
<cript0nauta>
btw: I had to disable the mruby tests because they were failing when I built the images from a raspberry pi
<samueldr>
looks like there's finally a beta for fully usb boot
<samueldr>
for the pi4
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
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-aarch64
zupo has joined #nixos-aarch64
wavirc22 has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
wavirc22 has joined #nixos-aarch64
<angerman>
Yep. Haven’t had a chance to try it yet though.
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej 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: 256 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-aarch64
orivej_ has joined #nixos-aarch64
orivej has quit [Ping timeout: 264 seconds]
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 260 seconds]
orivej_ has joined #nixos-aarch64
t184256 has left #nixos-aarch64 [#nixos-aarch64]
orivej has joined #nixos-aarch64
orivej_ has quit [Ping timeout: 272 seconds]
t184256 has joined #nixos-aarch64
orivej_ has joined #nixos-aarch64
orivej has quit [Ping timeout: 265 seconds]
cole-h has joined #nixos-aarch64
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-aarch64
claudiii has quit [Ping timeout: 240 seconds]
TheNumb has quit [Ping timeout: 246 seconds]
pkral has quit [Ping timeout: 272 seconds]
angerman has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-aarch64
NekomimiScience has quit [Ping timeout: 265 seconds]
angerman has joined #nixos-aarch64
NekomimiScience has joined #nixos-aarch64
TheNumb has joined #nixos-aarch64
pkral has joined #nixos-aarch64
wavirc22_ has joined #nixos-aarch64
wavirc22 has quit [Ping timeout: 256 seconds]
claudiii has joined #nixos-aarch64
wavirc22 has joined #nixos-aarch64
orivej has quit [Read error: Connection reset by peer]
orivej_ has joined #nixos-aarch64
wavirc22_ has quit [Ping timeout: 265 seconds]
Thra11 has joined #nixos-aarch64
orivej_ has quit [Ping timeout: 265 seconds]
orivej has joined #nixos-aarch64
alp has quit [Ping timeout: 265 seconds]
orivej_ has joined #nixos-aarch64
orivej has quit [Ping timeout: 272 seconds]
orivej_ has quit [Ping timeout: 265 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-aarch64
alp has joined #nixos-aarch64
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-aarch64
zupo has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
alp has quit [Ping timeout: 246 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
orivej has quit [Ping timeout: 272 seconds]
orivej has joined #nixos-aarch64
orivej_ has joined #nixos-aarch64
orivej has quit [Ping timeout: 265 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
quinn has joined #nixos-aarch64
<quinn>
i'm trying to test buildability and functionality of (non graphical) software for raspi on qemu, is experience in this respect likely to be similar between the VM and a raspi 3/4?
<clever>
quinn: some of the hw peripherals will differ, and the firmware api is entirely lacking
<clever>
quinn: it will depend on what the software is doing
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
<quinn>
clever: to be more specific, i'm trying to test asterisk (PBX software) it's basically just a complicated proxy for SIP and RTP. i don't think i need any peripherals besides an SD card
<clever>
quinn: ah, if its just basic arm stuff, the difference shouldnt matter that much, as long as your not using optional arm things like crypto accel
<quinn>
i don't even think i need crypto lol. that is great news!
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
alp has joined #nixos-aarch64
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-aarch64
Thra11 has quit [Quit: WeeChat 2.8]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Edes has joined #nixos-aarch64
<Edes>
Hello, what's the best way to build a raspberry pi 3 image with a premade configuration? I need the wifi to be configured on the image
<cript0nauta>
using binfmt_misc will be really slow, but it will probably work
<angerman>
Yes that one works quite well. I’ve been building aarch64 images with it. Couldn’t get armv7l to work though.
<Edes>
yeah, I used his guide and it worked, but for some reason I can't change the configuration and rebuild, it runs with no errors (even when I change something) but it doesn't change
<Edes>
well, I used the docker image, so who knows how he did it
<Edes>
the binfmt thing didn't work for me
<angerman>
Edes: edit the config/sd-... file
<Edes>
is the configuration not in /etc/nixos/configuration.nix?
<angerman>
And then ./run.sh; it “just” worked for me 🤷
<angerman>
Edes: not id you build the image.
<Edes>
oh wait
<Edes>
yeah
<Edes>
that worked for me no problem
<Edes>
the issue is that I can't change the config on the pi
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-aarch64
<angerman>
copyConfiguration or so is set to false
<angerman>
I’ve a nixops Setup ... maybe I should upstream that.
<Edes>
I'm not sure what you mean by copyConfiguration
<angerman>
Edes: it’s in the sd-config I think.
<angerman>
Edes: the approach taken by that repo is to just regenerate the image each time, assuming you want some form of immutable image and system.
Edes has quit [Quit: Lost terminal]
Edes has joined #nixos-aarch64
<Edes>
whoops my connection went down
<Edes>
so is there no way to use the same docker image and being able to change the image in place?
t184256 has left #nixos-aarch64 ["Error from remote client"]
<cript0nauta>
your problem is that "nixos-rebuild switch" inside the raspi doesn't work?
<Edes>
yeah
<Edes>
it runs, stays a while on the building the system configuration... message and then ends with no errors
<cript0nauta>
your problem could be that your configuration doesn't properly configure the boot system
<colemickens>
Edes: is this the rpi4?
<cript0nauta>
for my raspi, I had to add <nixpkgs/nixos/modules/installer/cd-dvd/sd-image-aarch64-new-kernel.nix> to the imports in my configuration.nix
<Edes>
but then none of the changes happen to the system, if you reboot it shows no new generations and none of the packages I added are in the nxi store
<samueldr>
Edes: if your image is built using the sd_image thingy, it should use the extlinux configuration file and not the (confusing) raspberry pi options
<samueldr>
the other raspberry pi options are for instead relying on the raspberry pi's own bootloader infra, which will not allow selecting a generation
<samueldr>
when using those other raspberry pi options, the FAT32 "boot" partition (named FIRMWARE on our sd image) would need to be mounted appropriately