ChanServ changed the topic of #linux-sunxi to: Allwinner/sunxi development - Did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait for an answer! - This channel is logged at https://oftc.irclog.whitequark.org/linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
Daanct12 has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
rajkosto has quit [Ping timeout: 480 seconds]
rajkosto has joined #linux-sunxi
<smaeul> IIRC megi, you were working on DMA for MUSB at some point... how did that end up?
vagrantc has quit [Quit: leaving]
moteen has joined #linux-sunxi
Daanct12 has quit [Remote host closed the connection]
Daanct12 has joined #linux-sunxi
moteen has quit [Ping timeout: 480 seconds]
Danct12 has quit [Ping timeout: 480 seconds]
hlauer has joined #linux-sunxi
Danct12 has joined #linux-sunxi
<megi> I didn't find any documentation for the controller, and just trying to match BSP driver's was fruitless (maybe I missed something), so I gave up. core musb driver is quite packed with a lot of special cases for various variants/musb integrations/glues so it was not particularly easy to follow or guess what's actually needed on sunxi
<megi> drivers/usb/musb/sunxi_dma.c is probably reasonably complete, for trying the tx path
Danct12 has quit [Ping timeout: 480 seconds]
<megi> looking at the code, I kinda have an itch to try again, now that I've worked with USB a bunch more in the meantime on various projects :)
paulk has quit [Ping timeout: 480 seconds]
Daanct12 has quit [Remote host closed the connection]
apritzel has joined #linux-sunxi
Danct12 has joined #linux-sunxi
disctanger has joined #linux-sunxi
<disctanger> megi: that would be great :)
<disctanger> megi: Based on your comment RX part is left of DMA? I am getting started with Embeded/kernel development (some details: https://oftc.irclog.whitequark.org/linux-sunxi/2022-06-29#31053802) and slowly getting comfortable with C and tiny kernel modifications/rebuilding stuffs.
<disctanger> For my USB Webcam project probably only TX side would suffise i think. Because data stream is mostly one way: USB Gadget (Video Stream) -> USB Host
<disctanger> i could help with testing the fixes on PineCube, PinePhone, PineBook Pro
wingrime1 has quit [Ping timeout: 480 seconds]
apritzel has quit [Ping timeout: 480 seconds]
Danct12 has quit [Quit: Leaving]
bauen1_ has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
szemzoa_ has quit [Remote host closed the connection]
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
paulk has joined #linux-sunxi
<gamiee> disctanger: this effort will not help Pinebook Pro, as it's using Rockchip SoC
<disctanger> gamiee: Sure, then i could help with testing DMA support on PineCube and PinePhone
NekoMay has quit [Read error: No route to host]
NekoMay has joined #linux-sunxi
<megi> disctanger: yes, RX is left out, because I started with TX and didn't manage to get that working
mango has quit []
<megi> usually not a great idea to change too many things at once if the code is full of unknown unknowns :)
<megi> so I left RX path in PIO mode
<disctanger> megi: noted well. What would be prerequisites for follow up that work? I have no experience in Kernel development but getting started with it. Learning low level stuffs bit by bit. PineCube USB Webcam happen to be my first project.
<megi> :)
<megi> given the lack of docs, only help can be comparison against Allwinner BSP code and experimentation
moteen has joined #linux-sunxi
moteen has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
<disctanger> megi: Can you refer BSP source code? Internet search is yielding different results. (Is it this one? https://github.com/HandsomeMod/linux-allwinner-4.9)
<megi> I don't know where BSP code for S3 is
<disctanger> Okay then i will start my journey from finding BSP code for S3 :D. I will try to tinker around with it once i find it. I hope i wont destroy my only PineCube
<disctanger> I will be summarizing my results(findings) on official wiki page of PineCube (https://wiki.pine64.org/wiki/PineCube#PineCube_as_a_webcam)
<megi> I tried to make it work on A64, and used this for comparison https://megous.com/git/linux/tree/drivers/usb/sunxi_usb/udc?h=h6-4.9-bsp
<disctanger> megi: thanks for directions!
disctanger has quit [Remote host closed the connection]
aggi has quit [Quit: connection closed.]
moteen has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
moteen has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
moteen has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
aggi has joined #linux-sunxi
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jernej has joined #linux-sunxi
apritzel has joined #linux-sunxi
moteen has quit [Remote host closed the connection]
paulk-bis has joined #linux-sunxi
paulk has quit [Ping timeout: 480 seconds]
moteen has joined #linux-sunxi
moteen has quit [Ping timeout: 480 seconds]
moteen has joined #linux-sunxi
moteen has quit [Remote host closed the connection]
moteen has joined #linux-sunxi
aggi_ has joined #linux-sunxi
aggi has quit [Remote host closed the connection]
rajkosto has quit [Read error: Connection reset by peer]
aggi_ has quit []
aggi has joined #linux-sunxi
moteen has quit [Remote host closed the connection]
aggi has quit [Remote host closed the connection]
aggi has joined #linux-sunxi
moteen has joined #linux-sunxi
moteen has quit [Remote host closed the connection]
bauen1_ has quit [Remote host closed the connection]
aggi has quit [Remote host closed the connection]
aggi has joined #linux-sunxi
bauen1 has joined #linux-sunxi
moteen has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
moteen has quit [Ping timeout: 480 seconds]
aggi has quit [Quit: connection closed.]
hentai has joined #linux-sunxi
hentai has quit [Remote host closed the connection]
hentai has joined #linux-sunxi
Danct12 has joined #linux-sunxi
<MoeIcenowy> it's sun55i
cnxsoft has quit []
<apritzel> so they used the opportunity to update! ... to 2018.05 :-(
<apritzel> so does that mean that the SoC with Cortex-A55s is still alive?
<apritzel> or is this just some leftover in the code?
<apritzel> And they seem to have indeed an "Allwinner A53" SoC, probably to complete the naming confusion
<jakllsch> heh
paulk-bis has quit [Ping timeout: 480 seconds]
<jernej> apritzel: that seems pretty nice code for AC200. Too bad it doesn't work properly :)
<jernej> what is the issue again?
<apritzel> I have the feeling it's something stupid ;-)
<apritzel> it complains when the PHY instantiates the regmap gate clock, something about the refcount being 0, which points to some use-after-free
<apritzel> (don't have the exact dump here)
<apritzel> it could be something not cleaned up properly after some EPROBE_DEFER, so that it still finds the old freed clock, or something
<jernej> ah, that is fun to debug
hlauer has quit [Ping timeout: 480 seconds]
moteen has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
moteen_ has joined #linux-sunxi
moteen_ has quit [Remote host closed the connection]
moteen has quit [Ping timeout: 480 seconds]
moteen has joined #linux-sunxi
vagrantc has joined #linux-sunxi
moteen has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
moteen has joined #linux-sunxi
hentai has left #linux-sunxi [Leaving]
moteen has quit [Remote host closed the connection]
sunshavi_ has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has quit []
hlauer has joined #linux-sunxi
paulk-bis has joined #linux-sunxi
rajkosto has joined #linux-sunxi
apritzel has joined #linux-sunxi
hlauer has quit [Ping timeout: 480 seconds]
vagrantc has quit [Quit: leaving]