TomTom has quit [Quit: Connection closed for inactivity]
tsal has joined #libreelec
tsal_ has quit [Ping timeout: 244 seconds]
minimal has quit [Quit: Leaving]
keypusher has quit [Ping timeout: 276 seconds]
keypusher has joined #libreelec
riot_dd_ has joined #libreelec
riot_dd has quit [Ping timeout: 272 seconds]
donofrio has quit [Remote host closed the connection]
<tito-me-doe>
I am in the US, but more than that, I am a father and full time employee. I admit there’s a lot I don’t know about the social aspect of the existing community specifically surrounding LibreELEC and its forks. I have over 20 years expertise in general *nix, FOSS, and software development, but I’m yeah very new to this specific niche
<chewitt>
morning :)
colo has quit [Quit: Bye.]
colo has joined #libreelec
<f_>
wait you don't use the one true timezone UGT?
<f_>
tito-me-doe: May I ask, have you looked at vendor BSPs before?
<chewitt>
I usually feel unclean after looking at them :)
<f_>
haha, same :)
<f_>
Though I kinda have to stare at them sometimes, they often contain interesting clues
<chewitt>
laziness is your friend
<f_>
but would I try cleaning that up or even use it in production? Naaaahhhhhh
<f_>
chewitt: eh when I'm lazy I help folks in IRC instead
<chewitt>
I mean; lazy vendor devs leave lots of clues
<f_>
ah right
<f_>
yes, lots of copy-paste of the same code everywhere :D
<chewitt>
the demands of shipping a product require you to play the "choose your compromise" game
<f_>
Even on their firmware there's a lot of copy-pasting done
<f_>
if it works don't fix it
<chewitt>
as long as it 'works' the task is completed and you move onto the next task
<f_>
until somebody finds a vulnerability in the code
<f_>
in which case you have to fix it ;p
<chewitt>
I love the "problem: x does not support y" .. "fix: add support for y to x" commit messages :D
<f_>
same :D
<f_>
Problem: Bl30 does not work on S805X
<f_>
Solution: Add S805X support for BL30
<f_>
ahh if only it were so simple lol
<f_>
Problem: amlogic firmware is proprietary
<f_>
Solution: spend years reversing it
<chewitt>
mind you .. if I were asked to make commit messages in Chinese .. expect similar brevity
<f_>
chewitt: If I were asked to do it I would probably write meaningless junk, not "problem/solution" commit messages :D
<f_>
so props to them in any case
<chewitt>
I guess someone did it once, and then others cribbed the idea and it became the standard
<f_>
The coding style though.... I know for sure amlogic employees can do better than that
<chewitt>
or management said "commits must have a problem and solution description" but never checked the result
<f_>
But I suppose management also puts deadlines and such (as usual) and doesn't check the result as long as it 'works'
<chewitt>
if there's only four of you working on something in isolation, all of your ideas sound great
<f_>
well.
<chewitt>
the ideas are never subjected to serious peer review
<f_>
I know Amlogic started letting a 3rd-party to look at their source code
<f_>
a good while ago
<chewitt>
there's a bunch of them
<f_>
Have you heard of riscure?
<chewitt>
but those third parties are mostly hired to do a task for a price, and that generally precludes large amounts of refactoring and improvement
<f_>
Firmware-wise I mean, some of their BL2's have the strong "riscure-review-[numbers]" in their "Built :" string
<chewitt>
no, but I heard of Keysight who now appears to own them
<f_>
s/strong/string/
<f_>
Until I got a Mi TV Stick I haven't actually owned any device that came with such a binary
<chewitt>
there are known exploits in the bootrom code so it's only sensible to outsource a security review and implement the findings
<chewitt>
the latest boards are basically hostile to open-source
<f_>
They're hostile to users in general
<chewitt>
as all the video firmware must be loaded from secure-world, which implies vendor u-boot (and blobs)
<f_>
Xiaomi is also pretty hostile to FOSS w/ their tv stick
<f_>
Lots of security through obscurity there
<f_>
..that ultimately failed anyway
<chewitt>
the technical direction Amlogic is headed in makes me think they're an evolutionary dead-end for upstream support
<f_>
In stock Android 9 their vendor U-Boot exposed a shell over uart
<f_>
Then after an upgrade all of the u-boot UART logging was gone
<f_>
Then the Android 10 upgrade brought back the shell
<chewitt>
they will have achieved their goal of being so obfuscated and problematic that nobody with any FOSS principles will want to work with their chips
<f_>
chewitt: Looks like, yeah.
<f_>
Their TV SoCs are also pretty much black box
<chewitt>
I never looked at them but I doubt they're too different aside from having different connectivity
<f_>
that's the thing. No one ever looked at them
<f_>
No one ever ran mainline u-boot on those
<f_>
let alone mainline linux
<chewitt>
there's support for some of them in the BSP drops I've seen, although whether that's leftovers and another codebase is used or that's the actual codebase .. anyone's guess
<chewitt>
bsp stuff has a large sep field around it for me
<f_>
What I have trouble understanding also, is how in the world did xiaomi get android 10 on gxl
<chewitt>
customer with enough sales volume to be taken seriously made the request, so someone forked the bsp, hacked it to work, and shipped it
<chewitt>
but as they want to minimise support, it's not made available to all
<f_>
Apparently there are some gxl leftovers in Amlogic's Android 10 BSP yeah
<f_>
"minimise support" yeah that could explain why not everyone got the upgrade
<f_>
and rn either upgrading to A10 or staying on old A9 is a prerequisite to booting Mainline linux as far as we (I and a few pmOS contributors) know ;p
<f_>
booting mainline u-boot on it is doable, it's just tedious
<f_>
and means you'll need to bring a computer everytime you want to boot it up ATM
colo has quit [Quit: Bye.]
colo has joined #libreelec
<tito-me-doe>
Good morning. For me at least
<tito-me-doe>
Yeah I have looked at a BSP kernel. Specifically the RK3566 E5 plus and E6 plus kernels, which are themselves modifications of the PowKiddy x55 BSP kernel
<tito-me-doe>
I’m currently trying to isolate the differences so I can hopefully PR mainline for it, since the x55 now can boot mainline
<f_>
tito-me-doe: Don't know about RK, but the Amlogic BSP kernels' coding style is .. incredible ;p
<chewitt>
i've seen ones from Realtek that make Amlogic's ones look masterful
<chewitt>
RK aren't so bad in terms of code quality
<chewitt>
but their recent chips shipped without a whole heap 'o drivers
<tito-me-doe>
Fun
<tito-me-doe>
But I can’t say I’ve never made any mistakes
<chewitt>
hence why RK3588 is only just reaching the point where we can look at it, three years after shipment
<chewitt>
everyone leaves the fun stuff (media codecs) till last
<tito-me-doe>
I mean, I once accidentally upgraded a production server from a two server 10.04 14.04
<tito-me-doe>
From Ubuntu 10 to 14 I mean
<tito-me-doe>
My only defense was I was using a terminal and thought I was on my own machine
Fenster has quit [Read error: Connection reset by peer]
Fenster has joined #libreelec
diederik has quit [Ping timeout: 245 seconds]
GNUmoon has quit [Ping timeout: 264 seconds]
diederik has joined #libreelec
GNUmoon has joined #libreelec
donofrio has joined #libreelec
donofrio has quit [Ping timeout: 248 seconds]
donofrio has joined #libreelec
donofrio has quit [Ping timeout: 260 seconds]
donofrio has joined #libreelec
donofrio has quit [Ping timeout: 272 seconds]
minimal has joined #libreelec
buzzmarshall has joined #libreelec
chewitt has quit [Read error: Connection reset by peer]
chewitt_ has joined #libreelec
syphyr has joined #libreelec
chewitt_ has quit [Read error: Connection reset by peer]
chewitt has joined #libreelec
chewitt has quit [Client Quit]
Fenster has quit [Ping timeout: 268 seconds]
keypusher has quit [Quit: bye]
keypusher has joined #libreelec
<tito-me-doe>
Oh cmon now, it was over 10 years ago, it can’t be so bad that everyone gets quiet
<f_>
lol
<f_>
tito-me-doe: it's night time in UTC world
<f_>
chewitt is probably Zzz right now
<tito-me-doe>
Oh I sent the first message at 7am, then the next at 5pm