<f_>
xdarklight: Looking more into it, I see how you (probably) got that base address
<f_>
BL2 runs `storage_load` to load aml_ddr.fw to 0xfffd0000 .. it being very verbose when doing it means that it says to UART something along the lines of "Load ddrfw from <device>, src: <src>, dst: ** 0xfffd0000 ** <...>"
<f_>
then `$ dd if=aml_ddr.fw of=aml_ddr.stripped.fw bs=1 skip=96` means that the stripped thing starts at 0xfffd0060
<f_>
now ... aml_ddr.fw seems to be compressed.......
<f_>
so that obviously means BL2 has some compression lib built-in
<f_>
Probably it's the same thing they use for BL31
<f_>
(because why would they use something completely different?)
<f_>
I presume they may have used an external lib for this, most likely a FOSS lib under a permissive license that allows them to bundle it in their proprietary binary.
jacobk has quit [Ping timeout: 276 seconds]
jacobk has joined #linux-amlogic
<f_>
regarding aml_ddr.fw, it just gets dirtier!
<f_>
It looks like they load the thing and just try to run stuff from hardcoded addresses or something like that.
Terry13732293409 has quit [Quit: Bye Bye]
Terry13732293409 has joined #linux-amlogic
psydroid has joined #linux-amlogic
psydroid has quit [Read error: Connection reset by peer]
psydroid has joined #linux-amlogic
jandakinevich has joined #linux-amlogic
psydroid has quit [Read error: Connection reset by peer]
psydroid has joined #linux-amlogic
psydroid has quit [Read error: Connection reset by peer]
psydroid has joined #linux-amlogic
jacobk has quit [Ping timeout: 260 seconds]
jacobk has joined #linux-amlogic
vagrantc has joined #linux-amlogic
jandakinevich has quit [Ping timeout: 260 seconds]
psydroid has quit [Read error: Connection reset by peer]
psydroid has joined #linux-amlogic
jacobk has quit [Ping timeout: 276 seconds]
naoki has joined #linux-amlogic
psydroid has quit [Remote host closed the connection]
psydroid has joined #linux-amlogic
anessen973383701 has quit [Ping timeout: 245 seconds]
psydroid has quit [Read error: Connection reset by peer]