| kfx | josch: minute: what do you think about this u-boot change to enable loading extlinux.conf from nvme or usb https://source.mnt.re/khm/reform-rk3588-uboot/-/commit/79873606f1efd57875fe042ede4786f1cce19548 | 00:16 |
|---|---|---|
| josch | kfx: last time i tried this it didn't work. Probably the nvme didn't init successfully. Was this fixed? Have you tested it successfully with /boot on nvme? | 00:17 |
| kfx | I have indeed | 00:37 |
| josch | wow that's cool! | 00:37 |
| kfx | it never worked on imx8mq but it seems to work fine on rk3588 | 00:37 |
| kfx | except for one thing | 00:37 |
| kfx | I haven't tested a stock debian install to nvme. I'll do that now, and report back | 00:37 |
| kfx | the reason I'm interested in this is because if you have non-debian /vmlinuz-* files, debian gets confused updating extlinux.conf | 00:39 |
| kfx | this way I can have one drive per os and they don't step on each other | 00:39 |
| - schalken (QUIT: Ping timeout: 240 seconds) (~schalken@117-118-178-69.gci.net) | 00:48 | |
| - bkeys (QUIT: Read error: Connection reset by peer) (~Thunderbi@98.19.128.69) | 00:55 | |
| + schalken (~schalken@117-118-178-69.gci.net) | 00:55 | |
| + bkeys1 (~Thunderbi@98.19.128.69) | 00:55 | |
| * bkeys1 -> bkeys | 00:58 | |
| - pomel0 (QUIT: Ping timeout: 250 seconds) (~pomel0@user/pomel0) | 00:58 | |
| josch | minute: i'm done with testing all u-boot blobs and only this is left to get merged: https://source.mnt.re/reform/reform-rk3588-uboot/-/merge_requests/16 | 00:58 |
| josch | here are my logs to verify that i didn't mess up: https://source.mnt.re/bugs/bugs/-/work_items/50 | 00:58 |
| - Ar|stote|is (QUIT: Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) (~linx@149.210.3.83) | 01:00 | |
| + Ar|stote|is (~linx@149.210.3.83) | 01:00 | |
| kfx | update: yep, works fine loading nvme extlinux | 01:12 |
| - chomwitt (QUIT: Ping timeout: 256 seconds) (~chomwitt@2a02:85f:9a67:8b00:1ac0:4dff:fedb:a3f1) | 01:23 | |
| - Ar|stote|is (QUIT: Read error: Connection reset by peer) (~linx@149.210.3.83) | 01:37 | |
| + Ar|stote|is (~linx@149.210.3.83) | 01:43 | |
| + XYZ_ (~XYZ@78-80-17-41.customers.tmcz.cz) | 01:57 | |
| - XYZ (QUIT: Ping timeout: 240 seconds) (~XYZ@78-80-17-41.customers.tmcz.cz) | 02:00 | |
| kfx | I'm getting a lot of panthor page faults like this: http://okturing.com/src/16794/body on the latest debian image running on emmc... is that expected? | 02:11 |
| kfx | eh, never mind. I've got bigger problems http://okturing.com/src/16795/body | 02:55 |
| - Ar|stote|is (QUIT: Ping timeout: 260 seconds) (~linx@149.210.3.83) | 02:58 | |
| + pomel0 (~pomel0@user/pomel0) | 03:01 | |
| + Ar|stote|is (~linx@149.210.3.83) | 03:02 | |
| - paperManu (QUIT: Ping timeout: 244 seconds) (~paperManu@146.71.9.156) | 03:05 | |
| + paperManu (~paperManu@146.71.9.156) | 03:10 | |
| - spew (QUIT: Quit: nyaa~) (~spew@user/spew) | 03:23 | |
| kfx | guess it's time to replace my rk3588... http://okturing.com/src/16797/body | 03:31 |
| + robin_ (~robin@user/terpri) | 03:40 | |
| - robin__ (QUIT: Ping timeout: 246 seconds) (~robin@user/terpri) | 03:43 | |
| + Paul_0904 (~Guest12@208.115.228.234) | 03:56 | |
| - pomel0 (QUIT: Ping timeout: 260 seconds) (~pomel0@user/pomel0) | 04:20 | |
| - mjw (QUIT: Ping timeout: 265 seconds) (~mjw@gnu.wildebeest.org) | 04:26 | |
| - Paul_0904 (QUIT: K-Lined) (~Guest12@208.115.228.234) | 04:43 | |
| - paperManu (QUIT: Ping timeout: 240 seconds) (~paperManu@146.71.9.156) | 04:58 | |
| - Ar|stote|is (QUIT: Quit: No Ping reply in 180 seconds.) (~linx@149.210.3.83) | 05:09 | |
| + Ar|stote|is (~linx@149.210.3.83) | 05:15 | |
| - Ar|stote|is (QUIT: Quit: No Ping reply in 180 seconds.) (~linx@149.210.3.83) | 05:29 | |
| + Ar|stote|is (~linx@149.210.3.83) | 05:30 | |
| kfx | sigrid: spew: here's an image that you can dd to an sd card, latest alpine with sigrid's kernel: http://sciops.net/downloads/alpine-rk3588-251221.img.gz | 06:20 |
| + pomel0 (~pomel0@user/pomel0) | 07:06 | |
| - Ar|stote|is (QUIT: Read error: Connection reset by peer) (~linx@149.210.3.83) | 07:09 | |
| + Ar|stote|is (~linx@149.210.3.83) | 07:15 | |
| - pomel0 (QUIT: Remote host closed the connection) (~pomel0@user/pomel0) | 07:20 | |
| + pomel0 (~pomel0@user/pomel0) | 07:21 | |
| + chomwitt (~chomwitt@2a02:85f:9a67:8b00:1ac0:4dff:fedb:a3f1) | 07:23 | |
| - Ar|stote|is (QUIT: Read error: Connection reset by peer) (~linx@149.210.3.83) | 07:28 | |
| + Ar|stote|is (~linx@149.210.3.83) | 07:28 | |
| - Ar|stote|is (QUIT: Ping timeout: 260 seconds) (~linx@149.210.3.83) | 07:34 | |
| + Ar|stote|is (~linx@149.210.3.83) | 07:39 | |
| - rwa_ (QUIT: Ping timeout: 256 seconds) (0a82deb4eb@2a03:6000:1812:100::41b) | 07:52 | |
| + rwa_ (0a82deb4eb@2a03:6000:1812:100::41b) | 07:54 | |
| + robin__ (~robin@user/terpri) | 09:21 | |
| - robin_ (QUIT: Ping timeout: 264 seconds) (~robin@user/terpri) | 09:24 | |
| - lidstah (QUIT: Remote host closed the connection) (~lidstah@gateway/tor-sasl/lidstah) | 09:39 | |
| + lidstah (~lidstah@gateway/tor-sasl/lidstah) | 09:40 | |
| - nybble (QUIT: Ping timeout: 265 seconds) (~sprang@user/csprng) | 10:18 | |
| - amospalla (QUIT: Quit: WeeChat 4.8.1) (~jordi@user/amospalla) | 10:36 | |
| - lidstah (QUIT: Ping timeout: 252 seconds) (~lidstah@gateway/tor-sasl/lidstah) | 10:43 | |
| + lidstah (~lidstah@gateway/tor-sasl/lidstah) | 10:45 | |
| - lexik_ (PART: Bella ciao.) (~lexik@93.185.97.218) | 12:20 | |
| + gustav25 (~gustav@c-78-82-53-1.bbcust.telenor.se) | 13:02 | |
| + amospalla (~jordi@user/amospalla) | 13:04 | |
| + paperManu (~paperManu@146.71.9.156) | 13:44 | |
| - ndufresne (QUIT: Quit: The Lounge - https://thelounge.chat) (~ndufresne@apple.collaboradmins.com) | 14:02 | |
| amk | I gave the alpine image a try on the pocket, doesnt seem to work on it unfortunately -- screen stays black and nothing on hdmi | 14:32 |
| - XYZ_ (QUIT: Read error: Connection reset by peer) (~XYZ@78-80-17-41.customers.tmcz.cz) | 14:34 | |
| + ndufresne (~ndufresne@apple.collaboradmins.com) | 14:37 | |
| - bkeys (QUIT: Ping timeout: 264 seconds) (~Thunderbi@98.19.128.69) | 14:38 | |
| - elb (QUIT: Remote host closed the connection) (~elb@2600:4041:6682:ea00:e2a2:172a:8d1d:3398) | 14:39 | |
| + elb (~elb@2600:4041:6682:ea00:843e:6b3:8a15:2b9b) | 14:39 | |
| + mjw (~mjw@gnu.wildebeest.org) | 14:54 | |
| - chomwitt (QUIT: Ping timeout: 256 seconds) (~chomwitt@2a02:85f:9a67:8b00:1ac0:4dff:fedb:a3f1) | 14:55 | |
| + XYZ (~XYZ@89-24-43-130.nat.epc.tmcz.cz) | 15:03 | |
| josch | amk: do you have a uart serial adapter to diagnose what is going on? | 15:10 |
| amk | unfortunately not :( | 15:15 |
| + trypokarydos (~linx@149.210.3.83) | 15:15 | |
| josch | kfx: i don't think i'll get to test your commit (but i'll try) -- could you create a MR for this and if minute likes it, maybe it can be merged together with https://source.mnt.re/reform/reform-rk3588-uboot/-/merge_requests/16 to make it into the next round of u-boot tags? | 15:17 |
| josch | unfortunately, my "spare" SSD currently has a setup i use to play super mario kart double dash in dolphin emulator on the rk3588 and i have to back this up first :D | 15:18 |
| - Ar|stote|is (QUIT: Ping timeout: 260 seconds) (~linx@149.210.3.83) | 15:18 | |
| - trypokarydos (QUIT: Quit: No Ping reply in 180 seconds.) (~linx@149.210.3.83) | 15:22 | |
| + Ar|stote|is (~linx@149.210.3.83) | 15:27 | |
| + spew (~spew@user/spew) | 15:42 | |
| + paperManu_ (~paperManu@146.71.9.156) | 15:43 | |
| cararemixed | 👀 dolphin on the rk3588 sounds fun | 15:57 |
| josch | cararemixed: at 60 fps :) | 16:04 |
| josch | (and with enhanced texture pack) | 16:04 |
| cararemixed | Very nice | 16:05 |
| - XYZ (QUIT: Remote host closed the connection) (~XYZ@89-24-43-130.nat.epc.tmcz.cz) | 16:07 | |
| + XYZ (~XYZ@89-24-43-130.nat.epc.tmcz.cz) | 16:08 | |
| - XYZ (QUIT: Ping timeout: 260 seconds) (~XYZ@89-24-43-130.nat.epc.tmcz.cz) | 16:52 | |
| + XYZ (~XYZ@78-80-105-87.customers.tmcz.cz) | 16:53 | |
| + chomwitt (~chomwitt@2a02:85f:9a67:8b00:1ac0:4dff:fedb:a3f1) | 17:00 | |
| - neonaut (QUIT: Ping timeout: 240 seconds) (~neonaut@user/neonaut) | 17:06 | |
| + bkeys (~Thunderbi@h69.128.19.98.dynamic.ip.windstream.net) | 17:07 | |
| - amospalla (QUIT: Remote host closed the connection) (~jordi@user/amospalla) | 17:08 | |
| + amospalla (~jordi@user/amospalla) | 17:11 | |
| - bkeys (QUIT: Ping timeout: 240 seconds) (~Thunderbi@h69.128.19.98.dynamic.ip.windstream.net) | 17:13 | |
| - mjw (QUIT: Ping timeout: 240 seconds) (~mjw@gnu.wildebeest.org) | 17:14 | |
| - chomwitt (QUIT: Ping timeout: 246 seconds) (~chomwitt@2a02:85f:9a67:8b00:1ac0:4dff:fedb:a3f1) | 17:21 | |
| - pomel0 (QUIT: Remote host closed the connection) (~pomel0@user/pomel0) | 17:22 | |
| + pomel0 (~pomel0@user/pomel0) | 17:22 | |
| - XYZ (QUIT: Ping timeout: 244 seconds) (~XYZ@78-80-105-87.customers.tmcz.cz) | 17:26 | |
| + voltaire28_ (~jlafon@28.162.2.93.rev.sfr.net) | 17:31 | |
| + neonaut (~neonaut@user/neonaut) | 17:40 | |
| kfx | amk: that sd card image has a u-boot specific to the reform2; you can use reform-flash-uboot to put the correct one on | 18:00 |
| amk | oh i see, cool, ill give it a go | 18:00 |
| josch | amk, kfx: which platform are we talking about? | 18:00 |
| amk | i have an rk3588 | 18:01 |
| josch | amk: rk3588 pocket reform? | 18:02 |
| amk | oh sorry, yes exactly | 18:03 |
| josch | note, that rk3588 will only read u-boot from the sd-card if it cannot do it from emmc. So if there is u-boot on emmc, rk3588 will use that. | 18:03 |
| - kensanata (QUIT: Quit: OK) (~alex@user/kensanata) | 18:05 | |
| + kensanata (~alex@user/kensanata) | 18:05 | |
| - kensanata (QUIT: Client Quit) (~alex@user/kensanata) | 18:09 | |
| + kensanata (~alex@user/kensanata) | 18:09 | |
| + mjw (~mjw@gnu.wildebeest.org) | 18:09 | |
| - kensanata (QUIT: Client Quit) (~alex@user/kensanata) | 18:10 | |
| amk | oh i see, so maybe a different issue then i guess | 18:10 |
| + kensanata (~alex@user/kensanata) | 18:10 | |
| kfx | josch: https://source.mnt.re/reform/reform-rk3588-uboot/-/merge_requests/17 | 18:17 |
| josch | kfx: in the past, minute was sensitive about regressions to the boot time. I have no good solution to avoiding the delay added by having to initialize usb. I would also like it if rk3588 would try usb before nvme mmc0 because that would allow installing debian from a thumb drive as usual. | 18:38 |
| josch | kfx: if minute has problems with the usb init delay, maybe split this patch in two parts: one which puts nvme in front of mmc0 which is the main thing you want, no? And then we can discuss the best place for usb0 at a later time. | 18:39 |
| josch | kfx: that being said, could you correct your MR description: "and get a working system without having to flash u-boot to nvme" -- maybe you meant to write "and get a working system without having to place /boot on emmc"? | 18:40 |
| josch | minute: could you enable gitlab CI for https://source.mnt.re/khm/reform-rk3588-uboot/ please? | 18:50 |
| + nybble (~sprang@user/csprng) | 18:55 | |
| kfx | josch: both are true, actually -- you can avoid writing u-boot to nvme AND avoid keeping /boot on emmc! | 19:02 |
| kfx | but yeah I'm fine with demoting usb | 19:02 |
| - pomel0 (QUIT: Read error: Connection reset by peer) (~pomel0@user/pomel0) | 19:27 | |
| + pomel0 (~pomel0@user/pomel0) | 19:27 | |
| - voltaire28_ (QUIT: Ping timeout: 244 seconds) (~jlafon@28.162.2.93.rev.sfr.net) | 19:37 | |
| - kensanata (QUIT: Quit: OK) (~alex@user/kensanata) | 19:38 | |
| + kensanata (~alex@user/kensanata) | 19:38 | |
| + bkeys (~Thunderbi@98.19.128.69) | 19:54 | |
| - spew (QUIT: Quit: nyaa~) (~spew@user/spew) | 20:03 | |
| + spew (~spew@user/spew) | 20:06 | |
| + chomwitt (~chomwitt@2a02:85f:9a67:8b00:1ac0:4dff:fedb:a3f1) | 20:11 | |
| josch | kfx: but it's not "avoiding to write u-boot on emmc" if there is no reason to ever be doing that | 20:14 |
| josch | kfx: before demoting usb, ask minute about their opinion | 20:14 |
| josch | errr i mean "avoiding to write u-boot to nvme" | 20:15 |
| josch | there is no scenario where you would be doing that so you are not avoiding to do it | 20:15 |
| josch | with your setup, u-boot probably is on emmc | 20:16 |
| kfx | josch: I updated the description in the MR, let me know what you think | 20:18 |
| minute | yeah boot time is already quite bad atm because of gdm's slow startup ;__; | 20:21 |
| kfx | minute: I wouldn't mind skipping usb. it's really the ability to load bootflows from nvme that I'm after | 20:22 |
| minute | i think usb boot should be optional or behind emmc in the boot order until we figure out a way to make it fast | 20:22 |
| minute | kfx: yes, that's good | 20:22 |
| kfx | understood | 20:22 |
| minute | i mean, nvme /boot i approve | 20:22 |
| minute | but at some point we'll have USB at least for keyboard because of graphical barebox/uboot | 20:23 |
| minute | maybe initializing one usb that leads to keyboard support is faster, and then a hotkey or menu choice can then lead to a slower usb scan for storage, which would be ok | 20:23 |
| minute | or if usb bootorder promotion could be done with a variable set in linux when you want that | 20:24 |
| kfx | change pushed to MR | 20:24 |
| kfx | yeah, barebox is a different beast | 20:26 |
| kfx | I would assume that doing device init is faster than scanning for filesystems, but I have no data to back that hunch up | 20:27 |
| kfx | anyway I change the MR so it basically just does sd -> nvme -> emmc | 20:28 |
| kfx | it's nice because even without graphics in u-boot I can boot alpine from the nvme, `mv /boot/extlinux /boot/extlinux-disabled` and reboot into debian from emmc | 20:29 |
| kfx | then put it back when I want alpine again, so I can run alpine for stuff and then keep up with the debian development too | 20:30 |
| minute | kfx: yeah that sounds good to me, has my blessing | 20:34 |
| kfx | minute: thanks! | 20:34 |
| + voltaire28_ (~jlafon@28.162.2.93.rev.sfr.net) | 20:46 | |
| - spew (QUIT: Quit: nyaa~) (~spew@user/spew) | 21:16 | |
| josch | kfx: can you squash both of your commits into one? I don't think there is value in having both versions be part of the git history of the main branch. | 21:35 |
| josch | kfx: while you are at it: I think you gave a great description and justification for this change in the text of your MR. Could you copypaste that text into the commit message for future readers? Thank you! | 21:36 |
| josch | (minus the last paragraph because there is no delay due to usb init anymore) | 21:36 |
| kfx | josch: oh, I'm accustomed to commit squash happening at merge time? I don't know advanced git tricks to redact existing commits... | 21:42 |
| josch | kfx: if you give me permission to push into your branch i can do the "git magic" for you. Would you like me to? | 21:44 |
| kfx | feel free! I think you can push there now | 21:47 |
| josch | kfx: "You are not allowed to push code to this project." | 21:51 |
| kfx | ugh | 21:52 |
| kfx | ok, I explicitly added you with max permissions | 21:53 |
| josch | kfx: worked! you can remove me now :) | 21:54 |
| kfx | gitlab is so complicated (and this is coming from someone who has landed code in gitlab-ce) | 21:54 |
| kfx | josch: thanks! | 21:55 |
| josch | minute: we have two rk3588 u-boot MRs that can be merged. Once you did that, feel free to git tag all the u-boots and then i can do a new reform-tools release. | 21:58 |
| - marty (QUIT: Quit: Lost terminal) (~marty@172.59.99.202) | 21:58 | |
| - pomel0 (QUIT: Ping timeout: 265 seconds) (~pomel0@user/pomel0) | 22:09 | |
| + pomel0 (~pomel0@user/pomel0) | 22:10 | |
| - gustav25 (QUIT: Quit: Quit) (~gustav@c-78-82-53-1.bbcust.telenor.se) | 22:30 | |
| - voltaire28_ (QUIT: Remote host closed the connection) (~jlafon@28.162.2.93.rev.sfr.net) | 23:02 | |
| - RandyK (QUIT: Remote host closed the connection) (~RandyK@user/randyk) | 23:06 | |
| + RandyK (~RandyK@user/randyk) | 23:06 | |
| - chomwitt (QUIT: Quit: WeeChat 3.8) (~chomwitt@2a02:85f:9a67:8b00:1ac0:4dff:fedb:a3f1) | 23:33 | |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!