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
Ntemis has quit [Remote host closed the connection]
vishnup has joined #linux-sunxi
cajg_ has left #linux-sunxi ["WeeChat 1.6"]
kivutar has quit [Ping timeout: 240 seconds]
lkcl has quit [Read error: Connection reset by peer]
kivutar has joined #linux-sunxi
victhor has quit [Ping timeout: 260 seconds]
lkcl has joined #linux-sunxi
jernej has quit [Ping timeout: 260 seconds]
Andy-D has quit [Ping timeout: 240 seconds]
lkcl has quit [Ping timeout: 240 seconds]
dave0x6d has quit [Quit: Connection closed for inactivity]
NiteHawk has quit [Quit: Bye.]
NiteHawk has joined #linux-sunxi
lkcl has joined #linux-sunxi
egbert has quit [Ping timeout: 255 seconds]
Rondom has quit [Remote host closed the connection]
longsleep has quit [Remote host closed the connection]
longsleep has joined #linux-sunxi
Rondom has joined #linux-sunxi
wzyy2 has joined #linux-sunxi
Rondom has quit [Remote host closed the connection]
longsleep has quit [Remote host closed the connection]
vagrantc has quit [Quit: leaving]
jbrown has quit [Ping timeout: 255 seconds]
longsleep has joined #linux-sunxi
kristina has quit [Ping timeout: 255 seconds]
Rondom has joined #linux-sunxi
kristina has joined #linux-sunxi
chlorine has joined #linux-sunxi
egbert has joined #linux-sunxi
jbrown has joined #linux-sunxi
florianH has quit [Quit: Connection closed for inactivity]
chlorine has quit [Ping timeout: 260 seconds]
ganbold has joined #linux-sunxi
dave0x6d has joined #linux-sunxi
vishnup has quit [Quit: Leaving]
apritzel has quit [Quit: Leaving.]
cyrozap-ZNC has quit [Quit: Client quit]
cyrozap has joined #linux-sunxi
kristina has quit [Ping timeout: 255 seconds]
cnxsoft has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
<wens> MoeIcenowy: dt stuff should be added when something actually uses it, or in the case of simplefb, something can actually provide it
victhor has joined #linux-sunxi
<wens> MoeIcenowy: btw, can you also ask about the GMAC clock, how the tx/rx delays are calculated and what units they are in, to help montjoie ?
ninolein has joined #linux-sunxi
ninolein_ has quit [Ping timeout: 240 seconds]
GrimKriegor has quit [Ping timeout: 252 seconds]
terra854 has joined #linux-sunxi
GrimKriegor has joined #linux-sunxi
kristina has joined #linux-sunxi
techping has joined #linux-sunxi
matthias_bgg_ has quit [Ping timeout: 255 seconds]
techping has quit [Remote host closed the connection]
stoned0651 has joined #linux-sunxi
<stoned0651> I am trying to integrate CX20921 microphone array to
<stoned0651> H3 board. However on recording it records lonly silence
<stoned0651> Pls help if the device is configured correctly
<stoned0651> dmesg http://pastebin.com/7tBq26pk
victhor has quit [Ping timeout: 260 seconds]
<stoned0651> the driver itself is available here https://github.com/Conexant-SW/CX2092X
chomwitt has quit [Ping timeout: 268 seconds]
IgorPec has joined #linux-sunxi
pg12 has quit [Ping timeout: 260 seconds]
pg12 has joined #linux-sunxi
wzyy2 has quit [Ping timeout: 260 seconds]
chlorine has joined #linux-sunxi
dave0x6d has quit [Quit: Connection closed for inactivity]
chlorine has quit [Ping timeout: 260 seconds]
wzyy2 has joined #linux-sunxi
leviathan has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
TheSeven has quit [Ping timeout: 240 seconds]
TheSeven has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 260 seconds]
<MoeIcenowy> wens: at least something out-of-tree can provide it.
<MoeIcenowy> The meet with Allwinner guys are scheduled at tomorrow 2 p.m. +0800
<wens> good luck!
leviathan_ has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
reinforce has joined #linux-sunxi
leviathan has quit [Ping timeout: 255 seconds]
leviathan has joined #linux-sunxi
jernej has joined #linux-sunxi
leviathan_ has quit [Ping timeout: 260 seconds]
leviathan is now known as leviathanch
f0xx has joined #linux-sunxi
jernej has quit [Ping timeout: 260 seconds]
IgorPec has quit [Ping timeout: 260 seconds]
<BenG83_PB> MoeIcenowy, good luck, say hi to Tl from me ;)
chlorine has joined #linux-sunxi
chlorine has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
oliv3r has joined #linux-sunxi
msevwork has joined #linux-sunxi
ErwinH has joined #linux-sunxi
chlorine has quit [Remote host closed the connection]
ErwinH has quit [Remote host closed the connection]
bcruise has quit [Ping timeout: 260 seconds]
IgorPec4 has joined #linux-sunxi
ErwinH has joined #linux-sunxi
florianH has joined #linux-sunxi
ErwinH has quit [Ping timeout: 240 seconds]
f0xx has quit [Ping timeout: 260 seconds]
fkluknav has joined #linux-sunxi
<jelle> MoeIcenowy: good luck!
<montjoie> MoeIcenowy: I vote for question about tx/rx delay:)
fkluknav has quit [Ping timeout: 268 seconds]
apritzel has joined #linux-sunxi
<apritzel> shadeslayer: can you try to explicitly disable PIE in the ATF Makefile?
<apritzel> by adding -fno-pie and/or -no-pie to the options?
<apritzel> along those lines: https://patchwork.ozlabs.org/patch/616621/
<MoeIcenowy> montjoie: rx and tx delays is always a disaster ;-)
<MoeIcenowy> but are they present on sun7i-a20?
<wens> yes
<jelle> MoeIcenowy: bananpi has it iirc
<jelle> *bananapi
<wens> see bananapi r1
<MoeIcenowy> I remembered it
<BenG83_PB> is that not a PHY rather than a SoC question?
<wens> BenG83_PB: the delay lines are in the SoC
<BenG83_PB> ok
<montjoie> MoeIcenowy: dwmac-sun8i have it (board bpi m3 need it)
<MoeIcenowy> wens: I didn't find the delay set in sun7i-a20-lamobo-r1.dts
<wens> it is in the glue layer around the dwmac core
<wens> MoeIcenowy: it's in U-boot, because the old dwmac-sunxi driver doesn't support it
<MoeIcenowy> so it
<MoeIcenowy> so it's set and kept in u-boot?
<wens> yup
<wens> we should update the bindings for the old stuff once dwmac-sun8i is merged
<wens> and also get rid of the nasty gmac* clk
<montjoie> wens: dwmac-sunxi and sun8i are incompatible, perhaps I read you wrong
<MoeIcenowy> I think the gmac* guy is really something belong to GMAC block but set in CCU/syscon
<MoeIcenowy> montjoie: have you checked EPHY issue?
apritzel has quit [Quit: Leaving.]
IgorPec4 has quit [Ping timeout: 260 seconds]
<montjoie> MoeIcenowy: not yet
<montjoie> will trytoday
clonak has quit [Remote host closed the connection]
<wens> montjoie: the clock related settings in the syscon are the same
<wens> montjoie: just that they are in the CCU (perhaps because it looks like a clock)
<MoeIcenowy> and in R40 it's in CCU again
IgorPec has joined #linux-sunxi
<MoeIcenowy> wens: how do you think to export this word to gmac driver?
ErwinH has joined #linux-sunxi
<MoeIcenowy> a syscon with size 0x4?
<MoeIcenowy> (I mean the CCU one
<wens> not sure
<wens> not in a hurry either
<wens> device tree binding would just be a phandle pointing to the CCU i suppose
<MoeIcenowy> will need this for R40 ;-)
<MoeIcenowy> but really not a hurry ;-)
ErwinH has quit [Ping timeout: 255 seconds]
<MoeIcenowy> as I have even no wired network access -- I'm testing MAC drivers with a Ethernet wire directly connected to my laptop ;-)
<wens> using the syscon implementation in the kernel is not going to work properly
<wens> there's no locking with respect to the CCU driver
<MoeIcenowy> will start to continue on DE2 DRM driver...
<wens> probably export a regmap from the CCU driver, then have the gmac driver use of_find_device_by_node + dev_get_regmap
paulk-collins has joined #linux-sunxi
massi has joined #linux-sunxi
f0xx has joined #linux-sunxi
<NiteHawk> libv, turl: linux-sunxi.org out of disk space again?
<NiteHawk> Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php5) in Unknown on line 0
<NiteHawk> Warning: Unknown: write failed: No space left on device (28) in Unknown on line 0
<NiteHawk> (at the bottom of wiki pages)
<wens> plaes: are you going to do a20 CCU driver?
fkluknav has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
f0xx has quit [Ping timeout: 255 seconds]
ErwinH has joined #linux-sunxi
<MoeIcenowy> jernej: do you have any explaination of magic numers in sunxi_composer_mode_set ?
ErwinH has quit [Ping timeout: 240 seconds]
LargePrime has quit [Ping timeout: 255 seconds]
wzyy2 has quit [Ping timeout: 240 seconds]
ErwinH has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
BenG83 has joined #linux-sunxi
ErwinH has quit [Ping timeout: 255 seconds]
wzyy2 has joined #linux-sunxi
ErwinH has joined #linux-sunxi
ErwinH has quit [Ping timeout: 260 seconds]
enrico_ has joined #linux-sunxi
dgp has quit [Ping timeout: 240 seconds]
<MoeIcenowy> NiteHawk: yes, page modification failed.
dgp has joined #linux-sunxi
<MoeIcenowy> jernej: seems that only one channel can be used at one time?
cnxsoft has quit [Quit: cnxsoft]
cnxsoft has joined #linux-sunxi
chlorine has joined #linux-sunxi
leviathan has joined #linux-sunxi
dgp has quit [Read error: No route to host]
chlorine has quit [Ping timeout: 255 seconds]
mrnuke has quit [Ping timeout: 245 seconds]
scream has joined #linux-sunxi
leviathanch has quit [Ping timeout: 260 seconds]
<Turl> NiteHawk: looks like so
<Turl> NiteHawk: I've cleaned the apt caches to give it breathing space
Ntemis has joined #linux-sunxi
DullTube has joined #linux-sunxi
<Turl> libv: if you can take a better look later that would be great, I need to leave in a min
leviathan has quit [Remote host closed the connection]
ErwinH has joined #linux-sunxi
wzyy2 has quit [Ping timeout: 260 seconds]
ErwinH has quit [Ping timeout: 240 seconds]
<NiteHawk> Turl: thx!
<plaes> wens: thinking about this... ;)
<plaes> but I'm quite busy during this month
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<MoeIcenowy> finished a sun8i_mixer.c based on sun4i_backend.c
Nacho__ has quit [Quit: No Ping reply in 180 seconds.]
lkcl has quit [Ping timeout: 255 seconds]
Nacho_ has joined #linux-sunxi
ErwinH has joined #linux-sunxi
chlorine has joined #linux-sunxi
ErwinH has quit [Ping timeout: 260 seconds]
mrnuke has joined #linux-sunxi
<MoeIcenowy> building sun8i-modified sun4i-drm driver
<rellla> \o/
<rellla> MoeIcenowy: so on mainline effort page moinejf should be replaced?
<libv> oh, and here we thought we had solved that
<libv> Turl: will do
<MoeIcenowy> rellla: after I send some patch
<MoeIcenowy> I wish moinejf will someday re-appear and send a v8 ;-)
<rellla> i think he dropped his efforts ...
<rellla> MoeIcenowy: will your patch include hdmi bits?
<MoeIcenowy> nope
<MoeIcenowy> I will develop my patchset first on a V3s, which have only one pipeline ends with LCD controller
<libv> Turl: after you cleaned the cache, all is well, it seems
wzyy2 has joined #linux-sunxi
<libv> we have a third of the disk available
<MoeIcenowy> maybe unlinked pictures should be cleaned
<libv> i think the cache just became too large
<MoeIcenowy> yes it's possible ;-)
<libv> it's been ages since we last had a problem with our tiny /
<libv> 6 months at least
<MoeIcenowy> sun8i_mixer.o passed build ;-)
ErwinH has joined #linux-sunxi
<plaes> libv, Turl: do we have backups? ;)
<rah> the sunxi_defconfig includes a "sunt4_ts" driver but my .fex points to an EDT FT5406 and there's an edt-ft5x06 driver for it but that isn't included in sunxi_defconfig
<plaes> I guess you are aware what happened Gentoo wiki
<rah> s/sunt4_ts/sun4i_ts/
chlorine has quit [Remote host closed the connection]
<plaes> rah: then it needs to be added
<rah> what does the sun4i_ts driver do? and do I also need an edt-ft5x06 driver?
<plaes> in case your tablet uses edt-ft5x06 touchscreen, then you need it
<libv> plaes: i've been told "yes", but i have no details
<rah> plaes: how come it's not included in the sunxi_defconfig?
<rah> plaes: there seem to be a few .dts files that have an EDT FT5406
<rah> s/.dts files/sun4i .dts files/
<MoeIcenowy> sun4i_ts is for the integrated *resistive* touch screen controller
<MoeIcenowy> if you board uses a capative touch screen, thus it won't fit your board ;-)
<rah> MoeIcenowy: ah
<rah> * Allwinner sunxi resistive touchscreen controller driver
BroderTuck has joined #linux-sunxi
<MoeIcenowy> but it's also used for thermal, so it cannot be dsabled ;-)
<rah> so it is
huawei has joined #linux-sunxi
<rah> hmm ok
ErwinH has quit [Ping timeout: 240 seconds]
<rah> is sunxi_defconfig just a minimal set or does it include common drivers?
speakman has quit [Ping timeout: 240 seconds]
<MoeIcenowy> minimal set.
<MoeIcenowy> a minimal set to enable on-chip functions.
<rah> I see
speakman has joined #linux-sunxi
speakman has joined #linux-sunxi
speakman has quit [Changing host]
chlorine has joined #linux-sunxi
<MoeIcenowy> writing dt for sun8i-mixer
<plaes> rah: though, extra stuff can be enabled via modules
leviathan has joined #linux-sunxi
cnxsoft has quit [Remote host closed the connection]
cnxsoft has joined #linux-sunxi
LargePrime has joined #linux-sunxi
<MoeIcenowy> dt written, will test ot
<MoeIcenowy> it *
IgorPec has quit [Ping timeout: 260 seconds]
Nacho_ has quit [Remote host closed the connection]
ErwinH has joined #linux-sunxi
ErwinH_ has joined #linux-sunxi
Net147 has quit [Ping timeout: 240 seconds]
ErwinH has quit [Ping timeout: 260 seconds]
Net147 has joined #linux-sunxi
ErwinH_ has quit [Ping timeout: 240 seconds]
IgorPec has joined #linux-sunxi
souther has quit [Ping timeout: 240 seconds]
ErwinH has joined #linux-sunxi
souther has joined #linux-sunxi
<MoeIcenowy> ok https://github.com/wens/linux/commit/2823b887a289fbee5f97f3c6b45ed6c74a6368c6 this commit is needed for qiaodian,qd43003c0-40 panel
<MoeIcenowy> and this panel is provided by Lichee Pi as one of the accessories of Lichee Pi One/Zero board
ErwinH has quit [Ping timeout: 260 seconds]
souther has quit [Ping timeout: 240 seconds]
souther has joined #linux-sunxi
stoned0651 has quit [Ping timeout: 260 seconds]
ErwinH has joined #linux-sunxi
<wens> MoeIcenowy: i already posted it once, you can reply to thread?
<MoeIcenowy> where is it?
souther has quit [Ping timeout: 255 seconds]
chlorine has quit [Remote host closed the connection]
souther has joined #linux-sunxi
lkcl has joined #linux-sunxi
chlorine has joined #linux-sunxi
fkluknav has quit [Ping timeout: 260 seconds]
ErwinH has quit [Ping timeout: 240 seconds]
afaerber has quit [Quit: Leaving]
souther has quit [Ping timeout: 255 seconds]
souther has joined #linux-sunxi
f0xx has joined #linux-sunxi
souther has quit [Ping timeout: 240 seconds]
souther has joined #linux-sunxi
fkluknav has joined #linux-sunxi
my123 has quit [Read error: Connection reset by peer]
reinforce has quit [Quit: Leaving.]
jonkerj_ has joined #linux-sunxi
lkcl has quit [Remote host closed the connection]
Harrier has joined #linux-sunxi
jonkerj has quit [Remote host closed the connection]
Harrier_ has quit [Quit: No Ping reply in 180 seconds.]
fkluknav has quit [Ping timeout: 240 seconds]
my123 has joined #linux-sunxi
my123 has joined #linux-sunxi
my123 has quit [Changing host]
afaerber has joined #linux-sunxi
Nacho_ has joined #linux-sunxi
fkluknav has joined #linux-sunxi
alex_s_ has joined #linux-sunxi
lauri has quit [Remote host closed the connection]
<willmore> MoeIcenowy, good luck!
ErwinH has joined #linux-sunxi
Nacho_ has quit [Remote host closed the connection]
<alex_s_> Hi, my cubietruck shows only u-boot screen on CRT-monitor but no kernel messages or login. With older u-boot/kernel combination it shows me the whole boot process and then a login. Via uart I can see the whole booting process. How can I enable the simple-framebuffer again? I'm on uboot 2016-11 and mainline 4.10.0
lemonzest has joined #linux-sunxi
Nacho_ has joined #linux-sunxi
ErwinH has quit [Ping timeout: 255 seconds]
<willmore> libv, Turl how big is the wiki's data? Any easy way to export a backup? Do you see any value to that?
_whitelogger has quit [Ping timeout: 240 seconds]
_whitelogger has joined #linux-sunxi
TheSeven has quit [Remote host closed the connection]
TheSeven has joined #linux-sunxi
<willmore> Hmm, the mediawiki site makes it look pretty easy.
arete74 has quit [Ping timeout: 260 seconds]
mhlavink has quit [Ping timeout: 260 seconds]
mhlavink has joined #linux-sunxi
arete74 has joined #linux-sunxi
The_Loko has joined #linux-sunxi
chomwitt has joined #linux-sunxi
chomwitt has quit [Client Quit]
<MoeIcenowy> I got my DE2 drm driver running on a V3s SoC with a LCD panel!
<Wizzup> :)
<rellla> MoeIcenowy: congrats
cptG_ has joined #linux-sunxi
<MoeIcenowy> mripard: I think there's a bug at sun4i_backend.c in function sun4i_backend_update_layer_buffer: paddr is a address started at 0x40000000, but de_be wants a address started at 0x0; it works because no A13/A33 device come with more than 1GiB memory
<MoeIcenowy> is there a way to gracefully get a memory address started at 0x40000000?
<MoeIcenowy> s/0x40000000/0x0
cptG has quit [Ping timeout: 260 seconds]
ErwinH has joined #linux-sunxi
<huawei> MoeIcenowy, what board?
Nacho__ has joined #linux-sunxi
<libv> willmore: it's amazing how many people find the sunxi wiki that valuable
Nacho_ has quit [Ping timeout: 240 seconds]
<libv> i had 3 seperate persons at fosdem state how great it is
<libv> and i just heard the same in #coreboot
<libv> it does seem pretty valuable
<libv> now, at my previous customer, we ended up running a clandestine machine under my desk, to provide us with a wiki
ErwinH has quit [Ping timeout: 260 seconds]
<libv> and we did daily backups, of the database to the standard xml file, one line per change, and then stored the result in git.
<libv> it was lightning fast, tiny, and reliable
<MoeIcenowy> huawei: LicheePi Zero
JohnDoe_71Rus has joined #linux-sunxi
<libv> i will introduce that, on top of whatever else we have, as it worked truly great
<MoeIcenowy> it's the only board that I have and have TCON0's raw RGB exported
<MoeIcenowy> it have a 40-pin RGB LCD panel port
<MoeIcenowy> but tomorrow I may get a Pinebook to make this driver more useful ;-)
DullTube has quit [Quit: Leaving]
cnxsoft has quit [Quit: cnxsoft]
akaizen has quit [Read error: Connection reset by peer]
Andy-D has joined #linux-sunxi
<shadeslayer> MoeIcenowy: oooh nice
huawei has quit [Ping timeout: 260 seconds]
<shadeslayer> libv: hey, are you the guy behind armbian?
<shadeslayer> ah no, confused you with someone else :P
<libv> no, i am the guy behind modesetting, free ati drivers, first native coreboot display driver, open arm gpus, and making the sunxi wiki that useful
<shadeslayer> :D
<shadeslayer> thanks for the sunxi wiki indeed :D
<libv> i also ended up paying for the sunxi server, as mnemoc was paying it out of his own pocket and it is a business expense for me
<shadeslayer> I still haven't figured out why my kernel doesn't boot though
<libv> there's quite a few great sunxi community members who keep it that useful though
ErwinH has joined #linux-sunxi
ErwinH has quit [Ping timeout: 240 seconds]
huawei has joined #linux-sunxi
chlorine has quit [Remote host closed the connection]
BroderTuck has quit [Quit: -]
chlorine 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
huawei has quit [Ping timeout: 240 seconds]
ErwinH has joined #linux-sunxi
ErwinH has quit [Ping timeout: 260 seconds]
huawei has joined #linux-sunxi
msevwork has quit [Quit: Leaving]
mhlavink has quit [Ping timeout: 240 seconds]
Andy-D has quit [Ping timeout: 268 seconds]
AneoX has joined #linux-sunxi
vishnup has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
mhlavink has joined #linux-sunxi
ErwinH has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
<AneoX> Hi to all! Does anyone have some experience with a A20 uart on speed > 1.5mbps ? I have success run it on 2mbps, but not with all my boards. 2 of 4 boards works nice, but another 2 is glitching
ErwinH has quit [Ping timeout: 240 seconds]
yann has joined #linux-sunxi
ErwinH has joined #linux-sunxi
wzyy2 has quit [Ping timeout: 240 seconds]
ErwinH has quit [Ping timeout: 260 seconds]
ErwinH has joined #linux-sunxi
<wens> that was fast
<MoeIcenowy> yes it only took me several hours to work it out, although I have at least 3 times of failed trials ;-)
<wens> still only half(?) way through my drm cleanup + support multiple pipeline work
ErwinH has quit [Ping timeout: 240 seconds]
<MoeIcenowy> wens: have you read my DRAM position issue said several hours ago?
<wens> something about 0x40000000 vs 0x0?
<MoeIcenowy> yes
<MoeIcenowy> the current sun4i_backend.c writes address started at 0x40000000
<MoeIcenowy> but what is wanted is address started at 0x0
wzyy2 has joined #linux-sunxi
<MoeIcenowy> maybe you will discover some problem on A31 boards with 2GiB DRAM
<wens> where is that?
IgorPec has quit [Ping timeout: 240 seconds]
<MoeIcenowy> sun4i_backend_update_layer_buffer
<wens> not sure what the problem is?
<MoeIcenowy> the paddr is finally started at 0x40000000
<MoeIcenowy> you can try this code
<wens> [ 2.109401] [drm:sun4i_backend_update_layer_buffer] Using GEM @ 0x7be00000
<wens> [ 2.109408] [drm:sun4i_backend_update_layer_buffer] Setting buffer address to 0x7be00000
<wens> [ 2.109414] [drm:sun4i_backend_update_layer_buffer] Setting address lower bits to 0xdf000000
<wens> [ 2.109421] [drm:sun4i_backend_update_layer_buffer] Setting address high bits to 0x3
<wens> still not sure what the problem is?
fkluknav has quit [Ping timeout: 260 seconds]
<MoeIcenowy> how many DRAM is present on your board?
<wens> 1G
<MoeIcenowy> 0x7be00000 is beyond 1G ;-)
<wens> dram starts at 0x40000000
chlorine has quit [Remote host closed the connection]
<MoeIcenowy> the address to be written should be the physical address in DRAM, not the logical address seen by CPU
<MoeIcenowy> you can check sunxi_display.c in u-boot
<wens> really?
<wens> my framebuffer works fine though
<mripard> we're using the physical address already
<mripard> and 0x7be00000 is around 958MB
<wens> MoeIcenowy: 0x7be00000 _is_ the physical address
<mripard> so below 1G
<MoeIcenowy> search for "fb_dma_addr = " in sunxi_display.c
<MoeIcenowy> DE_BE (and DE2) see DRAM start at 0
<MoeIcenowy> the sentence in U-Boot is "fb_dma_addr = gd->fb_base - CONFIG_SYS_SDRAM_BASE;"
reinforce has joined #linux-sunxi
<wens> yes it still works?
leviathancn has joined #linux-sunxi
The_Loko has quit [Quit: Leaving]
IgorPec has joined #linux-sunxi
wzyy2 has quit [Ping timeout: 255 seconds]
fkluknav has joined #linux-sunxi
Nacho__ has quit [Remote host closed the connection]
<MoeIcenowy> wens: it still works as we have 512MiB or 1GiB DRAM
<wens> guess it's because dram access wraps around
<MoeIcenowy> so that DRAM will loop in its address space
<MoeIcenowy> yes
<MoeIcenowy> I tested on V3s DE2 -- V3s have only 64 MiB DRAM, at it first comes with a value 0x43b80000 (or some number near it)
<wens> in that case, please send a patch to fix it
<wens> however it seems this is not needed on the a80
<MoeIcenowy> A80 DRAM starts at 0x20000000 but not 0x0, right?
<wens> yup
<MoeIcenowy> so maybe it's still needed...
<wens> and allwinner kernel does not do the subtraction
Nacho_ has joined #linux-sunxi
<MoeIcenowy> so what we need is to do experiment on a real 2GiB DRAM board
<wens> that bit is #ifdefd for sun8iw1, sun8iw3, sun8iw6
<MoeIcenowy> w6?
<ssvb> MoeIcenowy: it's a matter of *bus* vs. *physical* addresses, apparently some Allwinner SoCs have need a correction to convert between them and the others don't
<MoeIcenowy> w6 is DE2...
<wens> uh, correction, last one is sun6i
<MoeIcenowy> what's w1? a20?
<wens> w3 i think is a23
<wens> a31
<ssvb> MoeIcenowy: physical address - how the CPU sees memory, bus address - how a peripheral sees it
<MoeIcenowy> ssvb: thx ;-)
<MoeIcenowy> so the needed SoCs are only A31?
<MoeIcenowy> (A23 have only 1GiB address space
<MoeIcenowy> (sorry, I mean it can only address 1GiB DRAM
<ssvb> MoeIcenowy: for example, on A20 this correction is needed, but not on H3 anymore
<MoeIcenowy> ssvb: nope on H3 it's needed -- it's DE2 ;-)
<ssvb> MoeIcenowy: that's interesting
<MoeIcenowy> jernej: have you did experiments on boards with 2GiB DRAM?
chlorine has joined #linux-sunxi
<MoeIcenowy> at least on A64 it's needed -- my Pine64 is 2GiB version ;-)
<ssvb> MoeIcenowy: we can realistically detect the difference only on boards 2GB RAM, because with just 1GB the problematic bit is in the unused address line
<MoeIcenowy> after I got Pinebook, I will make DE2 DRM support for A64
<MoeIcenowy> A64 uses the first pipeline with RGB interface (although then a bridge is connected)
<ssvb> MoeIcenowy: so what is the starting address of DRAM as seen by DE2 on H3? 0x00000000 or 0x20000000?
<MoeIcenowy> 0x00000000
<MoeIcenowy> if jernej's U-Boot HDMI driver can run on boards with 2GiB DRAM
wzyy2 has joined #linux-sunxi
<ssvb> s/0x20000000/0x40000000/
<MoeIcenowy> oh one of my friend used it on a OPi Plus2, which have 2GiB DRAM
<MoeIcenowy> so surely it's 0x0
<ssvb> MoeIcenowy: are you really sure about this?
<MoeIcenowy> sure, as the U-Boot HDMI driver for DE2 does the -0x40000000
<ssvb> then it probably works in a different way for Mali
chlorine has quit [Remote host closed the connection]
<wens> maybe these devices that have dram gates access dram directly through the dram controller, as opposed to through the system busses?
<MoeIcenowy> DE2 do not have DRAM gate
<MoeIcenowy> at least on H3/A64/H5/V3s
<MoeIcenowy> oh I must go sleep for tomorrow's meeting with TL Lim and Allwinner guys
<wens> catch up tomorrow
<rah> in a number of a10 .dts files there are entries for the USB ID and detection GPIO pins on the OTG interface but there seems to be some redundancy:
<rah> pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
<rah> usb0_vbus_det-gpio = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
<rah> usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
nove has joined #linux-sunxi
alex_s_ has left #linux-sunxi [#linux-sunxi]
f0xx has quit [Ping timeout: 240 seconds]
<rah> why is the same information added in different forms?
<rah> what does pinctrl-0 do?
<ssvb> same information?
iamfrankenstein has quit [Quit: iamfrankenstein]
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
LargePrime has quit [Ping timeout: 255 seconds]
<rah> ssvb: I saw the second one but not the first, thanks
JohnDoe_71Rus has joined #linux-sunxi
tucker has joined #linux-sunxi
<rah> ssvb: I don't understand though; the pinctrl-0 nodes seem to be states, in which case what's the point of adding state descriptions to something which is using the (input) pins to detect state? :-)
tucker is now known as BroderTuck
<rah> ssvb: or perhaps a more direct question: what *is* the difference between the usb0_id_detect_pin and usb0_id_det-gpio?
<rah> and usb0_vbus_detect_pin and usb0_vbus_det-gpio?
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
<ssvb> rah: I may be wrong, but first we need to initialize the pin (set the correct function, such as gpio input), then we need to use it (actually read the pin state to retrieve the necessary information)
<rah> ssvb: I see, I guess that makes sense
<BroderTuck> rah: you working on the pengpod?
<rah> BroderTuck: I am yes, I saw what you said before
<rah> I have a mainline u-boot and mainline linux running on it
<rah> it's a minimal .dts at the moment though, so I'm adding bits
<BroderTuck> rah: nice, I have only an old 3.4 build running on mine
<rah> maybe it will get better soon :-)
<BroderTuck> do you have the 1st or the 2nd version? mine is the second, with 8188eu wifi
LargePrime has joined #linux-sunxi
fkluknav has quit [Ping timeout: 268 seconds]
dossalab has joined #linux-sunxi
<dossalab> Hey guys, what rootfs can I use at board with a13? I have some errors with archlinux "Unable to handle kernel NULL pointer dereference at virtual address 00000018"
chlorine has joined #linux-sunxi
chlorine has quit [Ping timeout: 240 seconds]
iamfrankenstein has joined #linux-sunxi
wzyy2 has quit [Ping timeout: 260 seconds]
iamfrankenstein has quit [Client Quit]
iamfrankenstein has joined #linux-sunxi
pulser has quit [Quit: No Ping reply in 180 seconds.]
pulser has joined #linux-sunxi
Amit_T_ has joined #linux-sunxi
Amit_T_ has quit [Client Quit]
iamfrankenstein has quit [Client Quit]
fkluknav has joined #linux-sunxi
BenG83 has quit [Ping timeout: 268 seconds]
iamfrankenstein has joined #linux-sunxi
iamfrankenstein has quit [Client Quit]
dossalab has quit [Quit: Page closed]
roman_ has joined #linux-sunxi
chlorine has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
chlorine has quit [Remote host closed the connection]
BroderTuck has quit [Ping timeout: 240 seconds]
yann has quit [Ping timeout: 260 seconds]
yann-kaelig has joined #linux-sunxi
ErwinH has joined #linux-sunxi
popolon has quit [Quit: WeeChat 1.4]
victhor has joined #linux-sunxi
ErwinH has quit [Ping timeout: 260 seconds]
massi has quit [Quit: Leaving]
ErwinH has joined #linux-sunxi
AneoX has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
ErwinH has quit [Ping timeout: 260 seconds]
enrico_ has quit [Quit: Bye]
chlorine has joined #linux-sunxi
f0xx has joined #linux-sunxi
Reapster has joined #linux-sunxi
chlorine has quit [Ping timeout: 255 seconds]
huawei has quit [Ping timeout: 240 seconds]
f0xx has quit [Ping timeout: 240 seconds]
r1mikey has joined #linux-sunxi
ErwinH has joined #linux-sunxi
|Jeroen| has joined #linux-sunxi
huawei has joined #linux-sunxi
huawei has quit [Read error: Connection reset by peer]
ErwinH has quit [Remote host closed the connection]
ErwinH has joined #linux-sunxi
IgorPec has quit [Ping timeout: 268 seconds]
ErwinH has quit [Remote host closed the connection]
ErwinH has joined #linux-sunxi
ErwinH has quit [Ping timeout: 240 seconds]
<MoeIcenowy> apritzel: when will you make your LPDDR3 support code?
ErwinH has joined #linux-sunxi
ErwinH has quit [Ping timeout: 260 seconds]
Mr__Anderson has joined #linux-sunxi
ErwinH has joined #linux-sunxi
apritzel has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
r1mikey_ has joined #linux-sunxi
r1mikey has quit [Read error: Connection reset by peer]
ErwinH has quit [Ping timeout: 260 seconds]
r1mikey_ has quit [Ping timeout: 255 seconds]
dave0x6d has joined #linux-sunxi
roman_ has quit [Quit: Page closed]
<apritzel> MoeIcenowy: is the embedded DRAM in the V3s LPDDR(2) as well?
<MoeIcenowy> not LP
<MoeIcenowy> but DDR2
<apritzel> ah, OK
<apritzel> too bad ;-)
<MoeIcenowy> but it said that the next batch and the productive batch of Pinebook is LPDDR3
<MoeIcenowy> and what I will get is such a LPDDR3 one ;-)
<apritzel> yes, I know
<MoeIcenowy> (he says that I will be the first one to get this batch ;-)
<apritzel> I was just hoping that you had some LPDDRx support in your series already ;-)
nove has quit [Quit: nove]
<apritzel> MoeIcenowy: so the "mixer" in the DE2 is what is left of the G2D?
<MoeIcenowy> nope
<MoeIcenowy> G2D is G2D.
<MoeIcenowy> it only co-exists with DE2 in R40 ;-)
<MoeIcenowy> I chose the module name in BSP's lowlevel source code's de_clock.c
<apritzel> ah, OK, so mixer is a completely different term then?
leviathan has quit [Ping timeout: 240 seconds]
leviathancn has quit [Ping timeout: 268 seconds]
<MoeIcenowy> yes
<apritzel> MoeIcenowy: so I just started with staring at the boot0 disassembly again...
<MoeIcenowy> I think someone implemented LPDDR3 support?
<apritzel> MoeIcenowy: in U-Boot?
<MoeIcenowy> yes...
<apritzel> MoeIcenowy: for Allwinner DRAM?
<MoeIcenowy> for SoPine
<MoeIcenowy> I think I saw it several days ago.
<apritzel> MoeIcenowy: mmh, can't find anything
<apritzel> MoeIcenowy: do you have a pointer?
vishnup has quit [Ping timeout: 240 seconds]
matthias_bgg_ has joined #linux-sunxi
jernej has joined #linux-sunxi
<apritzel> MoeIcenowy: btw: shouldn't you be in bed, for the "big day" tomorrow ? ;-)
r1mikey has joined #linux-sunxi
r1mikey has quit [Remote host closed the connection]
r1mikey has joined #linux-sunxi
yann has joined #linux-sunxi
<MoeIcenowy> too exciting to sleep ;-)
<MoeIcenowy> and being worried to be not able to catch the bus ;-)
<MoeIcenowy> oh it's now the time to book the bus ticket ;-)
<MoeIcenowy> P.S. ANX980x is quite different from the two analogix drivers supported in mainline kernel now...
<MoeIcenowy> (one is ANX78xx, the other is some embedded Analogix design in RockChip/Exynos SoCs
<jernej> MoeIcenowy: Did you take a good look in jfm DRM driver for magic values? If I'm not mistaken, one of them is really a magic value, but others have explanation
<MoeIcenowy> thx ;-)
<jernej> MoeIcenowy: But I guess you don't have time for debating :)
<jernej> MoeIcenowy: Good luck with the meeting
<MoeIcenowy> I'm still considering what to talk at first ;-)
<MoeIcenowy> GPL compliance issues should be put at some later position
<MoeIcenowy> P.S. I think after a TCON1-only driver is ready the H3 TVE support can be made -- but I have still no way to connect a OPi Zero to my CVBS2USB card...
<jernej> MoeIcenowy: I'm not sure about that, because CSC part of DE2 doesn't have GPL compliant source and I had to peek to that code to make it work...
<MoeIcenowy> P.S. we can just make them magic numbers, like the ones in sun4i_backend.c
<jernej> so I really hope you manage to convince Allwinner to put some GPL headers there
<MoeIcenowy> and we can extract the magic numbers from a register dump ;-)
<jernej> MoeIcenowy: I hate magic numbers and for most we know explanation, at least in DE2
<MoeIcenowy> for rgb2yuv coeffecients it's difficult to explain...
<MoeIcenowy> maybe some magic numbers declared in sun4i_backend.c can be reused?
<jernej> MoeIcenowy: Anyway, now that I will really start to work on U-Boot HDMI DM driver, I could try in parallel start work also on kernel side
<jernej> also for TV
<jernej> I will check those numbers
<MoeIcenowy> P.S. are there many differents between TVE in sun7i- and TVE in H3?
<jernej> afaik, none, except clocks
<jernej> U-Boot code is identical
terra854 has quit [Quit: Connection closed for inactivity]
<jernej> oh, yesterday I fixed TV out on H5
<jernej> while H3 doesn't need calibration, H5 does
<jernej> but fortunatelly, default, fixed number works
<MoeIcenowy> jernej: can you try to replace the coefs in U-Boot DE2 driver with the coefs in sun4i_backends?
<MoeIcenowy> static u32 sunxi_rgb2yuv_coef[12] = { 0x107, 0x204, 0x64, 0x108, 0x3f69, 0x3ed6, 0x1c1, 0x808, 0x1c1, 0x3e88, 0x3fb8, 0x808 };
<MoeIcenowy> some bytes are quite different, but at least the first 3 is identical
Gerwin_J_ has joined #linux-sunxi
<jernej> let me try those nevertheless
<MoeIcenowy> for alpha coef try 0x808 ;-)
<MoeIcenowy> thus we can prevent copyright issue -- the table is already GPLed ;-)
<MoeIcenowy> some with good graphics knowledge may explain the table, but at least I can't ;l-)
<MoeIcenowy> s/;l-)/;-)/
Gerwin_J has quit [Ping timeout: 260 seconds]
Gerwin_J_ is now known as Gerwin_J
<jernej> to be honest, those numbers come from reg dump
<jernej> in source, different numbers are somehow transformed to this final
<MoeIcenowy> so they have no copyright issue ;-)
<jernej> ok, completely the same numbers doesn't work
<jernej> everything is greenish
<MoeIcenowy> oh
<jernej> but they generally works, if every 4th coefficient is left as it is
<MoeIcenowy> I found 0x808 is some shifted 0x20200 ;-)
<MoeIcenowy> or say 0x20200 = 0x808 << 6
dizzuhen has joined #linux-sunxi
komunista has quit [Quit: Leaving.]
<jernej> MoeIcenowy: Do you have DE2 in any repo?
<jernej> I mean patches
<MoeIcenowy> currently nope.
<MoeIcenowy> pushing
|Jeroen| has quit [Quit: dada]
<jernej> uh, did you notice that mixer1 uses bit 2 instead of expected bit 1 for de2 reset on H3?
<MoeIcenowy> jernej: look at my ccu driver, it explained this
<MoeIcenowy> and it's a situation "documented" in de_clocks.c
<MoeIcenowy> P.S. V3s seems to have clock controlling bits for mixer1, although it have really no mixer1
<MoeIcenowy> and H5 seems to use bit 1 for mixer1
<jernej> ok, I'm looking into it right now
<MoeIcenowy> so I decided to use sun50i-h5-de2-clk in compatible, not sun8i-v3s to prevent problems ;-)
<jernej> yes, yesterday I tested that and bit1 used
<MoeIcenowy> although in V3s' de_clocks.c mixer1's rst is bit 1
<jernej> but otherwise, H5 DE2 is exactly the same as H3
matthias_bgg_ has quit [Quit: Leaving]
<MoeIcenowy> at least it have no the weird enable bit in syscon ;-)
<jernej> although usermanual has switched TCON0 and TCON1
<MoeIcenowy> don't always believe user manual ;-)
<MoeIcenowy> the stock device tree file is a bit more reliable, as they at least run them ;-)
<MoeIcenowy> they do not run user manuals ;-)
<jernej> I don't even want to talk about R40 preliminary manual
<jernej> it mentions HDMI, even if the SoC doesn't have it
<MoeIcenowy> P.S. I have a confidential copy of R40 manual, although no NDA is signed to get it ;-)
<MoeIcenowy> I think R40 do have HDMI.
<MoeIcenowy> BPi M2U come with HDMI connector.
<plaes> btw.. those rgb2yuv coefficients look fairly regular
dizzuhen has quit [Quit: Textual IRC Client: www.textualapp.com]
<MoeIcenowy> plaes: are they some coeffecients that is available everywhere on web?
<jernej> plaes: do you know how they are calculated?
<plaes> I have not figure out the purpose for every 4th one
<MoeIcenowy> but the 4th ones are shifted in DE2 than in DE...
<MoeIcenowy> it's the most critical one ;-)
<plaes> well, if you take the first 3 values, and shift them by 2, you get basically following values:
<plaes> 65, 129, 25
Andy-D has joined #linux-sunxi
<plaes> probably the 4th bit is offset
<plaes> to eliminate negative values
<jernej> so the 4th values should be offset?
<jernej> exactly :)
<plaes> s/bit/value
<plaes> and it's approximation anyway...
<plaes> btw, where is this table?
IgorPec has joined #linux-sunxi
<jernej> which one? for de or de2? BSP or our attempts for mainline?
<MoeIcenowy> de1 version is in kernel's driver/gpu/drm/sun4i/sun4i_backend.c
<plaes> thx
IgorPec has quit [Ping timeout: 255 seconds]
r1mikey_ has joined #linux-sunxi
r1mikey has quit [Ping timeout: 255 seconds]
r1mikey_ has quit [Ping timeout: 255 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
reinforce has quit [Quit: Leaving.]
Mr__Anderson has quit [Remote host closed the connection]
Nicker has joined #linux-sunxi
r1mikey has joined #linux-sunxi
scream has quit [Remote host closed the connection]
nicker17 has joined #linux-sunxi
r1mikey has quit [Ping timeout: 255 seconds]
Nicker has quit [Ping timeout: 260 seconds]
<Ntemis> is there any fb_dev library for the new H5 platform?
<jernej> what do you mean by the library?
<jernej> mali driver?
<Ntemis> yeap
<Ntemis> for LE & Lakka porting
<jernej> no, I only have X11 version
<Ntemis> working?
<jernej> I asked steven for fbdev version, but I didn't receive it yet
<jernej> not sure, I lost interest in BSP kernel
<Ntemis> can you try meson?
<Ntemis> same gpu
<MoeIcenowy> P.S. is RetrOrangePi based on Lakka?
<MoeIcenowy> Ntemis: Meson in fact cannot provide better support than Allwinner for SBCs
<Ntemis> not all parts is a frankenbuild
<MoeIcenowy> and there's no community-driven linux-meson
<Ntemis> amlogic
<jernej> Ntemis: no, because I don't have BSP build system set up and frankly, I don't have any intention...
<MoeIcenowy> Ntemis: I know Meson is from Amlogic ;-)
<jernej> I will, when mainline will be good enough
<MoeIcenowy> and I think Allwinner have their own DRM driver -- although very bad
<MoeIcenowy> it's released with Pine64's Mali blob
<Ntemis> pine is mali400 2 core no?
<Ntemis> cant work
<Ntemis> will ask steven too
<MoeIcenowy> P.S. the current mali gpu blob is r6p0, dmabuf ver
<shadeslayer> MoeIcenowy: actually ...
<MoeIcenowy> oh I should say x11 dmabuf ver
<shadeslayer> MoeIcenowy: http://linux-meson.com/doku.php
<shadeslayer> MoeIcenowy: oh btw, is your new DRM driver on git somewhere?
<shadeslayer> so I can develop my armsoc driver against it :)
<jernej> shadeslayer: unless you have V3s SoC, it is not very useful to you
<shadeslayer> Is the Pine64 a V3s soc ?
<jernej> no, pine is A64
matthias_bgg_ has joined #linux-sunxi
<shadeslayer> oh ok
fkluknav has quit [Ping timeout: 260 seconds]
<jernej> MoeIcenowy: So in theory, I could try to add H3 and HDMI support on top of your patches?
<jernej> MoeIcenowy: At least I don't have V3s board to experiment with
<jernej> MoeIcenowy: Or do you have plans to add H3 support also?
<MoeIcenowy> jernej: you can try
<MoeIcenowy> but you need a bridge driver and a channel 1 only tcon driver
fire219 has quit [Ping timeout: 264 seconds]
fire219 has joined #linux-sunxi
<MoeIcenowy> jernej: I suggest you start from TVE, as we have already TVE support for sun5i
<jernej> MoeIcenowy: good advice
<jernej> will you remove multilayer support for now?
yann-kaelig has quit [Quit: Leaving]
<MoeIcenowy> multi channel support will be temporarily removed
<jernej> MoeIcenowy: I suggest you look at JFM driver. I think he had multilayer support
lemonzest has quit [Quit: Leaving]
florianH has quit [Quit: Connection closed for inactivity]
jernej has quit [Quit: Konversation terminated!]
jernej has joined #linux-sunxi