rellla changed the topic of #linux-sunxi to: Allwinner/sunxi /development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi - *only registered users can talk*
rellla has quit [Ping timeout: 256 seconds]
zumbi has quit [Ping timeout: 240 seconds]
colona has quit [Ping timeout: 268 seconds]
zumbi has joined #linux-sunxi
colona has joined #linux-sunxi
warpme_ has quit [Quit: Connection closed for inactivity]
rellla has joined #linux-sunxi
Mangy_Dog has quit [Ping timeout: 260 seconds]
Mangy_Dog has joined #linux-sunxi
Mangy_Dog has quit [Ping timeout: 255 seconds]
ChriChri_ has joined #linux-sunxi
ChriChri has quit [Ping timeout: 256 seconds]
ChriChri_ is now known as ChriChri
malestorm has joined #linux-sunxi
pmp-p has quit [Disconnected by services]
pmp-p has joined #linux-sunxi
cnxsoft1 has quit [Ping timeout: 256 seconds]
pmp-p has quit [Ping timeout: 265 seconds]
cnxsoft has joined #linux-sunxi
pmp-p has joined #linux-sunxi
jrosss has joined #linux-sunxi
jrosss has quit [Remote host closed the connection]
jrosss has joined #linux-sunxi
<jrosss> Hi is anyone expert in using SPI via DMA on sun5i (A13) in mainline Linux kernel? Is it possible?
ykchavan_ has joined #linux-sunxi
lurchi_ is now known as lurchi__
dddddd has quit [Remote host closed the connection]
aloo_shu has quit [Ping timeout: 255 seconds]
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
jrosss has quit [Remote host closed the connection]
JohnDoe_71Rus has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 258 seconds]
maccraft has quit [Quit: WeeChat 2.7.1]
selfbg has joined #linux-sunxi
florian has joined #linux-sunxi
florian has quit [Ping timeout: 258 seconds]
florian has joined #linux-sunxi
florian has quit [Ping timeout: 255 seconds]
florian has joined #linux-sunxi
fossxplorer has joined #linux-sunxi
jaymz has joined #linux-sunxi
jaymz has quit [Client Quit]
fossxplorer has quit [Ping timeout: 240 seconds]
jrosss has joined #linux-sunxi
fossxplorer has joined #linux-sunxi
fossxplorer has quit [Ping timeout: 260 seconds]
florian has quit [Ping timeout: 255 seconds]
nashpa_ has joined #linux-sunxi
nashpa has quit [Ping timeout: 258 seconds]
reinforce has joined #linux-sunxi
fero has joined #linux-sunxi
fero has left #linux-sunxi [#linux-sunxi]
bakonyiferenc has joined #linux-sunxi
warpme_ has joined #linux-sunxi
hlauer has joined #linux-sunxi
yann has quit [Ping timeout: 258 seconds]
<plaes> jrosss: there are some patches floating around that never made it to mainline
<jrosss> Awesome, on the mailing list?
<plaes> yes, quite old I think
<jrosss> I'll check it tomorrow, thx
<jrosss> I notice in mainline the nand driver uses dma, that should give me a guide i guess
<corecode> oh not all sunxi have full dma support for spi?
<corecode> i was planning on using that for flash and for fpga link...
ChanServ has quit [*.net *.split]
rellla has quit [*.net *.split]
matteosilex has quit [*.net *.split]
specing has quit [*.net *.split]
quark_ has quit [*.net *.split]
narmstrong has quit [*.net *.split]
Harrier has quit [*.net *.split]
lennard has quit [*.net *.split]
paulk-leonov has quit [*.net *.split]
fevv8[m] has quit [*.net *.split]
flacks_ has quit [*.net *.split]
agates[m] has quit [*.net *.split]
JuniorJPDJ has quit [*.net *.split]
zhovner has quit [*.net *.split]
Benjojo has quit [*.net *.split]
arnd has quit [*.net *.split]
merlin1991 has quit [*.net *.split]
arti has quit [*.net *.split]
kevans91 has quit [*.net *.split]
mirko has quit [*.net *.split]
doppo has quit [*.net *.split]
selfbg has quit [*.net *.split]
suprothunderbolt has quit [*.net *.split]
ganbold has quit [*.net *.split]
qschulz has quit [*.net *.split]
hramrach has quit [*.net *.split]
micken has quit [*.net *.split]
mnemoc has quit [*.net *.split]
avph has quit [*.net *.split]
wigyori has quit [*.net *.split]
[TheBug] has quit [*.net *.split]
egbert has quit [*.net *.split]
plaes has quit [*.net *.split]
hell__ has quit [*.net *.split]
duracrisis has quit [*.net *.split]
buZz has quit [*.net *.split]
hlauer has quit [*.net *.split]
keesj has quit [*.net *.split]
tmlind has quit [*.net *.split]
N1teHawk has quit [*.net *.split]
igraltist has quit [*.net *.split]
ElBarto has quit [*.net *.split]
Mikey_ has quit [*.net *.split]
Asara has quit [*.net *.split]
montjoie has quit [*.net *.split]
Nemo_bis has quit [*.net *.split]
ShadowJK has quit [*.net *.split]
azend|vps has quit [*.net *.split]
forkbomb has quit [*.net *.split]
Ecco has quit [*.net *.split]
z3ntu has quit [*.net *.split]
hpagseddy[m] has quit [*.net *.split]
davidebeatrici has quit [*.net *.split]
psydruid has quit [*.net *.split]
aib has quit [*.net *.split]
Werner has quit [*.net *.split]
karlp has quit [*.net *.split]
Ultrasauce has quit [*.net *.split]
dhewg has quit [*.net *.split]
gumblex_ has quit [*.net *.split]
robogoat has quit [*.net *.split]
nashpa_ has quit [*.net *.split]
_whitelogger has joined #linux-sunxi
AneoX has joined #linux-sunxi
florian has joined #linux-sunxi
bakonyiferenc has quit [Remote host closed the connection]
matthias_bgg has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 255 seconds]
JohnDoe_71Rus has joined #linux-sunxi
yann has joined #linux-sunxi
deesix has joined #linux-sunxi
atsampson has joined #linux-sunxi
willmore has joined #linux-sunxi
damex has joined #linux-sunxi
DrFrankensteinUK has joined #linux-sunxi
bshah has joined #linux-sunxi
lykt has joined #linux-sunxi
lioka has joined #linux-sunxi
freemangordon has joined #linux-sunxi
jernej has joined #linux-sunxi
rzerres has joined #linux-sunxi
anarsoul|c has joined #linux-sunxi
sunshavi has joined #linux-sunxi
Irenes[m] has joined #linux-sunxi
clementp[m] has joined #linux-sunxi
MartijnBraam has joined #linux-sunxi
mforney has joined #linux-sunxi
t4h4[m] has joined #linux-sunxi
jo0nas has joined #linux-sunxi
jeandet has joined #linux-sunxi
nashpa_ has quit [Quit: Going away]
nashpa has joined #linux-sunxi
florian_kc has joined #linux-sunxi
maccraft has joined #linux-sunxi
kaspter has quit [Quit: kaspter]
kaspter has joined #linux-sunxi
jrosss has quit [Quit: Connection closed for inactivity]
gaston1980 has joined #linux-sunxi
iyzsong has joined #linux-sunxi
jrosss has joined #linux-sunxi
jo0nas has quit [Ping timeout: 240 seconds]
lkcl has quit [Ping timeout: 260 seconds]
kaspter has quit [Quit: kaspter]
jo0nas has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi
ldevulder_ has joined #linux-sunxi
ldevulder has quit [Ping timeout: 255 seconds]
lkcl has joined #linux-sunxi
lkcl has quit [Read error: Connection reset by peer]
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
lkcl has joined #linux-sunxi
\\Mr_C\\ has quit [Quit: (Read error: Connection reset by beer)]
jo0nas has quit [Ping timeout: 268 seconds]
jo0nas has joined #linux-sunxi
fossxplorer has joined #linux-sunxi
suprothunderbolt has joined #linux-sunxi
lkcl has quit [Read error: Connection reset by peer]
JohnDoe_71Rus has quit [Remote host closed the connection]
lkcl has joined #linux-sunxi
lurchi_ is now known as lurchi__
lkcl has quit [Read error: Connection reset by peer]
jrosss has quit [Quit: Connection closed for inactivity]
lkcl has joined #linux-sunxi
malestorm has quit [Quit: malestorm]
lkcl has quit [Read error: Connection reset by peer]
cnxsoft1 has quit [Quit: cnxsoft1]
dddddd has joined #linux-sunxi
ykchavan has joined #linux-sunxi
lkcl has joined #linux-sunxi
ykchavan_ has quit [Ping timeout: 256 seconds]
lkcl has quit [Read error: Connection reset by peer]
reinforce has quit [Quit: Leaving.]
JohnDoe_71Rus has joined #linux-sunxi
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 268 seconds]
selfbg has quit [Remote host closed the connection]
luke-jr has quit [Ping timeout: 268 seconds]
lkcl has joined #linux-sunxi
fossxplorer has quit [Ping timeout: 268 seconds]
lioka has quit [Quit: leaving]
luke-jr has joined #linux-sunxi
fossxplorer has joined #linux-sunxi
jonasbits_ has joined #linux-sunxi
jonasbits has quit [Read error: Connection reset by peer]
fossxplorer has quit [Ping timeout: 256 seconds]
fossxplorer has joined #linux-sunxi
gaston1980 has quit [Ping timeout: 260 seconds]
gaston1980 has joined #linux-sunxi
Nakaori has quit [Read error: Connection reset by peer]
Naka has joined #linux-sunxi
hlauer has quit [Ping timeout: 265 seconds]
fossxplorer has quit [Ping timeout: 240 seconds]
ldevulder_ is now known as ldevulder
matthias_bgg has quit [Ping timeout: 260 seconds]
maccraft has quit [Quit: WeeChat 2.7.1]
maccraft has joined #linux-sunxi
maccraft has quit [Client Quit]
yann has quit [Ping timeout: 256 seconds]
maccraft has joined #linux-sunxi
reinforce has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
xdecimal has joined #linux-sunxi
xdecimal has quit [Client Quit]
reinforce has joined #linux-sunxi
maccraft123 has joined #linux-sunxi
maccraft has quit [Quit: WeeChat 2.7.1]
maccraft123 is now known as maccraft
maccraft has quit [Quit: WeeChat 2.7.1]
maccraft has joined #linux-sunxi
maccraft has quit [Client Quit]
maccraft has joined #linux-sunxi
vagrantc has joined #linux-sunxi
florian has quit [Quit: Leaving]
florian_kc has quit [Ping timeout: 256 seconds]
Mangy_Dog has quit [Remote host closed the connection]
gaston1980 has quit [Ping timeout: 260 seconds]
gaston1980 has joined #linux-sunxi
Putti has quit [Changing host]
Putti has joined #linux-sunxi
RichardG867 has quit [Ping timeout: 256 seconds]
AneoX_ has quit [Quit: Textual IRC Client: www.textualapp.com]
RichardG867 has joined #linux-sunxi
maccraft has quit [Quit: WeeChat 2.7.1]
Mangy_Dog has joined #linux-sunxi
maccraft has joined #linux-sunxi
maccraft has quit [Client Quit]
maccraft has joined #linux-sunxi
tllim has joined #linux-sunxi
gaston1980 has quit [Ping timeout: 258 seconds]
gaston1980 has joined #linux-sunxi
florian has joined #linux-sunxi
fossxplorer has joined #linux-sunxi
fossxplorer has quit [Ping timeout: 255 seconds]
yann has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
pgreco has quit [Ping timeout: 258 seconds]
pgreco has joined #linux-sunxi
Naka is now known as Nakaori
maccraft has quit [Ping timeout: 268 seconds]
maccraft has joined #linux-sunxi
freemangordon has quit [Quit: Leaving.]
reinforce has quit [Quit: Leaving.]
freemangordon has joined #linux-sunxi
vagrantc has quit [Ping timeout: 240 seconds]
fl_0 has quit [Ping timeout: 256 seconds]
maccraft has quit [Quit: WeeChat 2.7.1]
maccraft has joined #linux-sunxi
fl_0 has joined #linux-sunxi
dev1990 has joined #linux-sunxi
warpme_ has quit [Quit: Connection closed for inactivity]
jstein has joined #linux-sunxi
jrosss has joined #linux-sunxi
<jrosss> corecode: that's basically what I want to do
<jrosss> plaes: I found some patches on the mailing list, but they don't inspire confidence, probably will roll a custom driver that uses the dma engine and spi core directly
ykchavan has quit [Ping timeout: 258 seconds]
fossxplorer has joined #linux-sunxi
fossxplorer has quit [Ping timeout: 258 seconds]
jstein has quit [Quit: quit]
maccraft has quit [Quit: WeeChat 2.7.1]
<megi> allwinner code is sometimes quite "interesting"
<megi> they made separate callback for each array index
<megi> 5 identical callbacks differing only in the array index
<anarsoul> megi: are you implementing dma for udc?
<megi> just searching for a 1AM project :)
<megi> yeah, I'm playing with it
<anarsoul> megi: actually one of glue drivers for musb already implemented dmaengine support
<anarsoul> so in theory it should be enough to split it into common code
<anarsoul> likely few finishing touches will be necessary
<megi> I'm still in the process of investigating the situation
<anarsoul> I'd say it's a weekend project
<anarsoul> megi: don't look at vendor code
<anarsoul> see ux500_dma.c in musb dir instead :)
<megi> I'm looking at both :)
<megi> looks simple enough
<anarsoul> yeah
<anarsoul> I'm not sure why noone implemented it yet :)
<megi> probably noone noticed
<megi> I'll also need the internal dma variant for older socs
<megi> A13 and friends
<anarsoul> I don't really need it for most of my devices
<anarsoul> I guess only pinephone needs it
<anarsoul> maybe pinetab
<megi> A13 is single core and really suffers with PIO based musb networking gadget
<megi> it would also be nice if PP can boot a desktop Linux from a bootable image over emulated mass storage
<megi> the current 10MiB/s is quite slow for that
<anarsoul> heh
lurchi__ is now known as lurchi_
<karlp> PP?
<megi> pinephone
<karlp> pinephhone?
<karlp> right :)
<megi> mainline code is also funny https://megous.com/dl/tmp/5684afb8e5dc70cb.png
<anarsoul> ouch
* karlp laughs
<anarsoul> MoeIcenowy: ^^
<anarsoul> that's your code
<anarsoul> :)
florian has quit [Ping timeout: 265 seconds]
<megi> the +1 is probably expected by the musb_core, but hey :)
<megi> starting from 1, but meaning of num_eps is the last index + 1 :)
<megi> when nidexing from 1
<megi> the best of both world
<anarsoul> so naming is bad
<megi> yeah
<anarsoul> well, EP0 is special, so I expect it to always be present
<megi> yes, it's just confusing
gaston1980 has quit [Quit: Konversation terminated!]
<megi> ux500 is platform data based, while sunxi needs to get drq sources from DT, the rest should be similar
<anarsoul> don't platform wrappers handle it for you?
<megi> I don't think so
<anarsoul> also ux500 has more endpoints
<megi> ux500 uses some custom data fromat
<anarsoul> I guess that're few polishing touches I was mentioning earlier :)