mnemoc 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
akaizen has joined #linux-sunxi
payne__ has joined #linux-sunxi
maksimlin has joined #linux-sunxi
payne_ has quit [Ping timeout: 240 seconds]
petr has quit [Ping timeout: 240 seconds]
<ssvb> afaerber: most likely you had this problem with sunxi-3.4 - https://www.mail-archive.com/linux-sunxi@googlegroups.com/msg04662.html
<ssvb> the fex file overrides dcdc3 voltage setup and sets it too low
<ssvb> the mainline kernel keeps the same voltage as initially set by u-boot, so it works fine
akaizen has quit [Remote host closed the connection]
ganbold has joined #linux-sunxi
akaizen has joined #linux-sunxi
akaizen has quit [Ping timeout: 240 seconds]
akaizen has joined #linux-sunxi
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
akaizen has quit [Ping timeout: 255 seconds]
nicksydney has quit [Remote host closed the connection]
Gerwin_J has quit [Quit: Gerwin_J]
<wens> arokux: ah, sorry, I misread of_mdio
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
xavia has joined #linux-sunxi
Skaag has joined #linux-sunxi
<afaerber> ssvb, much more stable indeed! thanks a lot
<afaerber> only recurring issue now is ext4 inode errors, and I had to manually configure the default route for gmac to work
Andy-D has quit [Ping timeout: 272 seconds]
Andy-D has joined #linux-sunxi
petr has joined #linux-sunxi
petr has quit [Ping timeout: 245 seconds]
nicksydney has joined #linux-sunxi
dlan has quit [Ping timeout: 240 seconds]
dlan has joined #linux-sunxi
[7] has quit [Ping timeout: 252 seconds]
TheSeven has joined #linux-sunxi
le has joined #linux-sunxi
petr has joined #linux-sunxi
le has quit [Ping timeout: 245 seconds]
CaptHindsight has quit [Ping timeout: 272 seconds]
amitk has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
CaptHindsight has joined #linux-sunxi
hipboi has joined #linux-sunxi
CaptHindsight has quit [Ping timeout: 245 seconds]
akaizen has joined #linux-sunxi
CaptHindsight has joined #linux-sunxi
hipboi_ has joined #linux-sunxi
maksimlin has quit [Remote host closed the connection]
hipboi has quit [Ping timeout: 240 seconds]
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
bbrezillon has joined #linux-sunxi
akaizen has quit [Ping timeout: 264 seconds]
xavia has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
bbrezillon has quit [Ping timeout: 240 seconds]
afaerber_ has joined #linux-sunxi
afaerber has quit [Ping timeout: 272 seconds]
maksimlin has joined #linux-sunxi
cubear has joined #linux-sunxi
cubear has quit [Remote host closed the connection]
HeHoPMaJIeH has joined #linux-sunxi
HeHoPMaJIeH has quit [Changing host]
HeHoPMaJIeH has joined #linux-sunxi
nicksydney has quit [Remote host closed the connection]
jacq has joined #linux-sunxi
FreezingCold has quit [Ping timeout: 244 seconds]
rgenoud has joined #linux-sunxi
maksimlin has quit [Quit: ChatZilla 0.9.90.1 [Firefox 30.0/20140608211828]]
FreezingCold has joined #linux-sunxi
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
akaizen_ has joined #linux-sunxi
akaizen has quit [Ping timeout: 260 seconds]
diego_r has joined #linux-sunxi
Wizzup has quit [Ping timeout: 272 seconds]
issueat has joined #linux-sunxi
Quarx has joined #linux-sunxi
sehraf has joined #linux-sunxi
libcg has joined #linux-sunxi
bbrezillon has joined #linux-sunxi
libcg has quit [Remote host closed the connection]
libcg has joined #linux-sunxi
libcg has quit [Remote host closed the connection]
libcg has joined #linux-sunxi
shineworld has joined #linux-sunxi
shineworld has quit [Changing host]
shineworld has joined #linux-sunxi
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
tm512 has joined #linux-sunxi
_massi has joined #linux-sunxi
tm512_ has quit [Ping timeout: 245 seconds]
bbrezillon has quit [Ping timeout: 244 seconds]
dlan has quit [Ping timeout: 255 seconds]
bbrezillon has joined #linux-sunxi
tm512 has quit [Quit: Just relax and enjoy this pleasant adventure]
gzamboni_ has quit [Ping timeout: 240 seconds]
gzamboni has joined #linux-sunxi
bbrezillon has quit [Quit: WeeChat 0.4.1]
bbrezillon has joined #linux-sunxi
_massi has quit [Remote host closed the connection]
_massi has joined #linux-sunxi
_massi has quit [Remote host closed the connection]
dlan has joined #linux-sunxi
dlan has joined #linux-sunxi
dlan has quit [Changing host]
_massi has joined #linux-sunxi
notmart has joined #linux-sunxi
bonbons has joined #linux-sunxi
kivutar has joined #linux-sunxi
wickwire has joined #linux-sunxi
libcg has quit [Ping timeout: 255 seconds]
kivutar has quit [Read error: No route to host]
FR^2 has joined #linux-sunxi
FDCX has quit [Ping timeout: 240 seconds]
kivutar has joined #linux-sunxi
leviathanch2 has joined #linux-sunxi
Quarx has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
FDCX has joined #linux-sunxi
leviathanch2 has quit [Ping timeout: 240 seconds]
leviathanch2 has joined #linux-sunxi
leviathanch2 has quit [Ping timeout: 240 seconds]
leviathanch2 has joined #linux-sunxi
leviathanch2 has quit [Ping timeout: 240 seconds]
amitk has quit [Remote host closed the connection]
libcg has joined #linux-sunxi
amitk has joined #linux-sunxi
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
<arokux> hi wens just interesting, where do you test your A23 patches, on the tablet?
<arokux> ccaione: sorry to bother you again. is it responsibility of AXP to properly halt the system?
atsampson has quit [Quit: bbiab]
atsampson has joined #linux-sunxi
_massi has quit [Remote host closed the connection]
leviathanch2 has joined #linux-sunxi
smotocel69 has joined #linux-sunxi
<smotocel69> what is wrong in my code?
<smotocel69> i just want to map that zone of memory
<libv> arokux: i think wens only has a tablet, yes
<smotocel69> the output is "error, -1"
_massi has joined #linux-sunxi
<speakman> Hi folks! Will the interrupt on GPIO work on A20 through sysfs interface? I.e. poll() the "value" file for exceptions.
<wens> arokux: yeah, on the tablet
<wens> are there non tablet A23 devices out there?
<libv> not to my knowledge
<arokux> wens: I haven't seen them. I was just curious people would want linux to run on the tablet :)
<arokux> without touch friendly software a tablet is quite hard to use
nabblet has joined #linux-sunxi
<wens> i think the purpose is to bridge the gap to the A80, hoping a lot of the stuff we do can be re-used
afaerber_ is now known as afaerber
<arokux> i see
konradoo77 has joined #linux-sunxi
rz2k has joined #linux-sunxi
leviathanch2 has quit [Ping timeout: 244 seconds]
<ssvb> smotocel69: bad length and address, they must be page (4096 bytes) aligned
<ssvb> afaerber: corruption on the sd card?
Wizzup has joined #linux-sunxi
arend has joined #linux-sunxi
Andy-D has quit [Ping timeout: 272 seconds]
Andy-D has joined #linux-sunxi
konradoo77 has quit [Ping timeout: 244 seconds]
konradoo77 has joined #linux-sunxi
leviathanch2 has joined #linux-sunxi
leviathanch2 has quit [Ping timeout: 240 seconds]
leviathanch2 has joined #linux-sunxi
FreezingCold has quit [Ping timeout: 255 seconds]
leviathanch2 has quit [Ping timeout: 240 seconds]
leviathanch2 has joined #linux-sunxi
FreezingCold has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
Andy-D has quit [Read error: Connection timed out]
Andy-D has joined #linux-sunxi
CaptHindsight has quit [Ping timeout: 245 seconds]
<ccaione> arokux: yes
Quarx has joined #linux-sunxi
<arokux> ccaione: ok, my board (mele A1000, based on A10) will not halt properly. is it a bug or a missing feature?
<ccaione> in the axp driver there is the hook for the poweroff. The driver is loaded/builtin?
leviathanch2 has quit [Ping timeout: 240 seconds]
CaptHindsight has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
Andy-D has quit [Read error: Connection timed out]
Andy-D has joined #linux-sunxi
xavia has joined #linux-sunxi
leviathanch2 has joined #linux-sunxi
<Black_Horseman> ack
leviathanch2 has quit [Ping timeout: 264 seconds]
leviathanch2 has joined #linux-sunxi
leviathanch2 has quit [Ping timeout: 245 seconds]
<netchip> how expensive is an average Allwinner tablet?
<libv> netchip: have you tried looking?
<netchip> libv: Meh, was trying to get a price indication.
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
gzamboni has quit [Ping timeout: 245 seconds]
kivutar has quit [Quit: Ex-Chat]
<Black_Horseman> brb
Black_Horseman has quit [Remote host closed the connection]
gzamboni has joined #linux-sunxi
paulk-aldrin has joined #linux-sunxi
<arokux> ccaione: ah, I'll check tonight. thanks.
<libv> netchip: you really haven't looked
<libv> netchip: just hit aliexpress, ebay and amazon
* arokux thinks why libv is so aggressive
<libv> this is the biggest lmgtfy question i have seen in quite a while
<libv> and besides, what should the answer be?
<libv> the 35eur for the ultra-cheap or the 300 for the retina display a30?
kivutar has joined #linux-sunxi
<libv> wtf does netchip expect to learn from that?
<arokux> libv: the answer could be silence :)
<libv> he just couldn't be arsed to google for 2 seconds
Gerwin_J has joined #linux-sunxi
<arokux> libv: are you still coding for sunxi/lima? just interesting.
<libv> not really, i haven't touched any code for the past 3 weeks
<netchip> libv: Indeed. Because there are 10^9 tablets with a sunxi chipset
<netchip> How am I supposed to pick a good one of them?
<libv> netchip: spend time looking at them
<netchip> thank you, arokux
<libv> that'll not help anyone
<libv> (said the author of that very page, and most of the devices linked from it)
<arokux> libv: do you know what is needed to have (sorry for noob terms) text output when connecting though, say, VGA (i suppose it is the simplest video output) in mainline?
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
<libv> arokux: yup, as i only really have lcds to do on my 3.4 kms driver
<Black_Horseman> back
<arokux> libv: how is lcds has something to do with VGA?
<arokux> (without is*)
kivutar has quit [Quit: Ex-Chat]
<arokux> libv: and I was asking about mainline
afaerber has quit [Quit: Verlassend]
<arokux> libv: how is this thing called at all that is needed to be done? framebuffer?
<libv> arokux: yes, framebuffer would get a console
<arokux> libv: I see, what dependencies does it have?
<libv> an fbdev driver is pretty trivial and doesn't depend on much in the rest of the kernel
<arokux> libv: "on much..." :)
<Turl> hey wens :)
shineworld has left #linux-sunxi ["Leaving"]
<Turl> libv: you could add display support for uboot :P
<Turl> and I think we can get fancy menues then
<arokux> wingrime tried to do it, but failed
<Turl> and w/ simplefb we should be able to use it as well from linux
<arokux> DISP Driver Support(sunxi) -- is the thing that needs to be mainlined?
<Turl> arokux: it needs to be rewritten
<arokux> well, mainlining assumes lots of things... long debugging nights, rewriting, testing.... :D
<Turl> arokux: I'm pretty sure it'd need to be rewritten from scratch pretty much
<Turl> but don't take my word for it
<arokux> Turl: ok, i'm not disputing anything. my question is what are the dependencies of it?
<libv> but there's tons of stuff in there that is not in the user guides or datasheets
<libv> so it is a very solid piece of documentation
<Turl> a bunch of clocks I suppose, the rest should be there
<Turl> libv: it doesn't require DMA, does it?
<arokux> Mali and framebuffer, are those connected?
<Turl> arokux: not really
<libv> arokux: yes and no
<arokux> because I see something like DISP Driver Support(sunxi)
<arokux> oh
<libv> Turl: that isn't entirely clear yet
<arokux> select FB_SUNXI_RESERVED_MEM if MALI
<arokux> so MALI can be still OFF
<libv> Turl: there might be an even bigger shortcut by using dma, but we have very little sample code
<Turl> arokux: that's just for the allocation stuff
<Turl> libv: I don't recall seeing any disp stuff on the dma channels when working on that
<libv> Turl: but it is mentioned in some datasheets
<arokux> but then except of FB, the driver for VGA is also needed, right?
<libv> and there is even a tiny bit of code hinting at how it could work
<libv> arokux: ...
<Turl> libv: HDMI DDC is the closest I've seen
<arokux> libv: ?
<Turl> libv: that's "disp"
<Turl> err arokux ^
<Turl> libv: and HDMI audio
Black_Horseman has quit [Ping timeout: 244 seconds]
afaerber has joined #linux-sunxi
<Turl> libv: hmm on a second look I see TCON0/1, does that ring a bell?
<arokux> so basically this directory should be rewritten / mainlined? drivers/video/sunxi/disp/
Black_Horseman has joined #linux-sunxi
Black_Horseman has quit [Changing host]
Black_Horseman has joined #linux-sunxi
<ssvb> Turl: adding a simple display driver to u-boot would be indeed very cool
<ssvb> Turl: but it also would need USB support for the keyboard, right?
<Turl> ssvb: we already have USB support, don't we?
<Turl> I think we can already boot from usb storage
<ssvb> Turl: how can I find it in the u-boot sources?
tomboy64 has quit [Remote host closed the connection]
<wens> Turl: sorry, didn't get around to review the rest of your patches
tomboy64 has joined #linux-sunxi
<ssvb> Turl: I mean, a lot of other board have defines for USB/OHCI/EHCI config options in u-boot 'include/configs' directory, but I don't see anything like this for sunxi
<Turl> ssvb: maybe they didn't get merged yet?
<Turl> arokux: ^
<Turl> wens: np :)
<Turl> wens: btw, is that an ack on the uart patch?
<wens> Turl: it is, but I'm not sure my ack is worth anything :p
<Turl> :p
jebba has quit [Quit: Leaving.]
issueat has quit [Remote host closed the connection]
issueat has joined #linux-sunxi
issueat has quit [Remote host closed the connection]
issueat has joined #linux-sunxi
xavia has quit [Quit: Leaving.]
<Turl> reboot: Restarting system
<Turl> Reboot failed -- System halted
<Turl> hmm
<Turl> arokux: is that what you were seeing on sun4i?
<Turl> mripard: ^
<mripard> Turl: yeah, 3.16 is unable to reboot on anything but the A31
<Turl> mripard: are there patches queued to fix it?
<mripard> there is, but it seems they'v been silently dropped
<Turl> it gets tedious having to unplug uart and power every time I need to reboot
<Turl> :(
<mripard> blame the watchdog maintainer.
<Turl> watchdog -T 2 -t 1; killall -9 watchdog
<ssvb> arokux: maybe you could try upstreaming your usb patches to the mainline u-boot?
<Turl> this will have to do as reboot replacement then
arend has quit [Remote host closed the connection]
nove has joined #linux-sunxi
<nove> a few month ago, i try to guess more about ISP subengine, but without any success
<nove> today looking again at it, i was writing virtual address to registers
thebube has joined #linux-sunxi
thebube has quit [Client Quit]
jacq has quit [Ping timeout: 240 seconds]
<nove> and it works
<nove> it can work alone, and convert form any format to nv12 (more checking need)
jacq has joined #linux-sunxi
<nove> so this means we can convert from the tiled format to nv12 in hardware
<nove> jemk ^
<Turl> nove: cool :)
<nove> still is a preliminary guess, is need more checking to see if is actual usable
HeHoPMaJIeH has quit [Quit: Leaving]
<nove> now if it can also do alfa blending for osd, will be perfect
hansg has joined #linux-sunxi
hansg has quit [Read error: Connection reset by peer]
xavia has joined #linux-sunxi
<wens> Turl: DEFE and DEBE seem to be able to access dram directly
<wens> tcon however can use dedicated DMA
Andy-D has quit [Ping timeout: 240 seconds]
<smotocel69> ssvb you are the best :D
<smotocel69> ssvb tnx so much
<smotocel69> ssvb LRADC % 4096 must be 0, right? :)
<speakman> Any ideas if poll() works on sunxi GPIO through sysfs?
<ssvb> smotocel69: "man mmap" says "offset must be a multiple of the page size as returned by sysconf(_SC_PAGE_SIZE)"
<smotocel69> ssvb tnx :)
Andy-D has joined #linux-sunxi
Black_Horseman has quit [Quit: Αποχώρησε]
<speakman> oops, forgot to set "edge"
Black_Horseman has joined #linux-sunxi
Black_Horseman has quit [Changing host]
Black_Horseman has joined #linux-sunxi
<arokux> ssvb: you think somebody will review them?
<ssvb> arokux: do you think upstream will just ignore them?
<ssvb> arokux: in any case, I got a13-olinuxino-mini and use it with a usb ethernet dongle, so your patches seem to be useful for me
Gerwin_J has quit [Quit: Gerwin_J]
amitk has quit [Quit: leaving]
<ssvb> arokux: http://www.denx.de/wiki/U-Boot/ReleaseCycle (the next u-boot merge window opens at Mon, Jul 14, 2014), so make up your mind :-)
jebba has joined #linux-sunxi
<ssvb> arokux: and if we don't have usb for the keyboard, then we have little use for the display driver there :)
<ssvb> arokux: you seem to be interested in the display driver, right?
<ssvb> arokux: in any case, forget about the u-boot-sunxi repository, it only exists to support the current users until the mainline u-boot is fully ready to replace it
<arokux> ssvb: ah! you are using my patches! that is cool. I thought I'm the only user.
<arokux> ssvb: was u-boot-sunxi upstreamed?
libcg has quit [Remote host closed the connection]
<ssvb> arokux: I'm not using your patches yet, but thanks to Turl I have just found them
<arokux> ssvb: I think I'm missing something there... is everything in u-boot-sunxi upstreamed?
<arokux> ssvb: just ask if you have some problems with these patches.
smotocel69 has quit [Read error: Connection reset by peer]
<arokux> Turl: "Reboot failed -- System halted": not anymore with the patch mripard has given me
<ssvb> arokux: the initial sun7i support with the cubietruck config has been mainlined (v2014.07), and a lot more will be mainlined in the next u-boot release (v2014.10)
<ssvb> arokux: thanks
<arokux> ssvb: who will do it?
<arokux> ssvb: I think here is the last code: https://github.com/arokux/u-boot-sunxi/tree/sunxi-usb
<ssvb> arokux: a bunch of sunxi patches are under review, you can find them in the u-boot patchwork
<arokux> ssvb: I see. I will submit usb support then
<ssvb> arokux: cool, thanks
<arokux> ssvb: maybe you'd need to run some commands in u-boot to bring usb devices up. i do not remember exactly...
<arokux> ssvb: about display driver. yes, interested. I just try to learn some new things for fun...
rgenoud has quit [Quit: Leaving.]
<arokux> ssvb: what is the kernel framework to which /dev/disp should be migrated?
<ssvb> arokux: better ask libv
Rose28357 has joined #linux-sunxi
<arokux> ssvb: what is your area of expertise?
<Rose28357> arokux: USB Keyboard in uBoot seems to work already. http://lists.denx.de/pipermail/u-boot/2014-June/180743.html
<arokux> Rose28357: not only. usb storage and usb2ethernet too :)
<ssvb> arokux: my expertise is a little bit of everything, basically just random performance tweaks :)
<arokux> ssvb: ok :)
<ssvb> arokux: as for the rudimentary display driver in *u-boot*, it can be used for the boot menu and also reused in the linux kernel as simplefb
jemk has joined #linux-sunxi
<ssvb> it may make sense to implement one and use it until the linux kernel gets the real driver
<arokux> ssvb: who is actually using /dev/disp?
* jemk is using /dev/disp
<Turl> arokux: link to the patch? :)
<arokux> Turl: you mean that mdelay, right?
<arokux> jemk: how is /dev/disp used in stock android? do they have some library that talks to it?
<jemk> arokux: that i don't know, i only use it in libvdpau
<Turl> arokux: I mean the one for reboot
<Turl> ctrl+f ioctl
<jemk> nove: that sounds cool, but i don't know how useful it really is
<arokux> Turl: is this something like their android source code?
<Turl> arokux: that's from their sdk
<Turl> maybe a little cleaned up but not much
<ssvb> arokux: /dev/disp is used for non-standard ioctls to manage various display controller features, such as layers
<ssvb> arokux: it is not mainlinable
<arokux> ssvb: and this is probably not kernel responsibility to expose these non-standard features?
<ssvb> arokux: it is kernel responsibility, the mainline kernel uses drm/kms for this stuff
<ssvb> arokux: in the long run somebody will have to rewrite the android hwcomposer to use the mainline kernel
<arokux> ssvb: "android hwcomposer" is some kind of android API allwinnners are using, right?
<ssvb> arokux: ask Turl :)
<ssvb> arokux: also it happens that drm/kms is somehow not popular among the android vendors, so it *might* be missing some important features...
<Turl> hwcomposer is the android HAL to manage composition and stuff
<Turl> we could look into reusing whatever android-x86 is using when we get drm/kms
<nove> jemk: gives a option other than only the tile format
Black_Horseman has quit [Quit: Zwi se logou mou!!!]
<jemk> nove: but its still an extra copy operation and needs physical cont memory for output again, can't write to userspace buffers directly i guess
<ssvb> jemk: could be useful on a13 instead of g2d?
<jemk> nove: your minimal examples for blobs are nice, speeds up tracing a fair bit
<libv> ssvb: that android hwcomposer thing is what i worked on in 2012 for intel
<libv> it exposed just how badly thought through kms planes are
F1skr has joined #linux-sunxi
<arokux> libv: thought?
<libv> arokux: in any case, i have 9-10kloc of kms driver sitting around, waiting to be completed
<libv> arokux: watch my fosdem talk
<arokux> libv: why aren't you submitting? :(
<libv> it's for 3.4, but work will start on moving it to mainline as soon as that codebase makes it out
<libv> arokux: it needs to be completed
<wens> I remember something alone the lines of "whoever designed kms doesn't know graphics drivers" (to put it mildly)
<wens> *along
_massi has quit [Remote host closed the connection]
diego_r has quit [Ping timeout: 240 seconds]
nabblet has quit [Quit: leaving]
Rose28357 has quit [Ping timeout: 252 seconds]
bertrik has joined #linux-sunxi
Andy-D has quit [Read error: Connection timed out]
Andy-D has joined #linux-sunxi
notmart has quit [Quit: notmart terminated!]
<arokux> libv: why is VGA and lcdc connected? does the latter abbreviation has something to do with LCD display?
<afaerber> LCD Controller maybe?
bbrezillon has quit [Ping timeout: 272 seconds]
<arokux> so LCD controller is outputting to VGA, something like this?
<arokux> afaerber: does "LCD" in LCD controller has something to do with "LCD" in LCD Monitor? :)
Rose28357 has joined #linux-sunxi
<Rose28357> arokux: they use the same uart to generate the bit stream. For LCD protocol read here http://linux-sunxi.org/Cubieboard/LVDS
<arokux> hm.. so in theory I won't be able to connect a CRT display to the cubieboard...?
<Rose28357> arkolux: why not ? CRT is using VGA which is supported by Cubietruck. But you can not use CRT and LVDS-connected LCD at the same time.
<afaerber> arokux, dunno about sunxi, but many embedded boards allow to connect LCD panels directly via LVDS or similar connections rather than via VGA/HDMI/DisplayPort
<arokux> afaerber: same for sunxi.
HeHoPMaJIeH has joined #linux-sunxi
HeHoPMaJIeH has quit [Changing host]
HeHoPMaJIeH has joined #linux-sunxi
<afaerber> formerly they then had some external I2C controller logic, these days that's moved into the SoCs
Quarx has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<arokux> afaerber: as I understand it there is LCD controller it then outputs VGA/HDMI/... I just find it strange there is LCD in the controller name. it is kind of assuming all the displays are LCD?
<Rose28357> I found the cubietruck schematic http://dl.cubieboard.org/hardware/A20_Cubietruck_HW_V10_130606.pdf (added link to sunxi wiki)
<afaerber> arokux, don't know about those details, libv probably does better
<rz2k> arokux: libv had schematic of sunxi display system in his latest fosdem video
<arokux> rz2k: ok, thx
<Rose28357> the lcd connection are on page 2 top right. two boxes called LCD0 and LCD1.
<afaerber> oh right! :)
<rz2k> yep
<Rose28357> just to the left of box LCD0 there is the VGA output. So they dont share pins.
<arokux> Rose28357: hm.. aren't those just LVDS and VGA pins? I suppose LCD controller is behind all of those pins
<libv> wens: it started earlier: whoever did randr1.2 had no clue about graphics drivers
<afaerber> oh and MIPI DSI is one alternative to LVDS. http://mipi.org/specifications/display-interface
<libv> wens: now one of those two guys joined broadcom to do their open gpu driver
<Rose28357> arokux : thats right. i made the assumption that vga and LCD shared pins. i was wrong.
<arokux> libv: display engine is hairy!
<libv> arokux: yes.
<libv> arokux: i have it mostly figured out, just need to deal with lcd power on/off, pwm and irqs
<afaerber> libv, broadcom open gpu driver> did that go anywhere beyond that "spectacular" code drop at the rpi anniversary?
<libv> afaerber: broadcom hired eric anholt last week
<libv> don't know why they chose him, as there are tons of people who have equal or better experience with mesa
<libv> but eric and keithp fucked up modesetting (badly based on my insights upon it) for all of us for years
<libv> let's hope that he doesn't fuck up the broadcom gpu either
<libv> i complained my head off in december when i was implementing gem
<afaerber> libv, don't know him. I rather meant, are they actively contributing to any upstream graphics project? or just continuing their own code drop?
<libv> and then erics idea of turning mesa into one huge blob with every driver linked in at build time... that's just stupid, and it has the toolchain guys here wondering what things the graphics guys smoke
<arokux> libv: I was thinking such engine should be actually in the GPU...
<libv> which reminds me, i am supposed to go meet those and others in artefakt right now
<libv> arokux: no.
<libv> afaerber: check phoronix.com, it's all on there
<arokux> libv: but do the desktop architectures also have something like display engine?
<libv> arokux: yes, very much so.
<afaerber> libv, is there some conference or are they all in the NUE area anyway?
<arokux> libv: and where is the memory for such engine?
<libv> but the stupid idiots have managed to toss the whole lot in the same pot
<libv> afaerber: no, just normal tuesday beers, but this time in a football free zone
<libv> arokux: depends
<afaerber> libv, enjoy :)
<libv> arokux: google for IGP
HeHoPMaJIeH has quit [Ping timeout: 240 seconds]
<arokux> libv: well, ok, but this is rather recent that GP is integrated. so basically at desktops such display engines are parts of the graphic cards
<libv> afaerber: well, if you're bored, head on over
<libv> arokux: part of the same chip, yes
<libv> arokux: but that doesn't mean that it isn't a mostly separate block
Andy-D has quit [Ping timeout: 255 seconds]
<libv> arokux: see, i went through this sort of discussion more than a decade ago
<arokux> ok :p
<libv> when the word modesetting hadn't been invented yet
<libv> and when people believed that this sort of black magic belonged in the bios
<libv> the hardware is modularly designed and logical
<libv> so the software should at least mimic that
<libv> but that was not accepted
Netlynx has joined #linux-sunxi
Netlynx has quit [Changing host]
Netlynx has joined #linux-sunxi
<libv> until keithp got tasked with fixing up the intel graphics driver
Andy-D has joined #linux-sunxi
Rose28357 has quit [Quit: Nettalk6 - www.ntalk.de]
<arokux> libv: 4 layers, are there desktop applications that take use of something like this?
FR^2 has quit [Quit: Connection reset by peer]
dack has joined #linux-sunxi
F1skr has quit [Quit: WeeChat 0.4.3]
<libv> arokux: xvideo
<libv> arokux: wayland
<libv> but wayland only gained it to be able to compete with hwcomposer
<libv> hence the really crappy implementation
<libv> but, everyone had been stating for a decade that this is all useless and that the gpu can take care of all of that
<arokux> libv: what are such layers normally used for?
<libv> before kms planes, i was the last to implement overlays
<libv> xvideo?
wickwire has quit [Remote host closed the connection]
<arokux> libv: how they are exploited there?
<libv> ...
<libv> arokux: maybe you should work on simpler hw, where someone can spoonfeed everything
<arokux> libv: :) i'm now asking about user space use, not about hw properties
<arokux> libv: and you said yourself you have it almost done, so it looks like i'm not going to work on it. i'm just curious how things work
Andy-D has quit [Ping timeout: 240 seconds]
ninolein has quit [Ping timeout: 255 seconds]
ninolein has joined #linux-sunxi
Andy-D has joined #linux-sunxi
HeHoPMaJIeH has joined #linux-sunxi
bbrezillon has joined #linux-sunxi
HeHoPMaJIeH has quit [Ping timeout: 240 seconds]
fredy_ has joined #linux-sunxi
arokux2 has joined #linux-sunxi
fredy has quit [*.net *.split]
Turl has quit [*.net *.split]
<arokux2> ccaione: ok, AXP is now built in. however after power off I cannot turn the board on by using the power button...
Turl has joined #linux-sunxi
bbrezillon has quit [Ping timeout: 264 seconds]
akaizen_ has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
akaizen has quit [Read error: No route to host]
akaizen has joined #linux-sunxi
fredy_ is now known as fredy
fredy is now known as Guest28814
CaptHindsight has quit [Ping timeout: 264 seconds]
bbrezillon has joined #linux-sunxi
afaerber has quit [Quit: Verlassend]
CaptHindsight has joined #linux-sunxi
Netlynx has quit [Quit: Leaving]
netchip has quit [Ping timeout: 252 seconds]
afaerber has joined #linux-sunxi
<mnemoc> libv: I thought ssvb was already admin
focus has quit [Ping timeout: 276 seconds]
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
discopig has quit [Quit: Bye]
akaizen has quit [Ping timeout: 244 seconds]
w00tc0d3 has joined #linux-sunxi
focus has joined #linux-sunxi
w00tc0d3 has quit [Changing host]
w00tc0d3 has joined #linux-sunxi
w00tc0d3 is now known as netchip
Gerwin_J has joined #linux-sunxi
akaizen has joined #linux-sunxi
akaizen has quit [Remote host closed the connection]
bbrezillon has quit [Ping timeout: 264 seconds]
dack has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
astr has joined #linux-sunxi
<astr> what sort of leds do smartphone camera flashes use?
<Turl> 5$? cool
nedko has quit [Quit: kernel panic]
jemk has quit [Quit: leaving]
bbrezillon has joined #linux-sunxi
<jelly-home> oh, 4-core and Mali
petr has quit [Ping timeout: 245 seconds]
akaizen has quit [Read error: Connection reset by peer]
akaizen has joined #linux-sunxi
petr has joined #linux-sunxi
<nove> and 16 bits ddr3 clock at 667mhz (from one of armdevices videos)
<atsampson> I like multicore CPUs being cheap enough that people think it's worth using the .99 pricing trick ;-)
ganbold has quit [Remote host closed the connection]
<CaptHindsight> http://www.pcduino.com/pcduino-v3/ anyone have one? What is the build quality? Better be great for $77
<CaptHindsight> more than 2x the banana pi
jacq has quit [Ping timeout: 240 seconds]
nove has quit [Quit: nove]
froese has joined #linux-sunxi
syeekick has joined #linux-sunxi
Wizzup has quit [Quit: Lost terminal]
jebba has quit [Quit: Leaving.]
petr has quit [Ping timeout: 245 seconds]
Black_Horseman has joined #linux-sunxi
<Black_Horseman> HOLA
<oliv3r> commo estas senior
<oliv3r> that's all te spanish i know :p
<mnemoc> estas = informal, señor = formal
<oliv3r> heh
<oliv3r> hi mnemoc !
<oliv3r> i've noticed that a10 devices nearly always boot when power is applied
<oliv3r> do we know more specific rules?
<oliv3r> our device won't have buttons exposed
<mnemoc> if it was properly shutdown before removing power it won't come back automatically when it's powered. only with a button
<mnemoc> but i doubt the AXP can remember the previous state for long
issueat has quit [Remote host closed the connection]
<mnemoc> good night
<froese> there's the power_start flag in the fex.
<froese> is the nand-driver from sunxi-3.4 supposed to work on the cubietruck?
<arokux2> oliv3r: our device? :P
<oliv3r> well lime + our stuff
<froese> there are a couple of options in the axp209 for that - i've not completely understood all the magic but it seems, u-boot plays a role, too. (shutdown in the kernel stores some magic values in the "cmos-regs" of the axp)
akaizen has quit [Remote host closed the connection]
sehraf has quit [Quit: www.miranda-fusion.de ... be part of it...]
akaizen has joined #linux-sunxi
konradoo77 has quit [Ping timeout: 244 seconds]
akaizen_ has joined #linux-sunxi
y0g1 has quit [Ping timeout: 245 seconds]
akaizen has quit [Ping timeout: 264 seconds]
rz2k has quit []
y0g1 has joined #linux-sunxi
paulk-aldrin has quit [Quit: Ex-Chat]
<libv> mnemoc: yeah, sorry, false alarm
jebba has joined #linux-sunxi
bertrik has quit [Remote host closed the connection]
Montjoie has quit [Ping timeout: 276 seconds]
<Turl> froese: it is, cubie people even have nand images on their site
Montjoie has joined #linux-sunxi
souther has quit [Remote host closed the connection]
<froese> so why doesn't it find the partition table and only fragments of the android which was on there? (i never wrote to it)
<Turl> eh? I don't understand your question
<froese> i jest get a lot of FFs
<froese> s/jest/just/
<Turl> FFs? where? what?
<froese> hd /dev/nand gives a lot of FFs, no spl-loader, no partition table, nada. only at very high addresses is see fragments of the android image
<Turl> hd?
<froese> hexdump
<Turl> froese: the allwinner bootloaders aren't readable via /dev/nand
<Turl> if you want to make new partitions you need to use nand-part tool
<arokux2> what driver(?) is responsible for proper treating of the power btn?
<froese> i don't want to make partitions - they should be there already (last time i checked, it booted android just fine). but under linux is see nothing of that.
<froese> arokux2: look under drivers/power/axp_power
<Turl> froese: don't you see /dev/nand[abcde...] ?
<froese> Turl: right. gives some warnings on boot the it can't find the partitions...
<arokux2> froese: so the power button is always the same at different boards?
<Turl> froese: paste dmesg
<froese> arokux2: the power button is handled by the power management controller (axp209/axp202)
<arokux2> ok
<froese> i hope the server won't kick me...
<froese> 086298] [NAND] nand driver version: 0x2 0x9
<froese> 151123] Dev Sunxi softw311 nand magic does not match for MBR 1: \xffffffff\xffff
<froese> 165246] Dev Sunxi softw311 nand magic does not match for MBR 3: \xffffffff\xffff
<froese> 158203] Dev Sunxi softw311 nand magic does not match for MBR 2: \xffffffff\xffff
<froese> 172296] Dev Sunxi softw311 nand magic does not match for MBR 4: \xffffffff\xffff
<froese> 179344] Dev Sunxi softw311 nand header bad for all MBR copies, MBR corrupted or
<froese> 188144] Dev Sunxi softw411 nand magic does not match for MBR 1: \xffffffff\xffff
<froese> 197229] Dev Sunxi softw411 nand magic does not match for MBR 2: \xffffffff\xffff
<froese> 206281] Dev Sunxi softw411 nand magic does not match for MBR 3: \xffffffff\xffff
<froese> 215324] Dev Sunxi softw411 nand magic does not match for MBR 4: \xffffffff\xffff
<froese> 222381] Dev Sunxi softw411 nand header bad for all MBR copies, MBR corrupted or
<froese> 231166] nand: unknown partition table
<froese> 235522] [NAND]nand driver, ok.
<Turl> froese: there's pastebin sites, you know
<Turl> maybe your CT has some new nand chip on it?
syeekick has quit [Remote host closed the connection]
<arokux2> Turl: so you have switched to mainline on your mele?
<froese> Turl: SKhynix H27UCG8T2ATR
<Turl> arokux2: not yet
<Turl> froese: are you running latest linux-sunxi?
<arokux2> Turl: ok, I thought you needed that patch for it
<froese> not latext, about 3 weeks old.
<arokux2> good night
<froese> git commit e37d760b3
arokux2 has quit [Remote host closed the connection]
<Turl> froese: mine has a slightly different model # on it
<Turl> you could ask them if they changed the nand recently, and what do you need to add on the nand driver to be able to use it
<froese> hmm...
deasy has joined #linux-sunxi
Montjoie has quit [Ping timeout: 240 seconds]
akaizen_ has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
<froese> Turl, btw, how fast it your nand (ie dd if=/dev/nand of=/dev/null bs=1M count=512) i only get 10MB/s.
<froese> even the sdcard is faster...
akaizen has quit [Ping timeout: 255 seconds]
petr has joined #linux-sunxi