cript0nauta has quit [Ping timeout: 260 seconds]
cript0nauta has joined #nixos-aarch64
<irminsul> samueldr: just built, flashed, then manually resized a mobile nixos image that doesn't do resizing on boot. wayyyyy faster boot
simpson has quit [Ping timeout: 260 seconds]
<irminsul> off the pinephone sd card, 10 seconds from power button to logo, logo goes away at 35sec, pointer appears at 45sec, xfce panels by 1min, background and desktop & keyboard by 1min 20s
<irminsul> I was waiting minutes before the logo with the old setup
pr06lefs has joined #nixos-aarch64
simpson has joined #nixos-aarch64
irminsul has joined #nixos-aarch64
h0m1 has quit [Ping timeout: 260 seconds]
h0m1 has joined #nixos-aarch64
irminsul has quit [Ping timeout: 265 seconds]
irminsul has joined #nixos-aarch64
cript0nauta has quit [Ping timeout: 264 seconds]
cript0nauta has joined #nixos-aarch64
lordcirth has quit [Ping timeout: 260 seconds]
bennofs_ has joined #nixos-aarch64
<samueldr> irminsul: on sd, right? I know the speed is day and night sd vs. emmc for me
<samueldr> right, you said "on sd" lol
<samueldr> I believe it must be the forced (twice) fsck
bennofs has quit [Ping timeout: 258 seconds]
<samueldr> and if the resizing was smart in detecting a no-op, it would help, and also that forced second fsck, which I believe came to be needed at one point due to something weird with the fs creation
pr06lefs has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-aarch64
zupo has joined #nixos-aarch64
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 258 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
zupo_ has joined #nixos-aarch64
zupo__ has joined #nixos-aarch64
zupo has quit [Ping timeout: 256 seconds]
zupo_ has quit [Ping timeout: 260 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
FRidh has joined #nixos-aarch64
orivej_ has joined #nixos-aarch64
orivej has quit [Ping timeout: 264 seconds]
orivej_ has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-aarch64
lopsided98 has quit [Quit: No Ping reply in 180 seconds.]
lopsided98 has joined #nixos-aarch64
orivej has quit [Ping timeout: 260 seconds]
orivej_ has joined #nixos-aarch64
{^_^} has joined #nixos-aarch64
orivej_ has quit [Ping timeout: 258 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: 260 seconds]
orivej has joined #nixos-aarch64
PirBoazo has joined #nixos-aarch64
<PirBoazo> Helo,
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #nixos-aarch64
<PirBoazo> Do you think it is possible to launch a wm as mate or xfce on RPI3B ?
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos-aarch64
<PirBoazo> Actualy when i start the xserver the raspi hang.
<PirBoazo> what trace would be interesting to analyze ?
<DigitalKiwi> i think it is possible yes
<DigitalKiwi> i have plasma5 on my 3b+
<PirBoazo> what is the displaymanager ?
<PirBoazo> that you use
quinn has quit [Ping timeout: 265 seconds]
<DigitalKiwi> sddm
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-aarch64
<PirBoazo> ok i shall try , this afternoon
<DigitalKiwi> i was having problems with hanging too i had to change some settings
<PirBoazo> do you have some recommendation ?
<PirBoazo> what settings ?
<PirBoazo> Do you have share that somewhere ?
<DigitalKiwi> boot.kernelPackages = pkgs.linuxPackages_4_19;
<DigitalKiwi> services.xserver. videoDrivers = [ "fbdev" ];
<DigitalKiwi> - spaces
<DigitalKiwi> boot.loader.raspberryPi.firmwareConfig = ''
<DigitalKiwi> gpu_mem=256
<DigitalKiwi> start_x=1
<DigitalKiwi> '';
<DigitalKiwi> maybe?
<DigitalKiwi> boot.kernelParams = lib.mkForce [
<DigitalKiwi> "console=ttyS1,115200n8"
<DigitalKiwi> "cma=256M"
<DigitalKiwi> "loglevel=7"
<DigitalKiwi> "console=tty1"
<DigitalKiwi> ];
<PirBoazo> What is the most important ? kernel version or others
<DigitalKiwi> the kernel version afaik is 100% required the others i think like...display server would crash without it
<DigitalKiwi> oh and
<DigitalKiwi> swapDevices = [{ device = "/swapfile"; size = 2048; }];
<PirBoazo> Thank you I would give you feedback on these tests.
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
alp has joined #nixos-aarch64
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos-aarch64
quinn has joined #nixos-aarch64
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #nixos-aarch64
<angerman> Looks like I got most of the rockpi4 nixified.
<angerman> There's still some rather odd behaviour when it reboots twice and then the kernel gets stuck in one core.
<angerman> I still don't understand why anyone would default to 1_500_000 baud. That's not supported by CP2021 or PL2303, only by FTDI chips.
<angerman> The best part in that whole mess is that the bl31 blob *does* send at 115200baud.
<simpson> FTDI is popular and 1.5mbits is a lot faster than the standards. Can't think of any other reasons.
<angerman> Prolific *can* go up to 12mbit, but 1.5mbit is not a supported configuration. https://usercontent.irccloud-cdn.com/file/HyoFGC0o/Screenshot%202020-06-16%20at%207.46.13%20PM.png
<angerman> CP2101 tops out at 921_600, so 1.5 is out of reach anyway. https://usercontent.irccloud-cdn.com/file/zdRoNCpf/Screenshot%202020-06-16%20at%207.44.17%20PM.png
<angerman> Anyway, I ended up patching uboot to 115200, and setting for the kernel as well, and voila we have something that works; even though of course it's not as fast, but does that really matter for debugging over a serial port?
<simpson> Oh rad, TIL.
<angerman> I'll file this under shit i wish i didn't know.
<simpson> Yeah, for debugging on a tty, it's fine. But it's funny how often just needing a tty turns into needing to send over a bootloader~
<angerman> fair. I guess I could have gone for 921600, but then the bl31 blob would have spewed garbage.
alp has quit [Remote host closed the connection]
alp has joined #nixos-aarch64
<simpson> Yeah. I think that you're right to just stick it to 115200; whatever works.
alp has quit [Remote host closed the connection]
alp has joined #nixos-aarch64
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-aarch64
zupo__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-aarch64
<thefloweringash> oh, this is one of those things that bugs me
<thefloweringash> my cp2102 does up to ~4mbit, iirc, but the linux kernel cripples it by maxing it out at 1mbit
<thefloweringash> so I'm carrying around this patch: https://gist.github.com/thefloweringash/f0d1d3a703f016e790f8d88d180a4a33
<thefloweringash> I think it's a regression as of ~5.0
<thefloweringash> the best part is that it silently caps it, so it worked on one computer using a 4.x kernel, but didn't work on another computer using a 5.x kernel :-(
alp has quit [Ping timeout: 272 seconds]
alp has joined #nixos-aarch64
<angerman> thefloweringash: ha, my host is macOS :-)
<angerman> So I’m usually only targeting Linux.
<thefloweringash> oh, should just work then :-)
<angerman> Yea. I need a new ftdi cable though. One ftdi and on cp2101 down.
<angerman> I’ll just keep buying in duplicates now.
<thefloweringash> will we need to make a nix-darwin-aarch64 channel soon? :-)
<angerman> Darwin should “just work”. It doesn’t always now, but conceptually there should
<angerman> be no difference. Hence I’d be against another channel.
<thefloweringash> heh, wasn't an entirely serious suggestion :-)
orivej has quit [Ping timeout: 246 seconds]
<angerman> There are clearly some limitations, but we should aim to make them go away (where possible).
orivej has joined #nixos-aarch64
<angerman> On-the-fly translation of Linux and Mac binaries :-)
<angerman> There are actually projects that do that. Darling and I can’t remember the Linux on Mac one. But the lunch on Mac one has some fundamental bug somewhere.
orivej has quit [Ping timeout: 264 seconds]
orivej_ has joined #nixos-aarch64
adisbladis has joined #nixos-aarch64
pr06lefs has joined #nixos-aarch64
zupo has joined #nixos-aarch64
<angerman> Did anyone try to cross compile the linux kernel? (E.g. create an sdImage on macOS?)
PirBoazo has quit [Quit: Bonne Fin de Journée]
pr06lefs has quit [Remote host closed the connection]
<srk> yup, last time I've had to use staging due to few packages but it works in general
<angerman> I'll have to try that again then... last time it kept failing...
<DigitalKiwi> samueldr: do you have your helios yet?
<DigitalKiwi> does anyone have one even
<clever> libgpg-error doesnt build on aarch64 with a recent master
<clever> ./gpg-error.h:1119:33: error: unknown type name 'gpgrt_lock_t'; did you mean 'gpgrt_off_t'?
<clever> arm6 fails the same way
evils has joined #nixos-aarch64
rajivr has quit [Quit: Connection closed for inactivity]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej_ has quit [Ping timeout: 258 seconds]
orivej has joined #nixos-aarch64
FRidh has quit [Ping timeout: 256 seconds]
FRidh has joined #nixos-aarch64
zupo has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 264 seconds]
orivej_ has joined #nixos-aarch64
FRidh has quit [Quit: Konversation terminated!]
orivej_ has quit [Ping timeout: 260 seconds]
cole-h has joined #nixos-aarch64
orivej has joined #nixos-aarch64
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos-aarch64
PirBoazo has joined #nixos-aarch64
<PirBoazo> @DigitalKiwi i apply 80% of your recommendations
<PirBoazo>
<PirBoazo> services.xserver. videoDrivers = [ "fbdev" ];
<PirBoazo> "console=ttyS1,115200n8"
<PirBoazo> boot.kernelPackages = pkgs.linuxPackages_4_19;
<PirBoazo> boot.kernelParams = lib.mkForce [
<PirBoazo> "console=tty1"
<PirBoazo> "cma=256M"
<PirBoazo> "loglevel=7"
<PirBoazo> ];
<PirBoazo> it's work fine ;-)
<PirBoazo> thank you very much
<DigitalKiwi> yay
<PirBoazo> i use midori browser , it's not very fast ;-)
<PirBoazo> I look at the others modifs later
PirBoazo has left #nixos-aarch64 [#nixos-aarch64]
PirBoazo has joined #nixos-aarch64
zupo has joined #nixos-aarch64
PirBoazo has quit [Quit: Bonne Fin de Journée]
PirBoazo has joined #nixos-aarch64
alp has quit [Ping timeout: 246 seconds]
<thefloweringash> clever: I'm guessing you mean doesn't cross compile. I check, it seems to compile fine natively on aarch64 and armv7l
orivej has quit [Quit: No Ping reply in 180 seconds.]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has joined #nixos-aarch64
zupo has joined #nixos-aarch64
Thra11 has joined #nixos-aarch64
orivej_ has joined #nixos-aarch64
orivej has quit [Ping timeout: 246 seconds]
<samueldr> DigitalKiwi: I figure no one does, since its shipping is delayed to like august
orivej has joined #nixos-aarch64
orivej_ has quit [Ping timeout: 264 seconds]
<DigitalKiwi> oh
cript0nauta has quit [Ping timeout: 246 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos-aarch64
cript0nauta has joined #nixos-aarch64
alp has joined #nixos-aarch64
aminechikhaoui0 has joined #nixos-aarch64
adisbladi has joined #nixos-aarch64
ornxka_ has joined #nixos-aarch64
exarkun_ has joined #nixos-aarch64
cptchaos83_ has joined #nixos-aarch64
irminsul_ has joined #nixos-aarch64
adisbladis has quit [*.net *.split]
claudiii_ has quit [*.net *.split]
edcragg has quit [*.net *.split]
aminechikhaoui0 is now known as aminechikhaoui
edcragg has joined #nixos-aarch64
irminsul has quit [Read error: Connection reset by peer]
claudiii_ has joined #nixos-aarch64
jackdk has joined #nixos-aarch64
davidtwco has quit [Ping timeout: 240 seconds]
quinn has quit [Ping timeout: 246 seconds]
quinn has joined #nixos-aarch64
kloenk has joined #nixos-aarch64
alp has quit [Ping timeout: 272 seconds]
davidtwco has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alp has joined #nixos-aarch64
rajivr has joined #nixos-aarch64
mla has quit [Remote host closed the connection]
mla has joined #nixos-aarch64
orivej has quit [Ping timeout: 258 seconds]
cript0nauta has quit [Ping timeout: 258 seconds]
cript0nauta has joined #nixos-aarch64