narmstrong changed the topic of #linux-amlogic to: Amlogic mainline kernel development discussion - our wiki http://linux-meson.com/ - ml linux-amlogic@lists.infradead.org - Publicly Logged on https://irclog.whitequark.org/linux-amlogic
chewitt has quit [Ping timeout: 252 seconds]
vagrantc has quit [Quit: leaving]
chewitt has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
yangxuan has joined #linux-amlogic
<yangxuan> hi
yangxuan has quit [Quit: Page closed]
yangxuan has joined #linux-amlogic
yangxuan has quit [Ping timeout: 256 seconds]
mastertheknife has quit [Ping timeout: 244 seconds]
mastertheknife has joined #linux-amlogic
yangxuan has joined #linux-amlogic
<yangxuan> How to enable 3d acceleration on meson gxl s905d with mainline 4.18 kernel? I tried run deepin on a s905d, it not support windows effect.
yangxuan has quit [Read error: Connection reset by peer]
yangxuan has joined #linux-amlogic
yangxuan has quit [Remote host closed the connection]
wens has quit [Ping timeout: 244 seconds]
wens has joined #linux-amlogic
Barada has joined #linux-amlogic
ldevulder_ has joined #linux-amlogic
ldevulder has quit [Ping timeout: 252 seconds]
Darkmatter66_ has joined #linux-amlogic
Darkmatter66 has quit [Ping timeout: 250 seconds]
ldevulder_ is now known as ldevulder
yangxuan has joined #linux-amlogic
yangxuan has quit [Remote host closed the connection]
jakogut has quit [Ping timeout: 250 seconds]
AntonioND has joined #linux-amlogic
<mjourdan> ndufresne: Thanks! It's possible that you don't receive the event if you already S_FMT and the amount of capture buffers is enough to please the dpb size.. In that case it keeps going as usual.
jakogut has joined #linux-amlogic
ldevulder_ has joined #linux-amlogic
ldevulder has quit [Ping timeout: 252 seconds]
afaerber has joined #linux-amlogic
return0e has quit [Ping timeout: 252 seconds]
return0e has joined #linux-amlogic
return0e has quit [Remote host closed the connection]
return0e has joined #linux-amlogic
return0e has quit [Remote host closed the connection]
return0e has joined #linux-amlogic
random_yanek has quit [Quit: random_yanek]
random_yanek has joined #linux-amlogic
<afaerber> lvrp16, thanks for considering the EBBR for La Frite. It's not explicitly spelled out on the campaign page: Will it be S905X again, as seen in the gallery photos?
ldevulder_ is now known as ldevulder
<narmstrong> afaerber: it's a goal, there is a SPI NOR for that explicitely
<narmstrong> ldevulder: champagne !
<ldevulder> narmstrong, for? :)
<narmstrong> ldevulder: u-boot vim2 patches merged
<ldevulder> narmstrong, oh yes :)
<ldevulder> don't know also if you see: the usb dwc3 patches from Jean Jacques Hiblot fixe the usb issue on vim and le potato, hope it will be merged soon
<ldevulder> I added a tested-by
<narmstrong> ldevulder: I haven't followed... thanks for testing & following !
<ldevulder> but not on kvim2 :-( I hope to have some times in few weeks to investigate more, this week I tested ATF with AntonioND on S905X, not to bad for a first try
<narmstrong> yep, it's on the good path
<afaerber> ldevulder, thanks for the link
<afaerber> narmstrong, yes, I read that on the campaign page (the typo has since been fixed ;)) - they're the first SBC vendor I see publicly striving for EBBR compliance, so that is worth a big thank-you :)
<AntonioND> mainline linux doesn't have support for the timers of gxbb, right? only the 3.x fork. not the architectural ones, the ones of the datasheet (timer a - h)
<xdarklight_> AntonioND: there's the meson_timer driver which supports timer A (with IRQ) and E
<AntonioND> yes, but that's not in mainline, as far as I can see
<xdarklight_> drivers/clocksource/meson6_timer.c
<AntonioND> oh, interesting
<AntonioND> I was grepping for meson-timer
<xdarklight_> I have three patches in my tree because I was wondering whether I could support all 4 timer IRQs
<AntonioND> so I assume that IRQs are working, right?
<xdarklight_> on Meson8b and Meson8m2 the Timer A IRQ is working fine, yes
<xdarklight_> (that's 32-bit SoCs)
<AntonioND> ok, I will then give it another shot today. I however, I can't see you using any special new register...
<xdarklight_> my change only updates the naming of the existing register definitions
<xdarklight_> with the existing ones it wasn't clean to me that it was using Timer A and E
<xdarklight_> s/clean/clear/
<AntonioND> yeah, I see
<AntonioND> why are there only 4 timers in the dts? shouldn't it have 2 sets of 4?
<xdarklight_> yep, I think the reason is: nobody cared so far
<AntonioND> :P
<AntonioND> at least about having timers
<ndufresne> mjourdan, right, so source change could also be from a an SPS/PPS update
<ndufresne> so same resolution, but more buffers might be needed
<ndufresne> good to keep in mind
<narmstrong> AntonioND: we don't have yet the need for these timers... at least we didn't found the need yet (we are maybe missing something...)
<narmstrong> The arch timers seems enough for now...
<narmstrong> I'm not a clockevent/timer expert either !
<AntonioND> well, for the most part you can just use the arch timers, but in this case I need a global timer for the framework to work...
<AntonioND> i think...
<mjourdan> ndufresne: Also important to note is that if you receive a src_change event, you must restart the capture queue (even if you don't intend on touching the buffers). Otherwise the decoder is paused.
<mjourdan> But since right now you are doing a full reset then it doesn't really matter
<narmstrong> AntonioND: The S905 Datasheet IRQ numbers are completely wrong, only the 3.14 DT has the correct numbers
<AntonioND> yes, i've had some fun with that... I actually enabled irqs from all SPI ids targeted to my CPU and i still couldn't get any interrupt
<ndufresne> mjourdan, yeah, well, right now, it's not implemented, so it will pause ;-D
<ndufresne> but only in very rare conditions, you'll need multi-sps streams, which is really rare
<ndufresne> mjourdan, I just hope we'll be able to get a good experience with dash as soon as this is implemented, well in fact, we just need to get Chrome running to test
<ldevulder> ndufresne, AntonioND, if we can't trust docs what can we trust? xD
<AntonioND> what is better, having no docs or having misleading docs? :P
<xdarklight_> AntonioND: I believe the answer to that is: "talking to the SoC designers" ;)
Barada has quit [Quit: Barada]
<AntonioND> they are usually behind an IP wall :(
return0e has quit [Read error: Connection reset by peer]
return0e has joined #linux-amlogic
<chewitt> AntonioND: we have some good senior contacts in Amlogic if questions need to be asked
<chewitt> they are most effective when people are asking for something explicit
<AntonioND> i don't think i need them for now... i'm just playing with timers :(
<AntonioND> it should be easy
<chewitt> okay, but if you get stuck on something please ping me (or via narmstrong) so we can organise an email address for someone you can correspond with
<AntonioND> ok, thanks, chewitt. i suppose that they are fine with this port, then? or indiferent? it's not like I want to replace what they have, I just want a minimal implementation of PSCI and basic cpu errata and stuff support...
<chewitt> hard to tell sometimes
<AntonioND> i see
<chewitt> mostly I talk to the management people to make them aware of what we (LibreELEC) are up to so they don't make daft decisions that impact us down the line
<chewitt> we aren't important enough to actually influence their direction
<AntonioND> well, in the case of odroid it has zero support from the company, so even if they were annoyed they can't really complain that someone wants to support it by himself
<AntonioND> the c2
<chewitt> but I think we've avoided future issues by talking .. so it's not a waste of diplomacy
<AntonioND> yeah, that's good
<chewitt> i'd kind of summarise as saying they're foss supportive as long as it doesn't cost anything :)
<AntonioND> ok, that's good enough :P
<chewitt> they've always tried to be helpful when we've asked for things
<chewitt> they're lost with general requests
<chewitt> but when we're explicit about things we can usually get answers
<AntonioND> but I guess that you are talking about EL2-EL0 stuff, right? they removed a good chunk of information from the datasheet they gave to hardkernel, so I'm not sure if they would be as willing to talk about that as with other things
yangxuan has joined #linux-amlogic
<chewitt> better to ask and be politely refused than not try tho
<chewitt> most vendors are secretive because the documentation doesn't exist :)
<AntonioND> true...
yangxuan has quit [Ping timeout: 256 seconds]
vagrantc has joined #linux-amlogic
AntonioND has quit [Quit: :wq]
afaerber has quit [Quit: Leaving]
tlwoerner has quit [Quit: Leaving]
tlwoerner has joined #linux-amlogic
Darkmatter66 has joined #linux-amlogic
afaerber has joined #linux-amlogic
Darkmatter66_ has quit [Ping timeout: 244 seconds]
<poulecaca> don't know if it could interest someone. But I think I have successfully reverse aml_encrypt_gxl binary for "-bl3enc" and "-bl2sig". I am currently able to reproduce a "-bl3enc" with a shell script and "-bl2sig" should be doable soon also. I'll soon write a tool to do bl3enc and bl2sig if some people are insterested in using an open tool to produce binaries images for gxl.
<ldevulder> poulecaca, interesting yes!
afaerber has quit [Ping timeout: 252 seconds]
afaerber has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
<ldevulder> poulecaca, if you have the algorithm we can then try to adapt this in C and add it in afaerber's meson-tools, could be interesting to have it here also (meson-tools already support S905)
<poulecaca> ldevulder: yes I have it. It's not a hard one, I began to write the code. I could try to integrate it after to afaerber's repo.
<poulecaca> bl3enc is easy, it's just a matter of generating an random aes-256-cbc key put it in header along with a iv. encrypt the whole binary. Prepare a header of 512 bytes, and put it in place of the first 512byte of encrypted payload. Relocating this first 512bytes block at the end
<poulecaca> and you need to hash the whole encrypted payload with sha256 also
AntonioND has joined #linux-amlogic
jakogut has quit [Read error: Connection reset by peer]
AntonioND has quit [Quit: Quit]