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
vagrantc has quit [Quit: leaving]
djrscally has quit [Ping timeout: 252 seconds]
leah has joined #linux-amlogic
leah has quit [Ping timeout: 252 seconds]
leah has joined #linux-amlogic
jacobk has quit [Ping timeout: 248 seconds]
jacobk has joined #linux-amlogic
naoki has joined #linux-amlogic
jacobk has quit [Ping timeout: 248 seconds]
jacobk has joined #linux-amlogic
hexdump0815 has quit [Ping timeout: 244 seconds]
naoki has quit [Quit: naoki]
hexdump0815 has joined #linux-amlogic
leah has quit [Quit: WeeChat 4.5.2]
leah has joined #linux-amlogic
djrscally has joined #linux-amlogic
ungeskriptet_ has joined #linux-amlogic
ungeskriptet has quit [Ping timeout: 265 seconds]
ungeskriptet_ is now known as ungeskriptet
luka177 has joined #linux-amlogic
ldevulder has joined #linux-amlogic
jacobk has quit [Ping timeout: 248 seconds]
jacobk has joined #linux-amlogic
dlan has quit [Ping timeout: 260 seconds]
dlan has joined #linux-amlogic
<f_> I'm giving up decrypting the rest for now. My guess is the keys might be in one of those headers or somewhere else
<f_> I can theoretically already boot u-boot spl
<f_> Right now I'll try on my trusty lepotato board with no secureboot enabled at all, just to see how SPL reacts to amlogic-usbdl.
<f_> This also means I'll have to get rid of the @AML header that gets added, since I can simply just jump right to the payload
<f_> Also I'd rather not load amlogic BL2 on this thing
<f_> with u-boot spl I know it's not going to do magic stuff with... stuff
naoki has joined #linux-amlogic
naoki has quit [Client Quit]
<f_> GXL:BL1:9ac50e:bb16dc;FEAT:ADFC318C:0;POC:2;RCY:0;USB:0;
<f_> <d}Յ>
<f_> USB boot
<f_> resetting ...
<f_> cool ^^
luka177 has quit [Ping timeout: 265 seconds]
mripard has joined #linux-amlogic
<phh> f_: to be sure i understood it all, you have a xiaomi tv stick, vulnerable to the usb dl flaw, which you used to dump the AES key from efuses. Only AES key is used for secure boot, so that's enough for you to boot your own bootloader. Is that correct?
<f_> phh: Basically. Except all the firmware is encrypted and the key I dumped is only for BL2
<f_> And I can already boot my own bootloader via USB thanks to the vuln.
<f_> I haven't tested replacing BL2 on the eMMC, and I don't think it'll work.. it's signed
<f_> I mostly did my best to not touch anything on the eMMC. So only the vendor u-boot env has been altered, to boot postmarketOS from it
<f_> and in android I just enabled adb
<f_> (no root, however)
<f_> phh: basically I'm trying something similar to https://fredericb.info/2021/11/booting-ubuntu-on-google-chromecast-with-google-tv.html but on gxl and with u-boot-spl and mainline u-boot
<f_> oooh :D
<f_> GXL:BL1:9ac50e:bb16dc;FEAT:BDFD71BC:0;POC:3;RCY:1;USB:3;
<f_> <debug_uart>
<f_> ^ as seen on tv stick :D
<f_> But it print "USB boot" nor "resetting ...". I suppose DRAM init fails which is to be expected.. that binary uses lepotato's config and lepotato uses DDR3 while the stick uses DDR4
<Danct12> i should do something to my beelink gt-king again
<Danct12> my first idea is going to build a replacement shell for it and custom cooling
<Danct12> there's apparently a lot of space for a custom cooling
<Danct12> even screw holes for that
luka177 has joined #linux-amlogic
<f_> Danct12: who's stopping you from doing it? :)
luka177 has quit [Ping timeout: 245 seconds]
hexdump0815 has quit [Quit: WeeChat 3.8]
hexdump0815 has joined #linux-amlogic
psydroid2 has joined #linux-amlogic
luka177 has joined #linux-amlogic
<f_> edit: "But it" doesn't "print..."
<Danct12> f_, nothing but.. i'm having trouble finding the exact cooler
<Danct12> and also it seems like beelink has several revisions of the board
<Danct12> some with mounting holes and other without them??
<Danct12> it also has a unpopulated usb port
<Danct12> so if i would go and adapt a custom case, i'd probably solder a usb port to that and enable it
<Danct12> assuming it works
mripard has quit [Ping timeout: 248 seconds]
mripard has joined #linux-amlogic
steev has quit [Ping timeout: 265 seconds]
steev has joined #linux-amlogic
luka177 has quit [Ping timeout: 260 seconds]
psydroid2 has quit [Quit: KVIrc 5.2.6 Quasar http://www.kvirc.net/]
jacobk_ has joined #linux-amlogic
jacobk has quit [Ping timeout: 276 seconds]
jacobk_ has quit [Ping timeout: 260 seconds]
jacobk has joined #linux-amlogic
leah has quit [Ping timeout: 272 seconds]
djrscally has quit [Quit: Konversation terminated!]
djrscally has joined #linux-amlogic
leah has joined #linux-amlogic
leah has quit [Ping timeout: 244 seconds]
leah has joined #linux-amlogic
leah has quit [Ping timeout: 252 seconds]
ldevulder has quit [Quit: Leaving]
leah has joined #linux-amlogic
leah has quit [Ping timeout: 244 seconds]
leah has joined #linux-amlogic
djrscally has quit [Quit: Konversation terminated!]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 245 seconds]
buzzmarshall has joined #linux-amlogic