vagrantc has quit [Ping timeout: 265 seconds]
vagrantc has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
buzzmarshall has quit [Quit: Konversation terminated!]
vagrantc has joined #linux-amlogic
elastic_dog has quit [Read error: Connection reset by peer]
elastic_dog has joined #linux-amlogic
Daanct12 has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
f_ has joined #linux-amlogic
dliviu has quit [Ping timeout: 246 seconds]
dliviu has joined #linux-amlogic
JohnnyonF has joined #linux-amlogic
JohnnyonFlame has quit [Ping timeout: 250 seconds]
<
f_>
I published that just now (CC0. feel free to do whatever you want)
JohnnyonF has quit [Ping timeout: 240 seconds]
JohnnyonFlame has joined #linux-amlogic
Daanct12 has quit [Quit: WeeChat 3.8]
Terry137322934 has quit [Quit: Ping timeout (120 seconds)]
Terry137322934 has joined #linux-amlogic
buzzmarshall has joined #linux-amlogic
ffhguy has quit [Ping timeout: 240 seconds]
vagrantc has joined #linux-amlogic
Danct12 has quit [Read error: Connection reset by peer]
Daanct12 has joined #linux-amlogic
Daanct12 has quit [Client Quit]
Danct12 has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
jacobk has joined #linux-amlogic
jacobk has quit [Ping timeout: 250 seconds]
jacobk has joined #linux-amlogic
Danct12 has quit [Remote host closed the connection]
Danct12 has joined #linux-amlogic
<
f_>
I found why it didn't work!
<
f_>
fp->base = 3640704512
<
f_>
fp->file_pos = 65536
<
f_>
for reference, the TZRAM limit = 0xd9014000
<
f_>
>>> hex(0xd900be00 + 65536) < hex(0xd9014000)
<
f_>
The address is well over the TZRAM, and thus it fails and resets itself.
<
f_>
¯\_(ツ)_/¯ oops
<
f_>
TZRAM_SIZE is set to 0x00014000 in upstream TF-A
<
f_>
Let's see what it is set to in Amlogic TF-A:
<
f_>
$ git grep "define TZRAM"
<
f_>
plat/gxb/include/platform_def.h:#define TZRAM_SIZE 0x00020000
<
f_>
That'll do it! :D
<
f_>
I do see this:
<
f_>
plat/gxb/include/platform_def.h://#define TZRAM_BASE 0x04001000
<
f_>
plat/gxb/include/platform_def.h://#define TZRAM_SIZE 0x0003F000
<
f_>
These are commented out..
lyudess has quit [Quit: Bouncer restarting]
Danct12 has quit [Remote host closed the connection]
Danct12 has joined #linux-amlogic
Lyude has joined #linux-amlogic
Lyude has quit [Quit: Bouncer restarting]
f_ has quit [Quit: Lost terminal]
vagrantc has joined #linux-amlogic
Danct12 has quit [Remote host closed the connection]
Danct12 has joined #linux-amlogic