| - pomel0 (QUIT: Ping timeout: 256 seconds) (~pomel0@user/pomel0) | 00:06 | |
| + pomel0 (~pomel0@user/pomel0) | 00:06 | |
| minute | gordon2: maybe first try if it works on your machine too! | 00:11 |
|---|---|---|
| + aelius (~aelius@user/aelius) | 00:12 | |
| - wickedshell (QUIT: Ping timeout: 264 seconds) (~wickedshe@c-174-56-77-83.hsd1.nm.comcast.net) | 00:16 | |
| minute | images built: | 00:19 |
| minute | barebox-mnt-reform2-rk3588.img | 00:19 |
| minute | > Board: MNT Reform 2 with RCORE-DSI RK3588 Module | 00:20 |
| minute | lol > usb1-0: Bus 001 Device 002: ID 1235:8016 Scarlett 2i2 USB | 00:21 |
| ch | :> | 00:21 |
| minute | it found something on one of the usb controllers... | 00:21 |
| ch | is it correct? (: | 00:22 |
| minute | yeah. it's just not the port of the usb hub :D | 00:22 |
| minute | (but maybe it's just missing usb hub reset) | 00:22 |
| - jackhill (QUIT: Remote host closed the connection) (~jackhill@kalessin.dragonsnail.net) | 00:22 | |
| minute | now it found > +-4 ID 0451:8140 | 00:27 |
| minute | that's the USB hub | 00:27 |
| minute | but it can't see the keyboard/trackball... maybe no OHCI support? | 00:28 |
| ch | btw, is this a new warning from the kernel during boot? | 00:30 |
| ch | Okt 25 23:30:13 zeppelin kernel: Warning! ehci_hcd should always be loaded before uhci_hcd and ohci_hcd, not after | 00:31 |
| gordon2 | is it kexec bootloader or just a bootloader that mimics linux kernel? | 00:31 |
| gordon2 | looks like the latter, good, because last time i checked kexec was broken on rk3588 | 00:31 |
| minute | ah, the version of rk3588-base.dtsi is missing hdmi1 | 00:36 |
| minute | ch: huh | 00:36 |
| minute | gordon2: it's an evolution of uboot that's more closely modeled on linux if i understand correctly | 00:36 |
| gordon2 | cool | 00:37 |
| minute | (i was mistaken, hdmi1 is in rk3588-extra.dtsi) | 00:38 |
| - natalie (QUIT: Read error: Connection reset by peer) (~natalie@user/natalie) | 00:50 | |
| - chomwitt (QUIT: Ping timeout: 244 seconds) (~chomwitt@2a02:85f:9a5f:900:1ac0:4dff:fedb:a3f1) | 00:50 | |
| minute | interesting stuff about CPLL clock https://git.pengutronix.de/cgit/barebox/log/?h=next&showmsg=1&qt=grep&q=rk3588 | 00:50 |
| + natalie (~natalie@user/natalie) | 00:50 | |
| - Ar|stote|is (QUIT: Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) (~linx@149.210.6.130) | 01:00 | |
| + Ar|stote|is (~linx@149.210.6.130) | 01:00 | |
| ch | https://lore.barebox.org/barebox/aN01SY3mFJVfdf2X@pengutronix.de/#t | 01:01 |
| ch | wondering how linux does this bit | 01:07 |
| - pomel0 (QUIT: Ping timeout: 256 seconds) (~pomel0@user/pomel0) | 01:16 | |
| + pomel0 (~pomel0@user/pomel0) | 01:16 | |
| minute | ch: ugh interesting | 01:23 |
| minute | i've progressed a bit | 01:25 |
| minute | dwhdmiqp-rockchip fdea0000.hdmi@fdea0000.of: registered I2C bus driver | 01:25 |
| minute | ERROR: rockchip-vop2 fdd90000.vop@fdd90000.of: failed to get modes: Invalid argument | 01:25 |
| minute | : | 01:25 |
| minute | :D | 01:25 |
| minute | fbconsole: registered as fbconsole0-1 | 01:25 |
| minute | rockchip-vop2 fdd90000.vop@fdd90000.of: Registered fb0 on VP3, window Esmart1-win0, type primary | 01:25 |
| minute | haha | 02:06 |
| minute | > rockchip-vop2 fdd90000.vop@fdd90000.of: dclk: 150015000000, pixclk_div: 1, dclk_div: 2 | 02:07 |
| minute | that dclk is a bit too big | 02:07 |
| + wickedshell (~wickedshe@c-98-60-138-166.hsd1.nm.comcast.net) | 02:22 | |
| - RandyK (QUIT: Ping timeout: 272 seconds) (~RandyK@user/randyk) | 02:24 | |
| minute | meeeh > PANIC: unable to handle paging request at address 0x00000000fdea08e0 | 02:27 |
| + RandyK (~RandyK@user/randyk) | 02:31 | |
| minute | hm, no more crash | 02:45 |
| - paperManu_ (QUIT: Ping timeout: 256 seconds) (~paperManu@198.58.209.52) | 02:57 | |
| minute | ok, enough for today. couldn't get a hdmi picture even if the code traces mostly correctly | 02:34 |
| minute | anyway, barebox is pretty hackable | 02:34 |
| - jogu (QUIT: Remote host closed the connection) (~jogu@user/jogu) | 02:39 | |
| - pomel0 (QUIT: Ping timeout: 244 seconds) (~pomel0@user/pomel0) | 02:58 | |
| - op_4 (QUIT: Remote host closed the connection) (~tslil@2a01:4f8:c0c:7952::1) | 04:05 | |
| + op_4 (~tslil@user/op-4/x-9116473) | 04:05 | |
| + jackhill (~jackhill@kalessin.dragonsnail.net) | 04:09 | |
| - reform12606 (QUIT: Ping timeout: 244 seconds) (~heiko@2a11:fb80:3cc:f401:e981:d025:1a25:befe) | 04:54 | |
| - colinsane (QUIT: Ping timeout: 244 seconds) (~colinunin@97-113-71-58.tukw.qwest.net) | 05:35 | |
| - wickedshell (QUIT: Ping timeout: 240 seconds) (~wickedshe@c-98-60-138-166.hsd1.nm.comcast.net) | 06:28 | |
| + reform12606 (~heiko@2a11:fb80:3fb:9001:e981:d025:1a25:befe) | 07:04 | |
| + wickedshell (~wickedshe@c-98-60-138-166.hsd1.nm.comcast.net) | 07:21 | |
| reform12606 | 07:39 | |
| - shtrophic (QUIT: Ping timeout: 244 seconds) (~m-hrdsqi@user/shtrophic) | 07:44 | |
| + chomwitt (~chomwitt@2a02:85f:9a5f:900:1ac0:4dff:fedb:a3f1) | 08:05 | |
| + shtrophic (~m-hrdsqi@user/shtrophic) | 08:54 | |
| + gustav25 (~gustav@c-78-82-53-228.bbcust.telenor.se) | 09:02 | |
| + jogu (~jogu@user/jogu) | 10:32 | |
| - timide (QUIT: Remote host closed the connection) (~timide@user/timide) | 10:33 | |
| + mjw (~mjw@89.205.206.232) | 10:44 | |
| - mjw (QUIT: Ping timeout: 244 seconds) (~mjw@89.205.206.232) | 10:57 | |
| + digitalrane (~digitalra@user/digitalrane) | 11:12 | |
| + andreas-e (~Andreas@2a02-8434-b6a3-e901-facc-8e87-8e54-890e.rev.sfr.net) | 11:30 | |
| + mjw (~mjw@89.205.206.232) | 11:46 | |
| - iank (QUIT: Ping timeout: 256 seconds) (~iank@fsf/staff/iank) | 11:53 | |
| - mjw (QUIT: Ping timeout: 252 seconds) (~mjw@89.205.206.232) | 12:01 | |
| + mjw (~mjw@89.205.206.232) | 12:29 | |
| + iank (~iank@fsf/staff/iank) | 12:38 | |
| ch | nice | 12:39 |
| - iank (QUIT: Quit: ZNC 1.8.2+deb2+deb11u1 - https://znc.in) (~iank@fsf/staff/iank) | 12:43 | |
| - mjw (QUIT: Ping timeout: 256 seconds) (~mjw@89.205.206.232) | 12:46 | |
| + iank (~iank@fsf/staff/iank) | 12:47 | |
| + paperManu (~paperManu@198.58.209.52) | 13:01 | |
| dok | i am really interested in getting barebox running on the mnt reform | 13:18 |
| dok | but i am waiting on the next ;) | 13:18 |
| dok | if you have questions on barebox i might be able to answer them, but i am not as knowledgeable as a3f | 13:19 |
| + mjw (~mjw@gnu.wildebeest.org) | 13:27 | |
| minute | dok: oh nice, good to know! here is my WIP hack branch https://source.mnt.re/reform/mnt-reform-barebox | 13:34 |
| minute | dok: i got VOP2 + hdptx to seemingly configure, without crashing, but i had to hardcode mode info and pixel clock in several places, so something is yet off, and i didn't get a signal on monitor | 13:35 |
| minute | dok: but it was awesome how much progress i was able to do in one evening on an unfamiliar codebase (barebox), which speaks to its code quality | 13:36 |
| dok | cool | 13:36 |
| dok | but i don't know much about displays in barebox, nor about rockchip ^^' | 13:36 |
| minute | dok: haha no problem... do you know if barebox supports extlinux btw? | 13:36 |
| dok | i dont know, i never heard of extlinux | 13:37 |
| minute | and i wonder how hard it is to port things from uboot and/or linux (missing device drivers) | 13:37 |
| minute | dok: haha | 13:37 |
| minute | dok: ok then maybe you tell me what you like the most about barebox / what is your focus there :D | 13:37 |
| dok | you can also ask in #barebox, a3f is very active | 13:37 |
| minute | ohhh nice | 13:37 |
| dok | i worked with barebox at my previous job, porting drivers and such | 13:38 |
| dok | and i've ported barbox to Allwinner A64 | 13:39 |
| dok | although very minimal support | 13:39 |
| + bkeys (~Thunderbi@h193.131.19.98.dynamic.ip.windstream.net) | 13:41 | |
| + erle (~erle@user/erle) | 14:31 | |
| + timide (~timide@user/timide) | 14:44 | |
| - xktr (QUIT: Ping timeout: 246 seconds) (~xktr@user/xktr) | 15:03 | |
| + xktr (~xktr@user/xktr) | 15:05 | |
| josch | grimmware: for CONFIG_DEBUG_INFO_BTF=y, try removing pkg.linux.nokerneldbg pkg.linux.nokerneldbginfo from linux/build.sh | 15:09 |
| elb | man the documentation for tinyusb is _terrible_ | 15:29 |
| elb | "uh yeah this library exists, here's some examples, laters" | 15:31 |
| josch | i'm maintaining tinyusb in debian -- if you happen to find some better documentation i'd be interested in including it in the package | 15:33 |
| elb | will do | 15:39 |
| elb | also, don't get me wrong, I'm thankful that it's written adn working, and I always appreciate open source and its contributors (been in this game a long time) | 15:39 |
| elb | but I'm having to dig through an _awful_ lot of heavily #ifdef'd source to find answers to questions that I think should be simple | 15:40 |
| elb | stuff like tud_rhport_init (which is relatively straightforward once you puzzle through it) does not make me happy | 15:42 |
| elb | but specifically I think there's a not-exactly-problem in pocket-hid dealing with the chaining of reports; we trigger a keyboard report on every hid_task interval, and each keyboard report completion triggers a report of the next type | 15:46 |
| elb | but we don't find out about the report's completion until the next hid_task interval, because that's the only time we call tud_task() | 15:46 |
| elb | this is currently kind of fine, because we have only two reports, keyboard and trackball, but I have some concern that attempting to modulate wakeups when the host is not listening, or when there is no data to send, is going to get complicated due to this architecture | 15:48 |
| ch | yeah its all looking at the source with tinyusb | 15:58 |
| ch | and reading the usb spec next to it | 15:58 |
| josch | ch: I'm adding a --zero option to reform-flash-uboot to make it more straight forward what you wanted to do yesterday withdd | 16:05 |
| - shtrophic (QUIT: Ping timeout: 240 seconds) (~m-hrdsqi@user/shtrophic) | 16:08 | |
| elb | ch: that's the part that's burning me, I'm really not very familiar with USB at the protocol level | 16:09 |
| ch | its super painful, yes | 16:11 |
| erle | josch minute note that since luanti 5.11 drastically worsed support for a bunch of hardware (in particular it won't work very well with etnaviv), it might be a good idea to version-pin it to 5.10 if you still wish to include it in the image. the difference is about a 1000 lines of code (they deleted one renderer). | 16:25 |
| erle | i am writing this because i saw https://salsa.debian.org/twrightsman/luanti/-/pipelines/963379 | 16:25 |
| + shtrophic (~m-hrdsqi@user/shtrophic) | 16:45 | |
| elb | I thought I saw, somewhere in the documentation, instructiosn for using the PROG and BOOT buttons on the keyboard PCB to put it into the bootloader for flashing if it's been bricked, does anyone know where that was? | 16:51 |
| elb | maybe it was on the forum, I didn't look there | 16:51 |
| elb | (I'm going to link to tools for deeper troubleshooting from my HACKING document) | 16:58 |
| josch | erle: i'm now in front of a keyboard 2.0 (the one with two alt keys) and flashed the neo2 firmware and am trying to reproduce your bug | 17:00 |
| erle | josch thanks! you have to press the key labeled hyper for fn and hyper + circle for fn lock. | 17:03 |
| erle | josch so hyper + m3 should be enter/return | 17:03 |
| erle | *right* m3, that is | 17:03 |
| erle | should be easy to reproduce, since there are only 3 keys affected (unless you found some more) | 17:05 |
| josch | ah sorry, it was my problem | 17:05 |
| josch | erle: your patch works -- if you like, file a MR :) | 17:07 |
| erle | josch nice. i'll assign you as a reviewer then ig? | 17:10 |
| grimmware | josch: nice, will do, thx | 17:12 |
| - shtrophic (QUIT: Ping timeout: 240 seconds) (~m-hrdsqi@user/shtrophic) | 17:13 | |
| + shtrophic (~m-hrdsqi@user/shtrophic) | 17:15 | |
| grimmware | just set a build going, look forward to testing that out | 17:15 |
| josch | erle: yes, thank you! | 17:15 |
| - shtrophic (QUIT: Ping timeout: 240 seconds) (~m-hrdsqi@user/shtrophic) | 17:28 | |
| + shtrophic (~m-hrdsqi@user/shtrophic) | 17:35 | |
| - shtrophic (QUIT: Ping timeout: 246 seconds) (~m-hrdsqi@user/shtrophic) | 17:46 | |
| + shtrophic (~m-hrdsqi@user/shtrophic) | 17:50 | |
| - shtrophic (QUIT: Ping timeout: 246 seconds) (~m-hrdsqi@user/shtrophic) | 17:58 | |
| cellmoose | If I want to fiddle around with the display cable (connecting/disconnecting different ends) is it recommended to disconnect the battery while doing it? I don't want to wear out the battery connetors, and it doesn't seem like it powers on from just external power being connected | 18:02 |
| + shtrophic (~m-hrdsqi@user/shtrophic) | 18:02 | |
| - erle (QUIT: Quit: K-lined) (~erle@user/erle) | 18:10 | |
| josch | cellmoose: pocket reform? | 18:14 |
| cellmoose | josch: yes | 18:16 |
| josch | in general, MNT recommends to disconnect power (including batteries) before performing changes to the electronics | 18:18 |
| cellmoose | josch: I figured, that's why I have been disconnecting them so far. To give context, I'm not getting an image on the internal display (external works) so I'm trying to figure out if the display cable is connected properly | 18:29 |
| - shtrophic (QUIT: Remote host closed the connection) (~m-hrdsqi@user/shtrophic) | 18:34 | |
| + shtrophic (~m-hrdsqi@user/shtrophic) | 18:36 | |
| cellmoose | For anyone interested: It appears that I connected the ribbon cable upside down when I connected it to the display | 18:41 |
| cellmoose | Thanks to everyone who answered questions! | 18:42 |
| cellmoose | And a special thanks to MNT that fixed the motherboard under warranty after I broke off the plastic tab on the display connector | 18:43 |
| cellmoose | I also have a suspiciously large amount of screws left for the number of steps left in the assembly guide | 18:52 |
| elb | I think I had almost no screws left until I got almost to the end, but one of the later packets has spares of almost every screw in the build | 18:58 |
| elb | at least two each of the M2 screws, and one M4 for the upper hinges, or so | 18:59 |
| cellmoose | elb: that sounds about the ones I have left | 19:13 |
| + FirefoxDeHuk (~FirefoxDe@109.108.69.106) | 19:27 | |
| - FirefoxDeHuk (QUIT: Quit: Client closed) (~FirefoxDe@109.108.69.106) | 19:31 | |
| + AnimaInvicta (~AnimaInvi@88-120-179-216.subs.proxad.net) | 19:37 | |
| grimmware | josch: you were on the money about those settings, I'm now able to introspect on my running kernel's data structures to write bpftrace scripts | 19:38 |
| grimmware | I'm gonna write a blog post about how I set it up and how to use it so that minute can use it to debug the reboot issue; | 19:38 |
| + colinsane (~colinunin@97-113-137-58.tukw.qwest.net) | 20:07 | |
| - colinsane (QUIT: Ping timeout: 240 seconds) (~colinunin@97-113-137-58.tukw.qwest.net) | 20:12 | |
| + vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:50) | 20:14 | |
| grimmware | minute: you're gonna fuckin love this | 20:19 |
| + colinsane (~colinunin@97-113-142-187.tukw.qwest.net) | 20:27 | |
| + pomel0 (~pomel0@user/pomel0) | 21:02 | |
| josch | wow, the suspense! :D | 21:09 |
| josch | grimmware: how much bigger is the debug kernel? | 21:09 |
| vagrantc | soooo big. | 21:10 |
| - vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:50) | 21:12 | |
| vkoskiv | Can't bpftrace get the needed info from BTF? | 21:17 |
| grimmware | https://community.mnt.re/t/kernel-tracing-on-the-reform-with-ebpf/3969 | 21:38 |
| grimmware | minute: ^ take a look at this when you get a moment, should set you up to be able to do some tracing for the suspend stuff | 21:39 |
| grimmware | vkoskiv: that's what I was attempting to enable, could be I've also ended up enabling stuff in the build that I didn't have to. | 21:39 |
| josch | grimmware: are you sure that CONFIG_DEBUG_INFO_BTF=y is needed? That setting has been enabled for multiple years now and we don't disable it. | 21:53 |
| grimmware | The kernel didn’t have support built into it before and now it does | 21:54 |
| josch | grimmware: yes, because you changed the build profile options, no? | 21:54 |
| grimmware | josch: I'll do a build tomorrow and then use bpftool to check if the bft data is in the resultant vmlinuz | 22:00 |
| josch | grimmware: thank you! There is nothing in our kernel build scripts which disables CONFIG_DEBUG_INFO_BTF=y so if you indeed had to set CONFIG_DEBUG_INFO_BTF=y manually even after *not* building with the debug profiles enabled I'd be interested in hearing about it (and fix it). | 22:05 |
| grimmware | josch: yeah I'd also like to find the most lightweigh way of doing this because it would be absolutely gnarly to be able to provide people with tracing scripts they can run to debug hardware problems | 22:06 |
| josch | grimmware: what are the sizes of the resulting packages? I guess there was a reason we disabled this was because of space (or build time?). This is in the scripts since their beginnings in 2022 without any rationale... | 22:10 |
| - gustav25 (QUIT: Quit: Quit) (~gustav@c-78-82-53-228.bbcust.telenor.se) | 22:15 | |
| grimmware | josch: http://paste.debian.net/1402861/ | 22:25 |
| grimmware | it's not totally implausible that there were other random packages in that directory | 22:26 |
| grimmware | I use the filesystem like a complete shithead | 22:26 |
| josch | oh that explains :D | 22:32 |
| josch | i think we wanted to avoid shipping more than a gig of kernel artifacts | 22:32 |
| grimmware | yeah, very legit | 22:34 |
| grimmware | well worst case scenario is that there's now a way to debug this stuff if you're willing to spare a gig | 22:34 |
| - AnimaInvicta (PART: !!unknown attribute: msg!!) (~AnimaInvi@88-120-179-216.subs.proxad.net) | 22:57 | |
| + dmisth (~dmisth@158.69.201.157) | 23:10 | |
| dmisth | minute so the rk3588 reform won't have edk2? that's pretty disappointing imo | 23:14 |
| josch | dmisth: that's not what minute said | 23:15 |
| minute | dmisth: what's your main usecase for it? | 23:15 |
| dmisth | the arguments that person gave in the #linux-rockchip channel seem pretty non-sense. "edk2 codebase is extremely windows/dos like" what? | 23:15 |
| dmisth | well for once the mainline uboot has no graphical output whatsoever | 23:15 |
| dmisth | so if anything goes wrong i really have to pull out a serial adapter.. | 23:15 |
| minute | dmisth: no no | 23:15 |
| minute | dmisth: graphical ouput is exactly what i want | 23:16 |
| minute | dmisth: and EFI support | 23:16 |
| minute | dmisth: but at the moment it seems like this will be easier with barebox (or uboot) | 23:16 |
| minute | because edk2 is hard to work on | 23:16 |
| dmisth | the bsp uboot or? | 23:16 |
| minute | dmisth: no | 23:17 |
| dmisth | because mainline has had zero work for display output on the rk3588.. | 23:17 |
| minute | we don't use bsp uboot | 23:17 |
| dmisth | it looks like edk2 already has something in place....so how can that be harder? | 23:17 |
| minute | dmisth: i'm sorry but you come off as quite arrogant at the moment | 23:17 |
| minute | minute: i'm one of two people who've spent a lot of time on making this work, not you... or am i wrong? why don't you just let me do my job? | 23:18 |
| minute | minute: you'll get your graphical bootloader | 23:18 |
| dmisth | oh not my intention at all sorry i just read the chatlogs and was a bit disappointed seeing the arguments | 23:18 |
| dmisth | if we get graphical output with uboot then i'm happy :) | 23:19 |
| minute | dmisth: you'll get it | 23:19 |
| minute | i'm just trying to find a better and more stable way considering a lot of factors, that's all. | 23:19 |
| dmisth | so is the plan longterm to get this into upstream uboot? | 23:20 |
| dmisth | would be pretty neat | 23:20 |
| minute | https://source.mnt.re/reform/mnt-reform-barebox/-/commits/reform2-rk3588?ref_type=HEADS# | 23:26 |
| minute | currently focusing on barebox, but i guess the code should be not too hard to port to uboot later | 23:26 |
| - andreas-e (QUIT: Quit: Leaving) (~Andreas@2a02-8434-b6a3-e901-facc-8e87-8e54-890e.rev.sfr.net) | 23:26 | |
| minute | grimmware: awesome stuff btw!!! | 23:27 |
| josch | i remember how imx8mq u-boot display support was a community contribution by... nanocodebug? That was an epic commit | 23:28 |
| josch | i think mainly ported over from 9front | 23:28 |
| - dmisth (QUIT: Quit: Ping timeout (120 seconds)) (~dmisth@158.69.201.157) | 23:34 | |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!