<samueldr> aaaaand, with a newly built image I cannot reproduce that weird issue... feels like chasing ghosts
<gchristensen> :/
<samueldr> (and I lost track of that weird image)
<samueldr> clever: what was the magic (if any) you found to get the raspberry pi firmware output debug stuff?
<samueldr> raspberry pi 4
Acou_Bass has quit [Ping timeout: 265 seconds]
Acou_Bass has joined #nixos-aarch64
ninjin has quit [Remote host closed the connection]
ninjin has joined #nixos-aarch64
<clever> samueldr: BOOT_UART=1 in bootconf.txt (in the eeprom), then uart_2ndstage=1 in config.txt
<clever> ah, older gist
<clever> one sec
<clever> better one
<samueldr> thank you very much, hopefully it'll help track down why it won't boot
<clever> samueldr: in this one, i show the new bootconf.txt, embed it into a bin, hash it, then create a recovery SD (its mounted on the laptop)
<clever> line 9 makes it netboot from my desktop, and line 11 makes it sets the boot order to include usb and ethernet as well
h0m1 has quit [Ping timeout: 260 seconds]
h0m1 has joined #nixos-aarch64
<samueldr> even though it tests fine, and everything, it could be that the usb drive is flaking on the pi4
<clever> samueldr: i tried to usb boot my rpi4, from a uSD in a usb reader, and it got to the login prompt, then had IO errors and failed
<samueldr> the "old" directory issue I had earlier was only checked on USB
<samueldr> and just now raspios didn't reboot right
<samueldr> :/ uart_2ndstage seems to do nothing (searched online and that's an option that exists that should be doing something)
<clever> samueldr: do you also have BOOT_UART in the eeprom?
<samueldr> yes
<samueldr> Starting start4.elf @ 0xfec00200 partition 0
<clever> what does it output on boot?
<samueldr> that's the last of its messages
<clever> is the start4.elf and fixup4.dat from the same version?
<samueldr> I assume start4 is 2ndstage
<samueldr> yes
<samueldr> btw, that's on a raspios image that fully boots that I'm validating assumptions first
<clever> can you double-check the hashes of start4.elf and fixup4.dat?
<clever> maybe they are corrupt?
<clever> but i know the bootcode does some validation of them...
<samueldr> it fully boots, I would assume it wouldn't if they were corrupt?
<clever> ah
<clever> one sec
<samueldr> (and against what?)
<samueldr> ooh, that's "fun"
<samueldr> lba: 2048 oem: 'mkfs.fat' volume: ' V ^ '
<samueldr> that volume name doesn't look right to me
<samueldr> (now on my non-working card)
<clever> start4.elf has the elf headers checked over first, to make sure all the file offsets are within the bounds of the file
<clever> fixup4.dat is some kind of binary patch, against the entire elf file, and its first validated (offsets only i think)
<clever> then applied
<clever> and then the elf headers are re-checked
<clever> samueldr: you may need to do something with bluetooth config too...
<samueldr> yeah, documentation is a tad unclear
<samueldr> it may interfere
<samueldr> but it doesn't explain how
<clever> i believe the debug uart uses pll011
<clever> but the bluetooth also uses pl011
<clever> ah, found it
<clever> they removed uart_2ndstage from the rpi4, for "reasons"
<samueldr> >> On Linux "vcdbg log msg" will retrieve the logs
<samueldr> GREAT
<samueldr> if only it booted
<clever> try using a firmware older then that change?
<samueldr> catch-22 if I want usb booting to work
<clever> you may now complain loudly on github, lol
<samueldr> and I'd have to guess to find a version with it, if any?
Acou_Bass has quit [Ping timeout: 265 seconds]
Acou_Bass has joined #nixos-aarch64
Acou_Bass has quit [Ping timeout: 256 seconds]
Acou_Bass has joined #nixos-aarch64
Valodim has quit [Ping timeout: 260 seconds]
Acou_Bass has quit [Quit: ZNC 1.7.5 - https://znc.in]
<craige_> Have there been any recent changes to the community server recently?
Acou_Bass has joined #nixos-aarch64
* craige_ is trying to identify why his local user can but root user cannot login.
tilpner has quit [Read error: Connection reset by peer]
tilpner has joined #nixos-aarch64
<clever> craige_: how does `ssh -vvv` differ between the 2 users?
<craige_> I think I've sorted it.
<craige_> Always the way, once you aska question :-)
<craige_> Yep, sorted. I'd munged my NixOps keys somehow in the past <shakes fist at past craige>
<betaboon> anyone knows what happened to https://hydra.nixos.org/jobset/nixpkgs/nixpkgs-unstable-armv7l/evals ? on 25.04. we've been at 15384 success, two evals later we're down to 152 oO
<samueldr> the channel apparently updated more often since
<samueldr> it's a "one-at-a-time" configuration
<samueldr> not sure if it cancels what is running or not
<samueldr> (it's a new~ish thing for hydra)
<betaboon> ah ok
<samueldr> or something else
<betaboon> I'm trying to compile go for armv7l but am failing to succeed :D
cole-h has quit [Quit: Goodbye]
ninjin has quit [Quit: reboot]
ninjin has joined #nixos-aarch64
Valodim has joined #nixos-aarch64
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-aarch64
dguibert has joined #nixos-aarch64
quinn has quit [Quit: ZNC 1.7.5 - https://znc.in]
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-aarch64
nschoe has joined #nixos-aarch64
orivej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos-aarch64
FRidh has joined #nixos-aarch64
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-aarch64
Thra11 has quit [Ping timeout: 260 seconds]
Thra11 has joined #nixos-aarch64
Thra11 has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-aarch64
Thra11 has joined #nixos-aarch64
dguibert has quit [Remote host closed the connection]
<betaboon> can anyone confirm that go_1_14 doesnt crosscompile for armv7l ? `nix build -f '<nixpkgs>' pkgsCross.armv7l-hf-multiplatform.go_1_14` ?
<betaboon> on nixos-unstable
orivej has quit [Ping timeout: 264 seconds]
alp has joined #nixos-aarch64
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 264 seconds]
orivej_ has joined #nixos-aarch64
orivej_ has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-aarch64
zupo has joined #nixos-aarch64
zupo has quit [Quit: Textual IRC Client: www.textualapp.com]
<betaboon> thefloweringash: ah thank you. that clears it up :) to bad tho
kloenk has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
kloenk has joined #nixos-aarch64
<thefloweringash> The native build does look like it succeeds: https://hydra.cons.org.nz/job/thefloweringash-armv7/nixpkgs-unstable/go
zupo has joined #nixos-aarch64
dguibert has joined #nixos-aarch64
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos-aarch64
lordcirth has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 256 seconds]
Valodim has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-aarch64
FRidh has quit [Ping timeout: 264 seconds]
FRidh has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 246 seconds]
cole-h has joined #nixos-aarch64
quinn has joined #nixos-aarch64
alp has quit [Remote host closed the connection]
alp has joined #nixos-aarch64
ninjin has quit [Ping timeout: 240 seconds]
ninjin has joined #nixos-aarch64
alp has quit [Ping timeout: 272 seconds]
Thra11 has quit [Ping timeout: 246 seconds]
zupo has joined #nixos-aarch64
Thra11 has joined #nixos-aarch64
Thra11 has quit [Client Quit]
alp 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
Valodim has joined #nixos-aarch64
dguibert has quit [Ping timeout: 245 seconds]
alp has quit [Remote host closed the connection]
alp has joined #nixos-aarch64
pirboazo has joined #nixos-aarch64
pirboazo has left #nixos-aarch64 [#nixos-aarch64]
pirboazo has joined #nixos-aarch64
<pirboazo> Hello
<pirboazo> I search info .
<pirboazo> I install on rpi 3 the linux-5.4.44-Image found on hydra , it work fine ;-)
<pirboazo> I try to upgrade with the commande nixos-rebuild .... but it is not good .
<pirboazo> is it possible ?
FRidh has quit [Quit: Konversation terminated!]
<cript0nauta> PirBoazo: it seems that your system ran out of memory and killed nix-build
<cript0nauta> that explains the 137 exit code
<pirboazo> Jun 08 20:51:33 nixos kernel: Out of memory: Killed process 1723 (nix-build) total-vm
<pirboazo> I just found this .... Jun 08 20:51:33 nixos kernel: oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=>
<cript0nauta> are you running some memory heavy process besides nix-build?
<pirboazo> no just nixos-rebuild ....
<cript0nauta> one option is to add a swap partition, but i wouldn't recommend it if you don't have an external HD
<pirboazo> no external device just SD card.
<pirboazo> it during this step : building ‘/nix/store/pm49rf4n0sg93vrl4cild7h3br0bq7na-nixos-manpages.drv’…
<pirboazo> perhaps 1GB is not enough for rebuild on aarch64
<cript0nauta> i'm using a rpi3 too and it builds its config without problems
<pirboazo> I push my configuration.nix on discourse ...
<pirboazo> do you use 20.03 ?
<cript0nauta> try setting the documentation.nixos.enable to false so it skips building the manpages
<pirboazo> Ok i try
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pirboazo> :-) seems better
<pirboazo> [root@nixos:/etc/nixos]# echo $?
<pirboazo> starting the following units: nscd.service, systemd-modules-load.service, systemd-sysctl.service, systemd-udevd-control.socket, systemd-udevd-kernel.socket
PirBoazo1 has joined #nixos-aarch64
pirboazo has quit [Ping timeout: 272 seconds]
PirBoazo1 is now known as PirBoazo
<PirBoazo> @cript0nauta :+1:
<cript0nauta> nice!
<PirBoazo> i go to bed.... and tomorow i try to install Xserver ...
<cript0nauta> it's strange that building the docs took so much ram though, it works ok in my raspi ¯\_(ツ)_/¯
<PirBoazo> have you install xserver also ?
PirBoazo has left #nixos-aarch64 [#nixos-aarch64]
fooker has quit [Ping timeout: 246 seconds]
Valodim has quit [Ping timeout: 272 seconds]
h0m1 has quit [Ping timeout: 272 seconds]
Valodim has joined #nixos-aarch64
h0m1 has joined #nixos-aarch64
<cript0nauta> it has xserer, but i'm using dwm that is very lightweight, maybe using a full desktop environment like kde caused the problem
fooker has joined #nixos-aarch64
dongcarl has joined #nixos-aarch64
Valodim has quit [Ping timeout: 260 seconds]
Valodim has joined #nixos-aarch64
fooker has quit [Ping timeout: 260 seconds]
fooker has joined #nixos-aarch64
alp has quit [Ping timeout: 272 seconds]
Valodim- has joined #nixos-aarch64
Valodim has quit [Ping timeout: 260 seconds]
Valodim- is now known as Valodim
orivej has joined #nixos-aarch64