Turl 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
<marble_visions> Guest39250: so i've heard, downgrading toolchain now
<Guest39250> the 4.8 linaro is pretty convenient
<marble_visions> i see it
<marble_visions> 's available from linaro
TEKrantz has joined #linux-sunxi
TEKrantz has quit [Ping timeout: 248 seconds]
MoeIcenowy has quit [Quit: Leaving.]
TEKrantz has joined #linux-sunxi
gnufan has quit [Quit: Leaving.]
popolon has quit [Quit: WeeChat 1.9.1]
maz has joined #linux-sunxi
Ntemis has quit [Ping timeout: 240 seconds]
Ntemis has joined #linux-sunxi
anarsoul|2 has quit [Ping timeout: 255 seconds]
uwe_ has quit [Ping timeout: 252 seconds]
anarsoul has quit [Ping timeout: 240 seconds]
uwe_ has joined #linux-sunxi
anarsoul has joined #linux-sunxi
kaspter has joined #linux-sunxi
maz has quit [Ping timeout: 248 seconds]
cnxsoft has joined #linux-sunxi
maz has joined #linux-sunxi
Ntemis has quit [Read error: Connection reset by peer]
<Net147> marble_visions: kernel options needed for Mali - https://github.com/net147/linux/commit/3a0435c9a6b592593a0a1a6a8e7ec1f2ca9d48d5
<Net147> marble_visions: and you need to be using sun4i-drm, not simplefb
<Net147> marble_visions: benettig: error creating egl surface with Mali fbdev blob is usually because you need CONFIG_DRM_FBDEV_OVERALLOC=200 in kernel config
Ntemis has joined #linux-sunxi
Ntemis has quit [Remote host closed the connection]
anarsoul has quit [Ping timeout: 248 seconds]
MoeIcenowy has joined #linux-sunxi
<MoeIcenowy> by co-running memtester, tinymembench and a linux kernel building process, I successfully found a memory corruption on Orange Pi Prime @ 672MHz
<MoeIcenowy> (memory frequency)
<Guest39250> dts bug?
<MoeIcenowy> nope currently in mainline memory frequency is set in u-boot
lemonzest has joined #linux-sunxi
maz has quit [Ping timeout: 248 seconds]
ninolein has quit [Ping timeout: 264 seconds]
ninolein has joined #linux-sunxi
maz has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
JohnDoe_71Rus has quit [Client Quit]
TEKrantz has quit [Ping timeout: 248 seconds]
azend|vps has quit [Remote host closed the connection]
akaizen has quit [Ping timeout: 240 seconds]
verdi has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 248 seconds]
lurchi__ has joined #linux-sunxi
lurchi__ has quit [Remote host closed the connection]
lurchi__ has joined #linux-sunxi
TEKrantz has joined #linux-sunxi
TEKrantz has quit [Ping timeout: 240 seconds]
TEKrantz has joined #linux-sunxi
TheSeven has quit [Ping timeout: 258 seconds]
TheSeven has joined #linux-sunxi
RichardG867 has quit [Ping timeout: 252 seconds]
maz has quit [Ping timeout: 258 seconds]
JohnDoe_71Rus has joined #linux-sunxi
jbrown has quit [Ping timeout: 240 seconds]
RichardG867 has joined #linux-sunxi
RichardG867 has quit [Changing host]
RichardG867 has joined #linux-sunxi
SP7RT has quit [Ping timeout: 248 seconds]
IgorPec has joined #linux-sunxi
maz has joined #linux-sunxi
TheSeven has quit [Ping timeout: 246 seconds]
TheSeven has joined #linux-sunxi
Saurabh has joined #linux-sunxi
MoeIcenowy has quit [Quit: Leaving.]
Hao has joined #linux-sunxi
reinforce has joined #linux-sunxi
<Saurabh> can we use gnueabi arm tool chain instead of gnueabihf arm tool chain in compilations ? I asking as both tool chain are for arm
Saurabh has quit [Ping timeout: 260 seconds]
Saurabh has joined #linux-sunxi
<Saurabh> can we use gnueabi toolchain instead of gnueabihf toolchain? as both are for arm
<jogoes> Hi. Anybody knows how to write/read registers from linux users space for the V3S chip?
Ntemis has joined #linux-sunxi
<beeble> jogoes: search for devmem2
<beeble> Saurabh: they produce different binaries. you can run armel stuff on a cortex-ax but you probably want armhf to use the more optimized stuff the cpu supports
Putti has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
maz has quit [Ping timeout: 248 seconds]
<forkbomb> Putti: do you get the full s-boot output on UART?
<forkbomb> and can you get into the s-boot shell?
Putti has quit [Ping timeout: 240 seconds]
<Saurabh> gcc-arm-linux-gnueabihf-4.7 would be able to compile a 3.4 kernel ? as for now Im getting linux/compiler-gcc5.h error
Saurabh has quit [Ping timeout: 260 seconds]
Gerwin_J has joined #linux-sunxi
maz has joined #linux-sunxi
maz has quit [Ping timeout: 248 seconds]
IgorPec has quit [Ping timeout: 240 seconds]
fkluknav has joined #linux-sunxi
MoeIcenowy has joined #linux-sunxi
<jogoes> Hi. Anybody knows how to write/read registers from linux users space for the V3S chip?
tllim has quit [Quit: Leaving]
<Pe3ucTop> 08:29 < beeble> jogoes: search for devmem2
<Pe3ucTop> jogoes: in busybox there is "devmem" command for read/write registers in console. devmem2 is available C program , which you can get as example
Ntemis has quit [Remote host closed the connection]
<jogoes> Thank you! I will have a look
popolon has joined #linux-sunxi
<marble_visions> Net147: so thats CONFIG_DRM_SUN4I=y, and CONFIG_FB_SIMPLE=n in the kernel?
<Pe3ucTop> jogoes: What are you doing/working on with V3s ? (if not a secret)
msimpson has joined #linux-sunxi
<jogoes> I am just playing a bit
<jogoes> to learn linux and embedded systems
<Pe3ucTop> MoeIcenowy: Had you chance test sun4i-ss on V3s ?
<marble_visions> downgrading to linaro 4.8 gcc, i'm not getting bad alloc 3003, but now i just segfault
<marble_visions> Net147: benettig: ^
<Net147> marble_visions: are you using HDMI?
<marble_visions> no, dumb-vga-bridge
<marble_visions> olinuxino a13
dave0x6d has quit [Quit: Connection closed for inactivity]
<Net147> marble_visions: okay. my branch is https://github.com/net147/linux/tree/sun7i-drm-wip and I have tested 4.3" LCD and (4.3" LCD +HDMI) configurations.
<marble_visions> Net147: ooh, nice. will try it out
<marble_visions> thanks
<MoeIcenowy> Pe3ucTop: it works.
<marble_visions> what toolchain and board are you using?
<Net147> marble_visions: a20-olinuxino-lime + OE-core + meta-sunxi. toolchain is built from source.
<marble_visions> wow
<marble_visions> manually or via some yocto recipe?
<marble_visions> Net147:
matthias_bgg has joined #linux-sunxi
<Net147> marble_visions: OE-core recipes build the toolchain
benettig_ has joined #linux-sunxi
<marble_visions> alright, i'll try a yocto poky with meta-sunxi
<marble_visions> Net147: how are you testing the libraries? no X and qt with eglfs?
afaerber has joined #linux-sunxi
andruser31 has joined #linux-sunxi
<andruser31> Test
<Net147> marble_visions: yes
<Net147> marble_visions: OE is quite a steep learning curve...
<Net147> marble_visions: if using Mali fbdev, you can only use a single output at once, not dual display
<andruser31> Net147: one display is good. So i need to patch meta-sunxi to add the new blobs? They are not yet included, are they?
<Net147> andruser31: yes, they are not included yet in meta-sunxi
ninolein has quit [Ping timeout: 248 seconds]
ninolein has joined #linux-sunxi
yann|work has joined #linux-sunxi
Hao_ has joined #linux-sunxi
Hao has quit [Ping timeout: 248 seconds]
afaerber has quit [Quit: Leaving]
mossroy has joined #linux-sunxi
chlorine_ has joined #linux-sunxi
chlorine has quit [Ping timeout: 240 seconds]
dave0x6d has joined #linux-sunxi
linac has joined #linux-sunxi
Net147 has quit [Ping timeout: 240 seconds]
tom_nov has joined #linux-sunxi
Net147 has joined #linux-sunxi
jelly has quit [Ping timeout: 248 seconds]
kaspter1 has joined #linux-sunxi
jelly-home has joined #linux-sunxi
book`_ has joined #linux-sunxi
aballier_ has joined #linux-sunxi
kaspter has quit [Ping timeout: 248 seconds]
kaspter1 is now known as kaspter
book` has quit [Ping timeout: 248 seconds]
aballier has quit [Ping timeout: 248 seconds]
phil42 has quit [Ping timeout: 248 seconds]
a|3x has quit [Ping timeout: 248 seconds]
zzeroo has quit [Ping timeout: 248 seconds]
phil42 has joined #linux-sunxi
a|3x has joined #linux-sunxi
zzeroo has joined #linux-sunxi
TEKrantz has quit [Ping timeout: 260 seconds]
mcan has quit [Ping timeout: 260 seconds]
pg12 has quit [Ping timeout: 240 seconds]
TEKrantz has joined #linux-sunxi
<marble_visions> Alright, i'll have a look what toolchain oe builds
<marble_visions> Net147: is that openembedded or yocto?
pg12 has joined #linux-sunxi
<Net147> marble_visions: I use openembedded-core
mcan has joined #linux-sunxi
andruser31 has quit [Ping timeout: 240 seconds]
<jogoes> Hi, I have been reading V3S registers by using devmem2, but when I tried to write them, the values of the registers did not change. Anybody knows how to write those registers or how to add write permissions to them?
Net147 has quit [Ping timeout: 264 seconds]
Worf has joined #linux-sunxi
<Pe3ucTop> jogoes: try same operation with "busybox devmem"
<Pe3ucTop> it could be that you are writing incorrect field or not enabled peripheria (no clock) - than write action will not take effect.
tom_nov has quit [Ping timeout: 248 seconds]
Net147 has joined #linux-sunxi
jelly-home has quit [Ping timeout: 260 seconds]
enrico__ has joined #linux-sunxi
jelly-home has joined #linux-sunxi
<jogoes> I have tried with devmem, devmem2 and a custom c program I made. I am able to read registers, getting the same values by using the 3 programs, but I cannot write. It looks like there might be something related to register permissions, but I don´t know where/how to activate those permissions
fkluknav has quit [Ping timeout: 248 seconds]
maz has joined #linux-sunxi
chlorine_ has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
tom_nov has joined #linux-sunxi
yann-kaelig has joined #linux-sunxi
maz has quit [Ping timeout: 260 seconds]
linac has quit [Quit: Leaving]
MoeIcenowy has quit [Remote host closed the connection]
<marble_visions> mripard: what toolchain are you using for sunxi-mali?
<marble_visions> what: arch/arm/kernel/asm-offsets.c:54:2: error: #error Your compiler is too buggy; it is known to miscompile kernels
<marble_visions> hahahaha
jelly-home has quit [Ping timeout: 240 seconds]
jelly-home has joined #linux-sunxi
Hao_ has quit [Ping timeout: 255 seconds]
Andy-D has joined #linux-sunxi
fkluknav has joined #linux-sunxi
lemonzest has quit [Remote host closed the connection]
Guest39250 has quit [Ping timeout: 260 seconds]
akaWolf has quit [Quit: leaving]
akaWolf has joined #linux-sunxi
akaWolf has quit [Quit: leaving]
akaWolf has joined #linux-sunxi
akaWolf has quit [Client Quit]
akaWolf has joined #linux-sunxi
akaWolf has quit [Client Quit]
akaWolf has joined #linux-sunxi
akaWolf has quit [Client Quit]
akaWolf has joined #linux-sunxi
akaWolf has quit [Changing host]
akaWolf has joined #linux-sunxi
akaWolf has quit [Quit: leaving]
akaWolf has joined #linux-sunxi
jelly-home has quit [Ping timeout: 260 seconds]
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft1 has joined #linux-sunxi
cnxsoft1 is now known as cnxsoft
akaWolf has quit [Quit: leaving]
jelly-home has joined #linux-sunxi
akaWolf has joined #linux-sunxi
matthias_bgg has quit [Quit: Leaving]
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
jstein has quit [Remote host closed the connection]
MoeIcenowy has joined #linux-sunxi
chlorine_ has joined #linux-sunxi
Worf has quit [Quit: Konversation terminated!]
chlorine has quit [Ping timeout: 248 seconds]
chlorine_ has quit [Ping timeout: 246 seconds]
<Pe3ucTop> jogoes: which registers do you trie to read/write and do you do it with root user ? I did register reading/writion on V3s witout any problems.
linac has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
Andy-D has quit [Ping timeout: 248 seconds]
<jogoes> Pe3ucTop: I finally managed to write/read without problems
<jogoes> Thank you very much for your help
<jogoes> with devmem2
chlorine has joined #linux-sunxi
chlorine has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
chlorine_ has joined #linux-sunxi
chlorine has quit [Ping timeout: 248 seconds]
chlorine has joined #linux-sunxi
chlorine_ has quit [Ping timeout: 240 seconds]
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
jbrown has joined #linux-sunxi
mossroy has quit [Quit: Leaving]
<montjoie> mripard: do you want also patchs for A83T ? (and bpm3)
<montjoie> they are ready and tested
jogoes has quit [Quit: Page closed]
chlorine_ has joined #linux-sunxi
Ntemis has joined #linux-sunxi
chlorine has quit [Ping timeout: 240 seconds]
cnxsoft has quit [Quit: cnxsoft]
aalm has quit [Ping timeout: 260 seconds]
aalm has joined #linux-sunxi
dave0x6d has quit [Quit: Connection closed for inactivity]
duracrisis has quit [Excess Flood]
MoeIcenowy has quit [Remote host closed the connection]
duracrisis has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
skiboy has quit [Quit: Leaving]
SP7RT has joined #linux-sunxi
Putti has joined #linux-sunxi
TEKrantz has quit [Quit: For Sale: Intergalactic Proton Powered Electrical Tentacled Advertising Droids]
TEKrantz has joined #linux-sunxi
fkluknav has quit [Ping timeout: 240 seconds]
mcan has quit [Ping timeout: 248 seconds]
mcan has joined #linux-sunxi
<igraltist> can i use a system for opipc to run opipc2, when i just replace the kernel?
mhlavink has quit [Ping timeout: 252 seconds]
fkluknav has joined #linux-sunxi
dave0x6d has joined #linux-sunxi
aalm has quit [Quit: xyz 1.9.1]
reinforce has joined #linux-sunxi
tom_nov has quit [Quit: Leaving]
<montjoie> should work, but you probably need to replace uboot and dtb also
<igraltist> ok
<benettig_> mripard: did you manage to get r6p2 working with fbdev or x11?
lrusak has joined #linux-sunxi
putti_ has joined #linux-sunxi
Net147 has quit [Read error: Connection reset by peer]
Putti has quit [Ping timeout: 260 seconds]
Net147 has joined #linux-sunxi
lrusak has quit [Quit: lrusak]
lrusak has joined #linux-sunxi
putti_ is now known as Putti
IgorPec has joined #linux-sunxi
jelly-home is now known as jelly
chlorine_ has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
Putti has quit [Ping timeout: 248 seconds]
<marble_visions> benettig mripard +1.. with all the wall headbutting i've done i'm starting to doubt that articles like these https://wiki.qt.io/Building_Qt_for_PocketCHIP actually work (either run or use mali)
<marble_visions> benettig: i downgraded to linaro gcc 4.9 and started having segfaults instead of bad alloc
<benettig_> marble_visions: what kind of segfaults? Do you have an strace to post?
<marble_visions> no, began a compiling spree with 4.8/4.9 to see if it's from that, but hit an issue with most of them (internal compiler errors) so now i'm going to do a segfaulting build to strace
<marble_visions> benettig:
tllim has joined #linux-sunxi
<benettig_> this could really make sense, because libMali.so is compiled with 4.8.2 gcc vfp
<benettig_> oooh wait!
<benettig_> do you have NEON activated in your toolchain?
<benettig_> take a look here
<benettig_> my arm-linux-gcc is 6.4.0 and NEON, this could give problems
skiboy has joined #linux-sunxi
<benettig_> marble_visions:
freemangordon has quit [Ping timeout: 248 seconds]
<benettig_> or simply compiler version as you're doing
<willmore> igraltist, you should be able to run an AARCH32 userspace on an AARCH64 kernel. Heck, you can even run an AARCH32 kernel on a 64 machine. But, I don't know if mainline supports that without some tweaking. Does anyone run 32 bit on an AARCH64 SoC other than Rpi3?
<willmore> You lose a lot of performance in NEON and related instructions.
<KotCzarny> orangeos does
<KotCzarny> on h4
<KotCzarny> h5
<KotCzarny> ;)
<benettig_> willmore: maybe it's only a matter of toolchain version
<benettig_> I try keeping NEON to begin
<willmore> KotCzarny, they do? Where? Is their legacy kernel 32 bit? I never ran it...
<KotCzarny> neither do i
<KotCzarny> but i've heard their os for h5 is 32bit
msimpson has quit [Quit: Leaving]
<KotCzarny> which isnt bad, because maybe i'll snatch it (android 5) for h3droid
<willmore> benettig_, I mean that AARCH64 code has access to aspects of the architecture that AARCH32 does not and limits the 32 bit code from being as fast at some code.
<willmore> KotCzarny, you nut. :)
<benettig_> willmore: ok, but I'm working on 32bit arch, I can't understand
<willmore> benettig_, understood. I was refering to igraltist who wanted to move from a OpiPC to OpiPC2--H3 to H5. 32 bit to 64 bit SoC.
<benettig_> Oh ok, but you gave me a great hint
<benettig_> about performance mixing NEON and VFP
<benettig_> so I will only keep VFP
<benettig_> thanks
<willmore> NEON on 32 bit works fine, but NEON on a 64 bit capable SoC will be better as 64 bit code than 32 bit.
<willmore> And there's plenty of variation amongst the many cores. So, this comment is 'in general'.
<benettig_> ok, anyway libMali is compiled without NEON, so I will try without that and same gcc version
<benettig_> thank you
<igraltist> my question was because i use gentoo and its more easy if i just change the kernel
fkluknav has quit [Ping timeout: 248 seconds]
<willmore> benettig_, best of luck.
<willmore> igraltist, give it a shot. It's *possible* from what I understand.
<willmore> You may need some uboot magic, though.
* willmore knows very little about uboot.
lurchi__ has quit [Quit: Konversation terminated!]
anarsoul|2 has joined #linux-sunxi
freemangordon has joined #linux-sunxi
lrusak has quit [Quit: lrusak]
lrusak has joined #linux-sunxi
<benettig_> marble_visions: nothing to do... it wasn't compiler version. Rebuilt everything with 4.9.4, same 0x3003 error
lrusak has quit [Quit: lrusak]
lrusak has joined #linux-sunxi
<benettig_> in a certain sense it's better this way. it remains only to understand why it can't allocate surface
benettig_ has quit [Quit: Leaving]
adj__ has quit [Ping timeout: 255 seconds]
scream has joined #linux-sunxi
enrico__ has quit [Quit: Bye]
Putti has joined #linux-sunxi
aalm has joined #linux-sunxi
adj__ has joined #linux-sunxi
adj__ has quit [Ping timeout: 240 seconds]
adj__ has joined #linux-sunxi
adj__ has quit [Ping timeout: 240 seconds]
scream_ has joined #linux-sunxi
benettig has quit [Read error: Connection reset by peer]
scream has quit [Ping timeout: 246 seconds]
Nyuutwo has joined #linux-sunxi
xes__ has joined #linux-sunxi
xes_ has quit [Ping timeout: 240 seconds]
lrusak has quit [Quit: lrusak]
lrusak has joined #linux-sunxi
lrusak_ has joined #linux-sunxi
lrusak_ has quit [Client Quit]
lrusak has quit [Ping timeout: 258 seconds]
lrusak_ has joined #linux-sunxi
lrusak_ is now known as lrusak
Andy-D has joined #linux-sunxi
IgorPec has quit [Ping timeout: 252 seconds]
Andy-D has quit [Quit: Alive/Dead]
<igraltist> if have a pifi dac, someone knows which driver for opipc is needed?
<igraltist> i try a lot but no sound card
tllim has quit [Read error: Connection reset by peer]
Mr__Anderson has joined #linux-sunxi
adj__ has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Client Quit]
yann-kaelig has quit [Quit: I'll be back]
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
adj__ has quit [Ping timeout: 248 seconds]
adj__ has joined #linux-sunxi
adj__2 has joined #linux-sunxi
adj__ has quit [Read error: Connection reset by peer]
jstein has quit [Remote host closed the connection]
adj__2 has quit [Ping timeout: 248 seconds]
scream_ has quit [Remote host closed the connection]
scream_ has joined #linux-sunxi
adj__ has joined #linux-sunxi
Putti has quit [Ping timeout: 240 seconds]
tllim has joined #linux-sunxi
Gerwin_J has quit [Ping timeout: 258 seconds]
Gerwin_J has joined #linux-sunxi
ninolein_ has joined #linux-sunxi
ninolein has quit [Ping timeout: 264 seconds]
reinforce has quit [Quit: Leaving.]
gnufan has joined #linux-sunxi
<marble_visions> benettig: benettig_: mripard: https://pastebin.com/fnHmGy1w this is what i get with gcc 4.9 qt5 examples. mali r6p2
benettig has joined #linux-sunxi
iamfrankenstein has quit [Quit: iamfrankenstein]
iamfrankenstein has joined #linux-sunxi
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
verdi has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<miasma> but maybe with sata & gigabit ethernet. also 2.5A power via micro usb, wtf
freemangordon has quit [Ping timeout: 248 seconds]
azend|vps has joined #linux-sunxi
freemangordon has joined #linux-sunxi
anarsoul|2 has quit [Remote host closed the connection]
anarsoul|2 has joined #linux-sunxi
scream_ has quit [Remote host closed the connection]
Gerwin_J has quit [Quit: Gerwin_J]
maz has joined #linux-sunxi
jstein has quit [Read error: Connection reset by peer]
benettig has quit [Quit: Leaving]
Ntemis has quit [Remote host closed the connection]
linac has quit [Quit: Leaving]