2024-04-08.log

- Christoph_ (QUIT: Remote host closed the connection) (~Christoph@p54bf62e6.dip0.t-ipconnect.de)00:04
- chomwitt (QUIT: Ping timeout: 255 seconds) (~chomwitt@2a02:587:7a01:1400:1ac0:4dff:fedb:a3f1)00:27
- mjw (QUIT: Ping timeout: 246 seconds) (~mjw@gnu.wildebeest.org)01:10
- mesaoptimizer (QUIT: Ping timeout: 252 seconds) (~mesaoptim@user/PapuaHardyNet)01:54
- mtm (QUIT: Ping timeout: 240 seconds) (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)02:04
- cobra (QUIT: Quit: ZNC 1.8.2 - https://znc.in) (~cobra@user/Cobra)02:23
- GNUmoon2 (QUIT: Remote host closed the connection) (~GNUmoon@gateway/tor-sasl/gnumoon)03:17
+ GNUmoon2 (~GNUmoon@gateway/tor-sasl/gnumoon)03:18
+ cobra (~cobra@user/Cobra)03:27
+ mtm (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)04:10
- o67 (QUIT: Remote host closed the connection) (~user@176.143-250-89.abo.bbox.fr)07:28
- eibachd (QUIT: Ping timeout: 268 seconds) (~eibachd@p200300dcf70a75009d6e5915fba12651.dip0.t-ipconnect.de)08:00
+ eibachd (~eibachd@2a01:599:322:b6b8:c316:cb6b:3200:7a8a)08:07
+ mesaoptimizer (~mesaoptim@user/PapuaHardyNet)09:39
joschhuh... anybody with an ls1028a on the latest kernel?09:49
joschi read https://community.mnt.re/t/no-keyboard-input-with-ls1028-board-and-latest-image/1994 and my ls1028a also doesn't recognize attached usb devices09:49
joschnothing even shows up in dmesg when i plug in a usb ethernet adapter or other devices09:53
joschi'm now flashing a system image with an older kernel to my sd-card09:54
minutejosch: how often did you try it?10:01
joschtwice10:01
minutejosch: i also recently found a patch for dwc3 that could help with this issue, _if_ it is the issue i think10:01
minutehm ok10:01
joschwell, twice is not enough :)10:02
minutejosch: on hub and non hub port?10:02
joschif you have a patch, i can put it into a reform-debian-packages branch and try it out10:02
joschi tried on all four ports as i always forget where it documents which port is which10:02
minutejosch: what if you reload dwc3 like it is done once in reform-hw-setup?10:02
joschthanks for the tip, i'll try that next10:02
minutethe patch is linked somewhere in these irc logs :D probably near sth like "dwc3"10:03
joschhttps://lore.kernel.org/linux-devicetree/87shdfet90.fsf@linux.intel.com/10:04
minuteit was something about cache snooping10:04
minutei remember i shaped up this patch a bit and introduced a dts toggle for it. but i don't remember if i pushed that. probably not?10:05
joschi don't remember having seen it10:06
minuteok. in any case this is the patch to try, but iirc it was overcomplicated a bit in that mail, introducing a new boolean in some driver struct etc10:07
minutei will look at work for my patch10:08
joschsame behaviour on linux 6.6 and "rmmod dwc3 && modprobe dwc3" didn't fi x it10:11
joschminute: is which usb port is on the hub and which one is not documented in the handbook? I wasn't able to find it.10:12
+ mjw (~mjw@gnu.wildebeest.org)10:13
joschah yeah my dmesg shows just the massages as can be found in the lore.k.o link above10:13
minutejosch: the usb port next to hdmi is direct10:25
minuteothers are through hub10:25
minutejosch: ah, i wanted to ask about what kind of messages you're getting10:25
minuteso we always had it, but a reload of the module normally fixed it (but not always)10:25
joschunfortunately, when using screen as a serial client, my backlog vanishes once it closes when i disconnect the usb and i cannot upload my dmesg because my internet arrives via a usb ethernet adapter :D10:28
joschi'll use the sd-card to get the dmesg out next time10:28
joschcannot use a usb stick ;)10:28
joschworks out-of-the box with kernel 6.1 :D10:32
- buckket (QUIT: Quit: buckket) (~buckket@vps.buckket.org)10:56
+ buckket (~buckket@vps.buckket.org)10:56
+ chomwitt (~chomwitt@2a02:587:7a01:1400:1ac0:4dff:fedb:a3f1)11:04
joschgreat... ls1028a is stuck at Starting kernel ...11:10
- chomwitt (QUIT: Ping timeout: 240 seconds) (~chomwitt@2a02:587:7a01:1400:1ac0:4dff:fedb:a3f1)11:12
joschhuh, setenv bootargs loglevel=7 doesn't make a difference11:14
minutejosch: is it overwritten somewhere? it does work for me on imx8mp11:21
minutejosch: also, i recommend tio as a uart client, much better11:21
minuteno weird problems like that11:22
joschit seems that ${bootargs} is empty on ls1028a uboot11:23
joschi can run "echo ${bootargs}" to see its contents in u-boot console, right?11:24
minutejosch: probably, i just use print bootargs11:28
minutethere's also printenv11:28
minutei recently learned it's possible to trace boot.scr execution11:29
minute setenv xtrace yes11:29
joschextlinux.conf user here :)11:31
minuteah11:31
joschi want to be able to choose whether i want to boot 6.1 or 6.6 or 6.7 when booting11:31
minuteso did you set the boot args in extlinux.conf?11:32
josch## Error: "bootargs" not defined11:32
joschoh interesting11:32
joschmy extlinux.conf is the default, so it should respect ${bootargs}: https://source.mnt.re/reform/reform-tools/-/blob/main/u-boot-menu/reform.conf?ref_type=heads#L1411:33
joschyes, when booting it says:11:34
joschappend: ro no_console_suspend cryptomgr.notests loglevel=3 loglevel=7 console=tty111:34
minuteno serial console there at all though? (?)11:35
joschindeed!11:36
joschaha: https://source.mnt.re/reform/reform-ls1028a-uboot/-/commit/5826d89d6e82afd3b9ccfae7559a3f4ae94a70a711:38
- mjw (QUIT: Ping timeout: 264 seconds) (~mjw@gnu.wildebeest.org)11:38
joschooooh my u-boot is just too old :D11:44
joschokay, back at the dwc3 problem:12:12
josch[   11.454578] xhci-hcd xhci-hcd.0.auto: Error while assigning device slot ID: Command Aborted12:12
josch[   11.454590] xhci-hcd xhci-hcd.0.auto: Max number of devices this xHCI host supports is 127.12:12
josch[   11.454604] usb usb1-port1: couldn't allocate usb_device12:12
joschfull dmesg here: https://mister-muffin.de/p/nkHI.txt12:12
joschthis is with kernel 6.7.912:13
joschdone for today12:15
joschshould've done something more productive in the past 3 hours... :/12:15
joschmaybe i should just directly upgrade from ls1028a to rk3588 to have less issues XD12:15
joschand thanks for the tip with tio -- i'm already more happy with it than with screen12:16
- anzu (QUIT: Quit: WeeChat 3.5) (~anzu@melkki.cs.helsinki.fi)12:24
- mtm (QUIT: Ping timeout: 256 seconds) (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)12:37
+ chomwitt (~chomwitt@2a02:587:7a10:5a00:1ac0:4dff:fedb:a3f1)12:38
+ gustav28 (~gustav@c-a137524e.019-141-67626730.bbcust.telenor.se)12:53
- chomwitt (QUIT: Ping timeout: 268 seconds) (~chomwitt@2a02:587:7a10:5a00:1ac0:4dff:fedb:a3f1)13:18
* Guest3198 -> mjw13:20
- murphnj (QUIT: Quit: Leaving) (~murph@user/murphnj)13:22
+ murphnj (~murph@user/murphnj)13:24
+ chomwitt (~chomwitt@2a02:587:7a10:5a00:1ac0:4dff:fedb:a3f1)13:52
+ reformer (~reformer@softboy.mntmn.com)14:05
- Asmadeus (QUIT: Ping timeout: 255 seconds) (~asmadeus@user/meow/Asmadeus)14:09
+ Asmadeus (~asmadeus@user/meow/Asmadeus)14:12
+ mark_ (~mjw@gnu.wildebeest.org)14:27
hramrachAccording tothe discussion the problem on LS1028A dwc3 is supposedly caused by adding dma-coherent flag (on the dwc3?), and reverting that sould be a workaround in absence of the final patch14:43
hramrachno, on the SoC14:44
hramrach"all LS1043A and LS1046A relevant platforms have added 'dma-coherent' to DTS node of 'soc' in mainline, which means without this fix USB function will down"14:44
hramrachthis is an updated version of the patch, AFAICT https://lore.kernel.org/linux-devicetree/20191121024206.32933-1-ran.wang_1@nxp.com/14:50
- mark_ (QUIT: Ping timeout: 260 seconds) (~mjw@gnu.wildebeest.org)15:04
+ mtm (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)15:05
- mtm (QUIT: Ping timeout: 256 seconds) (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)15:55
- eibachd (QUIT: Read error: Connection reset by peer) (~eibachd@2a01:599:322:b6b8:c316:cb6b:3200:7a8a)17:25
+ eibachd (~eibachd@p200300dcf70a7500345da7d3c6e63eab.dip0.t-ipconnect.de)17:25
- eibachd (QUIT: Ping timeout: 256 seconds) (~eibachd@p200300dcf70a7500345da7d3c6e63eab.dip0.t-ipconnect.de)18:00
+ eibachd (~eibachd@2a01:599:322:b6b8:c316:cb6b:3200:7a8a)18:00
- eibachd (QUIT: Read error: Connection reset by peer) (~eibachd@2a01:599:322:b6b8:c316:cb6b:3200:7a8a)18:07
+ eibachd (~eibachd@p200300dcf70a7500886a6e8d055c7c45.dip0.t-ipconnect.de)18:07
+ mtm (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)18:13
- GNUmoon2 (QUIT: Ping timeout: 260 seconds) (~GNUmoon@gateway/tor-sasl/gnumoon)18:29
+ GNUmoon2 (~GNUmoon@gateway/tor-sasl/gnumoon)18:30
+ mark_ (~mjw@gnu.wildebeest.org)18:34
- mjw (QUIT: Killed (zirconium.libera.chat (Nickname regained by services))) (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)18:34
* mark_ -> mjw18:34
+ Guest5868 (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)18:35
+ robin_ (~robin@user/terpri)18:38
+ ex--parrot (~fincham@user/ex-parrot)18:40
+ Gooberpatrol_66 (~Gooberpat@user/gooberpatrol66)18:41
- mtm (QUIT: Ping timeout: 268 seconds) (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)18:42
- nsc (QUIT: Ping timeout: 268 seconds) (~nicolas@i5C74DDFC.versanet.de)18:42
- chartreuse (QUIT: Ping timeout: 268 seconds) (~chartreus@S0106908d78501d1d.cg.shawcable.net)18:42
- ex-parrot (QUIT: Read error: Connection reset by peer) (~fincham@user/ex-parrot)18:42
- Gooberpatrol66 (QUIT: Ping timeout: 268 seconds) (~Gooberpat@user/gooberpatrol66)18:42
- robin (QUIT: Ping timeout: 268 seconds) (~robin@user/terpri)18:42
+ nsc (~nicolas@i5C74DDFC.versanet.de)18:42
+ chartreuse (~chartreus@S0106908d78501d1d.cg.shawcable.net)18:43
- eibachd (QUIT: Ping timeout: 272 seconds) (~eibachd@p200300dcf70a7500886a6e8d055c7c45.dip0.t-ipconnect.de)19:22
+ eibachd (~eibachd@p200300dcf70a75004d8a9cd426ea75f3.dip0.t-ipconnect.de)19:23
+ jacobk (~quassel@47-186-70-49.dlls.tx.frontiernet.net)19:51
- GNUmoon2 (QUIT: Remote host closed the connection) (~GNUmoon@gateway/tor-sasl/gnumoon)20:39
+ GNUmoon2 (~GNUmoon@gateway/tor-sasl/gnumoon)20:40
+ mtm (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)20:45
+ mntirc (~mntirc@softboy.mntmn.com)20:45
* mntirc -> minute20:45
minutejosch: https://source.mnt.re/reform/reform-debian-packages/-/commit/695d0bf78cb328edc5061fd47af8e0633c5404c021:02
minutejosch: did this on mar 18 but somehow didn't get around to ask you to test it ^^21:03
- jacobk (QUIT: Ping timeout: 260 seconds) (~quassel@47-186-70-49.dlls.tx.frontiernet.net)21:11
eibachdUhh, that is quite something. Having reliable USB on the LS1028 would make it much more fun.21:14
hramrachminute: can you have a look at the v3 path sometime? https://lore.kernel.org/linux-devicetree/20191121024206.32933-1-ran.wang_1@nxp.com/21:32
minutehramrach: ah i see, a bit more details21:35
minutehttps://lore.kernel.org/linux-devicetree/20191121024206.32933-2-ran.wang_1@nxp.com/21:35
minutebut they set the same config for all models, ls1088a_dwc3_cache_type21:36
minuteso without looking extremely closely i think those patch versions are probably technically identical21:37
hramrachminute: the details were provided in the original thread already, the new patch is perhaps closer to upstreamable21:37
hramrachfunctionally it's likeyl identical21:38
minuteanyway they weren't upstreamed even if that is from nov 2019...21:38
minutein any case, would be extremely helpful if someone could test my patch21:38
hramrachit fell through the cracks21:38
minuteor that patch21:39
minuteat the moment i can't because i need to work on pocket firmware21:39
hramrachmaybe a tested-by would move the conversation forward21:39
hramrachsure, at some point if nobody else can report a result21:40
minutealso perhaps michael walle from kontron could know more about this (mwalle on irc)21:44
minutehe did a bunch of ls1028a upstreaming21:44
+ jacobk (~quassel@47-186-70-49.dlls.tx.frontiernet.net)21:49
- jacobk (QUIT: Ping timeout: 240 seconds) (~quassel@47-186-70-49.dlls.tx.frontiernet.net)21:54
- gustav28 (QUIT: Quit: Quit) (~gustav@c-a137524e.019-141-67626730.bbcust.telenor.se)22:15
+ jacobk (~quassel@47-186-70-49.dlls.tx.frontiernet.net)22:30
- eibachd (QUIT: Ping timeout: 240 seconds) (~eibachd@p200300dcf70a75004d8a9cd426ea75f3.dip0.t-ipconnect.de)22:31
+ eibachd (~eibachd@p200300dcf70a75000d519058d4e10372.dip0.t-ipconnect.de)22:32
- jacobk (QUIT: Ping timeout: 260 seconds) (~quassel@47-186-70-49.dlls.tx.frontiernet.net)22:48
joschminute: aha great that you found it! i guess that branch was just missing a merge request to not be forgotten :D22:48
joschminute: i'll rebase your patch on top of "main" and then build a system image with it okay?22:49
minutejosch: yes please :323:49

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!