<minute>
narmstrong: i am putting together the first release system image now for our laptops
<f_>
Yay!!!
<f_>
minute: That's great!
<narmstrong>
minute: yep!!
<minute>
yeah :3 also i want to use it in my own laptop :D
<minute>
narmstrong: ok cool!
<f_>
Nice! Tell us about your experience with an Amlogic SoC inside a laptop!
<minute>
we demoed the first one (with preproduction adapter) at teardown in portland last weekend (our US representative brendan did)
<f_>
Great!
<minute>
i think it's a lot of fun, really snappy. i was able to play return to monkey island on it :D
camus has quit [Remote host closed the connection]
<f_>
:D
<minute>
(which officially needs GL4.5)
<f_>
Which SoC?
<f_>
Forgot..
<minute>
A311D
<f_>
Sure
<f_>
IIRC these are definitely not made for gaming, yet you were able to game in it. Good job!
<narmstrong>
It’s really cool!
luka177 has quit [Ping timeout: 250 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 260 seconds]
luka177 has joined #linux-amlogic
<f_>
Amlogic's code is a huge mess
<f_>
lots of declared variables for multiple things at once
<f_>
For example, there's one variable used as a pointer, and at some point it's just used as a counter..what?
<f_>
Could be Ghidra, too.
JohnnyonFlame has joined #linux-amlogic
<lvrp16>
minute: BL is working on upstreaming bits for decoder among many other things, should help your use case too
<minute>
lvrp16: video decoder?
<lvrp16>
yeah, the hevc multicodec decoder, among other things for A311D and S905D3
<lvrp16>
ISP/camera still have to figure out the IP block but hopefully get those in next year as well
<lvrp16>
our Cottonwood boards are based on these 2 SoCs
<lvrp16>
we have a ton followup on these as well
luka177 has quit [Ping timeout: 250 seconds]
luka177 has joined #linux-amlogic
<minute>
lvrp16: ohhh that's great
buzzmarshall has joined #linux-amlogic
luka177 has quit [Read error: Connection reset by peer]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 252 seconds]
f_ has quit [Quit: f_]
f_ has joined #linux-amlogic
<f_>
Gah. my IRC client hanged. had to kill it.
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 245 seconds]
luka177 has joined #linux-amlogic
vagrantc has joined #linux-amlogic
JerryXiao has quit [Quit: Bye]
JerryXiao has joined #linux-amlogic
JerryXiao has quit [Quit: Bye]
JerryXiao has joined #linux-amlogic
luka177 has quit [Ping timeout: 260 seconds]
luka177 has joined #linux-amlogic
<minute>
so i'm trying to build u-boot for a311d (meson g12b) and mainline with the bpi cm4 defconfig builds fine, but what are the next step to make a complete boot image and where does this go on the sd card (offset?) i guess i am supposed to get the blobby at-f from somewhere as well?
<minute>
(before i just used the bootloader from an armbian image)
<f_>
minute: You need to bundle bl2+fip containing bl30,bl31, and U-Boot
<lvrp16>
gxl and onwards do not need the bs=1 count=440
<minute>
ah!
<minute>
thanks
<f_>
Doesn't that leave space for MBR?
<lvrp16>
the 440 already leaves space for MBR
<lvrp16>
but from GXL onwards, it avoids MBR sector altogether
<f_>
Oh wait I think the eMMC offset changed on gxl, right?
<lvrp16>
emmc offset should be 512 too
<f_>
Nice.
<lvrp16>
you can even use boot0 and boot1 partitions
<f_>
Were they unused?
<lvrp16>
i mean flashing the entire bootloader onto boot0 and boot1
<f_>
and not flashing into mmcblk1 itself, right?
<lvrp16>
yeah
<f_>
From my eMMC dump I saw the bootloader being flashed to both mmcblk1boot0, mmcblk1boot1, and mmcblk1 itself
<f_>
either way, good to know!
<f_>
In that case I wonder if those partitions were useless on gxbb
luka177 has quit [Ping timeout: 264 seconds]
luka177 has joined #linux-amlogic
<f_>
I'm done!
<f_>
Wrote PCTL init!
<f_>
FINALLY
<f_>
that one was long. Anyway, time to compile and test
Terry137322934 has quit [Quit: Bye Bye]
Terry1373229340 has joined #linux-amlogic
f_[xmpp] has quit [Ping timeout: 260 seconds]
<minute>
ok nice, i needed to fix a hardware issue on my module but u-boot boots fine.
<minute>
indeed only the offset 512 was necessary
luka177 has quit [Ping timeout: 264 seconds]
luka177 has joined #linux-amlogic
f_ has quit [Quit: eww what's this]
lvrp16 has quit [Server closed connection]
lvrp16 has joined #linux-amlogic
luka177 has quit [Ping timeout: 240 seconds]
luka177 has joined #linux-amlogic
<CounterPillow>
I have a meson-g12b S922X device I'd like to make my own mainline based images for. I've heard the bootloader stage (u-boot) needs to be signed with some special tool. Is there an overview somewhere? Also how's mainline looking on that SoC anyway?
<CounterPillow>
I saw today that MIPI-DSI is apparently in the pipeline, which is great news cause I'll need that :)