ftg has quit [Read error: Connection reset by peer]
apritzel has quit [Ping timeout: 480 seconds]
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 480 seconds]
junari has joined #linux-sunxi
<junari>
Now we need to merge all the code you two have made for a523 into one
junari has quit [Remote host closed the connection]
junari has joined #linux-sunxi
junari has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
Net147 has quit [Ping timeout: 480 seconds]
<jernej>
apritzel: nice, but do they actually work?
hexdump0815 has joined #linux-sunxi
hexdump01 has quit [Ping timeout: 480 seconds]
Schimsalabim has quit [Read error: Connection reset by peer]
junari has joined #linux-sunxi
Schimsalabim has joined #linux-sunxi
junari_ has joined #linux-sunxi
junari_ has quit [Remote host closed the connection]
junari has quit [Ping timeout: 480 seconds]
Net147 has joined #linux-sunxi
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
dsimic is now known as Guest6153
dsimic has joined #linux-sunxi
Guest6153 has quit [Ping timeout: 480 seconds]
<Jookia>
nice!
bauen1 has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
apritzel has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
<apritzel>
junari: I've sent a somewhat preliminary A133 U-Boot support series to the list, I plan to do something similar for the A523 in the next days
<apritzel>
would be probably marked as RFC, as the DT bindings are not finished yet
jernej_ has quit [Remote host closed the connection]
<maz>
apritzel: what GIC version does this A523 has?
<maz>
have*
jernej has quit [Ping timeout: 480 seconds]
Schimsalabim has quit [Read error: No route to host]
Schimsalabim has joined #linux-sunxi
<maz>
ah, GIC600. don't think I have this one in my collection yet...
<loki666>
apritzel I have news about the USB OTG issues on h616/h700
<loki666>
The patch is not needed in the end
<loki666>
All that is needed is to remove the phy0 ref in ehci0/ohci0 nodes as it's usbotg that takes control over it
<apritzel>
loki666: well, but that's a broken hack, it's wrong, and it breaks U-Boot
<loki666>
After just have a USB gadget interface enabled, USB port acts as expected both in peripheral and host mode and charger (if battery)
<apritzel>
maz: yes: Arm GIC-600 r1p4 GICv3 interrupt controller, LPIs, one ITS
<apritzel>
loki666: both the OTG and host controller share that PHY, so that must be expressed in the DT, by both nodes pointing to the PHY node
<loki666>
Well then I have no other ideas, currently the issue is that both ehci0/ohci and usbotg fight for phy0
<apritzel>
I know, but from a quick glance I believe the patch you mentioned would solve that?
<loki666>
No it was causing races conditions issues and by going behind the back of core phy it was changing the vbus phy without phy core accounting for it
<loki666>
Leading to more issues
<apritzel>
I see, but I think it was the first time I was seeing some solution going in the right direction.
<apritzel>
I investigated that a few years back, and just figured that it's not an easy problem to solve back then. So maybe it's worth basing something on that patch, then?
<loki666>
I also found a ML thread that states that with an USB OTG port, host is only supposed to works when gadget interface is enabled
<loki666>
Pointing to that ehci is "slave" to musb and doesn't own the phy
jernej has joined #linux-sunxi
<loki666>
The issue is that h616 musb is crap
<loki666>
If it could deal with host functionality we wouldn't have these issues
<apritzel>
Allwinner MUSBs were always bad, that's why they introduced another host interface and this multiplexer (with the H3 in 2014, I think)
<apritzel>
where does this patch come from?
jernej has joined #linux-sunxi
<loki666>
Mine
<loki666>
After lot of debugging what was going on
<loki666>
And a bit of the wirenboard patch
<apritzel>
loki666: interesting, the patch looks intriguing, but I know too little about the details to judge it. Maybe post it to the list to see what people have to say?
<apritzel>
but I think it's a shortcoming of the PHY driver, and you might have just fixed it ;-)
gsz has quit [Ping timeout: 480 seconds]
<loki666>
Ok let's continue that in mailing list then
<loki666>
I'll prepare a patch
mripard has quit [Quit: WeeChat 4.4.4]
tiop has joined #linux-sunxi
<apritzel>
many thanks!
<loki666>
Because my patch is still lying to core PHY about being powered on for phy0
<apritzel>
hopefully we get some feedback from the maintainers ...
<jernej>
apritzel: finaly some T527 manual in Radxa Cubie A5E package. Look at SRAM map generates annoyance :)
Schimsalabim has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
Schimsalabim has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Quasar 5.2.6, revision: 5.2.6+git-7609-afed1336e, build type: debug, sources date: 20160102, built on: 2024-12-18 20:43:05 UTC 5.2.6+git-7609-]
<apritzel>
jernej: nice try to trick me into downloading that crap ;-)
<jernej>
did it work? :D
bauen1 has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
<apritzel>
well, I clicked on that A5E BSP package, in the hope it would be small, but that doesn't work apparently: some mega failure, it looks like
<apritzel>
not trying anymore, hoping for someone to upload it :-)
<jernej>
it's .repo content, after that you have to run repo sync -l command
<jernej>
but it contains many interesting repos, some of them I see for the first time
<jernej>
apritzel: anyway, can you confirm all 8 cores works as expected on T527?
<apritzel>
ah, yes, it looked like: I taskset'ed the shell without problems, and in general I would expect the kernel to crash when something is wrong with the secondaries
<jernej>
apritzel: so all good?
<apritzel>
yep, looks like it, good job!
<jernej>
great!
gsz has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Quasar 5.2.6, revision: 5.2.6+git-7609-afed1336e, build type: debug, sources date: 20160102, built on: 2024-12-18 20:43:05 UTC 5.2.6+git-7609-]
<loki666>
I tried the a133p SDK for my handheld... Compilation crash on 2nd package
<loki666>
Out of 7898 😂
<loki666>
Gave up there
<loki666>
And the cheap bastards didn't provide a SD card with a running system
<loki666>
I might just let in the drawer until they provide an image to flash somewhere
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
gsz has quit [Ping timeout: 480 seconds]
tiop has quit []
tiop has joined #linux-sunxi
aggi has quit [Ping timeout: 480 seconds]
aggi has joined #linux-sunxi
apritzel has joined #linux-sunxi
<loki666>
apritzel: should I split the patch in two, I see two distincts parts, the override of the phy0 regulator, and the override of dr_mode
<apritzel>
split as much as you can, yes. Definitely split DT and code, but you probably knew that already ...
<loki666>
that can't be right, because as soon as you link phy0 to a HCI, it's regulator is on, so if you plug a cable connected to another host (ie: for gadget mode) you ll blow the vbus reg of your board
<loki666>
and no matter what musb try to do with the phy0, il will stay powered because of HCI
<apritzel>
loki666: well, powering from both sides in indeed against the spec, but often works anyway, as long as at least one side is reasonable (some laptop, some instance)
<loki666>
looks like my PC wasn't
smaeul has joined #linux-sunxi
smaeul_ has quit [Read error: Connection reset by peer]
Mach has joined #linux-sunxi
<apritzel>
sorry to hear that! But it was the A133P board that took damage, not the PC?
Mach has quit []
Mach has joined #linux-sunxi
Mach has left #linux-sunxi [#linux-sunxi]
GAMG has joined #linux-sunxi
<GAMG>
Hi there. Anyone been able to get panfrost working on OrangePi Zero 2 on newer kernels? I tested both meta-sunxi project (6.6) and also built my own kernel (6.12.9). non of them work (system just freezes upon loading panfrost). Official debian image works fine though(6.1). Any help would be much appreciated.
tiop has quit []
igraltist has quit [Remote host closed the connection]
<loki666>
apritzel: it was one of H700 board, and luckily the one with a second host port, so no functionality lost, as peripheral is still working and very safe to use with a host now