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
luka177 has quit [Read error: Connection reset by peer]
naoki has joined #linux-amlogic
naoki has quit [Quit: naoki]
luka177 has joined #linux-amlogic
f11f13 has joined #linux-amlogic
f11f12 has quit [Ping timeout: 265 seconds]
JohnnyonFlame has quit [Ping timeout: 240 seconds]
vagrantc has quit [Quit: leaving]
luka177 has quit [Ping timeout: 258 seconds]
luka177 has joined #linux-amlogic
jbrunet has quit [Server closed connection]
jbrunet has joined #linux-amlogic
Terry137322934 has quit [Quit: Bye Bye]
Terry137322934 has joined #linux-amlogic
Danct12 has quit [Remote host closed the connection]
luka177 has quit [Ping timeout: 258 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Read error: Connection reset by peer]
luka177 has joined #linux-amlogic
JohnnyonFlame has joined #linux-amlogic
f_ has joined #linux-amlogic
<f_> Hey all. Compiling Amlogic U-Boot.
<f_> I'd prefer compiling acs.bin only but I don't think I can do that.
Danct12 has joined #linux-amlogic
<f_> narmstrong: Have an Amlogic p201?
<f_> I just compiled an acs.bin generated by ACSBaby and I would love if you could test?
<f_> (if you can)
Terry137322934 has quit [Quit: Bye Bye]
Terry137322934 has joined #linux-amlogic
<f_> Hmm got some diffs..
<narmstrong> f_: I don’t have access to it anymore :-/ sorry
<narmstrong> But I should have other boards very close to p201
Terry137322934 has quit [Quit: Bye Bye]
<f_> Close enough so that the ACS works?
<f_> A p200 should be fine, too.
Terry137322934 has joined #linux-amlogic
<f_> Anything we have sources for will do.
luka177 has quit [Read error: Connection reset by peer]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 252 seconds]
luka177 has joined #linux-amlogic
f_[xmpp] has joined #linux-amlogic
Danct12 has quit [Ping timeout: 258 seconds]
<f_> narmstrong: I don't get though why is BL21 necessary.
<f_> "power init"
buzzmarshall has joined #linux-amlogic
<f_> Is it even useful?
Danct12 has joined #linux-amlogic
<f_> But wow. I discover new things now that I know how acs.bin works
<f_> Code that doesn't make sense?? look at acs.bin and the acs sources.
leah is now known as puffyleah
puffyleah is now known as leah
<f_> narmstrong: Also did you know that bl2.bin *by default* has ACS structures?
<f_> DDR settings/timings and PLL settings are already inside bl2.bin
<f_> What acs_tool actually does is replace those with what's in acs.bin
<f_> I guess that's the same for BL21 and BL301 + BL30
<f_> narmstrong: Also ACSBaby seems to not detect the right values...
luka177 has quit [Read error: Connection reset by peer]
luka177 has joined #linux-amlogic
<f_> Look at timing.h
<f_> You have lots of members inside the ddrt_ structure
<f_> But now look at timing.c on any board
<f_> You'll see that some of these are either not set at all, or set to 0.
<f_> And that's because they're set by BL2 on runtime.
<f_> e.g. ddr_timing_ind is set to 0 in acs.bin, but BL2 defines it in ddr_pre_init(void).
<f_> narmstrong: But learning about how acs.bin worked was very useful!
<f_> And while ddrt_ is an array of structs only one actually gets used (I think you know that already)
<f_> narmstrong: https://bin.vitali64.duckdns.org/648e0e76 found something probably undocumented
<f_> (in ddr_init)
<f_> What does that mean.......
<f_> In acs.bin, what does the fact that __ddr_setting.ddr_channel_set == 0xF do?
<f_> Found it!
<f_> arch/arm/include/asm/arch-gxb/ddr_define.h:#define CONFIG_DDR_CHL_AUTO 0xF
<f_> Had to look further
luka177 has quit [Read error: Connection reset by peer]
elastic_dog has quit [Ping timeout: 260 seconds]
<f_> Got to go. Bye!
f_ has quit [Ping timeout: 258 seconds]
paddymahoney has joined #linux-amlogic
luka177 has joined #linux-amlogic
elastic_dog has joined #linux-amlogic
JohnnyonF has joined #linux-amlogic
JohnnyonFlame has quit [Ping timeout: 252 seconds]
vagrantc has joined #linux-amlogic