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 - official channel moved from Freenode - publicly logged on https://libera.irclog.whitequark.org/linux-amlogic
naoki has quit [Quit: naoki]
vagrantc has quit [Ping timeout: 272 seconds]
naoki has joined #linux-amlogic
naoki has quit [Quit: naoki]
naoki has joined #linux-amlogic
hexdump0815 has quit [Ping timeout: 245 seconds]
hexdump0815 has joined #linux-amlogic
buzzmarshall has quit [Quit: Konversation terminated!]
luka177 has quit [Ping timeout: 260 seconds]
naoki1 has joined #linux-amlogic
naoki has quit [Ping timeout: 248 seconds]
naoki1 is now known as naoki
naoki has quit [Remote host closed the connection]
naoki has joined #linux-amlogic
naoki has quit [Ping timeout: 252 seconds]
naoki has joined #linux-amlogic
naoki has quit [Quit: naoki]
naoki has joined #linux-amlogic
kenny has quit [Remote host closed the connection]
kenny has joined #linux-amlogic
naoki1 has joined #linux-amlogic
naoki has quit [Quit: naoki]
naoki1 is now known as naoki
ungeskriptet has quit [Remote host closed the connection]
ungeskriptet has joined #linux-amlogic
djrscally has joined #linux-amlogic
CounterPillow has quit [Quit: Bye.]
CounterPillow has joined #linux-amlogic
b0 has quit [Quit: Ping timeout (120 seconds)]
b0 has joined #linux-amlogic
ldevulder has quit [Quit: Leaving]
ldevulder has joined #linux-amlogic
<narmstrong> f_: super cool !
jacobk has quit [Ping timeout: 248 seconds]
jacobk has joined #linux-amlogic
dliviu has quit [Quit: Going away]
dliviu has joined #linux-amlogic
naoki has quit [Quit: naoki]
<f_> narmstrong: it's mostly also lazy :p but yeah :)
<f_> And now that I think about it I could try it on lafrite and then pretend it can boot linux fine now :p
<f_> I
<f_> I know for sure DRAM init works there, SPI and eMMC just don't want to work :/
CounterPillow has quit [Quit: Bye.]
CounterPillow has joined #linux-amlogic
CyReVolt has quit [Quit: restarting for updates (via.pixie.town)]
CyReVolt has joined #linux-amlogic
psydroid2 has joined #linux-amlogic
<f_> DRAM init is working on TV stick!
<narmstrong> \o/
<f_> narmstrong: Surprisingly didn't need much work now :)
<f_> All I needed is correctly set the clock to what the stock bl2 uses and the correct dram config in `make menuconfig` :)
<f_> I also enabled debug printf
<f_> aha
<f_> if [ "$disableprint" == "true" ]; then
<f_> b5="$(printf %02x $(( 0x$b5 | 0x02 )))"
<f_> fi
<f_> great :D more security by obscurity :D
<f_> Honestly that efuse-gen.sh amlogic script is very helpful for efuse stuff
<f_> CyReVolt: ^ it *IS* the documentation :D
<f_> This contains lots of useful bits and pieces
buzzmarshall has joined #linux-amlogic
vagrantc has joined #linux-amlogic
jacobk has quit [Ping timeout: 260 seconds]
<CyReVolt> <f_> "https://paste.debian.net/plainh..." <- oh cool, so you did the DRAM init and printed the C?
<CyReVolt> Congrats!
<CyReVolt> 🥳
<f_> CyReVolt: The "C" comes from U-Boot SPL's Ymodem boot thing
<f_> But yeah :)
<f_> all the needed code was already there so all I had to do is setup some stuff in menuconfig correctly
<CyReVolt> gotcha
<f_> most/all
<f_> Let's just see if it'll accept my 2018-ish SCP firmware
<f_> xiaomi's amlogic scp fw thing is from 2021
<f_> let's just hope they didn't just enable antirollback junk
<f_> Ymodem sectors/kbytes sent: 897/112k
<f_> let's see if this works!
<f_> bl30 says no
<f_> hah, we were this >< close to booting a mainline u-boot as BL33 :D
jacobk has joined #linux-amlogic
paulk-bis has joined #linux-amlogic
paulk has quit [Read error: Connection reset by peer]
jacobk has quit [Ping timeout: 248 seconds]
<f_> time to spend 5 minutes reversing "sign-tool-gxl"
<f_> by which I mean stare at it and notice debug symbols
<f_> xD
djrscally has quit [Quit: Konversation terminated!]
psydroid2 has quit [Quit: KVIrc 5.2.6 Quasar http://www.kvirc.net/]
djrscally has joined #linux-amlogic
djrscally has quit [Quit: Konversation terminated!]