buzzmarshall has quit [Quit: Konversation terminated!]
dliviu has quit [Ping timeout: 276 seconds]
dliviu has joined #linux-amlogic
naoki has quit [Quit: naoki]
ungeskriptet_ has joined #linux-amlogic
ungeskriptet has quit [Ping timeout: 252 seconds]
ungeskriptet_ is now known as ungeskriptet
buzzmarshall has joined #linux-amlogic
<f_>
machinehum: are you working on a board or?
<xdarklight>
rockosov: generally both are here but I think they have have some time off at the end of the year. if you need anything then I suggest sending a mail to the mailing-list - I'm sure they'll pick it up when they are back
<machinehum>
Right now using allwinner, I'm trying to understand that amlogic supply chain, costing and availability
<machinehum>
And by "stuff like this" I mean I built that
<f_>
ooooh what is it
<machinehum>
The PCB on top the flipper that is
<machinehum>
It's a Linux board, for pentesting, addon for the Flipper Zero
<f_>
Looks neat but what is it for? :o I'm not familiar with flipper
<f_>
ah ok
<machinehum>
Flipper is multi radio pentesting thing, however it doesn't have wifi, people make ESP32 boards for it but I wanted a full linux thing
<machinehum>
Flipper just uses an STM32x BT chip, probably Cortex M something, so my
<machinehum>
addon is quite a bit more powerfull that the Flipper, so eventually my thing will be a stand alone device
<machinehum>
Seems like the amlogic mainlining community it quite good, so based on chip availbility this could be a good option
<f_>
Yeah the main dealbreaker with those Amlogic's is needing proprietary firmware to boot :/
<f_>
But the mainline support is very good
<machinehum>
The pre-uboot boot0 stuff? This is firmware that lives in flash on the SOC?
<f_>
What's "boot0"?
<f_>
Probably Allwinner thing
<machinehum>
I guess whatever the first thing that happens
<f_>
Amlogic SoCs first boot to BL1/BootROM, which does a bit of init, then it looks for a BL2 on eMMC/SD/NAND/SPI flash
<machinehum>
Whatever sets up DRAM for uboot, etc
<machinehum>
BL2 is propritary
<machinehum>
?
<f_>
BL2 does DRAM init mainly, then boots the SCP firmware (BL30 or SCP_BL2), BL31 and loads u-boot
<f_>
BL31 is mainly for PSCI and such, then U-Boot finally loads
<f_>
s/loads/boots/
<f_>
Everything that happens before U-Boot is typically proprietary
<f_>
BL31 has been reverse-engineered thanks to AntonioND, repk and ccaione, but this leaves BL2 and SCP_BL2/BL30
<f_>
And that's the current status quo regarding boot firmware, although reverse-engineering efforts to replace BL2 have started a few years ago, and it is possible now to boot some older SoCs with BL2 replaced
<f_>
But I still consider that WIP
<f_>
(and yes, to anyone else wondering, I'm still working on it, so it's still on-going!)
<machinehum>
Nice
<machinehum>
I mean seems decent, those bits being proprietary isn't really a showstopper for myself
<machinehum>
Has Amlogic been any help with the effort?
<f_>
machinehum: not really
<f_>
Though some leftover source code in their 2015 u-boot downstream fork did help
<f_>
but no they didn't directly help
hexaheximal has joined #linux-amlogic
exkc has quit [Remote host closed the connection]
f_[x] has quit [Remote host closed the connection]
jandakinevich has quit [Ping timeout: 244 seconds]