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
tllim has quit [Ping timeout: 246 seconds]
aalm has quit [Quit: rboot]
tllim has joined #linux-sunxi
anarsoul|2 has quit [Ping timeout: 260 seconds]
longsleep has quit [Ping timeout: 258 seconds]
longsleep has joined #linux-sunxi
Net147 has quit [Ping timeout: 260 seconds]
Net147 has joined #linux-sunxi
tllim has quit [Read error: Connection reset by peer]
tllim has joined #linux-sunxi
longsleep has quit [Ping timeout: 255 seconds]
kaspter has quit [Read error: Connection reset by peer]
lemonzest has quit [Quit: Quitting]
longsleep has joined #linux-sunxi
kaspter has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
lkcl has quit [Ping timeout: 260 seconds]
lkcl has joined #linux-sunxi
tllim has quit [Read error: Connection reset by peer]
aalm has joined #linux-sunxi
<icenowy[m]> tkaiser: thanks for this
ninolein has quit [Ping timeout: 240 seconds]
ninolein has joined #linux-sunxi
<icenowy[m]> I will check with the u-boot repo of friendlyarm
<icenowy[m]> their mainline u-boot also uses 672...
<icenowy[m]> maybe I should lower them to 504 as it's used by their lichee u-boot
<icenowy[m]> to be honest I haven't touched my neo2 for a long time
<icenowy[m]> because of no free TF card
<icenowy[m]> P.S. maybe we should dig out a standardized scheme to test the DRAM stability on 64-bit sunxi platforms
GrimKriegor has quit [Quit: oh bai bai bai]
GrimKriegor has joined #linux-sunxi
victhor has joined #linux-sunxi
victhor has quit [Ping timeout: 264 seconds]
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 260 seconds]
cnxsoft1 is now known as cnxsoft
Nyuutwo has quit [Ping timeout: 246 seconds]
aalm has quit [Quit: xyz 1.9.1]
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #linux-sunxi
[7] has quit [Ping timeout: 258 seconds]
TheSeven has joined #linux-sunxi
aalm has joined #linux-sunxi
RichardG867 has quit [Ping timeout: 240 seconds]
RichardG867 has joined #linux-sunxi
RichardG867 has quit [Changing host]
RichardG867 has joined #linux-sunxi
tllim has joined #linux-sunxi
kaspter has quit [Quit: kaspter]
kaspter has joined #linux-sunxi
longsleep has quit [Ping timeout: 240 seconds]
longsleep has joined #linux-sunxi
IgorPec has joined #linux-sunxi
TheSeven has quit [Ping timeout: 258 seconds]
TheSeven has joined #linux-sunxi
Saurabh has joined #linux-sunxi
dave0x6d has quit [Quit: Connection closed for inactivity]
freemangordon has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
reinforce has joined #linux-sunxi
fkluknav has joined #linux-sunxi
jbrown has quit [Ping timeout: 240 seconds]
Saurabh has quit [Ping timeout: 260 seconds]
DullTube has joined #linux-sunxi
Putti has joined #linux-sunxi
Saurabh has joined #linux-sunxi
anarsoul has quit [Ping timeout: 248 seconds]
tl_lim has joined #linux-sunxi
Putti has quit [Ping timeout: 240 seconds]
tllim has quit [Ping timeout: 246 seconds]
kaspter1 has joined #linux-sunxi
kaspter has quit [Ping timeout: 240 seconds]
kaspter1 is now known as kaspter
DullTube has quit [Quit: Leaving]
tl_lim has quit [Quit: Leaving]
aalm has quit [Ping timeout: 255 seconds]
[TheBug] has quit [Quit: ZNC - http://znc.sourceforge.net]
[TheBug] has joined #linux-sunxi
Mr__Anderson has joined #linux-sunxi
aalm has joined #linux-sunxi
Mr__Anderson has quit [Remote host closed the connection]
zoobab has joined #linux-sunxi
victhor has joined #linux-sunxi
<marble_visions> Net147: roger roger
JohnDoe71rus has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 260 seconds]
JohnDoe71rus has quit [Client Quit]
JohnDoe_71Rus has joined #linux-sunxi
maz has joined #linux-sunxi
msimpson has joined #linux-sunxi
mhlavink has joined #linux-sunxi
ornitorrincos has quit [Quit: ZNC 1.6.5 - http://znc.in]
ornitorrincos has joined #linux-sunxi
ornitorrincos has quit [Changing host]
ornitorrincos has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
Andy-D has joined #linux-sunxi
kelvan has quit [Quit: No Ping reply in 180 seconds.]
kelvan has joined #linux-sunxi
victhor has quit [Remote host closed the connection]
sr-digitronic has joined #linux-sunxi
paintenzero has quit [Quit: Leaving]
<Pe3ucTop> Hello , could someone help a bit with strace interpretation ? Problem is that video handling application do not work on BuildRoot distro , but work on Debian distro. Same board, kernel. When executing application getting: "/dev/video0: Invalid argument" . Strace output : https://pastebin.com/yBs1pZvh
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-sunxi
chlorine has quit [Remote host closed the connection]
<rant> Pe3ucTop: are you maybe using an old version of buildroot?
chlorine has joined #linux-sunxi
<Pe3ucTop> rant: maybe, i did not compile it myself, using provided one from LicheePi Zero, but is there known problems in buildroot to relay on ?
<Pe3ucTop> I would like to understand problem source, is it driver bug or some memory problems or ?
<markvandenborre> any hints on how to get the lcd to actually show anything?
<markvandenborre> am I missing something obvious?
Saurabh has quit [Ping timeout: 260 seconds]
ninolein has quit [Ping timeout: 260 seconds]
ninolein has joined #linux-sunxi
diego_r has joined #linux-sunxi
<rant> Pe3ucTop: the call only has two arguments and is raising EINVAL, stands to reason the O_RDRW is likely the issue, could be the filesystem is read-only, could be the buildroot has a bug.. which it has had bugs with the open() in the past..
<rant> Pe3ucTop: test to make sure you can read/write that device node.. use cat/echo see if it returns same error
<rant> or dd for that matter
<Pe3ucTop> rant: yes, it returns the same error. So going to try new BuildRoot and Yacto.
<rant> Pe3ucTop: if dd/echo return same error problem may more likely be the kernel or driver
<rant> Pe3ucTop: dmesg output would tell you more
<rant> the EINVAL is being raised by the fact its trying to O_RDRW and the file cannot be opened O_RDWR
<rant> if it were non-existant or permissions, it'd raise a different error the dd/echo would tell you if the file is read-only
<Pe3ucTop> rant: thanks for help, understand.
<rant> I do recall someone suggesting that it should have a specific error for read-only situations but it doesn't that I know of
Putti has joined #linux-sunxi
Putti has quit [Client Quit]
Worf has joined #linux-sunxi
mhlavink has quit [Quit: No Ping reply in 180 seconds.]
pmpp has quit [Disconnected by services]
pmpp_ has joined #linux-sunxi
pmpp_ is now known as pmpp
Amit_T has joined #linux-sunxi
Amit_T has quit [Client Quit]
DullTube has joined #linux-sunxi
The_Loko has joined #linux-sunxi
<icenowy[m]> oh something very strange happened here on 4.14 kernel with sun4i-drm and H3/5 HDMI patches
<icenowy[m]> if I boot without any screen connected, the system will be not stable and easy to hang
<icenowy[m]> I think this may be a bug in commit ca91a2758fcef6635626993557dd51cfbb6dd134 (drm/fb-helper: Support deferred setup)
chlorine has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
<Pe3ucTop> And again, dumb question, is V3s -> ARM BE or ARM LE (endian)? I see both options in BuildRoot ..
<Pe3ucTop> I know it's Cortex-A7 , but never thinked about endian.. So which endian is correct one ?
<icenowy[m]> defaultly it's LE
<icenowy[m]> it's possible to switch it to BE but it's not yet implemented in mainline U-Boot &amp; Linux
<wens> our drivers might not even work under BE :p
<Pe3ucTop> thanks
<montjoie> (I note, test BE kernel on future lab)
<wens> I doubt many do, since closed source blobs are almost always LE (and possibly not hardfloat
<montjoie> since I do not use mali and co, it should be doable
<wens> what I meant was, it's not a common target :)
<beeble> expect it to not work out of the box
<wens> lol
linac has joined #linux-sunxi
linac has quit [Client Quit]
<Pe3ucTop> How to specify kernel headers location to BuildRoot ? Can't find, not in doc nor in config.
<willmore> Wait, you mean I can't compile the kernel to make all strings EBCDIC? Bummer..
Nyuutwo has joined #linux-sunxi
SP7RT has joined #linux-sunxi
parazyd has quit [Changing host]
parazyd has joined #linux-sunxi
paulk-gagarine-s has joined #linux-sunxi
paulk-gagarine has quit [Ping timeout: 264 seconds]
matthias_bgg has quit [Remote host closed the connection]
paulk-gagarine-s has quit [Client Quit]
paulk-gagarine has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
Gerwin_J has quit [Read error: Connection reset by peer]
Gerwin_J_ has joined #linux-sunxi
chlorine has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
chlorine has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
<markvandenborre> icenowy[m]: I've seen your (very recently acked) patches concerning linux-sunxi lcd & simplefb support
<markvandenborre> I'm just a humble end user of your code, trying to get the FOSDEM video boxes to run a proper mainline kernel with lcd support
<markvandenborre> I've done a bit of research and condensed it into https://github.com/FOSDEM/video/wiki/Mainline-kernel-on-bpi
<markvandenborre> am I thinking correctly that I should either:
<markvandenborre> * use an older u-boot version with kernel 4.9.0 as packaged in Debian
<markvandenborre> * use the most bleeding edge u-boot version and preferably a 4.15-prerelease
JohnDoe71rus has joined #linux-sunxi
JohnDoe_71Rus has quit [Read error: Connection reset by peer]
<markvandenborre> or do the kernel versions not matter too much?
fl_0 has quit [Ping timeout: 258 seconds]
<markvandenborre> I hope this is an appropriate place to drop that question. Please accept my apologies if it is not!
fl_0 has joined #linux-sunxi
<icenowy[m]> markvandenborre: for A20 it's not related
<icenowy[m]> my works now mainly focus on DE2
<zoobab> @markvandenborre you here!
<zoobab> your fosdem box can be seen here on the last pic: https://github.com/zoobab/openwrtsummit-zyre
<markvandenborre> zoobab: hi! long time no see!
SP7RT has quit [Ping timeout: 260 seconds]
<markvandenborre> icenowy[m]: so I should be ok with the latest u-boot from git (as I've compiled it now with the proper options for this specific lcd), and the Debian stretch default 4.9 kernel?
<icenowy[m]> I think so
<icenowy[m]> A20 it's DE1
<icenowy[m]> if I get your chip model right ;-)
<markvandenborre> yes indeed
SP7RT has joined #linux-sunxi
<icenowy[m]> DE2 is for H3/H5/A64/R40
<icenowy[m]> oh and V3s
<markvandenborre> I was a bit confused by the changes in variable names and other bits, didn't read the code too carefully
fl_0 has quit [Ping timeout: 246 seconds]
fl_0 has joined #linux-sunxi
JohnDoe71rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
tllim has joined #linux-sunxi
jbrown has joined #linux-sunxi
IgorPec has quit [Ping timeout: 252 seconds]
mhlavink has joined #linux-sunxi
DullTube has quit [Quit: Leaving]
Andy-D has quit [Ping timeout: 248 seconds]
cnxsoft has quit [Quit: cnxsoft]
aalm has quit [Quit: xyz 1.9.1]
Ultrasauce has quit [Read error: Connection reset by peer]
reinforce has quit [Quit: Leaving.]
The_Loko has quit [Read error: Connection reset by peer]
tllim has quit [Read error: Connection reset by peer]
<marble_visions> all, what's the alternative for allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; for kernels 4.12 and up? is it bias-pull-up?
JohnDoe_71Rus has joined #linux-sunxi
<plaes> yes
<marble_visions> plaes: thanks
lkcl has quit [Ping timeout: 248 seconds]
Putti has joined #linux-sunxi
mhlavink has quit [Remote host closed the connection]
benettig has joined #linux-sunxi
IgorPec has joined #linux-sunxi
mhlavink has joined #linux-sunxi
lkcl has joined #linux-sunxi
fkluknav has quit [Ping timeout: 240 seconds]
anarsoul has joined #linux-sunxi
<marble_visions> i seem to be getting a lot of i2c i2c-1: mv64xxx: I2C bus locked, block: 1, time_left: 0.. and bias-pull-up did not work
* marble_visions is using linux 4.10 and olinuxino a13 micro board
<marble_visions> sorry, linux 4.12
reinforce has joined #linux-sunxi
chlorine_ has joined #linux-sunxi
tllim has joined #linux-sunxi
chlorine has quit [Ping timeout: 240 seconds]
fkluknav has joined #linux-sunxi
ninolein has quit [Ping timeout: 240 seconds]
ninolein has joined #linux-sunxi
rah has quit [Ping timeout: 258 seconds]
rah has joined #linux-sunxi
Andy-D has joined #linux-sunxi
rah has quit [Client Quit]
yann-kaelig has joined #linux-sunxi
fkluknav has quit [Ping timeout: 248 seconds]
aalm has joined #linux-sunxi
fkluknav has joined #linux-sunxi
Andy-D_ has joined #linux-sunxi
chlorine has joined #linux-sunxi
Andy-D has quit [Ping timeout: 255 seconds]
chlorine_ has quit [Ping timeout: 240 seconds]
nove has joined #linux-sunxi
tllim has quit [Ping timeout: 246 seconds]
msimpson has quit [Quit: Leaving]
tllim has joined #linux-sunxi
tllim has quit [Read error: Connection reset by peer]
anarsoul|2 has joined #linux-sunxi
lemonzest has joined #linux-sunxi
fkluknav has quit [Ping timeout: 240 seconds]
dave0x6d has joined #linux-sunxi
tkaiser has joined #linux-sunxi
sr-digitronic has quit [Remote host closed the connection]
<tkaiser> icenowy[m]: Wrt FriendlyELEC's u-boot repo: They invented a proprietary way to configure DRAM clockspeeds: https://forum.armbian.com/topic/5556-neo2-usually-doesnt-cold-start-on-first-attempt/?do=findComment&comment=42499
<tkaiser> icenowy[m]: So maybe it's no wonder why wrong DRAM clockspeeds values are pushed to upstream u-boot...
benettig has quit [Read error: Connection reset by peer]
tkaiser has quit [Read error: Connection reset by peer]
freelikegnu has joined #linux-sunxi
yann|work has quit [Ping timeout: 240 seconds]
matthias_bgg has quit [Ping timeout: 258 seconds]
tkaiser has joined #linux-sunxi
<marble_visions> yep, electrical issue
<marble_visions> btw how do you specify modes for fb0? cat /sys/class/graphics/fb0/modes gives me only 1024x768..
* marble_visions is olinuxino a13 micro without hdmi
<marble_visions> is it like this? http://linux-sunxi.org/Display#mainline_kernel
matthias_bgg has joined #linux-sunxi
jbrown has quit [Ping timeout: 258 seconds]
fkluknav has joined #linux-sunxi
matthias_bgg has quit [Quit: Leaving]
<plaes> marble_visions: a13 has no hdmi
<markvandenborre> I'm comparing lcd framebuffer modes between our (working) legacy and our (not working) mainline setup
<markvandenborre> root@aw1125-slides:~# cat /sys/class/graphics/fb0/modes
<markvandenborre> U:320x240p-65
<markvandenborre> was for the old one
<markvandenborre> I presume the 65 is the refresh rate, right?
<markvandenborre> the mainline kernel gives me U:320x240p-0
<markvandenborre> I guess it might be missing refresh rate info there...
Mr__Anderson has joined #linux-sunxi
<markvandenborre> the system doesn't seem to pick it up when I set the refresh rate to 65 explicitly from u-boot
<marble_visions> plaes: it doesn't but it does have lcd out
<marble_visions> doesn't that support higher resolutions?
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
<plaes> maybe.. I have not A13 devices (except CHIP)
yann-kaelig has quit [Quit: I'll be back]
Ultrasauce has joined #linux-sunxi
yann|work has joined #linux-sunxi
Ntemis has joined #linux-sunxi
IgorPec has quit [Ping timeout: 260 seconds]
<mripard> it does
reinforce has quit [Quit: Leaving.]
obbardc has joined #linux-sunxi
<obbardc> hey guys, got my PC2 board today. got debian jessie image running. now to build my own kernel & debian rootfs
<obbardc> What's the "best" branch for me to start on
* obbardc asks noobiest question
<obbardc> gonna checkout sunxi-next from the github page. Dumb!
<marble_visions> mripard: is it via uboot boot args or device tree fb entries?
tllim has joined #linux-sunxi
<willmore> obbardc, congrats.
<mripard> marble_visions: through DRM, and it's what you should be using, really
<mripard> otherwise, you can use the video= parameter on the kernel command line
jbrown has joined #linux-sunxi
<mripard> video-mode, sorry
Gerwin_J_ has quit [Ping timeout: 258 seconds]
Gerwin_J has joined #linux-sunxi
aalm has quit [Ping timeout: 246 seconds]
aalm has joined #linux-sunxi
dave0x6d has quit [Quit: Connection closed for inactivity]
alexxy has joined #linux-sunxi
putti_ has joined #linux-sunxi
Putti has quit [Ping timeout: 258 seconds]
xes_ has joined #linux-sunxi
xes has quit [Ping timeout: 240 seconds]
Gerwin_J has quit [Quit: Gerwin_J]
<nove> (just saw this today, and is why i write today)
<nove> without any doubt, the gratis-software-community is real
<nove> this is a third-camp different of the open-source and free(libre)-software camps
<nove> where gratis-software is the only acceptable way, whether it be proper open-source or proprietary software make no difference
<nove> (disclaimer: there is nothing wrong in using proprietary-software *if* without-license-issues)
victhor has joined #linux-sunxi
<nove> the essential for this gratis-software-community is to be "gratis" (not just in the price), but also without need to give anything in any form as exchange
<nove> (per example, not even the minimal of verbal support for whatever is the project)
<nove> floss is the wrong term, the correct is GLOSS
lemonzest has quit [Quit: Quitting]
fkluknav has quit [Ping timeout: 255 seconds]
tl_lim has joined #linux-sunxi
tllim has quit [Ping timeout: 252 seconds]
putti_ has quit [Ping timeout: 248 seconds]
gnufan has joined #linux-sunxi
gnufan has left #linux-sunxi [#linux-sunxi]
IgorPec has joined #linux-sunxi
<obbardc> hey guys, getting a n00b error cross-compiling for amd64. https://pastebin.com/uM4MRwtz
<obbardc> just compiled & tested an armhf kernel from sunxi-next, all working fine! w00
<beeble> obbardc: you specified ARCH=arm and use a aarch64 gcc
<obbardc> forgive me
<obbardc> it's late here ;-)
<beeble> if you want to compile a 64 bit kernel you want to use arm64 as arch
<beeble> and probably build a Image not a zImage as zImage is not a supported image format on arm64
<obbardc> there's no sunxi_defconfig for arm64
<obbardc> i can try to copy the one from the arm arch
<beeble> there is only a defconfig
<obbardc> that's right
<beeble> the arm one will not work
<beeble> sanity check: whats you target soc?
<obbardc> H5
<obbardc> Just had the armhf kernel working, not ever built an arm64 kernel and want to play ;-)
<beeble> ok so its armv8 at least :)
<beeble> defconfig should work but its modular by default. so don't forget to build the modules or change all m to y
<obbardc> building Image with defconfig now, which won't work as it's not got the allwinner modules selected in the config]?
<beeble> not up to date if all the required drivers are selected as module at least
<beeble> sorry
<obbardc> forgive me, I am still very new to sunxi and arm ;-)
Mr__Anderson has quit [Remote host closed the connection]
IgorPec has quit [Ping timeout: 248 seconds]
TEKrantz has quit [Read error: Connection reset by peer]
TEKrantz has joined #linux-sunxi
nove has quit [Quit: nove]
tkaiser has quit [Quit: jIRCii - http://www.oldschoolirc.com]
obbardc has quit [Read error: Connection reset by peer]
tl_lim has quit [Ping timeout: 246 seconds]
tl_lim has joined #linux-sunxi
Ntemis has quit [Remote host closed the connection]