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
vagrantc has quit [Quit: leaving]
Daanct12 has joined #linux-amlogic
<naoki> mmm, it happens on g12b too
Daanct12 has quit [Quit: WeeChat 3.8]
JohnnyonF has quit [Ping timeout: 240 seconds]
<narmstrong> naoki: can you send a bug report to linux-amlogic@lists.infradead.org ?
ldevulder has joined #linux-amlogic
<rockosov> narmstrong: xdarklight Hello guys! I hope you're doing well. Previously, we discussed applying the A1 clock driver to linux-amlogic next some days ago. Am I understanding correctly that we can't apply anything in clock meson subsystem without jbrunet's Reviewed-by or Acked-by?
<narmstrong> rockosov: I could, let me sync with him before
naoki has quit [Quit: naoki]
<narmstrong> rockosov: the bindings are lacking an ack from the dt maintainers
<rockosov> narmstrong: For PLL bindings there is Rob's RvB - https://lore.kernel.org/all/20230523135351.19133-4-ddrokosov@sberdevices.ru/
<rockosov> narmstrong: For Peripherals bindings it was Rob's RvB in the previous series, but I've renamed driver and bindings from a1-clkc to a1-peripherals-clkc and remove Rob's RvB
<narmstrong> rockosov: yep, for patch 5 there isn't, can you ping conor (Conor Dooley <conor@kernel.org>) to see if he can add his ack ? just explain what just just said
<rockosov> narmstrong: sure, I can ping him
<rockosov> xdarklight: Also I've removed all stuff from Peripherals clock driver which we discussed on the previous week in the v16 version
JohnnyonFlame has joined #linux-amlogic
camus has quit [Ping timeout: 264 seconds]
JohnnyonFlame has quit [Ping timeout: 246 seconds]
JohnnyonFlame has joined #linux-amlogic
buzzmarshall has joined #linux-amlogic
camus has joined #linux-amlogic
rockosov has quit [Ping timeout: 250 seconds]
rockosov has joined #linux-amlogic
LucasTanure has joined #linux-amlogic
LucasTanure has quit [Remote host closed the connection]
LucasTanure has joined #linux-amlogic
<LucasTanure> Vim4 boots Kernel 6.4.0-rc3
<LucasTanure> [ 0.000000] Linux version 6.4.0-rc3-00034-g4934d80de378-dirty (tanureal@ryzen) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 10.3.1 2021063
<LucasTanure> [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd092]
<LucasTanure> [ 0.000000] Machine model: Khadas VIM4
<LucasTanure> it hangs at rootfs as it cant find sd card
<LucasTanure> I ported clock and uart driver
<narmstrong> LucasTanure: nice :-)
<rockosov> LucasTanure: Good news! Does it have A311D2 SoC inside?
<rockosov> narmstrong: Conor provided RvB to Peripherals clock bindings - https://lore.kernel.org/linux-amlogic/20230525-connected-skipper-442c6d0b52c1@wendy/ Thank you for suggestion!
<narmstrong> rockosov: ack, I'll ping jerome to see how we solve that
<rockosov> narmstrong: Thanks a lot!
vagrantc has joined #linux-amlogic
<LucasTanure> rockosov: yes , it has A311D2
Consolatis_ has joined #linux-amlogic
Consolatis is now known as Guest6450
Guest6450 has quit [Killed (copper.libera.chat (Nickname regained by services))]
LucasTanure has quit [Quit: Leaving]
LucasTanure has joined #linux-amlogic
LucasTanure has quit [Quit: Leaving]
LucasTanure has joined #linux-amlogic
<LucasTanure> Vim4 Mainline kernel : https://github.com/lucastanure/linux/commits/vim4
<LucasTanure> It hangs, not fully funtional!
<xdarklight> rockosov: I'll be looking into the latest patches on Sunday or Monday. Jerome previously asked me to continue with the review process. My understanding is that once all patches have my Reviewed-by he'll be applying them and create a PR for the clock maintainers
<minute> narmstrong: did the bpi wifi module just work for you?
<minute> (bpi cm4)
<narmstrong> minute: I just saw it probe from the armbian image, haven’t tried further tbh
<minute> narmstrong: ah, ok!
<minute> narmstrong: as diagnosed a bit with xdarklight, i'm getting RX corruption, so still have to squash some bugs there
<xdarklight> LucasTanure: nice to see someone working on the VIM4 (even though it's going to be a long road to get all peripherals supported). I suggest starting with a smaller .dts{,i} to avoid issues for example with DVFS. also please note that the Amlogic vendor SDK .dts files are typically not compatible with mainline drivers
<LucasTanure> xdarklight: I am still working out a patch that works
<LucasTanure> that dtsi was the bare minimum that got stuff working
<LucasTanure> from that to the actual upstreaming will be a long road
<xdarklight> LucasTanure: I understand that you're still in the process of making it work. just wanted to add some of my thoughts in case you didn't go through similar pain with other Amlogic SoCs before ;-)
<LucasTanure> xdarklight, what is DVFS?
<LucasTanure> Yeah, it's my first board I am upstreaming alone
<xdarklight> LucasTanure: DVFS = dynamic voltage and frequency scaling, it's used for changing the CPU and GPU clocks and associated voltage regulators
<xdarklight> LucasTanure: higher clocks typically require higher voltages, so if it hangs randomly I'd look at that. if it hangs "just" because it can't find rootfs then I'd start looking at the following components in the order: MMC controller, pinctrl, GPIO
<LucasTanure> I am having a look ant IRQ now
<LucasTanure> I did PINCTRL already
<xdarklight> ah, IRQ is also a good candidate
<LucasTanure> after that I will have a horrible patch that makes VIm4 boot
<LucasTanure> with that in hands I will start to trim down, separete logic units into patches
<LucasTanure> and send to upstream only after I have a nice patchset for VIM4
<xdarklight> so if you feel like your patch queue is getting (too) big: feel free to send basic stuff early
<LucasTanure> ok, I was aiming to "boot to sd card", but if gets too complicated I trimm down to uart only
LucasTanure has quit [Quit: Leaving]
JohnnyonF has joined #linux-amlogic
elastic_dog has quit [Ping timeout: 240 seconds]
elastic_dog has joined #linux-amlogic
JohnnyonFlame has quit [Ping timeout: 240 seconds]
<rockosov> xdarklight: Got it! Thank you for clarification!
ldevulder has quit [Quit: Leaving]
dlan_ has joined #linux-amlogic
wens_ has joined #linux-amlogic
elastic_dog has quit [*.net *.split]
dliviu has quit [*.net *.split]
Terry137322934 has quit [*.net *.split]
mturquette has quit [*.net *.split]
dlan has quit [*.net *.split]
kilobyte_ch has quit [*.net *.split]
wens has quit [*.net *.split]
kilobyte_ch has joined #linux-amlogic
dliviu has joined #linux-amlogic
elastic_dog has joined #linux-amlogic
mturquette has joined #linux-amlogic
Terry137322934 has joined #linux-amlogic
elastic_dog has quit [Max SendQ exceeded]
elastic_dog has joined #linux-amlogic
vagrantc has quit [Quit: leaving]