orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
zupo has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo 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 joined #nixos-aarch64
orivej has quit [Ping timeout: 256 seconds]
orivej_ has quit [Ping timeout: 265 seconds]
orivej has joined #nixos-aarch64
globin has quit [Ping timeout: 244 seconds]
globin has joined #nixos-aarch64
<ehmry>
I trying to boot a board without a u-boot configuration for loading a ramdisk, are there any recomendations on where to put the ramdisk in memory?
<ehmry>
I can boot the nixos kernel but I get the errror "initrd not fully accessible via the linear mapping"
orivej has quit [Ping timeout: 264 seconds]
orivej_ has joined #nixos-aarch64
<ehmry>
I probably haven't fully configured for extlinux…
orivej_ has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 240 seconds]
eyJhb has joined #nixos-aarch64
<eyJhb>
Is there any official guide for RPi and NixOS?
<patagonicus>
Depends a bit on which model you have, but for e.g. RPi3 you can just grab the generic AArch64 image and it should boot.
<patagonicus>
Wow, what is mongodb even doing while compiling? I think that's the first package that made my HC2 seriously use swap space.
Dezgeg has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ar>
i bet it's trying to become webscale
<eyJhb>
PRi3 is what I have, so I will try flashing it now
<eyJhb>
it being the SDCard
<eyJhb>
Is there any recommendatiotn for the new kernel patagonicus ?
<patagonicus>
No idea. I don't have any RPis running, I only played around a bit with NixOS on the RPi3 for a few weeks.
<eyJhb>
So you used the normal image back then ?
<patagonicus>
I actually switched to the armv7l one because I'm now running boards that are armv7l only and wanted to see how that works on NixOS. But if you can, you should use the AArch64 one.
<patagonicus>
The swapping while compiling mongodb is bad enough that the machine doesn't react on SSH and Prometheus scraping for minutes at a time. Maybe I should give the machines more than 2GB of swap, but I'm not sure it'd help much.
<eyJhb>
Well, no dice on the boot for my RPi3
<patagonicus>
Hmm. Do you get any output at all?
<eyJhb>
No output, and not even the green light flashing, only red
<eyJhb>
But I did use dd to flash the sdcard
<eyJhb>
That should be fine, right?
<patagonicus>
And you wrote to mmcblk0? Or sd[a-z] or whatever, just not a partition.
<eyJhb>
Wrote to the raw block device, not partition
<eyJhb>
/dev/mmcblk0
<eyJhb>
But I see no partions created after doing the dd
zupo has joined #nixos-aarch64
<eyJhb>
Trying etcher now
<patagonicus>
Hmm, replugging it should show the paritions. They don't show up after just dd-ing, you have to tell the kernel to rescan.
<eyJhb>
dd, sync, took it out plugged into RPi, did not work, plugged it back in
<eyJhb>
And then fdisk -l :p
<eyJhb>
So something was wrong
<patagonicus>
Which image did you download? I can try it on my RPi.
<eyJhb>
For some reason, Etcher goes 0.2 MB/s
<eyJhb>
Wait
<eyJhb>
Fuck me I am stupid
<eyJhb>
I hold my right to not tell how stupid I am
<eyJhb>
:p
<patagonicus>
^^
<eyJhb>
I did not flash a bz2 file to my sdcard.
orivej has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Quit: No Ping reply in 180 seconds.]
<Jake[m]>
Does anyone have a graphical login manager like gdm working on the Pinebook Pro? If I do "services.xserver.enable = true;" I get that package "xf86-video-vmware-13.3.0" is unsupported on aarch64-linux. It will still build without that, and with just gdm enabled with Wayland enabled, but nothing happens when I boot.
orivej has joined #nixos-aarch64
<eyJhb>
Works now patagonicus , a lot better when you aren't a idiot :p
<eyJhb>
Now lets see how far I can go with the touchscreen etc.
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-aarch64
e has quit [Quit: edk]
<patagonicus>
Sigh. And now g++ got killed for some reason. I don't see anything about the oom-killer, so maybe it's something else. Guess getting the unifi controller running on this machine will have to wait.
<eyJhb>
What is the default username/password for the sdcard build?
orivej has quit [Ping timeout: 265 seconds]
<patagonicus>
Should log you in automatically with user nixos. Both nixos and root should have empty passwords. SSH is installed, but not enabled (set password for nixos and/or root, run sudo systemctl start sshd)
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 260 seconds]
orivej_ has joined #nixos-aarch64
orivej_ has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
zupo has joined #nixos-aarch64
orivej has quit [Ping timeout: 240 seconds]
<blitzclone[m]>
if anyone with a native aarch64 has a minute to see whether this PR makes it possible again to build the raspberry pi 4 install image again, I would be very grateful :) https://github.com/NixOS/nixpkgs/pull/93824
<{^_^}>
#93824 (by blitz, 1 day ago, open): nixos/lib/make-ext4-fs: fix after mkfs.ext4 refactoring
<blitzclone[m]>
nix-build nixos -I nixos-config=nixos/modules/installer/cd-dvd/sd-image-raspberrypi4.nix -A config.system.build.sdImage
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cole-h has joined #nixos-aarch64
zupo has joined #nixos-aarch64
t184256 has left #nixos-aarch64 [#nixos-aarch64]
t184256 has joined #nixos-aarch64
quinn has joined #nixos-aarch64
knerten has joined #nixos-aarch64
knerten1 has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-aarch64
alp_ has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-aarch64
orivej_ has joined #nixos-aarch64
orivej has quit [Ping timeout: 246 seconds]
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: 260 seconds]
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…]
zupo has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
cole-h has quit [Quit: Goodbye]
dongcarl has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
<eyJhb>
Are there any guides for doing nixops with a RPi where the deploying from PC does cross compilation?
orivej has quit [Quit: No Ping reply in 180 seconds.]
<pinkieval>
blitzclone[m]: I can build everything but gcg893zp0cx92lblxakk9w0b4l4yymaa-ext4-fs.img.zst (because OOM)
orivej has joined #nixos-aarch64
<pinkieval>
(and 62gpvfc8g58gaxawsbv9rabgm4nhyzsc-nixos-sd-image-20.09pre-git-aarch64-linux.img, because it depends on it)
<blitzclone[m]>
that's the interesting one :)
<pinkieval>
is that enough?
<pinkieval>
I can let it run on swap if not
ninjin has quit [Remote host closed the connection]
<pinkieval>
oh, so not enough
ninjin has joined #nixos-aarch64
<eyJhb>
OOM -> Out of memory?
<blitzclone[m]>
pinkieval: if it's not too much effort, it would be useful to know whether it works
<pinkieval>
eyJhb: yes
<pinkieval>
eyJhb: I think that's what the command in blitzclone[m]'s PR description does
<blitzclone[m]>
eyJhb: I can try whether I can get it to work with my pi, now that I can _finally_ build a working sdcard image \o/
<eyJhb>
I hate working with PRs
<eyJhb>
What is the easy way to checkout somebodies PR?
<eyJhb>
git fetch pull/93824/head:fix-rpi4-installer will not work
<blitzclone[m]>
eyJhb: try pkgs.gitAndTools.gh
<blitzclone[m]>
you can checkout my PR by doing gh pr checkout 93824
<pinkieval>
or git fetch pulls/93824/head && git checkout FETCH_HEAD