<cyrozap>
SolidHal: If you want to reverse engineer that binary, probably the most efficient way to do that now would be to open the binary up in Ghidra with the Xtensa module (https://github.com/yath/ghidra-xtensa), since Ghidra can decompile the binary in addition to just disassembling it. That way, you wouldn't have to learn the whole ISA in order to understand roughly what the code is doing. It would be nice
<cyrozap>
if there was Xtensa support for Unicorn Engine, though, because then you could build a custom emulator for the chip and, if you hacked the dptx kernel driver so it doesn't really touch the core and only forwards read/writes to its internal memory, you could completely trace the execution of the binary and all its MMIO accesses.
<macc24>
cyrozap: xtensa?
<HdkR>
Oh. It's just xtensa?
<cyrozap>
macc24: The ISA of the CPU core in the RK3399's USB-C/DP PHY.
<HdkR>
Which variant of the isa?
<macc24>
huh
<cyrozap>
HdkR: No idea, cpu_rec just identified it as "Xtensa", and the USB-C/DP PHY is made by Cadence so I figured that made sense.
<HdkR>
I spent a bit of time working on an LX6 compiler for LLVM for the ESP32 but got distracted/bored
<SolidHal>
thanks cyrozap, thats really helpful
_4of7 has quit [Ping timeout: 260 seconds]
kinkinkijkin has joined #panfrost
<kinkinkijkin>
instability and most of the flickering fixed
<macc24>
kinkinkijkin: which odroid?
<kinkinkijkin>
just backed up my kernel to 5.4
<kinkinkijkin>
xu4
<kinkinkijkin>
testing applications, first load of pcsxrearmed worked fine, restart the emulator, now get eglcreatewindowsurface failed (0x300b)
<kinkinkijkin>
next to test is chromium
<kinkinkijkin>
oh wow chromium actually loads now
<stikonas>
keep it mind that depending on distro, chromium might be non-free software
<kinkinkijkin>
just running armbian right now
<kinkinkijkin>
oh my, getting 60fps youtube, still flickering though
<kinkinkijkin>
no crash yet
<stikonas>
armbian probably gets debian packages, so you should be fine :)
<kinkinkijkin>
i know this
<kinkinkijkin>
flickering mysteriously stopped for a bit
<HdkR>
Just need Google to provide 64bit ARM Linux binaries that I can use :D
<kinkinkijkin>
flickering stops if i halt input for more than 10 seconds while youtube plays
<kinkinkijkin>
intredasting
<kinkinkijkin>
this is honestly exciting even though i saw nearly this exact same level of functionality on this specific board two months ago, what has been fixed has been despite lack of board-specific maintenance afaik
<kinkinkijkin>
the jump from a couple things crashing from a hardware-specific bug to no longer doing so is pretty big
<kinkinkijkin>
since my testing help was practically useless
archetech has quit [Remote host closed the connection]