Xogium has quit [Remote host closed the connection]
Xogium has joined #linux-amlogic
Xogium has quit [Client Quit]
Xogium has joined #linux-amlogic
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Client Quit]
sputnik_ has joined #linux-amlogic
Ntemis has quit [Remote host closed the connection]
<wens>
lol
<wens>
IIRC proprietary tools are still needed to make the u-boot image bootable on meson?
Elpaulo has quit [Read error: Connection reset by peer]
Elpaulo has joined #linux-amlogic
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
Barada has quit [Read error: Connection reset by peer]
Barada has joined #linux-amlogic
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
<afaerber>
wens, for S905 I have the meson-tools but for the others they haven't been adapted yet
Xogium has quit [Client Quit]
Xogium has joined #linux-amlogic
<wens>
afaerber: reverse engineered I see
<wens>
afaerber: thanks
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
ldevulder_ has joined #linux-amlogic
ldevulder has quit [Ping timeout: 252 seconds]
Elpaulo1 has joined #linux-amlogic
Elpaulo has quit [Read error: Connection reset by peer]
Elpaulo1 is now known as Elpaulo
<narmstrong>
The fip structure and headers have been completely changed for s905x and later, this needing new tools, our only option now it use the tools delivered by Amlogic
Xogium has quit [Quit: Leaving.]
<afaerber>
narmstrong, I was still planning to have that as command line option in my tool or at least an ifdef to share code
Xogium has joined #linux-amlogic
<afaerber>
but mainly it needs input files and time for the RE effort
<narmstrong>
anyway, it's good to have GXBB support, but this SoC is now legacy and S905X/S905D/S912 deserves some love aswell !
Darkmatter66 has quit [Ping timeout: 252 seconds]
rtp_ is now known as rtp
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
Darkmatter66 has joined #linux-amlogic
AntonioND has joined #linux-amlogic
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
sheepman has quit [Read error: Connection reset by peer]
sheepman has joined #linux-amlogic
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
<Darkmatter66>
Hi narmstrong, I've built gstreamer1.0-plugins-good from the topic/v4l2-m2m branch but the resulting libgstvideo4linux2.so doesn't have v4l2video0dec
<Darkmatter66>
narmstrong, only v4l2deviceprovider, v4l2radio, v4l2sink and v4l2src
<narmstrong>
Darkmatter66: from which poky version ?
<Darkmatter66>
narmstrong, sumo, does this branch target a different version ?
<narmstrong>
nop, sumo works
<Darkmatter66>
narmstrong, well when I built from the sumo branch of meta-meson I used to have the v4l2video0dec but the topic branch is messing something
<Darkmatter66>
narmstrong, maybe one of the patches you add in the bbappend is causing this
<narmstrong>
Darkmatter66: should not
<Darkmatter66>
narmstrong, does it work for you on the topic branch ? i cleaned the recipe and rebuilt multiple times and the issue remains
<narmstrong>
Darkmatter66: it worked last time I tried, I need to retry
<Darkmatter66>
narmstrong, sure, take your time
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
<mjourdan>
AntonioND: that's really cool, nice work
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
Xogium has quit [Quit: Leaving.]
Xogium has joined #linux-amlogic
<brads>
How about the M4 in the S905 on C2? illegal instruction errors seem to be the theme on random kernel/ userspace processes when A53 is overclocked above 1.7Gh even with 1 only core enabled. Cooling is not the problem or even overvolt / undervolt nor seem memory freq. Can the M4 be hinted to run a little faster to get the instructions in the right place at the right time? Can its
<brads>
microcode be ammended on boot through the BL blobs?
<xdarklight>
I think it's a Cortex-M3 in GXBB (S905), GXL (S905X, S905D, ...) and GXM (S912)
default__ has joined #linux-amlogic
<xdarklight>
but I don't know anything about it (so sorry for the noise)
ldevulder_ has quit [Ping timeout: 245 seconds]
brads has quit [Ping timeout: 252 seconds]
Xogium has quit [Quit: Leaving.]
<AntonioND>
well, that was something else I was thinking about. when the TF is in a nice shape, usptreamed and working nicely with uboot and the kernel, it would be nice to take a look at bl30.bin and see what's going on in there
<AntonioND>
but I'm sure it's going to be way more obscure than the TF
Xogium has joined #linux-amlogic
<mjourdan>
AntonioND: is bl31 acting as secure monitor on gxbb ?
<AntonioND>
the psci interfaces in the firmware aren't exactly intuitive
<AntonioND>
ok, so I can turn on/off at will, except for cpu0, which can only be turned off, and if I try to turn it on it fails and then I get an endless loop of "can't change cpu frequency" messages lol
<AntonioND>
it will eventually work
jakogut has joined #linux-amlogic
Xogium has joined #linux-amlogic
<xdarklight>
not sure about ARMv8 but with older 32-bit cores you can't turn off CPU 0 because some interrupts are tied to it
<AntonioND>
i'm not sure if linux understands that, though
<AntonioND>
it hasn't blocked me from trying
<AntonioND>
and it has actually succeeded
<AntonioND>
so cpu0 isn't critical
<AntonioND>
the problem is that the psci implementation I have in assembly code is a really old one that I have to reverse engineer + migrate to the new psci interfaces
<AntonioND>
and this is a bit crazy
<AntonioND>
the arguments of the hooks are different, etc
<narmstrong>
You can turn off/on the cpu0 on amlogic implementation, at least the latest one...
<AntonioND>
I can actually do it, but I think that when I try to power it on again it fails, but it doesn't fail to setup the gic
<AntonioND>
so that's why I get error messages probably
<AntonioND>
at least I don't have to worry about cluster on/off states
<AntonioND>
lol
<AntonioND>
okay
<AntonioND>
with the original TF that command turns off the full board
<AntonioND>
that makes me feel a lot better about my problems :P
<AntonioND>
hmmm I guess they couldn't get it to work either. there is a workaround, I could just handle cpu0 differently and keep it in a wfi loop instead of trying to actually turn it off
vagrantc has quit [Quit: leaving]
<AntonioND>
i think that their scp code may have a bug and that's why this happens... interesting
return0xe has joined #linux-amlogic
return0e has quit [Ping timeout: 252 seconds]
<AntonioND>
ok, so I've implemented a hacky way to have cpu off in CPU0 for consistency
<AntonioND>
when entering off state I enter a wfe loop
<AntonioND>
and I wait for a flag to be set to 1
<AntonioND>
but well, linux really doesn't like this. it shows messages that it tries to change the cpu freq and it fails, so well, I guess this workaround is really not great