NishanthMenon changed the topic of #linux-ti to: Linux development for TI SoCs | Logs: https://libera.irclog.whitequark.org/linux-ti/| paste logs in https://pastebin.ubuntu.com/ | Let it rock! Vendor SDK/kernel: Also see e2e.ti.com
ujfalusi has quit [Ping timeout: 260 seconds]
ujfalusi has joined #linux-ti
goliath has joined #linux-ti
Kubu_work has quit [Ping timeout: 244 seconds]
florian has joined #linux-ti
mripard has joined #linux-ti
<indy> hi all, is j722s (soc in beagley-ai) capable running in pcie endpoint?
florian has quit [Ping timeout: 248 seconds]
florian has joined #linux-ti
ikarso has quit [Quit: Connection closed for inactivity]
florian has quit [Ping timeout: 252 seconds]
eballetbo has quit [Ping timeout: 260 seconds]
eballetbo has joined #linux-ti
ujfalusi has quit [Ping timeout: 244 seconds]
florian has joined #linux-ti
<bryanb> indy: i haven't tried personally but it should be. if rc mode works ep should as well
<indy> bryanb, i have it working in rc mode but quite old kernel (6.1)
<indy> trm for j722s is quite shrinked compared to j721e
<indy> but according vid:did from excel it is same like in j721e
<NishanthMenon> Dual mode of operation: Root Complex (RC) or End Point (EP) per page 1611 https://www.ti.com/lit/zip/sprujb3
<NishanthMenon> you might need an overlay on the lines of j784s4 or j721e though..
ikarso has joined #linux-ti
<indy> NishanthMenon, thanks, i'll check it
<NishanthMenon> indy: if you need a hint arch/arm64/boot/dts/ti/k3-j721e-evm-pcie0-ep.dtso could help
<indy> i have that on beaglebone ai-64 and it works, but there i have 6.6 kernel, on j722s (debian image from beaglebone for beagley-ai) i had out-of-box success only with 6.1 image
<NishanthMenon> aah - i only work on upstream kernel (master and next), unfortunately.. I am not sure what is going on on other kernel revs.. though I see https://www.beagleboard.org/distros seems to indicate a 2025-03 xfce image which seems to be based on 6.6 kernel. you might want to clarify on the beagle discord channel
florian has quit [Ping timeout: 272 seconds]
goliath has quit [Quit: SIGSEGV]
florian has joined #linux-ti
florian has quit [Ping timeout: 248 seconds]
ungeskriptet has quit [Remote host closed the connection]
florian has joined #linux-ti
ungeskriptet has joined #linux-ti
ungeskriptet has quit [Remote host closed the connection]
florian has quit [Ping timeout: 252 seconds]
ujfalusi has joined #linux-ti
<indy> NishanthMenon, any config/buildroot whatever to start play with? :)
<indy> in other words, what works? i have on beagley-ai with 6.1 imx219-83 stereo camera
<indy> on beagle distro, when i install using apt latest ti-kernel, i get useless system as there is problem with dma
florian has joined #linux-ti
<indy> not working csi/dsi/network/pci
<NishanthMenon> might be good to report to the discord :(
ungeskriptet has joined #linux-ti
goliath has joined #linux-ti
florian has quit [Quit: Ex-Chat]
ungeskriptet has quit [Remote host closed the connection]
ungeskriptet has joined #linux-ti
<NishanthMenon> indy: from rcn-nee in discord " yeah, 6.1.x-ti is best on beagley-ai... 6.6.x-ti had broken display.. gonna start testing 6.12.x-ti ..."
rcn-ee_ has joined #linux-ti
<rcn-ee_> @indy still around? 6.1.x-ti is our full feature version, an apt update/upgrade should keep you on the 6.1.x branch.. 6.6.x-ti, some things worked.. now that PB2 is out i'm retesting everything on v6.12.x-ti again.
<indy> NishanthMenon, rcn-ee_ i'm working with pcie and csi, headless
<indy> playing with endpoint
<rcn-ee_> pcie, we have a pin in v6.1.x-ti should be modeled as a regulator. trying to remember of j722s pcie is upstreawm
<indy> i'm looking at cadence as module, i would like to play with out-of-tree modules
<indy> as debian/armbian has some builtin disabled
<rcn-ee_> looks like it uses `j721e-pcie-host f102000.pcie` as-is.. are you trying mainline or what is your target kernel branch?
<rcn-ee_> mainline v6.13.x added j722S support for pcie we would need on beagley-ai
<rcn-ee_> so for mainline we can now add teh pcie nodes and the gpio detection/regulator (rpi cable spec)
<indy> rcn-ee_, target branch is at least 6.12.y :)
<rcn-ee_> @indy okay, ti's 6.12.y.. i just finished (do we really ever finish) PocketBeagle2's launch... i've been moving all aarch to v6.12.x-ti, beagley-ai is my next target..
<rcn-ee_> so ti 6.12.x has pcie support... https://git.ti.com/gitweb?p=ti-linux-kernel/ti-linux-kernel.git;a=history;f=drivers/pci/controller/cadence;hb=refs/heads/ti-linux-6.12.y should just be a device-tree update for beagley-ai to make pcie work.
Kubu_work has joined #linux-ti
<indy> rcn-ee_, are enabled _EP configs or only for _HOST in ti-rt kernel (also non-rt)?
<rcn-ee_> i'm not planning todo a 'rt' kernel for 6.12.x for beagleboard now that rt is enabled, it's mostly enabled, but full rt can be enabled as a boot arg
<rcn-ee_> (enabled - mostly mainline...)
<rcn-ee_> which _EP configs are you looking at enabling?
<indy> CONFIG_PCIE_CADENCE_EP=y
<indy> CONFIG_PCI_J721E_EP=y
<indy> in armbian are enabled also CONFIG_PCIE_DW_EP CONFIG_PCIE_DW_PLAT_EP CONFIG_PCI_KEYSTONE_EP
<indy> rcn-ee_, i recall some note from steven rostedt on linkedin or social.kernel.org regarding non-rt applications are very slow without rt patch after 'ceremony' where tglx passed 'golden' merge request
<indy> i can't recall details on which patch is missing in 6.6+ kernels
<rcn-ee_> i think it's the enable..
<rcn-ee_> @indy here is the patch from v6.1.x (really should change it to a regulator..)
florian has joined #linux-ti
ujfalusi has quit [Read error: Connection reset by peer]
<indy> yes it that one
Kubu_work has quit [Quit: Leaving.]
Kubu_work has joined #linux-ti
Kubu_work has quit [Quit: Leaving.]
mripard has quit [Quit: WeeChat 4.5.1]
Kubu_work has joined #linux-ti
florian has quit [Ping timeout: 246 seconds]