- 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 | |
josch | huh... anybody with an ls1028a on the latest kernel? | 09:49 |
---|---|---|
josch | i 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 devices | 09:49 |
josch | nothing even shows up in dmesg when i plug in a usb ethernet adapter or other devices | 09:53 |
josch | i'm now flashing a system image with an older kernel to my sd-card | 09:54 |
minute | josch: how often did you try it? | 10:01 |
josch | twice | 10:01 |
minute | josch: i also recently found a patch for dwc3 that could help with this issue, _if_ it is the issue i think | 10:01 |
minute | hm ok | 10:01 |
josch | well, twice is not enough :) | 10:02 |
minute | josch: on hub and non hub port? | 10:02 |
josch | if you have a patch, i can put it into a reform-debian-packages branch and try it out | 10:02 |
josch | i tried on all four ports as i always forget where it documents which port is which | 10:02 |
minute | josch: what if you reload dwc3 like it is done once in reform-hw-setup? | 10:02 |
josch | thanks for the tip, i'll try that next | 10:02 |
minute | the patch is linked somewhere in these irc logs :D probably near sth like "dwc3" | 10:03 |
josch | https://lore.kernel.org/linux-devicetree/87shdfet90.fsf@linux.intel.com/ | 10:04 |
minute | it was something about cache snooping | 10:04 |
minute | i 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 |
josch | i don't remember having seen it | 10:06 |
minute | ok. 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 etc | 10:07 |
minute | i will look at work for my patch | 10:08 |
josch | same behaviour on linux 6.6 and "rmmod dwc3 && modprobe dwc3" didn't fi x it | 10:11 |
josch | minute: 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 | |
josch | ah yeah my dmesg shows just the massages as can be found in the lore.k.o link above | 10:13 |
minute | josch: the usb port next to hdmi is direct | 10:25 |
minute | others are through hub | 10:25 |
minute | josch: ah, i wanted to ask about what kind of messages you're getting | 10:25 |
minute | so we always had it, but a reload of the module normally fixed it (but not always) | 10:25 |
josch | unfortunately, 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 :D | 10:28 |
josch | i'll use the sd-card to get the dmesg out next time | 10:28 |
josch | cannot use a usb stick ;) | 10:28 |
josch | works out-of-the box with kernel 6.1 :D | 10: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 | |
josch | great... 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 | |
josch | huh, setenv bootargs loglevel=7 doesn't make a difference | 11:14 |
minute | josch: is it overwritten somewhere? it does work for me on imx8mp | 11:21 |
minute | josch: also, i recommend tio as a uart client, much better | 11:21 |
minute | no weird problems like that | 11:22 |
josch | it seems that ${bootargs} is empty on ls1028a uboot | 11:23 |
josch | i can run "echo ${bootargs}" to see its contents in u-boot console, right? | 11:24 |
minute | josch: probably, i just use print bootargs | 11:28 |
minute | there's also printenv | 11:28 |
minute | i recently learned it's possible to trace boot.scr execution | 11:29 |
minute | setenv xtrace yes | 11:29 |
josch | extlinux.conf user here :) | 11:31 |
minute | ah | 11:31 |
josch | i want to be able to choose whether i want to boot 6.1 or 6.6 or 6.7 when booting | 11:31 |
minute | so did you set the boot args in extlinux.conf? | 11:32 |
josch | ## Error: "bootargs" not defined | 11:32 |
josch | oh interesting | 11:32 |
josch | my 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#L14 | 11:33 |
josch | yes, when booting it says: | 11:34 |
josch | append: ro no_console_suspend cryptomgr.notests loglevel=3 loglevel=7 console=tty1 | 11:34 |
minute | no serial console there at all though? (?) | 11:35 |
josch | indeed! | 11:36 |
josch | aha: https://source.mnt.re/reform/reform-ls1028a-uboot/-/commit/5826d89d6e82afd3b9ccfae7559a3f4ae94a70a7 | 11:38 |
- mjw (QUIT: Ping timeout: 264 seconds) (~mjw@gnu.wildebeest.org) | 11:38 | |
josch | ooooh my u-boot is just too old :D | 11:44 |
josch | okay, back at the dwc3 problem: | 12:12 |
josch | [ 11.454578] xhci-hcd xhci-hcd.0.auto: Error while assigning device slot ID: Command Aborted | 12: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_device | 12:12 |
josch | full dmesg here: https://mister-muffin.de/p/nkHI.txt | 12:12 |
josch | this is with kernel 6.7.9 | 12:13 |
josch | done for today | 12:15 |
josch | should've done something more productive in the past 3 hours... :/ | 12:15 |
josch | maybe i should just directly upgrade from ls1028a to rk3588 to have less issues XD | 12:15 |
josch | and thanks for the tip with tio -- i'm already more happy with it than with screen | 12: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 -> mjw | 13: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 | |
hramrach | According 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 patch | 14:43 |
hramrach | no, on the SoC | 14: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 |
hramrach | this 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_ -> mjw | 18: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 -> minute | 20:45 | |
minute | josch: https://source.mnt.re/reform/reform-debian-packages/-/commit/695d0bf78cb328edc5061fd47af8e0633c5404c0 | 21:02 |
minute | josch: 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 | |
eibachd | Uhh, that is quite something. Having reliable USB on the LS1028 would make it much more fun. | 21:14 |
hramrach | minute: 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 |
minute | hramrach: ah i see, a bit more details | 21:35 |
minute | https://lore.kernel.org/linux-devicetree/20191121024206.32933-2-ran.wang_1@nxp.com/ | 21:35 |
minute | but they set the same config for all models, ls1088a_dwc3_cache_type | 21:36 |
minute | so without looking extremely closely i think those patch versions are probably technically identical | 21:37 |
hramrach | minute: the details were provided in the original thread already, the new patch is perhaps closer to upstreamable | 21:37 |
hramrach | functionally it's likeyl identical | 21:38 |
minute | anyway they weren't upstreamed even if that is from nov 2019... | 21:38 |
minute | in any case, would be extremely helpful if someone could test my patch | 21:38 |
hramrach | it fell through the cracks | 21:38 |
minute | or that patch | 21:39 |
minute | at the moment i can't because i need to work on pocket firmware | 21:39 |
hramrach | maybe a tested-by would move the conversation forward | 21:39 |
hramrach | sure, at some point if nobody else can report a result | 21:40 |
minute | also perhaps michael walle from kontron could know more about this (mwalle on irc) | 21:44 |
minute | he did a bunch of ls1028a upstreaming | 21: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 | |
josch | minute: aha great that you found it! i guess that branch was just missing a merge request to not be forgotten :D | 22:48 |
josch | minute: i'll rebase your patch on top of "main" and then build a system image with it okay? | 22:49 |
minute | josch: yes please :3 | 23:49 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!