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*
parazyd has joined #linux-sunxi
tllim has joined #linux-sunxi
Andy-D has quit [Ping timeout: 246 seconds]
dlan has quit [Remote host closed the connection]
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
lurchi_ is now known as lurchi__
suprothunderbolt has joined #linux-sunxi
msimpson__ has joined #linux-sunxi
msimpson_ has quit [Ping timeout: 248 seconds]
dddddd has quit [Remote host closed the connection]
xcko_ has quit [Remote host closed the connection]
xcko has joined #linux-sunxi
megi has quit [Ping timeout: 258 seconds]
cnxsoft has joined #linux-sunxi
kaspter has joined #linux-sunxi
xcko has quit [Remote host closed the connection]
xcko has joined #linux-sunxi
anarsoul|c has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 258 seconds]
Nakaori has quit [Remote host closed the connection]
Nakaori has joined #linux-sunxi
tllim has quit [Ping timeout: 248 seconds]
cnxsoft has joined #linux-sunxi
Net147 has quit [Quit: Quit]
Net147 has joined #linux-sunxi
mfa298 has quit [Remote host closed the connection]
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 268 seconds]
_whitelogger has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
camus has joined #linux-sunxi
kaspter has quit [Ping timeout: 248 seconds]
camus is now known as kaspter
lykt has quit [Quit: leaving]
_whitelogger has joined #linux-sunxi
lykt has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
s_frit has quit [Remote host closed the connection]
s_frit has joined #linux-sunxi
BenG83 has quit [Ping timeout: 272 seconds]
_whitelogger has joined #linux-sunxi
msimpson__ has quit [Remote host closed the connection]
msimpson__ has joined #linux-sunxi
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
f0xx has joined #linux-sunxi
vagrantc has quit [Ping timeout: 248 seconds]
megi has joined #linux-sunxi
s_frit has quit [Remote host closed the connection]
s_frit has joined #linux-sunxi
camus has joined #linux-sunxi
kaspter has quit [Ping timeout: 250 seconds]
camus is now known as kaspter
dlan has joined #linux-sunxi
Putti has joined #linux-sunxi
s_frit has quit [Remote host closed the connection]
s_frit has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
Putti has quit [Ping timeout: 248 seconds]
Andy-D has joined #linux-sunxi
suprothunderbolt has quit [Ping timeout: 244 seconds]
Mangy_Dog has joined #linux-sunxi
<KotCzarny> hmm, by any chance someone has a fix for hanging spi driver on 3.4?
chewitt has quit [Ping timeout: 272 seconds]
dev1990 has joined #linux-sunxi
Putti has joined #linux-sunxi
lkcl has quit [Ping timeout: 245 seconds]
dddddd has joined #linux-sunxi
Andy-D has quit [Ping timeout: 248 seconds]
afaerber has quit [Quit: Leaving]
lkcl has joined #linux-sunxi
book` has quit [Quit: Leaving]
book` has joined #linux-sunxi
putti_ has joined #linux-sunxi
Putti has quit [Ping timeout: 245 seconds]
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
chewitt has joined #linux-sunxi
lurchi_ is now known as lurchi__
putti_ has quit [Ping timeout: 272 seconds]
RichardG867 has quit [Ping timeout: 244 seconds]
RichardG867 has joined #linux-sunxi
dev1990 has quit [Quit: Konversation terminated!]
lurchi__ is now known as lurchi_
lurchi_ is now known as lurchi__
Andy-D has joined #linux-sunxi
gaston_ has joined #linux-sunxi
<mru> have you tried 5.1?
<mru> KotCzarny: ^
<KotCzarny> i'm stuck with 3.4 for this project
<mru> you could still try it and see if it's been fixed
<mru> anything else would be a waste of time
<KotCzarny> yes, mainline was fixed, but i suspect whole spi infra changed a lot
<mru> was the problem explicitly fixed? or incidentally through other changes?
ganbold has quit [Quit: This computer has gone to sleep]
<KotCzarny> whole sunxi-spi was a rewrite i guess
shfil has joined #linux-sunxi
<mru> you guess
ganbold has joined #linux-sunxi
<mru> find out for sure
<KotCzarny> for now i'm trying workaround (ie. limiting transfer to 32bytes max)
ganbold has quit [Client Quit]
ganbold has joined #linux-sunxi
ganbold has quit [Remote host closed the connection]
AneoX has joined #linux-sunxi
ganbold has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 268 seconds]
afaerber has joined #linux-sunxi
Andy-D has quit [Quit: Alive/Dead]
reinforce has joined #linux-sunxi
lurchi__ is now known as lurchi_
<KotCzarny> yup. seems to be it
<KotCzarny> using transfers up to 64 bytes i didnt manage to hang the spi
lurchi_ is now known as lurchi__
popolon has joined #linux-sunxi
msimpson__ has quit [Remote host closed the connection]
msimpson__ has joined #linux-sunxi
kaspter has quit [Ping timeout: 248 seconds]
<KotCzarny> wth
<KotCzarny> printf("[w=%d,bpp8=%d,x=%d,y=%d,o=%d]\n",w,bpp8,X,Y,(X+Y*w)*bpp8);m
<KotCzarny> [w=480,bpp8=2,x=0,y=319,o=-320]
<KotCzarny> HOW?
lurchi__ is now known as lurchi_
<lurchi_> KotCzarny: overflow, because X is a type to small?
<KotCzarny> all unsigned ints
<KotCzarny> unless preprocessing does something funky on the code
<lurchi_> %d is signed int, use %u
<KotCzarny> but it gets segv, so it's really doing some overflow, but how and why?
<KotCzarny> #define putp(X,Y,C) memcpy(buf+(X+Y*w)*bpp8, C, bpp8)
<KotCzarny> this is the macro
<megi> view the preprocessed code
<KotCzarny> for some reason Y*w gets out as negative
<KotCzarny> even if both Y and w are uints
<KotCzarny> megi: how?
<lurchi_> gcc -E
<lurchi_> i.e. substitute "-c " with "-E "
<lurchi_> and use a proper "-o outfile"
<megi> -save-temps may also work
<KotCzarny> nothing unusual
<KotCzarny> ie. types arent changed automagically, and nothing resets the numbers
<megi> assembly also looks ok?
<KotCzarny> i cant read assembly
victhor has joined #linux-sunxi
cnxsoft1 has quit [Quit: cnxsoft1]
AneoX_ has joined #linux-sunxi
<megi> put the .s file from -save-temps somewhere
<megi> pastebin or smth
AneoX has quit [Ping timeout: 246 seconds]
<KotCzarny> shall i use any debuggin flag to make it more readable?
msimpson__ has quit [Remote host closed the connection]
<megi> -O2 should be fine
msimpson has joined #linux-sunxi
<KotCzarny> [w=480,x=0,y=319,y*w=-160]
<mru> and the C source?
<KotCzarny> you mean .i file?
<mru> no, the .c file
<KotCzarny> same dir
<KotCzarny> macro is at line 36
<KotCzarny> and weird use of it at line 94
<megi> use the guards
<megi> ()
<mru> yes, that's probably it
<megi> (x)+(y)*(w) etc
<KotCzarny> hmm, could be it, lets see
<mru> it's definitely wrong without
<KotCzarny> yup, worked, but what was the reason?
<KotCzarny> it was working fine before i put display in rotated mode
<mru> your X+y*w expands to X+h-1*w
<KotCzarny> ahh
<KotCzarny> thanks a lot, you've saved me from headdesk
<KotCzarny> now the only obstacle is enabling touch via the samee spi
zoums has quit [Ping timeout: 248 seconds]
zoums has joined #linux-sunxi
minicom_ is now known as minicom
Perlovka has quit [Ping timeout: 250 seconds]
wwilly has quit [Read error: Connection reset by peer]
wwilly has joined #linux-sunxi
Perlovka has joined #linux-sunxi
AneoX has joined #linux-sunxi
s_frit_ has joined #linux-sunxi
BenG83 has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 248 seconds]
s_frit has quit [Ping timeout: 272 seconds]
montjoie has quit [Ping timeout: 272 seconds]
jbizcocho has quit [Ping timeout: 272 seconds]
montjoie has joined #linux-sunxi
NeuroScr_ has joined #linux-sunxi
rexxster_ has quit [Ping timeout: 272 seconds]
jbizcocho has joined #linux-sunxi
NeuroScr has quit [Ping timeout: 248 seconds]
NeuroScr_ is now known as NeuroScr
rexxster has joined #linux-sunxi
afaerber has quit [Quit: Leaving]
vpeter has quit [Ping timeout: 248 seconds]
tlwoerner has quit [Ping timeout: 272 seconds]
tlwoerner_ has joined #linux-sunxi
vpeter has joined #linux-sunxi
dddddd has quit [Quit: Hasta otra..]
dddddd has joined #linux-sunxi
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
kaspter has joined #linux-sunxi
lurchi__ has joined #linux-sunxi
lurchi_ has quit [Read error: Connection reset by peer]
chewitt has quit [Ping timeout: 252 seconds]
<jernej> clementp[m]: Thanks for taking care of H6 DMA and IR
kaspter has quit [Quit: kaspter]
netlynx has quit [Quit: Ex-Chat]
iamfrankenstein has quit [Quit: iamfrankenstein]
msimpson has quit [Remote host closed the connection]
msimpson has joined #linux-sunxi
megi has quit [Quit: WeeChat 2.4]
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
DonkeyHotei has quit [Read error: Connection reset by peer]
DonkeyHotei has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
msimpson has quit [Quit: Leaving]
f0xx has quit [Ping timeout: 244 seconds]
msimpson has joined #linux-sunxi
jstein has quit [Quit: quit]
zoums has quit [Read error: Connection reset by peer]
msimpson has quit [Remote host closed the connection]
msimpson has joined #linux-sunxi
vagrantc has joined #linux-sunxi
msimpson has quit [Quit: Leaving]
BenG83 has quit [Ping timeout: 244 seconds]
msimpson has joined #linux-sunxi
zoums has joined #linux-sunxi
Mangy_Dog has quit [Ping timeout: 272 seconds]
anarsoul has quit [Quit: ZNC 1.7.1 - https://znc.in]
anarsoul has joined #linux-sunxi
gaston_ has quit [Quit: Konversation terminated!]
msimpson has quit [Quit: Leaving]