andoriyu has joined #nixos-aarch64
<andoriyu> I don't think there is an armv6 channel, so I will ask here: what's the best way to build custom images for rpi zero w right now?
manveru[m] has quit [Ping timeout: 244 seconds]
manveru[m] has joined #nixos-aarch64
Danct12[m] has quit [Ping timeout: 240 seconds]
veleiro has quit [Ping timeout: 244 seconds]
yangm has quit [Ping timeout: 258 seconds]
DavHau[m] has quit [Ping timeout: 244 seconds]
jdnixx-M has quit [Ping timeout: 258 seconds]
jdnixx-M has joined #nixos-aarch64
Danct12[m] has joined #nixos-aarch64
orivej has joined #nixos-aarch64
DavHau[m] has joined #nixos-aarch64
yangm has joined #nixos-aarch64
veleiro has joined #nixos-aarch64
bennofs_ has joined #nixos-aarch64
cwbelesswhite[m] is now known as cw[m]
bennofs__ has quit [Ping timeout: 245 seconds]
rajivr has joined #nixos-aarch64
ASHKITTEN is now known as ashkitten
COLE-H is now known as cole-h
apache801 has quit [Ping timeout: 256 seconds]
apache801 has joined #nixos-aarch64
apache801 has quit [Ping timeout: 240 seconds]
apache801 has joined #nixos-aarch64
h0m1 has quit [Ping timeout: 240 seconds]
{^_^} has quit [*.net *.split]
unclechu has quit [*.net *.split]
danielrf[m] has quit [*.net *.split]
fgaz has quit [*.net *.split]
marijan[m] has quit [*.net *.split]
kloenk has quit [*.net *.split]
davidtwco has quit [*.net *.split]
h0m1 has joined #nixos-aarch64
unclechu has joined #nixos-aarch64
14WAAHLCP has joined #nixos-aarch64
danielrf[m] has joined #nixos-aarch64
fgaz has joined #nixos-aarch64
davidtwco has joined #nixos-aarch64
kloenk has joined #nixos-aarch64
marijan[m] has joined #nixos-aarch64
14WAAHLCP has quit [Remote host closed the connection]
94KAAA9XC has joined #nixos-aarch64
apache801 has quit [Ping timeout: 240 seconds]
evils has joined #nixos-aarch64
delroth has quit [Ping timeout: 264 seconds]
delroth has joined #nixos-aarch64
orivej has quit [Ping timeout: 240 seconds]
awmv has quit [Quit: Connection closed for inactivity]
orivej has joined #nixos-aarch64
<LinuxHackerman> andoriyu: don't worry, this is exactly the right place to ask :) the channel's name is a bit of unfortunate historical legacy
<LinuxHackerman> I'm not sure what the answer is unfortunately.
<clever> LinuxHackerman: the ahci module is for ide drives, pi0 doesnt use ide
<LinuxHackerman> what's that got to do with me?
<clever> just explaining the issue, but i'm not sure how to make nixos stop wanting it in this case
orivej has quit [Ping timeout: 260 seconds]
apache801 has joined #nixos-aarch64
<Ke> I believe I just responded clever on ahci, but can't see my response, it was not super useful anyway, but I am confuse
<clever> Ke: ah, i wasnt expecting a reply from the "wrong" nick
<Ke> oh right that was on #nixos
<clever> 2021-03-03 01:12:41 < AndreyCherkashin> <clever "andoriyu: the rpi doesnt use ahc"> I k
<clever> Ke: also, my irc client only responds if a msg begins with "clever:"
<clever> but yours began with "<clever ", so it didnt light up
<Ke> sure, but I would have been confused anyway, as topic changed channel
<Ke> matrix bridge occasionally drops messages, I believe
<clever> and youve jumped to a 3rd nick! :D
<Ke> so I am actively also looking for that
<Ke> no I don't think so
<clever> 2021-03-02 20:03:07 < andoriyu> I don't think there is an armv6 channel, so I will ask here: what's the best way to build custom images for rpi zero w right now?
<clever> 2021-03-03 01:12:41 < AndreyCherkashin> <clever "andoriyu: the rpi doesnt use ahc"> I know. but why is it trying to copy that module?
<clever> 2021-03-03 02:19:42 < Ke> no I don't think so
<Ke> sure that's not me
<Ke> only Ke
<clever> ah
<Ke> and jkarlson
<clever> now i'm even more confused, i dont see any jkarlson's
<Ke> also, I can't see my own nick, but changing to someone elses human chosen nick is unlikely
<clever> your currently showing up as "Ke"
<Ke> I guess it's only Ke then
apache801 has quit [Ping timeout: 245 seconds]
heywoodlh has quit [Ping timeout: 276 seconds]
heywoodlh has joined #nixos-aarch64
adamzivcak has joined #nixos-aarch64
adamzivcak has left #nixos-aarch64 [#nixos-aarch64]
cole-h has quit [Ping timeout: 264 seconds]
zupo has joined #nixos-aarch64
adamzivcak1 has joined #nixos-aarch64
aminechikhaoui has quit [Read error: Connection reset by peer]
aminechikhaoui8 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]
chr0ma[m]1 has quit [Quit: Idle for 30+ days]
adamzivcak1 has left #nixos-aarch64 [#nixos-aarch64]
zupo 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
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
superherointj has joined #nixos-aarch64
ADISBLADIS is now known as adisbladis
orivej has joined #nixos-aarch64
tilpner has joined #nixos-aarch64
orivej_ has joined #nixos-aarch64
orivej has quit [Ping timeout: 245 seconds]
orivej_ has quit [Read error: Connection reset by peer]
orivej has joined #nixos-aarch64
EDEF is now known as edef
alpernebbi has joined #nixos-aarch64
aminechikhaoui8 is now known as aminechikhaoui
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos-aarch64
orivej_ has quit [Ping timeout: 256 seconds]
zupo has joined #nixos-aarch64
94KAAA9XC has quit [Remote host closed the connection]
{^_^} has joined #nixos-aarch64
srk has quit [Remote host closed the connection]
srk has joined #nixos-aarch64
orivej has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dev_mohe has joined #nixos-aarch64
dev_mohe has quit [Quit: dev_mohe]
superherointj has quit [Quit: Leaving]
zupo has joined #nixos-aarch64
adamzivcak has joined #nixos-aarch64
adamzivcak1 has joined #nixos-aarch64
adamzivcak has quit [Ping timeout: 245 seconds]
orivej has quit [Ping timeout: 246 seconds]
<Jassuko[m]> clever: that weird notation like <clever ”some message here”> is actually how the IRC bridge behaves with replies to a message.
<Jassuko[m]> A message
<Jassuko[m]> <Jassuko[m] "A message"> And this is a reply to my previous message.
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alpernebbi has quit [Ping timeout: 245 seconds]
alpernebbi has joined #nixos-aarch64
bennofs__ has joined #nixos-aarch64
adamzivcak1 has quit [*.net *.split]
delroth has quit [*.net *.split]
bennofs_ has quit [*.net *.split]
bdju has quit [*.net *.split]
Acou_Bass has quit [*.net *.split]
clever has quit [*.net *.split]
clever has joined #nixos-aarch64
delroth has joined #nixos-aarch64
Acou_Bass has joined #nixos-aarch64
bdju has joined #nixos-aarch64
<Ke> artturin: can't find sway mobile anywhere, is it just sway with some settings?
tilpner has quit [Remote host closed the connection]
tilpner has joined #nixos-aarch64
superherointj has joined #nixos-aarch64
cole-h has joined #nixos-aarch64
rajivr has quit [Quit: Connection closed for inactivity]
evils has quit [Ping timeout: 256 seconds]
<andoriyu> clever so I looked at the nixpkgs and found this: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/system/boot/kernel.nix#L203-L221
<andoriyu> I assume that's where ahci came from.
apache801 has joined #nixos-aarch64
<samueldr> recently there was a big regression with the initrd building scripts
<samueldr> previously modules adked to be added to the initrd would fail silently if missing
<samueldr> now they're failing hard
<andoriyu> that could be it, the same nix configuration works for 19.03.
<samueldr> it's extremely likely to be it
<samueldr> it has been breaking a lot of non x86_64 builds :(
<samueldr> and it's nigh impossible to filter lists in nixos configuration modules
<samueldr> really the change should be reverted and made configurable or something
<andoriyu> I see. so the only workaround is to fork nixpkgs, and remove those modules from that file meanwhile?
<samueldr> I'm not sure
<samueldr> I still haven't taken a look at the actual blowback of that change
<andoriyu> i will find out later today
<samueldr> I believe the #111452 was opened for that
<{^_^}> https://github.com/NixOS/nixpkgs/pull/111452 (by urbas, 4 weeks ago, merged): system/boot: add includeDefaultModules option
<andoriyu> Oh, I can try that option
<samueldr> all of that isn't great in the end :(
<andoriyu> huh?
<samueldr> so then you need to maintain your own copy of basic necessary modules if you use this option
<samueldr> but yes, it is a workaround for now
<andoriyu> Better then nothing I guess.
<samueldr> hopefully it won't harm an effort to fix it better
<{^_^}> #109280 (by primeos, 7 weeks ago, open): Use conditionals for all architecture dependent initrd modules
orivej has joined #nixos-aarch64
clever has quit [Ping timeout: 240 seconds]
clever has joined #nixos-aarch64
apache8080 has joined #nixos-aarch64
orivej has quit [K-Lined]
apache801 has quit [Ping timeout: 264 seconds]
apache801 has joined #nixos-aarch64
apache8080 has quit [Ping timeout: 276 seconds]
alpernebbi has quit [Remote host closed the connection]
<andoriyu> Now i get error: attribute 'runtimeShell' missing, at /home/andoriyu/dev/github.com/NixOS/nixpkgs/pkgs/top-level/all-packages.nix:520:79
<andoriyu> garh, should have rm -rf failing config last night
<samueldr> andoriyu: there's a fix already
<{^_^}> #114999 (by Ericson2314, 3 hours ago, open): buildPythonPackage: Fix after #112276
zupo has joined #nixos-aarch64
<samueldr> (I still need to test it)
<andoriyu> samueldr I don't think it's related. the same checkout worked yesterday.
<andoriyu> well, kernel failed to build, but it was workingish
<samueldr> pretty sure it is, given that it only affects python packages
<andoriyu> oh, I don't have an issue with python package tho.
<samueldr> what's the trace like?
<samueldr> it's entirely possible the same issue is hitting other package sets
dev_mohe has joined #nixos-aarch64
dev_mohe has quit [Client Quit]
<andoriyu> Now, if I try different way of building that stupid sd card...I move beyond ahci module problem, now I get https://gist.github.com/andoriyu/97e74f7ce0431e6bd57e31a188849faa . Google points to chatlogs of this channel lol
<samueldr> >> while evaluating the attribute 'nativeBuildInputs' of the derivation 'python3.8-setuptools-50.3.1-armv6l-unknown-linux-gnueabihf' at /home/andoriyu/dev/github.com/NixOS/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:198:11:
<samueldr> as expected
<samueldr> that's what that PR fixes
<andoriyu> damn, why is it building python
<samueldr> it's *using* python
<samueldr> as a build input
<samueldr> well, it's using *something* that is made in python as a build input
<samueldr> andoriyu: IIRC that FDT_ERR_NOTFOUND means it's trying to apply the overlay on something that is lacking the appropriate symbols to apply it to
<samueldr> now what is it that's actually failing? hard to know for sure
<andoriyu> ah, right. I remember build 100 build tools and shells for a small package when in freebsd ports.
<andoriyu> hmm. weird. I'm using linuxPackages_rpi0 kernel.
<samueldr> I know there's a lot of pain around the overlay stuff in nixpkgs
<samueldr> but I don't know the issues
<samueldr> I still haven't _myself_ taken a look
<andoriyu> I take it's using overlay for a newer rpi version.
<andoriyu> oh well, removing those overlays worked
<andoriyu> now I just have to figure out how to build a custom kernel module and a few rust packages.
<andoriyu> Is there a way to prevent image compression?
<samueldr> edit it out
<samueldr> I think?
<samueldr> though there might be `compressImage`
<samueldr> but one of them is hardcoded to true??
<samueldr> things were moved a lot in the past few weeks
cript0nauta has joined #nixos-aarch64
<andoriyu> Overriding it works.
<cript0nauta> hi! is anyone familiar with a "Did not find a cmdline Flattened Device Tree" error when booting nixos from a rpi3b?
<cript0nauta> it happens when I'm using the latest kernel (or 5.10), setting boot.kernelPackages = pkgs.linuxPackages_5_4 fixes the problem
<samueldr> cript0nauta: do you have the serial output around the error?
<samueldr> (or a good quality photo of a display)
<cript0nauta> my configuration.nix is including "${nixpkgs}/nixos/modules/installer/cd-dvd/sd-image-aarch64.nix" to set up the boot options, I'm not sure if I should include a module more specific to my rpi
<cript0nauta> but it worked ok with older versions of nixpkgs
<andoriyu> samueldr I've tested this: https://github.com/NixOS/nixpkgs/pull/114999/files still the same issue
<andoriyu> is there a way to tell which package pulls in python?
<samueldr> andoriyu: not sure
<samueldr> and yeah, I hadn't tested the PR yet
<samueldr> and I'm having issues still, but it solves the one I pointed out
<andoriyu> I can show trace after patch applied if it helps.
<samueldr> cript0nauta: can you run `file` on the .dtb file path it loads two lines higher
<samueldr> it's as if there was a file at the proper location, but it wasn't a dtb
<samueldr> including the sd image files *before* was an anti-pattern, as it also meant it's an installation device... now there's been changes I haven't kept up-to-date with related to that anti-pattern
<cript0nauta> [nix-shell:~]$ file /nix/var/nix/profiles/system-18-link/dtbs/broadcom/bcm2837-rpi-3-b.dtb /run/current-system/dtbs/broadcom/bcm2837-rpi-3-b.dtb
<cript0nauta> nix/var/nix/profiles/system-18-link/dtbs/broadcom/bcm2837-rpi-3-b.dtb: Device Tree Blob version 17, size=14250, boot CPU=0, string block size=950, DT structure block size=13228
<cript0nauta> run/current-system/dtbs/broadcom/bcm2837-rpi-3-b.dtb: Device Tree Blob version 17, size=14142, boot CPU=0, string block size=918, DT structure block size=13152
clever has quit [Ping timeout: 260 seconds]
<cript0nauta> the first one is the conflicting dtb, the second one is the 5.4 one which works ok
<samueldr> cript0nauta: the copied file in /boot/nixos
<samueldr> (unless it's a symlink?)
clever has joined #nixos-aarch64
clever has joined #nixos-aarch64
clever has quit [Changing host]
<cript0nauta> do you mean /boot/nixos/jrfv3nx3r5pnsyiinqh9f2x7289f5wj0-linux-5.10.18-dtbs/broadcom/bcm2837-rpi-3-b.dtb? in this case, this is a regular file with the same contents as the file in system-18-link/...
<samueldr> good
<samueldr> it could have been copied wrong
<samueldr> sorry, I don't know :/
apache801 has quit [Ping timeout: 245 seconds]
apache801 has joined #nixos-aarch64
<andoriyu> well either image is borked completely or just otg-serial part :(
blueberrypie has quit [*.net *.split]
marek has quit [*.net *.split]
aforemny has quit [*.net *.split]
kcalvinalvin has quit [*.net *.split]
njd has quit [*.net *.split]
aforemny has joined #nixos-aarch64
grw1 has joined #nixos-aarch64
njd has joined #nixos-aarch64
blueberrypie has joined #nixos-aarch64
betaboon has joined #nixos-aarch64
marek has joined #nixos-aarch64
kcalvinalvin has joined #nixos-aarch64
minicom has quit [*.net *.split]
betaboon has quit [*.net *.split]
grw1 has quit [*.net *.split]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
justanotheruser has quit [Ping timeout: 240 seconds]
superherointj has quit [Quit: Leaving]
zupo_ has joined #nixos-aarch64
zupo has quit [Ping timeout: 264 seconds]
<cript0nauta> samueldr thanks anyway, i'll keep investigating the issue, and in the meantime i'll use krenel 5.4 which isn't a big problem :)
apache801 has quit [Ping timeout: 260 seconds]
<andoriyu> can't get serial to work for some reason. What is going on.
justanotheruser has joined #nixos-aarch64
<andoriyu> Can't really debug because keyboard plugs into the same port
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
apache801 has joined #nixos-aarch64
Raito_Bezarius has joined #nixos-aarch64
cole-h_ has joined #nixos-aarch64
cole-h has quit [Ping timeout: 240 seconds]
cole-h_ is now known as cole-h
apache8080 has joined #nixos-aarch64
apache801 has quit [Ping timeout: 265 seconds]
justanotheruser has quit [Ping timeout: 240 seconds]