f_ has quit [Read error: Connection reset by peer]
f_ has joined #linux-amlogic
luka177 has joined #linux-amlogic
hexdump0815 has quit [Ping timeout: 256 seconds]
hexdump0815 has joined #linux-amlogic
jacobk has joined #linux-amlogic
buzzmarshall has quit [Quit: Konversation terminated!]
jacobk has quit [Ping timeout: 260 seconds]
jacobk has joined #linux-amlogic
jacobk has quit [Ping timeout: 260 seconds]
djrscally has joined #linux-amlogic
ldevulder_ is now known as ldevulder
luka177 has quit [Read error: Connection reset by peer]
f11f12 has joined #linux-amlogic
luka177 has joined #linux-amlogic
jacobk has joined #linux-amlogic
<marc|gonzalez>
narmstrong: thanks for the review. What does "Why was ? it's no more it's codename ?" mean??
<marc|gonzalez>
narmstrong: you didn't split the yaml part in b7be144932a83 but I suppose this is the privilege of maintainers ;) and I was expecting that request
<narmstrong>
marc|gonzalez: yeah it was in the old days, thing were simpler and more chaotic, now it's expected to be separate!
<marc|gonzalez>
I'm on it :)
<marc|gonzalez>
What did "Why was ? it's no more it's codename ?" mean?
<narmstrong>
oh ok now I understand the Pop is based on SEI530FB
<narmstrong>
ok you should reformulate like : "Based on the SEI530FB, derivative of the SEI510"
<marc|gonzalez>
Oh my brain managed to parse the sentence!
<marc|gonzalez>
I'll ask phh, but I think pop = fbx8am = sei530fb
<marc|gonzalez>
I wrote 'was' because usually we use codenames early in the life of the project, then use a different name later on
<phh>
SEI530FB is the codename SEI-side, fbx8am is the codename Freebox-side, Player Pop is the commercial name
<narmstrong>
Oh ok, I see now, it's ok then
<narmstrong>
you can replace with this sentence, it would be perfect!
<f_>
I guess marc|gonzalez also works for free.fr?
<phh>
f_: yes
<f_>
cool
<narmstrong>
Side question, is there some plan to upstream more of the other Qualcomm based devices ? (it's my other hat)
<narmstrong>
phh: nice, hope you will be able to push all this^^ for the cpr you can perhaps ask to lumag and konradybcio on OFTC #linux-msm, they are basically wizards on qcom SoCs for Display and obscure system related stuff
<marc|gonzalez>
narmstrong: back in 2018, I was supposed to upstream all the bits for the msm8998, then qcom said "You want the HW docs?! Fuck off, lamers."
<phh>
narmstrong: yeah I hope. But I have to point out that we're nowhere near doing it full-time. Using mainline in production on those platforms still look to be an incredibly high hill (we need DRM -- the bad kind -- and HDR, and even Dolby Vision on fbx8am to mention just the obvious ones)
<narmstrong>
marc|gonzalez: yeah I understand the struggle
<narmstrong>
phh: the multimedia stuff will remain the hardest the upstream
<marc|gonzalez>
I don't know if they just don't just a "small" French company, or if they're just typical corporate assholes, but it sucks
<marc|gonzalez>
*don't trust
<narmstrong>
they're hardcore in business...
<marc|gonzalez>
By now, the value of the 8998 HW docs should have dropped to 0, but still they won't release them
<phh>
narmstrong: on amlogic the way to DRM isn't too hard. Kernel-side, in my mind, it pretty much requires just secure dma heap. But actually I feel like meson vdec needs to be completely rewritten for X2/X4 to remove the parser, and switching to what looks like to me a stateless decoder
<narmstrong>
phh: yep, it's also my PoV, the "old" decoder should be split out and "new" ones should bypass the parser
<narmstrong>
the ES parser makes it impossible to correctly track buffers
<narmstrong>
but AFAIK nobody has time for such rework...
<narmstrong>
and yeah I'm pretty sure we could reverse the new decoder state buffers and make them stateless
<f_>
phh, marc|gonzalez: is upstreaming u-boot changes also planned?
<narmstrong>
marc|gonzalez: yep but I'm pretty sure nobody in qcom remembers anything about 8998...
<narmstrong>
only weird irc persons seems to be interesting in those old weird tech
<narmstrong>
even if millions still uses the hw daily
<phh>
f_: sorry, but no... we really don't see how it helps doing long term support. that being said, I wouldn't mind sending you 2 pcs of our STBs, one without secure boot, one with development secure boot keys we can give you. though we have multiple DDR varirants, and what i can send you is only with one variant
<f_>
Am I weird for reverse engineering ~8 year old SoC firmware?
<narmstrong>
f_: nah, well yes, but you're not alone
<f_>
phh: you're talking about SPL support :)
<narmstrong>
some people are reverse engineering gameboy PCBs
<f_>
I said u-boot as in u-boot proper
<f_>
narmstrong: hehe
<narmstrong>
phh: I'll be perhaps interested in one non-secured unit to put in CI, I don't have any SEI510-like left
<f_>
Don't worry, I'll be less weird once I start reversing g12b
<f_>
phh: I'll consider, thanks!
<narmstrong>
phh: basic u-boot mainline would only invold syncing dt to u-boot git and adding a defconfig
<f_>
yeah pretty much
<f_>
phh: But..yeah I wouldn't mind another STB without secureboot :)
* f_
is considering...
<phh>
i'll see what I can do, but those are pretty rare here, since we did it only at the beginning
<phh>
f_: but you're not interested in looking at secure boot?
<f_>
sure
<f_>
I didn't say yes yet lol
<f_>
I'll ping you if I accept. Thanks a bunch!
<f_>
These are S905X2 right?
<phh>
yup
<phh>
I know you didn't say yes yet, but I didn't either :P
<f_>
lol
<f_>
I did say thanks though :)
<f_>
hmm no datasheets for S905X2?
<f_>
Meh.
<f_>
Not a big deal.
<phh>
I do have something that Amlogic calls a datasheet (but I don't), but I can't share it. narmstrong maybe has something though
<narmstrong>
I had one, but it very close to A311D which is public
<f_>
well I can probably use a G12B datasheet
<phh>
yeah it's g12a vs g12b
<phh>
afaik it's just cpu core one pll and npu
<f_>
before it was gxbb vs gxl
<narmstrong>
remove the second cluster, NPU and camera stuff and you have g12a
<narmstrong>
they even share the same sdio controller bug
<f_>
Not really that surprised lol
<phh>
wrt the sdio controller bug, I'm looking at downstream Linux 5.15 for g12a, and they are no longer using ""sd_emmc_a@ffe03000""" with dram-accessquirk, but ""sd_emmc_b3@ffe05000"", and my brain doesn't compute
<narmstrong>
yep, they added a metal fix to be able to route the sd_emmc_a signals to sd_emmc_b and they share the controller between sdio and sdcard
<phh>
... with a chip select?
<narmstrong>
nop, they dynamically switch the signals out of sd_emmc_b to the sdio or the sdcard when needed
<marc|gonzalez>
Why does SCHEMA complain about snps,dwmac.yaml: mac-mode: missing type definition?
<marc|gonzalez>
Isn't "$ref: ethernet-controller.yaml#/properties/phy-connection-type" a type definition?
<narmstrong>
in theory it works, but it involves a lot of hack to keep signals consistent when switched
<f_>
narmstrong: yeah so it werks™.
<narmstrong>
marc|gonzalez: hmm I don't see
<narmstrong>
marc|gonzalez: dt_binding_check doesn't complain on my side, did you get the latest version of dt-schema tools ?
<phh>
narmstrong: and erm, the DTS we're pushing is using sd_emmc_a. That's still the preferred way in mainline right? we're not going to switch to sd_emmc_b3?
<phh>
gosh that's such a horrible hack
<narmstrong>
phh: yep no, while it would be possible to describe it, multi-slot mmc isn't possible yet in upstream mmc framework, and perhaps forever
<marc|gonzalez>
narmstrong: it's not dtbs_check that prints that, it's when you build the schemas
<marc|gonzalez>
I got it from 'make clean && make dtbs_check'
<narmstrong>
marc|gonzalez: with dt_binding_check ? what do you use to build the schemas ?