<ingenieroariel> I got a compilation error
<ingenieroariel> FAILED: src/boot/efi/systemd_boot.so
<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
<ingenieroariel> /nix/store/a57856fs4m8ir6vlv14h3gq3sv9aq2lb-binutils-2.31.1/bin/ld: cannot represent machine `aarch64'
<ingenieroariel> looking into overlay/mruby-builder/mruby/default.nix
<ingenieroariel> the pkgconfig-helper does not seem to work with the nixpkgs I want to use (https://github.com/NixOS/nixpkgs/pull/88767)
<{^_^}> #88767 (by masipcat, 10 weeks ago, open): Librem 5 phone packages
h0m1 has quit [Ping timeout: 244 seconds]
h0m1 has joined #nixos-aarch64
<samueldr> ingenieroariel: there's no easy answer other than to rebase :/
<samueldr> that whole pkg-config deal has been hard for cross-compilation
<samueldr> ingenieroariel: you might also want to use this https://mobile.nixos.org/getting-started.html#_using_a_pre_built_system_img
<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
<samueldr> CONFIG_CRYPTO_AEGIS128
<samueldr> not much of an help text
lordcirth has joined #nixos-aarch64
cptchaos83 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
cptchaos83 has joined #nixos-aarch64
angerman has quit [Ping timeout: 260 seconds]
pkral has quit [Ping timeout: 260 seconds]
claudiii has joined #nixos-aarch64
pkral has joined #nixos-aarch64
NekomimiScience has joined #nixos-aarch64
angerman has joined #nixos-aarch64
lordcirth_ has joined #nixos-aarch64
lordcirth has quit [Ping timeout: 244 seconds]
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.
<samueldr> right, -march, not -m
<Jake[m]> Also I think it's related to [this issue](https://github.com/NixOS/nixpkgs/issues/64916), which makes me think that maybe we can replace `-mcpu=generic+cyrpto` [here](https://github.com/torvalds/linux/blob/v5.8/crypto/Makefile#L101) with `-mcpu=armv8-a+crypto` and it will work, though it seems like this is a larger issue that I don't really understand and that deserves a better solution.
<{^_^}> #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…]
h0m1 has quit [Quit: WeeChat 2.9]
h0m1 has joined #nixos-aarch64
zupo has joined #nixos-aarch64
lordcirth__ has joined #nixos-aarch64
lordcirth_ has quit [Ping timeout: 244 seconds]
orivej has joined #nixos-aarch64
ehmry has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
zupo_ has joined #nixos-aarch64
zupo has quit [Ping timeout: 240 seconds]
zupo_ has quit [Remote host closed the connection]
zupo has joined #nixos-aarch64
Darkmatter66_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
quinn has quit [Quit: ZNC 1.8.1 - https://znc.in]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
orivej has quit [Ping timeout: 260 seconds]
t184256 has left #nixos-aarch64 ["Error from remote client"]
t184256 has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 256 seconds]
Thra11 has quit [Ping timeout: 240 seconds]
Thra11 has joined #nixos-aarch64
Thra11 has quit [Read error: Connection reset by peer]
zupo has joined #nixos-aarch64
Thra11 has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
cole-h has joined #nixos-aarch64
rajivr has quit [Quit: Connection closed for inactivity]
AmandaC has quit [Quit: Toodles]
AmandaC has joined #nixos-aarch64
tilpner has quit [Remote host closed the connection]
tilpner has joined #nixos-aarch64
quinn has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
<samueldr> colemickens: since the discussion got buried
<samueldr> colemickens: get the stuff to make a serial cable _now_
<samueldr> because otherwise you'll never get it :)
<samueldr> it's cheap
<samueldr> and get more than one of the breakout board since it might be helpful for other tech shenanigans in the future!
<colemickens> I think I got to the "contact us to arrange shipping" default shipping option and rolled my eyes last time.
<colemickens> mostly just because it's an annoying default, presumably introducing more order lag time (said after waiting weeks to order)
<colemickens> alright, ordered, I'm reinvigorated to make another step forward
<samueldr> details about the cable here: https://github.com/Peter-Easton/android-debug-cable-howto
<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…]
Thra11 has joined #nixos-aarch64
alp_ has joined #nixos-aarch64
alp has quit [Ping timeout: 272 seconds]
Thra11 has quit [Ping timeout: 246 seconds]
alp_ has quit [Ping timeout: 256 seconds]
alp has joined #nixos-aarch64