<dan_b`>
[21:34:06.756] input device event2 has no enabled output associated (none named), skipping calibration for now.
<samueldr>
the input device is up even when in standby
<samueldr>
but won't respond to touch
<samueldr>
dmesg | grep synaptics
<samueldr>
with X11 in the last few lines it changes to ACTIVE
<samueldr>
without X11 (I haven't tested weston) it never changes to ACTIVE
<samueldr>
synpaitcs_dsx_i2c, 99.99% sure you need it too
<samueldr>
synaptics*
<samueldr>
at the very least, it's likely to be needed for the "boot/recovery" menu
<dan_b`>
yup, will have a play when I'm not at work
orivej has quit [Quit: No Ping reply in 180 seconds.]
alp has quit [Ping timeout: 272 seconds]
orivej has joined #nixos-aarch64
alp has joined #nixos-aarch64
leonardp has joined #nixos-aarch64
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #nixos-aarch64
alp has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 272 seconds]
orivej has joined #nixos-aarch64
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
alp has joined #nixos-aarch64
<delroth>
"Welcome to NixOS 20.09.git.53bbb34d874 (aarch64) - ttyS0" woo, I'm now officially a new member of the cool kids club :)
<samueldr>
is that the QNAP hardware?
<delroth>
yeah, this is running on an Annapurna Labs Alpine v2 SoC, there are like 10 customer device SKUs I know of shipping these SoC
<samueldr>
(IIRC it's QNAP you've been fighting with?)
<delroth>
so this involved a kernel fork, porting some 4.2.8 monolithic HAL drivers to 5.5.5 (my current target), etc.
<delroth>
I also still don't have the MTD driver ported so this is tftp-booted
<samueldr>
I know, from your twitter feed, that it sounded a bit painful :)
<delroth>
the main painful thing remaining right now is that NixOS aarch64 is really aarch64-4kpages unlike every single aarch64 userland I know of
<samueldr>
AL324, Cortex-A57 from what I can see
<delroth>
so I get to rebuild everything from scratch
<delroth>
yeah, it's a beast of a SoC
<delroth>
it has 8x SATA3, 2x 10G NIC, 10x 1G NIC, and still has enough internal bandwidth for 4x PCIe 2.0 lanes
<delroth>
oh, and DDR4
<delroth>
hahaha, actually I can't even build from scratch on that aarch64 machine
<delroth>
because the stdenv bootstrap archive is also built in a way that's incompatible with 64k pages
<delroth>
so it just segfaults
<delroth>
I guess I'm stuck building on EC2 for now...
<samueldr>
oops :/
<samueldr>
I'm not up to speed with what those "pages" thing mean
<delroth>
aarch64 mmu page size can be configured to either 4K, 16K or 64K, the kernel picks
<samueldr>
and is it that this particular SoC can't do large pages?
<delroth>
it can only do large pages, or at least right now it crashes at boot time with 4K and I'm not about to debug that without having JTAG
<samueldr>
oh, I understood it backwards
<delroth>
the problem is that while gcc and friends properly generate userland binaries with segments aligned to 64K always (it doesn't hurt if you're on a 4K system)
<delroth>
patchelf breaks that and realigns the segments to 4K
<samueldr>
would all aarch64 hardware be able to support 64K pages or is it a situation where the only move is not to play?
<delroth>
(oh hey, where's that merge conflict coming from?)
alp has quit [Remote host closed the connection]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
alp has joined #nixos-aarch64
alp has quit [Remote host closed the connection]
alp has joined #nixos-aarch64
orivej_ has joined #nixos-aarch64
orivej has quit [Ping timeout: 240 seconds]
<ar>
hm. i'm building my own raspi4 image, just to get anything booted on it for now with ssh enabled, http://dpaste.com/0MHB0ZW.txt, i'm building it with "nix-build '<nixpkgs/nixos>' -A config.system.build.sdImage --argstr system aarch64-linux -I nixos-config=nixos-rpi4-ssh-and-iptables.nix", but sshd doesn't get started on boot