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
naoki has quit [Ping timeout: 264 seconds]
naoki has joined #linux-amlogic
camus has quit [Ping timeout: 250 seconds]
camus has joined #linux-amlogic
vagrantc has quit [Ping timeout: 240 seconds]
naoki1 has joined #linux-amlogic
naoki has quit [Ping timeout: 240 seconds]
naoki1 is now known as naoki
Terry137322934 has quit [Quit: Bye Bye]
Terry137322934 has joined #linux-amlogic
naoki has quit [Quit: naoki]
JohnnyonFlame has quit [Ping timeout: 240 seconds]
JohnnyonFlame has joined #linux-amlogic
vagrantc has joined #linux-amlogic
adema_ has quit [Ping timeout: 260 seconds]
narmstrong has quit [Ping timeout: 260 seconds]
ccaione has quit [Ping timeout: 260 seconds]
ccaione has joined #linux-amlogic
narmstrong has joined #linux-amlogic
cyrozap has quit [Remote host closed the connection]
Tartarus has quit [Ping timeout: 260 seconds]
cyrozap has joined #linux-amlogic
adema has joined #linux-amlogic
mturquette has quit [Ping timeout: 260 seconds]
steev has quit [Ping timeout: 260 seconds]
mkorpershoek has quit [Ping timeout: 260 seconds]
steev has joined #linux-amlogic
Tartarus has joined #linux-amlogic
mturquette has joined #linux-amlogic
mkorpershoek has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
ldevulder has joined #linux-amlogic
naoki has joined #linux-amlogic
naoki has quit [Quit: naoki]
Terry137322934 has quit [Quit: Bye Bye]
Terry137322934 has joined #linux-amlogic
f_ has joined #linux-amlogic
<f_> I'm back :P
<f_> Today, let's figure out why it resets after "INFO: BL2: Loading image id 3"
<f_> Made no real changes whatsoever.
f_ has quit [Ping timeout: 256 seconds]
Daanct12 has joined #linux-amlogic
JohnnyonFlame has quit [Ping timeout: 268 seconds]
camus has quit [Ping timeout: 268 seconds]
camus has joined #linux-amlogic
<rockosov> Hello! I apologize for the seemingly simple question, but may I ask what your goal is? Even if your ATF branch is successfully booted, it may not provide all the necessary Amlogic components for practical production use. I do not wish to belittle your contribution, but I am uncertain of how it will aid in the open source usage of ATF Amlogic for release devices. My team and I have conducted
<rockosov> experiments to replicate ATF Amlogic features from binary to ATF source code, and it is an enormous undertaking if you intend to complete it entirely.
camus has quit [Ping timeout: 240 seconds]
camus has joined #linux-amlogic
Daanct12 has quit [Quit: WeeChat 3.8]
<narmstrong> rockosov: some people (a lot in fact) want to have a fully open sw chain, even if less features are supported, and well amlogic is one of the last platform with no open-source full TF-A support so it's good if something happens if if it will be never production ready
<rockosov> narmstrong: I understand, thank you for clarifying! Then we will try to help you to moving forward with this activity. However, I must admit that I remain quite skeptical regarding the potential for a fully successful outcome... Amlogic has NUMEROUS custom features, ranging from customized handling of JTAG/efuse to secure videobuf management, which may pose significant challenges to our
<rockosov> efforts...
<narmstrong> rockosov: yep I totally understand your needs, but it's a balance between openness and features... other platforms actually provide security features in open-source TF-A so it's more a political issue than a technical issue
<narmstrong> rockosov: but we won't drop linux & u-boot support for vendor fip, don't worry :-)
<rockosov> narmstrong: Agree.. At any rate, I see that any contribution towards supporting ATF Amlogic is valuable. This is certainly good news!
<rockosov> narmstrong: :-)
f_ has joined #linux-amlogic
<f_> Hi rockosov!
<f_> You may remember (or not) that Amlogic originally used a libre BL2.
<f_> I made a mirror (for archiving purposes) here, too -> https://git.vitali64.duckdns.org/archive/amlogic-bl2.git/
<f_> But then, there's a commit "BL2 closed-source" and it's removed from the tree, and this is when acs.bin was born.
<f_> chewitt told me that recently (https://libera.irclog.whitequark.org/linux-amlogic/2023-05-02), and as expected it's just TF-A with Amlogic mods.
<f_> rockosov: "Then we will try to help you to moving forward with this activity" You and your team are very much welcome to do so!
<f_> The only thing I'm interested in, for now, is getting it to a point where linux boots successfully.
<f_> All other non-essential features can be worked on later.
<f_> So basically, getting it to load U-Boot and linux with working UART is the main goal here, with fully libre code.
<f_> So yeah, everyone is welcome to make that happen!
<f_> What's weird about it is that it fails silently..
<f_> no warnings, nothing....
JohnnyonFlame has joined #linux-amlogic
<f_> Will have to go in a bit.
f_ has quit [Remote host closed the connection]
vagrantc has joined #linux-amlogic
ldevulder has quit [Quit: Leaving]
<minute> narmstrong: was playing a bit with a311d dsi again, unsuccessfully. i wonder if i have to calculate clk_lp2hs, data_lp2hs and friends correctly?
<minute> (as these are currently hard-coded)
<narmstrong> minute: did it change something or it was the same flickering ?
<minute> narmstrong: the flickering goes away over time, so it's hard to tell
<narmstrong> minute: the values are specific or vendors and I have no idea how they should be calculated for amlogic
<minute> hmm, i see. there's no downstream code where this could be gleaned?
<narmstrong> minute: yes khadas has a tree but it’s hard to figure out any info
<minute> narmstrong: do you happen to have a link to their code?
<minute> narmstrong: also, can i just adjust the esc_clk_rate in dw_mipi_dsi_get_esc_clk_rate or do i have to also do that elsewhere?
<narmstrong> drivers/amlogic/media/vout/lcd/lcd_tablet/mipi_dsi_util.c
<minute> thx, interesting, that's also part of android
<narmstrong> The esc-clk-rate seems to be fixed on the platform, this is why I set it like that
<minute> ah, thanks
<narmstrong> Hmm
<narmstrong> If you find something… tell me
<minute> haha these calculations are really something
<minute> ah sorry, these are used in dphy. alright
<minute> ah, but for 1920 we should be using those magic numbers for state_change == 1, not 2, right
<minute> narmstrong: OMG it works
<minute> narmstrong: the fix is to use these timings for 1920x1080: timing->clk_lp2hs = 23; timing->clk_hs2lp = 38; timing->data_lp2hs = 15; timing->data_hs2lp = 9;
_whitelogger has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
naoki has joined #linux-amlogic
JohnnyonF has joined #linux-amlogic
JohnnyonFlame has quit [Ping timeout: 250 seconds]