00:05
jacobk has joined #linux-amlogic
00:21
montjoie has quit [Ping timeout: 250 seconds]
00:23
montjoie has joined #linux-amlogic
00:23
jacobk has quit [Ping timeout: 246 seconds]
00:48
rpardini has quit [Quit: ZZZzzz…]
01:12
jacobk has joined #linux-amlogic
01:16
camus has quit [Ping timeout: 246 seconds]
01:16
camus1 has joined #linux-amlogic
01:18
camus1 is now known as camus
02:06
luka177 has quit [Ping timeout: 246 seconds]
02:23
luka177 has joined #linux-amlogic
03:15
hexdump0815 has quit [Ping timeout: 245 seconds]
03:17
hexdump0815 has joined #linux-amlogic
04:17
naoki has joined #linux-amlogic
04:30
buzzmarshall has quit [Quit: Konversation terminated!]
06:41
luka177 has quit [Ping timeout: 244 seconds]
06:50
luka177 has joined #linux-amlogic
06:54
luka177 has quit [Ping timeout: 246 seconds]
06:56
gis has quit [Ping timeout: 246 seconds]
07:09
luka177 has joined #linux-amlogic
07:13
luka177 has quit [Ping timeout: 250 seconds]
07:14
luka177 has joined #linux-amlogic
07:18
luka177 has quit [Ping timeout: 256 seconds]
07:28
luka177 has joined #linux-amlogic
07:32
luka177 has quit [Ping timeout: 245 seconds]
07:35
luka177 has joined #linux-amlogic
07:39
luka177 has quit [Ping timeout: 246 seconds]
07:47
gis has joined #linux-amlogic
08:01
luka177 has joined #linux-amlogic
08:05
luka177 has quit [Ping timeout: 245 seconds]
08:07
luka177 has joined #linux-amlogic
08:11
luka177 has quit [Ping timeout: 250 seconds]
08:27
luka177 has joined #linux-amlogic
08:31
luka177 has quit [Ping timeout: 246 seconds]
08:42
luka177 has joined #linux-amlogic
08:46
luka177 has quit [Ping timeout: 246 seconds]
08:54
luka177 has joined #linux-amlogic
08:59
luka177 has quit [Ping timeout: 246 seconds]
09:09
luka177 has joined #linux-amlogic
09:15
luka177 has quit [Ping timeout: 256 seconds]
09:17
luka177 has joined #linux-amlogic
09:17
luka177 has quit [Read error: Connection reset by peer]
09:17
luka177 has joined #linux-amlogic
09:22
luka177 has quit [Ping timeout: 248 seconds]
09:35
luka177 has joined #linux-amlogic
09:39
luka177 has quit [Ping timeout: 246 seconds]
09:50
luka177 has joined #linux-amlogic
09:54
luka177 has quit [Ping timeout: 245 seconds]
09:57
rpardini has joined #linux-amlogic
09:59
f_ has joined #linux-amlogic
10:04
luka177 has joined #linux-amlogic
10:05
f_ has quit [Ping timeout: 245 seconds]
10:11
luka177 has quit [Ping timeout: 256 seconds]
10:16
rpardini has quit [Quit: ZZZzzz…]
10:20
luka177 has joined #linux-amlogic
10:21
rockosov has joined #linux-amlogic
10:30
f_ has joined #linux-amlogic
10:30
luka177 has quit [Ping timeout: 245 seconds]
10:31
rpardini has joined #linux-amlogic
10:35
luka177 has joined #linux-amlogic
10:39
luka177 has quit [Ping timeout: 245 seconds]
10:50
luka177 has joined #linux-amlogic
10:54
luka177 has quit [Ping timeout: 248 seconds]
11:04
luka177 has joined #linux-amlogic
11:08
luka177 has quit [Ping timeout: 246 seconds]
11:08
gabes2 has joined #linux-amlogic
11:19
luka177 has joined #linux-amlogic
11:23
luka177 has quit [Ping timeout: 246 seconds]
11:35
luka177 has joined #linux-amlogic
11:35
naoki has quit [Quit: naoki]
11:39
luka177 has quit [Ping timeout: 248 seconds]
11:49
luka177 has joined #linux-amlogic
11:53
luka177 has quit [Ping timeout: 245 seconds]
11:55
<
f_ >
Now that I think about it...for g12 we could just adapt the iMX ddr code?
11:55
<
f_ >
they use mostly the same ddr firmware, so probably.
11:56
<
f_ >
and for others like gxl or gxbb we could make use of the same DDR init code....if they're similar enough.
12:05
luka177 has joined #linux-amlogic
12:07
<
f_ >
I'm rewriting DDR init in U-Boot SPL, this time using the old sources. It's not like much changed anywayy.
12:07
<
f_ >
Overall just looks simpler to reuse what was already written in U-Boot and just initialise the dram
12:08
<
f_ >
No idea how I'll handle the SCP firmware.
12:09
luka177 has quit [Ping timeout: 246 seconds]
12:11
<
f_ >
One advantage of U-Boot SPL is the fact that it's copyleft >:)
12:12
<
f_ >
Amlogic won't be able to rebase on my work and make it proprietary again!
12:12
<
f_ >
(honestly I don't really care much, if they do then reverse-engineering is actually made *easier*)
12:17
<
narmstrong >
would be aswesome :-p but you would need to implement loading the SCP firmware before BL31, but nothing dramatically complex
12:19
luka177 has joined #linux-amlogic
12:23
luka177 has quit [Ping timeout: 248 seconds]
12:28
<
f_ >
Just use it as BL2.
12:28
luka177 has joined #linux-amlogic
12:28
<
f_ >
As long as it's <48K it should be ok.
12:30
<
f_ >
but I guess people here prefer U-Boot SPL over TF-A BL2, right?
12:31
<
narmstrong >
Yeah for sure, people would prefer an open source implementation
12:31
rpardini has quit [Read error: Connection reset by peer]
12:31
<
narmstrong >
and U-Boot implements trusted boot in SPL with FIT image to load the other TF-A elements ^^
12:32
rpardini has joined #linux-amlogic
12:33
luka177 has quit [Ping timeout: 260 seconds]
12:33
<
f_ >
And with that, no need to use FIPs anymore.
12:36
luka177 has joined #linux-amlogic
12:43
luka177 has quit [Ping timeout: 245 seconds]
12:43
luka177 has joined #linux-amlogic
12:46
buzzmarshall has joined #linux-amlogic
12:52
luka177 has quit [Ping timeout: 245 seconds]
12:54
luka177 has joined #linux-amlogic
13:10
luka177 has quit [Ping timeout: 256 seconds]
13:11
luka177 has joined #linux-amlogic
13:48
f_ has quit [Ping timeout: 244 seconds]
13:48
f__ has joined #linux-amlogic
13:50
f__ is now known as funderscore
13:50
funderscore is now known as f_
14:10
luka177 has quit [Ping timeout: 245 seconds]
14:10
luka177 has joined #linux-amlogic
14:13
JohnnyonFlame has joined #linux-amlogic
14:26
CounterPillow has quit [Quit: Bye.]
14:28
luka177 has quit [Ping timeout: 252 seconds]
14:29
<
f_ >
Honestly I don't really care much about if it's U-Boot SPL running as BL2 or TF-A BL2...all I care about is if it works with no proprietary firmware running in the Cortex-A.
14:29
luka177 has joined #linux-amlogic
14:29
CounterPillow has joined #linux-amlogic
14:29
<
f_ >
Then at some point I or someone else could probably also reverse-engineer BL30
14:30
<
f_ >
But first, BL2 :P
14:31
<
f_ >
narmstrong: also....I read "SCP" as "SPL" in your message.......my bad!
14:31
<
f_ >
But yeah shouldn't be too complex to load the SCP firmware before BL31.
14:32
<
f_ >
Probably could modify that
14:33
<
f_ >
Some copy-paste from Amlogic's old sources, too ^^
14:33
<
f_ >
But indeed, it shouldn't be too complex to implement that.
14:34
<
f_ >
I think some SoCs supported by U-Boot SPL need SCP firmware too.
14:37
<
f_ >
About SCP: I do have a weird name in my head for the libre firmware replacement
14:38
<
f_ >
Before.....ACSBaby
14:38
<
f_ >
Now........SCPBaby!
14:38
<
f_ >
Sorry, couldn't find a better name :P
14:39
<
f_ >
(name directly inspired by the 'gxbb' name)
14:40
<
f_ >
But first I'd need to finish bl2 in the first place and party
14:40
<
f_ >
(because then we wouldn't have any boot firmware running in the cortex-a....as said previously)
14:40
<
f_ >
*any proprietary boot firmware
14:40
tolszak has quit [Remote host closed the connection]
14:41
<
f_ >
Port that to gxl, party again!
14:41
luka177 has quit [Ping timeout: 246 seconds]
14:42
luka177 has joined #linux-amlogic
14:44
luka177 has quit [Read error: Connection reset by peer]
14:50
luka177 has joined #linux-amlogic
14:54
luka177 has quit [Ping timeout: 252 seconds]
15:01
<
narmstrong >
Would be neat if you can make something work!
15:02
<
f_ >
I'll try my best!
15:05
luka177 has joined #linux-amlogic
15:08
<
f_ >
Mostly just need DDR init to work and then load more images
15:09
luka177 has quit [Ping timeout: 256 seconds]
15:16
luka177 has joined #linux-amlogic
15:20
luka177 has quit [Ping timeout: 256 seconds]
15:36
luka177 has joined #linux-amlogic
15:40
luka177 has quit [Ping timeout: 240 seconds]
15:47
luka177 has joined #linux-amlogic
15:51
luka177 has quit [Ping timeout: 246 seconds]
16:18
luka177 has joined #linux-amlogic
16:22
luka177 has quit [Ping timeout: 245 seconds]
16:23
rpardini has quit [Quit: ZZZzzz…]
16:29
luka177 has joined #linux-amlogic
16:33
luka177 has quit [Ping timeout: 246 seconds]
16:40
rpardini has joined #linux-amlogic
16:41
luka177 has joined #linux-amlogic
16:45
luka177 has quit [Ping timeout: 245 seconds]
17:02
luka177 has joined #linux-amlogic
17:02
JohnnyonFlame has quit [Ping timeout: 245 seconds]
17:06
luka177 has quit [Ping timeout: 250 seconds]
17:15
luka177 has joined #linux-amlogic
17:19
luka177 has quit [Ping timeout: 248 seconds]
17:36
luka177 has joined #linux-amlogic
17:40
luka177 has quit [Ping timeout: 245 seconds]
17:57
luka177 has joined #linux-amlogic
18:01
<
f_ >
how should I handle timings?
18:01
<
f_ >
IIRC you're not really supposed to modify those...just set the clock properly
18:01
luka177 has quit [Ping timeout: 246 seconds]
18:01
<
f_ >
lvrp16: ^ can you confirm please?
18:02
<
f_ >
assuming that's true.....that's even more unnecessary stuff in acs!
18:02
ldevulder_ has joined #linux-amlogic
18:04
ldevulder has quit [Ping timeout: 240 seconds]
18:05
<
f_ >
and at this point I can just hardcode those
18:06
* f_
looks at libre computer amlogic u-boot.
18:09
* f_
now looks at what his AML-S905X-CC outputs over UART.
18:09
<
f_ >
>DDR3 chl: Rank0+1 @ 912MHz - FAIL
18:10
<
f_ >
>DDR3 chl: Rank0 @ 912MHz
18:11
<
f_ >
some other stuff which I never saw before on my KII Pro
18:11
<
f_ >
>#define CONFIG_DDR_FULL_TEST 1 //1 for ddr full test
18:13
<
f_ >
also samueldr did see that acs.bin changes very unfrequently between boards IIRC
18:13
<
f_ >
so....more useless things :)
18:16
luka177 has joined #linux-amlogic
18:25
luka177 has quit [Ping timeout: 244 seconds]
18:29
luka177 has joined #linux-amlogic
18:29
Danct12 has quit [Quit: A-lined: User has been AVIVA lined]
18:33
Danct12 has joined #linux-amlogic
18:55
<
f_ >
haha imx does the same stuff as Amlogic in terms of register dumps
18:57
luka177 has quit [Ping timeout: 240 seconds]
19:03
<
f_ >
.....so should I do the same?
19:05
luka177 has joined #linux-amlogic
19:05
<
f_ >
But honestly the fact that the iMX8MQ seems to use the same/similar controller as the A311D makes reverse-engineering registers easier..
19:06
<
f_ >
Unless...you know....NXP does the same mistake as Amlogic :P
19:09
luka177 has quit [Ping timeout: 250 seconds]
19:10
Danct12 has quit [Quit: A-lined: User has been AVIVA lined]
19:14
Danct12 has joined #linux-amlogic
19:17
f_ has quit [Quit: f_]
19:17
luka177 has joined #linux-amlogic
19:19
<
samueldr >
two wrongs make a right
19:21
luka177 has quit [Ping timeout: 256 seconds]
19:25
rpardini has quit [Quit: ZZZzzz…]
19:30
rpardini has joined #linux-amlogic
19:44
luka177 has joined #linux-amlogic
19:48
luka177 has quit [Ping timeout: 260 seconds]
20:00
luka177 has joined #linux-amlogic
20:05
luka177 has quit [Ping timeout: 248 seconds]
20:20
luka177 has joined #linux-amlogic
20:24
luka177 has quit [Ping timeout: 245 seconds]
20:33
jacobk has quit [Read error: Connection reset by peer]
20:33
jacobk has joined #linux-amlogic
20:34
luka177 has joined #linux-amlogic
20:39
luka177 has quit [Ping timeout: 248 seconds]
20:46
jacobk has quit [Ping timeout: 258 seconds]
20:53
luka177 has joined #linux-amlogic
20:59
luka177 has quit [Ping timeout: 246 seconds]
21:09
rpardini has quit [Ping timeout: 260 seconds]
21:14
JohnnyonFlame has joined #linux-amlogic
21:22
Freezer003 has joined #linux-amlogic
22:01
luka177 has joined #linux-amlogic
22:01
jacobk has joined #linux-amlogic
22:14
Freezer003 has quit [Ping timeout: 245 seconds]
23:26
iprusov has quit [Quit: WeeChat 3.5]
23:28
iprusov has joined #linux-amlogic