{`-`} has joined #nixos-aarch64
DigitalKiWicked is now known as DigitalKiwi
tilpner_ has joined #nixos-aarch64
tilpner has quit [Ping timeout: 240 seconds]
tilpner_ is now known as tilpner
orivej has quit [Ping timeout: 258 seconds]
h0m1 has quit [Ping timeout: 240 seconds]
h0m1 has joined #nixos-aarch64
alp has quit [Ping timeout: 240 seconds]
rajivr has joined #nixos-aarch64
cole-h has joined #nixos-aarch64
<samueldr> after a bit more than a year really working on this, I don't know whether I should be proud that there are 15 devices supported, or annoyed that there's only 15 devices supported
<samueldr> ;)
<samueldr> "supported"; I should rather say listed with some level of support
<gchristensen> that is *amazing*
<simpson> It's not easy. samueldr++
<{^_^}> samueldr's karma got increased to 293
<samueldr> I sincerly hoped to see more contributions, that's the annoyed part
<simpson> 2020 was kind of a big mood. I wanted to contribute, and made more progress than I'd anticipated; I almost got an entire phone booted~
<samueldr> telent's port is/was pretty much done I think though
<samueldr> oh, and Ox4A6F's zte-axon7 port might have been too, just looked at the PR comments
LnL- has quit [Quit: exit 1]
LnL has joined #nixos-aarch64
LnL has joined #nixos-aarch64
LnL has quit [Changing host]
Acou_Bass has quit [Ping timeout: 256 seconds]
Acou_Bass has joined #nixos-aarch64
energizer has joined #nixos-aarch64
<clever> energizer: which model of pi?
<energizer> clever: cryptsetup open /dev/sda2 crypt; mount /dev/mapper/crypt /home/nixos/mnt/128gbsd; mount /dev/sda1 /home/nixos/mnt/128gbsd/fsroot/boot; cd /mnt/128gbsd;
<energizer> 4
<clever> ah right, luks on a pi4
<energizer> now i'm gonna mount --bind persist,home,nix, into the corresponding subdirs of fsroot
<clever> and now if you just re-run `nixos-generate-config --root /home/nixos/mnt/128gbsd ; nixos-install --root /home/nixos/mnt/128gbsd` ?
<clever> why bind mount?
<energizer> maybe that's my problem, why --root 128gbsd instead of --root fsroot?
<clever> why did you mount crypt to 128gbsd but then boot to 128gbsd/fsroot/boot ?
LnL has joined #nixos-aarch64
LnL has joined #nixos-aarch64
LnL has quit [Changing host]
<clever> crypt should be at the $root, and boot should be at $root/boot
<energizer> which root though, 128gbsd or 128gbsd/fsroot?
<clever> your rootfs, must be mounted to $root, whatever you decide that should be
<clever> why is /dev/mapper/crypt mounted one dir above fsroot?
<clever> are you doing an erase-your-darlings setup?
<energizer> ya
<clever> ahhh, that explains the weirdness
<clever> i'm thinking you probably want it more like this
<clever> mount a tmpfs to $root
<energizer> this is the setup that i use on my desktop and it works https://bpa.st/W7VA
<clever> then mount crypt to $root/persist
<energizer> i just dont remember how i did the install
<clever> then bind-mount persist/nix and persist/home to $root/nix and $root/home
<clever> and mount boot to $root/boot
<clever> total of 5 mount commands
<clever> then re-run nixos-generate-config --root $root
<energizer> /persist isnt intended as the parent of /nix and /home, they're separate
<energizer> not sure if that's what graham does
<clever> oh, btrfs subvols??
<energizer> yeah
<clever> one min
<energizer> that looks promising
<clever> nixos-generate-config should (in theory) bake all of those mounts into hardware-configuration.nix
<clever> and then it should just boot without any work
<clever> but i have noticed that zfs->lvm->luks->nvme, it doesnt notice the luks, and wont try to open it on boot
<clever> so i have to add that to the cfg manually
<energizer> clever: fsroot doesn't exist when sda2 is encrypted
<clever> $root should point to a directory that you made before starting
<clever> and nothing should be mounted above $root
<energizer> that'll be 128gbsd then
<energizer> those /dev/sda2 ought be /dev/mapper/crypt
<clever> oops, yeah
<clever> gist updated
<energizer> i'm starting to remember how this works. i dont want tmpfs root because of limited ram. so instead i used "/" = rootPartition // { options = [ "subvol=fsroot" ]; }; and that's the subvol that gets erased
<clever> then just replace the tmpfs mount (line 3) with a subvol mount
<clever> gist updated
<clever> nixos-generate-config will generate the right config for you
Acou_Bass has quit [Ping timeout: 272 seconds]
<energizer> suspecting i already had the right config tbh
<energizer> namely https://bpa.st/4HIQ
<clever> that should work
Acou_Bass has joined #nixos-aarch64
LnL has joined #nixos-aarch64
LnL has joined #nixos-aarch64
LnL has quit [Changing host]
<energizer> clever: blink blink blink blink
<clever> energizer: does sda1 contain a start4.elf file?
<clever> energizer: was sda1 mounted to $root/boot when you ran nixos-install?
<clever> what does `fdisk -l /dev/sda` report?
<energizer> clever: it does contain that file. it was mounted. fdisk says sda1 gpt EFI System
<clever> and sda1 is fat32?
<energizer> vfat
<clever> is sda an SD card? sd->usb adapter?
<energizer> it's an sd card. when i'm inspecting it and installing to it, it's in a usb-sd adapter. when booting, it's straight sd.
<clever> try booting it from the adapter?
<clever> ive heard that some versions, only accept gpt over usb
<clever> and refuse to allow gpt on sd
<clever> usb accepts gpt, because you may have an external hdd over 2tb in size
<clever> but sd didnt accept gpt, because no card gets that big
<clever> they have since fixed that, and mbr/gpt work on both, but your firmware may be too old
<clever> just leaving the card in the adapter is the simplest test
<energizer> do i have to touch some setting in /boot first?
<clever> shouldnt
<energizer> blink blink blink blink
<clever> pi4 right?
<energizer> ya
<clever> one sec
<clever> got a 3.3v serial adapter?
<energizer> dont think so
<clever> got a second pi?
<energizer> not here
<clever> one sec
<clever> is vcgencmd installed on the 1st nixos image, that can boot?
<clever> what does `vcgencmd bootloader_version` and `vcgencmd bootloader_config` return?
<energizer> what package is that?
<clever> > raspberrypi-tools
<{^_^}> "<derivation /nix/store/b6v4miyb3pmi93nn3ab6w8dmjb12h7sv-raspberrypi-tools-2020-05-28.drv>"
<energizer> http://ix.io/2CKv
<clever> that firmware is pretty old
<clever> updating it may help
<clever> energizer: the bootconf.txt is an example config, the comment at the bottom explains all of the options
<clever> energizer: the nix file, will embed that into an eeprom .img file (all versions are in the github shown in the comment)
<clever> if you rename pieeprom.bin to pieeprom.upd, and put both the .upd and the .sig into the fat32 of the usb stick, it may update (if its new enough for self-update)
<clever> then check `vcgencmd bootloader_version` and `vcgencmd bootloader_config` after a reboot, did they change?
<energizer> ok i gotta take a break
<energizer> thanks
LnL has joined #nixos-aarch64
LnL has quit [Ping timeout: 256 seconds]
LnL has joined #nixos-aarch64
LnL has joined #nixos-aarch64
LnL- has joined #nixos-aarch64
LnL has quit [Ping timeout: 264 seconds]
zupo has joined #nixos-aarch64
orivej has joined #nixos-aarch64
cole-h has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 260 seconds]
justanotheruser has quit [Ping timeout: 260 seconds]
zupo has quit [Ping timeout: 272 seconds]
zupo has joined #nixos-aarch64
alp has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has joined #nixos-aarch64
zupo has joined #nixos-aarch64
alp has quit [Remote host closed the connection]
zupo has quit [Ping timeout: 256 seconds]
zupo has joined #nixos-aarch64
alpernebbi has joined #nixos-aarch64
dstzd_ has joined #nixos-aarch64
nix-build has joined #nixos-aarch64
{^_^} has quit [Remote host closed the connection]
dstzd has quit [Ping timeout: 260 seconds]
dstzd_ is now known as dstzd
alp has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
zupo has quit [Client Quit]
zupo has joined #nixos-aarch64
alpernebbi has quit [Remote host closed the connection]
alpernebbi has joined #nixos-aarch64
disasm has quit [Read error: No route to host]
ib07 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
jumper149 has joined #nixos-aarch64
disasm has joined #nixos-aarch64
Acou_Bass has quit [Ping timeout: 268 seconds]
Acou_Bass has joined #nixos-aarch64
jumper149 has quit [Quit: WeeChat 2.9]
alp has quit [Ping timeout: 240 seconds]
Acou_Bass has quit [Ping timeout: 264 seconds]
Acou_Bass has joined #nixos-aarch64
alp has joined #nixos-aarch64
andi- has quit [Remote host closed the connection]
andi- has joined #nixos-aarch64
ib07 has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
alp has quit [Ping timeout: 268 seconds]
justanotheruser has joined #nixos-aarch64
orivej has quit [Ping timeout: 240 seconds]
alp has joined #nixos-aarch64
nix-build has quit [Remote host closed the connection]
{^_^} has joined #nixos-aarch64
Acou_Bass has quit [Ping timeout: 260 seconds]
Acou_Bass has joined #nixos-aarch64
tilpner has quit [Quit: tilpner]
orivej has joined #nixos-aarch64
cole-h has joined #nixos-aarch64
Acou_Bass has quit [Ping timeout: 256 seconds]
tilpner has joined #nixos-aarch64
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-aarch64
roberth has joined #nixos-aarch64
Acou_Bass has joined #nixos-aarch64
<hexa-> clever: can I annoy you about the qemu-user aarch64 and armv7 emulation?
<hexa-> the linker complains on master https://paste.lossy.network/BRRA
FRidh has joined #nixos-aarch64
alp has quit [Ping timeout: 240 seconds]
Acou_Bass has quit [Quit: ZNC 1.7.5 - https://znc.in]
Acou_Bass has joined #nixos-aarch64
LnL- is now known as LnL
ib07 has quit [Ping timeout: 268 seconds]
alp has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
justanotheruser has quit [Quit: WeeChat 2.9]
justanotheruser has joined #nixos-aarch64
<das_j> hexa-: NIX_LDFLAGS = [ "-lglib-2.0" "-lpthread" ];
<hexa-> thx
<das_j> np
<das_j> full code:
<hexa-> fwiw: I think my heuristics given that code line is better than gits :p
<hexa-> das_j++
<{^_^}> das_j's karma got increased to 5
alp has quit [Ping timeout: 260 seconds]
monk has left #nixos-aarch64 ["Error from remote client"]
rajivr has quit [Quit: Connection closed for inactivity]
justanotheruser has quit [Ping timeout: 268 seconds]
monk has joined #nixos-aarch64
justanotheruser has joined #nixos-aarch64
monk has left #nixos-aarch64 ["Error from remote client"]
FRidh has quit [Quit: Konversation terminated!]
zupo has joined #nixos-aarch64
zupo has quit [Client Quit]
ib07 has joined #nixos-aarch64
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos-aarch64
V is now known as ^
^ is now known as V
alp has joined #nixos-aarch64
<colemickens> I know there are some aws/aarch64 users if someone wants to lend an aws-noob a hand: https://discourse.nixos.org/t/help-requested-booting-aarch64-aws-ec2-nixos-instance/9824
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos-aarch64
alpernebbi has quit [Quit: alpernebbi]
zupo has joined #nixos-aarch64
orivej has quit [Ping timeout: 256 seconds]
CyberManifest has joined #nixos-aarch64
mschwaig has quit [Ping timeout: 272 seconds]
mschwaig has joined #nixos-aarch64
orivej has joined #nixos-aarch64
alp has quit [Ping timeout: 264 seconds]
heywoodlh has quit [Quit: ZNC 1.8.2 - https://znc.in]
heywoodlh has joined #nixos-aarch64
orivej has quit [Ping timeout: 272 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]