NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
tsal has quit [Ping timeout: 246 seconds]
tsal has joined #openocd
thinkfat_ has quit [Ping timeout: 244 seconds]
thinkfat_ has joined #openocd
Bertl_oO is now known as Bertl_zZ
Guest45 has quit [Quit: Client closed]
jmp0 has quit [Remote host closed the connection]
jmp0 has joined #openocd
nerozero has joined #openocd
akaWolf has quit [Ping timeout: 246 seconds]
Hawk777 has quit [Quit: Leaving.]
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
Bugies has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
Guest45 has joined #openocd
Guest45 has quit [Ping timeout: 252 seconds]
Haohmaru has joined #openocd
akaWolf has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
Bertl_zZ is now known as Bertl
defiant has joined #openocd
Bugies has quit [Ping timeout: 240 seconds]
merethan has joined #openocd
tsal has quit [Quit: ZNC 1.6.5+deb1+deb9u2 - http://znc.in]
tsal has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Ping timeout: 240 seconds]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
Bugies has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
defiant has quit [Quit: defiant]
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
defiant has joined #openocd
Bertl is now known as Bertl_oO
emeb has joined #openocd
Haohmaru has quit []
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
dinkelhacker has joined #openocd
<dinkelhacker> Hey i justed browsed through the repo and saw that there has already been some development been done on supporting reading out the armv8 mmu related registers like ttbr0_el1, tcr_el1, etc https://github.com/openocd-org/openocd/blob/master/src/target/armv8.c#L816 However it seems like those functions are unused. Does anybody know why?
AndroUser2 has joined #openocd
dinkelhacker has quit [Ping timeout: 255 seconds]
merethan has quit [Ping timeout: 272 seconds]
erhankur has joined #openocd
merethan has joined #openocd
AndroUser2 has quit [Ping timeout: 250 seconds]
merethan has quit [Ping timeout: 276 seconds]
AndroUser2 has joined #openocd
kraiskil has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
nerozero has quit [Ping timeout: 255 seconds]
erhankur has quit [Ping timeout: 240 seconds]
<Xogium> borneoa_: howdy :) lightning quick question hopefully, do you have an ETA for kernel 5.15 on mp1 ? I huh might have run into an etnaviv bug in 5.10 which is kinda long in the tooth, hoping that 5.15 would fix this
<Xogium> gpu keeps hanging on me at random :/
<Xogium> to be fair don't know if its kernel related or not, but hoping it is
<Xogium> keep seeing messages like etnaviv doing MMU fault and kernel saying recover hung gpu
Bugies has quit [Ping timeout: 258 seconds]
defiant has quit [Quit: defiant]
erhankur has joined #openocd
emeb has quit [Quit: Leaving.]
<borneoa_> Xogium: yes, the full update to 5.15 is cooking. I don't have the release date, but should be within this summer.
<borneoa_> Xogium: For ST release we don't use etnaviv but the binary driver from the vendor.
<Xogium> borneoa_: thanks :) god, I hope this solves my issue. Its so bloody hard to debug a touchscreen controlled device when you can,t see a damn thing and the only reason you know it works is if you by miracle manage to hit the play button of the audio player
abby has left #openocd [#openocd]
<Xogium> ah yes, true. I forgot about that
<borneoa_> Xogium: have you checked what the new patches and fixes in etnaviv driver? Maybe you can easily back port something that looks promising
<borneoa_> Xogium: anyway the new version will include the source for etnaviv from the upstream 5.15
<Xogium> not yet. Honestly I'm a terrible code reader and I've not got much info
<Xogium> all I have are 3 error messages from the kernel, with no idea if its aetnaviv kernel driver issue, or userspace causing a problem which ultimately causes the kernel driver to bug
<Xogium> but from the looks of things that looks kind of bad
<Xogium> etnaviv-gpu 59000000.gpu: MMU fault status 0x00000002
<Xogium> etnaviv-gpu 59000000.gpu: MMU 0 fault addr 0xff957000
<Xogium> etnaviv-gpu 59000000.gpu: recover hung GPU!
<borneoa_> Xogium: unfortunately I have no idea about these errors
<Xogium> been trying to get this stuff working, my whole project that is, for several months and it's been one battle after another, bugs in gstreamer, bugs in wpewebkit or cog, and then this. I think the computer god doesn't want me to succeed XD
<borneoa_> Xogium: to debug the touchscreen, have you tried 'evtest'?
<borneoa_> Maybe there are other tool specific for TS, but evtest could be useful too
<Xogium> yeah evtest reacts to me tapping no problem
<Xogium> even if its just random taps
<borneoa_> Which kernel version are you using, right now?
<Xogium> the latest from st 5.10.61
<Xogium> haven't found any public repo with experimental 5.15 or anything so I figure it must be private until the work is done
<Xogium> I tried to use the vivante binaries but buildroot has them not providing gles or something, so selecting them instead of etnaviv disables wpewebkit and cog
<borneoa_> Xogium: 5.15 should still be internal only. The whole distro has to be completed before publishing it
<Xogium> yeah, that's what I thought and that makes perfect sense
<Xogium> well.. I suppose I'll wait for it
<Xogium> if it's just waiting that's fine :D not like getting hit by bugs one after another like I've been for the past nearly 6 months
<Xogium> well at least I helped people by reporting them :p
<borneoa_> I have checked in linux-stable git tree. There are 11 fixes for etnaviv between v5.10.61 and v5.10.119. usually should be easy to just cherry pick them. And if you are lucky the fix is already there
<Xogium> yeah that's an idea
<borneoa_> Take the top 11 patches from this link, and apply in reverse order , the 11th first. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/log/drivers/gpu/drm/etnaviv?h=linux-5.10.y
<borneoa_> This is based on 5.10.119. if Greg makes a new version you will probably need to take few patches more
kraiskil has quit [Ping timeout: 255 seconds]
<Xogium> huh, that's fancy
<Xogium> I didn't know how to do that
<borneoa_> So, start from 'drm/etnaviv: return context from etnaviv_iommu_context_get'. Click on it and in the new page there is the link for download it. Then unzip and patch your code. The move to next patch. You can even consider rebuild and test, if your error is easy to reproduce. And the commit message could help you understand what the patch is fixing
<Xogium> yeah
<Xogium> lots of stuff related to MMU so
<Xogium> considering I get MMU error
<Xogium> I wouldn't say its eays to reproduce, but I've ran into it for the third time today alone
PaulFertser has quit [Ping timeout: 244 seconds]
PaulFertser has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
sbach has quit [Read error: Connection reset by peer]
sbach has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
djgl has quit [Ping timeout: 240 seconds]
djgl has joined #openocd
AndroUser2 has quit [Remote host closed the connection]
AndroUser2 has joined #openocd
djgl has quit [Ping timeout: 260 seconds]
djgl has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd