<ingenieroariel>
[611/1257] Generating systemd_boot.so with a custom command_dissect.c.o'rnate-resume_hibernate-resume-generator.c.o''FAILED: src/boot/efi/systemd_boot.so
<samueldr>
to use the native aarch64 image for now
<samueldr>
I wouldn't know if that phosh stuff works with cros
<samueldr>
cross*
<ingenieroariel>
I got most of the way there with help from noneucat
<ingenieroariel>
started from a nixpkgs commit that hydra liked
<ingenieroariel>
and that got me the right mruby
<ingenieroariel>
and now I am slowly adding stuff to it, got all the way to a final image
<samueldr>
nice!
<ingenieroariel>
being able to fetch from hydra works around some of the cross compilation issues
<samueldr>
yeah
<samueldr>
native builds would also work fine
<samueldr>
(e.g. from a rpi or another aarch64 machine)
* DigitalKiwi
wonders if nixUntstable has updated/fixed that problems
orivej_ has quit [Ping timeout: 240 seconds]
ingenieroariel has quit [Remote host closed the connection]
rajivr has joined #nixos-aarch64
<Jake[m]>
I'm trying to manually configure my kernel, and in compiling it I'm getting errors like
<Jake[m]>
``/build/ccw4imj8.s:45: Error: selected processor does not support `aese v13.16b,v4.16b'`` when compiling the file `crypto/aegis128-neon-inner.o`. Does anyone have any idea what's going on?
orivej has joined #nixos-aarch64
<samueldr>
disable CRYPTO something AEGIS something 128 in the kernel config
<samueldr>
that's the current workaround
<samueldr>
it comes from a -m option that is set by our gcc wrapper iirc
NekomimiScience has quit [Ping timeout: 260 seconds]
NekomimiScience has joined #nixos-aarch64
pkral has quit [Ping timeout: 240 seconds]
<Jake[m]>
<samueldr "it comes from a -m option that i"> Is there something I can do to fix this in the wrapper?
pkral has joined #nixos-aarch64
<samueldr>
I don't know
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
cole-h has joined #nixos-aarch64
<Jake[m]>
I think it has to do with the platform: the `march` flag needs to be like `armv8` with the `crypto` extension, but [by default](https://github.com/NixOS/nixpkgs/blob/master/lib/systems/platforms.nix#L345) it's just `armv8`. I don't really know how platforms work and how to go about fixing it.
<{^_^}>
#64916 (by thefloweringash, 1 year ago, open): Linux kernel versions 4.4 and 4.10 don't build on nixos-unstable Aarch64
<clever>
Jake[m]: of note, no pi has the crypto extensions enabled
<Jake[m]>
Hmm. Out of curiosity, is it possible to make a custom platform easily? Because then you could target your specific CPU directly, at the cost of recompiling everything yourself.
<clever>
probably
<clever>
compare lib.systems.examples.raspberryPi to lib.systems.examples.armv7l-hf-multiplatform and others
<clever>
raspberryPi is armv4, for an rpi1
<clever>
armv6*
<Jake[m]>
thanks, i will take a look!
<clever>
in an ideal world, we would have rpi1, rpi2, rpi3, and rpi3 entries in the example systems
<clever>
tuned to what features each has
<clever>
3/4 would also have 32bit and 64bit variants
<clever>
but rpi3/rpi4 64bit may already match our current aarch64-generic
<clever>
would need some research
zupo has joined #nixos-aarch64
cole-h has quit [Quit: Goodbye]
zupo has quit [Ping timeout: 240 seconds]
zupo has joined #nixos-aarch64
orivej has quit [Ping timeout: 256 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<samueldr>
and no, the SuzyQable won't work with pixel devices
<samueldr>
it will give access to the titan chip, if your device has one
<samueldr>
(and note that this guide is mightily over-engineered! I basically stripped a standard UART and soldered directly to the pins on my board, and taped it)
<samueldr>
(and you _may_ need to get short UART cables)
t184256 has left #nixos-aarch64 ["Error from remote client"]
t184256 has joined #nixos-aarch64
AmandaC_ has joined #nixos-aarch64
AmandaC_ has quit [Remote host closed the connection]
cole-h has quit [Quit: Goodbye]
colemickens_irc has joined #nixos-aarch64
alp has joined #nixos-aarch64
Thra11 has quit [Ping timeout: 256 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]