ftg has quit [Read error: Connection reset by peer]
apritzel_ has quit [Ping timeout: 480 seconds]
junari_ has joined #linux-sunxi
junari__ has quit [Ping timeout: 480 seconds]
junari__ has joined #linux-sunxi
junari_ has quit [Ping timeout: 480 seconds]
apritzel_ has joined #linux-sunxi
apritzel_ has quit [Ping timeout: 480 seconds]
apritzel_ has joined #linux-sunxi
apritzel_ has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
apritzel_ has joined #linux-sunxi
apritzel_ has quit [Ping timeout: 480 seconds]
bauen1 has quit [Ping timeout: 480 seconds]
junari_ has joined #linux-sunxi
junari__ has quit [Ping timeout: 480 seconds]
evgeny_boger has joined #linux-sunxi
bauen1 has joined #linux-sunxi
evgeny_boger has quit [Quit: evgeny_boger]
Mangy_Dog has joined #linux-sunxi
apritzel_ has joined #linux-sunxi
junari__ has joined #linux-sunxi
junari_ has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has quit []
evgeny_boger has joined #linux-sunxi
evgeny_boger1 has joined #linux-sunxi
evgeny_boger has quit [Ping timeout: 480 seconds]
evgeny_boger1 has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
ftg has joined #linux-sunxi
junari__ has quit [Ping timeout: 480 seconds]
vagrantc has joined #linux-sunxi
Jookia has joined #linux-sunxi
<Hypfer>
Are there any special things to consider if I'd want to load and execute toc0 for an A133 via FEL or is it like with the previous eGON format where you just load it at address xyz and then jump into that?
<Hypfer>
Also, does what I just wrote make any sense or have I misunderstood something?
<Jookia>
Has anyone managed to get CAN working on the T113 or D1?
<apritzel>
that might allow you make a standard eGON image out of the TOC0, and just use that
hlauer has joined #linux-sunxi
<Hypfer>
apritzel will that converted image also work if secure boot is enabled or would that un-sign the image?
<Hypfer>
hmmh that ruby toc2egon file doesn't like this toc0 file for some reason. chunk1_size is too large by 4 byte
<Hypfer>
if I edit that check out, it still complains about the missing eGON header but maybe that's because the script expects a toc0 built by egon2toc.rb?
aat596_2 has joined #linux-sunxi
<apritzel>
Hypfer: with FEL booting you actually don't need any eGON or TOC0 format, and any signatures are irrelevant, because in FEL mode you are already unlocked
<apritzel>
IIUC in TOC0 the payload is just signed, not encrypted, so you can just ignore the signature and extract the SPL/boot0
<apritzel>
Hypfer: ah, good point about toc2egon just being the reverse, it might indeed not be universal
<Hypfer>
does the SPL/boot0 have some magic value as a header so that I could conceivably peel that out of the toc0 without having to parse the format?
<apritzel>
I think the SPL payload embedded in TOC0 does not have a special header, but with the information above and a hex editor you should be able to figure out the offset
<apritzel>
my tablet didn't use TOC0, IIRC, so I just uplodaded boot0 and let it initialise the DRAM
<Hypfer>
i suppose those parameters are hw-specific or would it also be possible to push any boot0 as long as it's the same dram type?
<apritzel>
yeah, the DRAM parameters might differ, and it would outright fail if you have a different DRAM type (LPDDR3 vs. DDR3 vs. LPDDR4, for instance)
<apritzel>
Hypfer: my tablet is the Teclast P80, what device do you have?
<apritzel>
if I can trust my notes, this should be the version that returns to FEL after init'ing the DRAM
<apritzel>
that blob is expecting DDR3 at 624 MHz
<Hypfer>
ah okay that probably won't work here then. It's DDR4 iirc
<Hypfer>
thanks though!
<Hypfer>
okay I've finished a rudimentary parser for my toc0 based on the wiki but what confuses me about it is that it only has two item headers for two items of which both are type 0x010101 certificate item
<Hypfer>
it is way larger than those 2x 764 byte + headers though. a full 96kb