ekleog has quit [Quit: back soon]
ekleog has joined #nixos-aarch64
srk has quit [Ping timeout: 250 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 268 seconds]
srk has joined #nixos-aarch64
srk has quit [Ping timeout: 245 seconds]
srk has joined #nixos-aarch64
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 250 seconds]
Acou_Bass has quit [Read error: Connection reset by peer]
Acou_Bass has joined #nixos-aarch64
Acou_Bass has quit [Client Quit]
Acou_Bass has joined #nixos-aarch64
orivej has joined #nixos-aarch64
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
Acou_Bass has joined #nixos-aarch64
orivej has quit [Ping timeout: 245 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 245 seconds]
orivej has joined #nixos-aarch64
disasm has joined #nixos-aarch64
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 268 seconds]
bobvanderlinden has joined #nixos-aarch64
<bobvanderlinden> samueldr: I was you made changes to the Raspberry Pi 3B+. I've confirmed that ttyS1 needs to be used for the console over USB. I've changed that in the wiki, but the initial setup is still annoying because I needed to replace ttyS0 to ttyS1 in extlinux.conf on the sdcard. Should change this be integrated in the image itself?
<bobvanderlinden> *Should this change be integrated in the image itself?
<samueldr> yes
<samueldr> possibly
<samueldr> I'd like to dig in a bit more in to be sure why it's now ttyS1 for the 3B (not plus) now
<bobvanderlinden> oh, pff, that *is* quite annoying
<bobvanderlinden> I'm using the 3B+ and it's S1
<samueldr> so all the time I've been saying "it's been reported it's ttyS1 for 3B+" it maybe have been "it's now ttyS1"
<bobvanderlinden> I've remove that note and just replaced S0 with S1 on the wiki
<samueldr> the page needs a review to add details for the raspi1; which does not use the mainline kernel, so it's probably still ttyS0
<samueldr> *another annoyed shrug*
<bobvanderlinden> aarg
<samueldr> nixos.wiki page in the first page for ttyS1 and raspberry pi 3
<bobvanderlinden> would it be possible to add `console=ttyS1,xxx console=ttyS0,xxx console=ttyAMA0,xxx`
<bobvanderlinden> so that it tries them all in the right order?
<samueldr> http://arch.jpn.org/archives/322 <- seems to confirm ttyS1, though 2017/08/04
<samueldr> bobvanderlinden: it's a bit more complex IIRC
<samueldr> something about only one of the console= params being used (for now) for the systemd messages IIRC
<samueldr> #42255
<{^_^}> https://github.com/NixOS/nixpkgs/pull/42255 (by dezgeg, 23 weeks ago, open): WIP: Log stage-{1,2} output to secondary consoles
<samueldr> >> Currently, if you pass multiple consoles to the kernel (e.g.console=ttyS0 console=tty0) you only get stage-1 and stage-2 output on the primary console (the last one specified on the command line). This change redirects them to the secondary consoles as well.
<samueldr> so yeah
<samueldr> the other way around
<samueldr> (I'm **just now** having to deal with this :))
<samueldr> and since the image is generic, it's highly annoying
<samueldr> can't just put ttyS1 as last
<bobvanderlinden> yes, well
<bobvanderlinden> there's another way
<bobvanderlinden> we can define multiple entries in extlinux
<samueldr> for now, the recommended way to deal with the *installer* image is to edit the extlinux entry, since it's FAT32 and not in the store, it's not that bad :/
<samueldr> but yeah, something will need to be done
<bobvanderlinden> well, the wiki needs to mention it needs to be changed from S0 to S1
<bobvanderlinden> I can add that
<bobvanderlinden> but from what I understand, this is true for both model 3B as well as 3B+
<samueldr> AFAIK
<samueldr> and thanks for the edits :)
<samueldr> I do wonder what changed, or if it's collective bad recollection :)
<samueldr> hmmm, duh!, and annoying!
<samueldr> seems I can't just leave 0 free blocks on the sd image, as expanding happens in stage-2, with the device mounted, and *after* things try to create files and folders :/
<bobvanderlinden> it would probably help to have all rpi models at hand to confirm this kind of stuff
<clever> i have a range of models
<samueldr> yes, which is why I started to more explicitely crowdsource the data for the wiki
<clever> all the way back to the armv6 one
<samueldr> I'm thinking of adding tables like at the start of the article https://nixos.wiki/wiki/NixOS_on_ARM/Raspberry_Pi
<bobvanderlinden> oh! @clever, it would be nice to have some confirmation about the console tty's for those devices with the current images
<clever> i also have ftdi
<clever> i also have ftdi's and can test the serial ports
<samueldr> where it can be marked as "should be X, but unverified"
<clever> let me find them all...
<samueldr> clever: make sure to use nixos images!
<clever> ok, here is a newer one, with the dram on the bottom, round corners, no composite connector, and uSD
<clever> but no wifi/bt
<clever> theres a camera
<bobvanderlinden> clever: do you mean to add a column to the "Board nameArchitectureSupport" table about the console tty?
<clever> an older one with composite and normal SD
<clever> another with composite
<bobvanderlinden> clever: it doesn't say the model on the pcb?
<clever> some do
<clever> rpi 2 model b v1.1
<clever> rpi3 model b v 1.2
<clever> rpi 2011
<samueldr> I have a 1B+ and a 3B at home
<clever> rpi 2011.12
<clever> one min
<bobvanderlinden> i have a 3B+. I probably have a the first model as well at home.
<samueldr> that's the one I was searching for :)
<clever> ok, first one appears to be a b rev 1 links, 0003
<bobvanderlinden> that image is quite useful to mention on the wiki as well
<clever> second one is b rev 2 (256mb) 0004
<clever> 3rd is a maybe the 0010 b+
<clever> 4th is the 3b a32082 i think
<clever> samueldr: got a link to the iso?
<samueldr> (it's a mirror of that first link)
<clever> which one shal i try first?