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
bertrik has quit [Remote host closed the connection]
ricardocrudo has joined #linux-sunxi
swabbles has quit [Remote host closed the connection]
SJRvanSchaik has joined #linux-sunxi
Renard has quit [Remote host closed the connection]
wingrime has quit [Ping timeout: 250 seconds]
wingrime has joined #linux-sunxi
prahal has quit [Quit: prahal]
SJRvanSchaik has quit [Remote host closed the connection]
SJRvanSchaik has joined #linux-sunxi
ricardocrudo has quit [Remote host closed the connection]
wingrime1 has joined #linux-sunxi
wingrime has quit [Read error: Connection reset by peer]
mmarker has joined #linux-sunxi
egbert has quit [Disconnected by services]
mmarker1 has quit [Read error: Connection reset by peer]
egbert has joined #linux-sunxi
ganbold_ has quit [Ping timeout: 255 seconds]
<wens> hmm, no release?
wingrime1 has quit [Ping timeout: 264 seconds]
wingrime has joined #linux-sunxi
bamvor has quit [Quit: Leaving]
wingrime has quit [Read error: Connection reset by peer]
wingrime1 has joined #linux-sunxi
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
Gerwin_J has quit [Read error: Connection reset by peer]
akaizen has quit [Read error: No route to host]
akaizen has joined #linux-sunxi
TheSeven has quit [Ping timeout: 250 seconds]
TheSeven has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
akaizen has quit [Ping timeout: 240 seconds]
akaizen has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
nicksydney has quit [Remote host closed the connection]
kuldeepdhaka has joined #linux-sunxi
diego71 has joined #linux-sunxi
diego71_ has quit [Ping timeout: 245 seconds]
oliv3r_phone has quit [Ping timeout: 250 seconds]
diego71_ has joined #linux-sunxi
diego71 has quit [Ping timeout: 240 seconds]
wingrime has joined #linux-sunxi
wingrime1 has quit [Read error: Connection reset by peer]
oliv3r_phone has joined #linux-sunxi
wens has quit [Ping timeout: 250 seconds]
wens has joined #linux-sunxi
HeHoPMaJIeH has joined #linux-sunxi
afaerber_ has joined #linux-sunxi
afaerber__ has quit [Ping timeout: 255 seconds]
wingrime has quit [Read error: Connection reset by peer]
wingrime has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
netlynx has joined #linux-sunxi
dlan has quit [Ping timeout: 245 seconds]
dlan has joined #linux-sunxi
wens has quit [Ping timeout: 255 seconds]
wens has joined #linux-sunxi
<wens> hmm... rc6
nedko has joined #linux-sunxi
nedko has joined #linux-sunxi
kuldeepdhaka has quit [Ping timeout: 240 seconds]
kuldeepdhaka has joined #linux-sunxi
xavia has quit [Quit: Leaving.]
<ijc> arokux: In general it's a judgement call depending on how much the patch has changed. I'm ok with you keeping my Ack in this case.
kuldeepdhaka has quit [Ping timeout: 245 seconds]
JohnDoe_71Rus has quit [Read error: Connection reset by peer]
JohnDoe_71Rus has joined #linux-sunxi
merbanan has joined #linux-sunxi
dlan has quit [Ping timeout: 250 seconds]
dlan has joined #linux-sunxi
Pirea has joined #linux-sunxi
<Pirea> hy
<Pirea> hi
<Pirea> who can explain me how to set dram_tpr3 value to cubieboard?
libcg has joined #linux-sunxi
libcg has quit [Remote host closed the connection]
libcg has joined #linux-sunxi
sehraf has joined #linux-sunxi
<mripard_> Wizzup: yes, it would be through MTD, but it's not merged yet
Quarx has joined #linux-sunxi
Nyuutwo has quit [Ping timeout: 250 seconds]
<wens> mripard_: what happens if the dma maintainer goes missing for a long time? can anyone replace him?
blsd has joined #linux-sunxi
shineworld has joined #linux-sunxi
jinzo has joined #linux-sunxi
focus has quit [Ping timeout: 256 seconds]
notmart has joined #linux-sunxi
lauri has joined #linux-sunxi
focus has joined #linux-sunxi
issue_ has joined #linux-sunxi
<Montjoie> sehraf, Which gnutls do you use ? 3.x ?
FR^2 has joined #linux-sunxi
seppel has joined #linux-sunxi
<mripard_> wens: you can send an email to andrew morton in such a case
<mripard_> but it's the kind of central infrastructure I don't really want to go in un-reviewed :(
xeros has quit [Ping timeout: 272 seconds]
popolon has joined #linux-sunxi
sehraf has quit [Ping timeout: 260 seconds]
bertrik has joined #linux-sunxi
bertrik has quit [Changing host]
bertrik has joined #linux-sunxi
Nyuutwo has joined #linux-sunxi
sehraf has joined #linux-sunxi
prahal has joined #linux-sunxi
xeros has joined #linux-sunxi
Nyuutwo has quit [Ping timeout: 250 seconds]
Nyuutwo has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
paulk-aldrin has joined #linux-sunxi
netlynx has quit [Quit: Leaving]
<libv> ssvb: marek vasut has issues, i met him at embedded world
Nyuutwo_ has joined #linux-sunxi
Nyuutwo has quit [Read error: Connection reset by peer]
Nyuutwo_ is now known as Nyuutwo
JohnDoe_71Rus has quit [Ping timeout: 260 seconds]
deasy has joined #linux-sunxi
wickwire has joined #linux-sunxi
MasterChief10 has joined #linux-sunxi
<MasterChief10> Hello, What does files in /drivers/video/sunxi/lcd/lcd_bak directory of Sunxi Linux kernel source?
<MasterChief10> none of them are compiled
<wens> the "_bak" suffix suggests they might be left over from a merge of different soc trees
<MasterChief10> wens: but it's not a suffix
<libv> MasterChief10: there's no point in removing them
<libv> ssvb: he got upset quite quickly when i whined about peoples singular obsession with upstream
<MasterChief10> where is VGA video driver main file? I want to rewrite it for my 8080 interface LCD
<Wizzup> mripard_: ok, thx
<wens> MasterChief10: drivers/video/sunxi/disp/
<wingrime> libv: hi
<libv> MasterChief10: you're looking for a file, singular?
<libv> wingrime: ah, hey, been a while since you were active it seems
prahal has quit [Quit: prahal]
<wingrime> Full time job, sitting there means, be there in deep night
<libv> :)
<wingrime> libv: any success in kms?
<libv> i only just restarted, and was poking at ddc, but this was the weekend, i was repairing a friends bike and went out for a cycle and a swim yesterday
prahal has joined #linux-sunxi
<MasterChief10> libv: trying to make integrated LCD controller drive 8080 LCD somehow, already a few months with no result. tried to make it bare metal, now trying to make it with Linux kernel. how to use cpu_320x240_kgm281i0.c file instead of standard VGA?
<libv> MasterChief10: months?
<wingrime> For me, i speed time with c++ and glsl
<libv> MasterChief10: why do you keep talking about vga?
<libv> MasterChief10: the disp driver doesn't work on its own
<libv> it needs the lcd driver loaded to get anything out of vga
<MasterChief10> libv: yes, more than two
<libv> have you heard about this thing called fex?
<libv> also, we tend to label the driver (all 3 bits of it) as disp
<wens> the fex file seems to have an option for the output interface, rgb888/666/8080 and some others
<libv> everything in our world is fex driven
<MasterChief10> libv: I'll take standard 480x272 LCD script.bin, where is code that I need to change to let it work with other type of LCD?
<libv> we have a howto called fex_guide
<wens> MasterChief10: you need to decompile it (bin2fex), edit it, recompile it (fex2bin) and use the new file
<MasterChief10> libv: there is no way to supply vendor specific 8080 initialize commands from FEX
<libv> nobody else here has done 8080 interface, so you will have to use your own wit to get it wo work
<libv> MasterChief10: but fex is where you start
<libv> and then you will have to follow the code
<MasterChief10> I need to find a function which checks script.bin and sets up LCD controller
<MasterChief10> where is this function?
<libv> really?
<libv> MasterChief10: have you tried using grep?
<MasterChief10> libv: what is "grep"?
<libv> now i am twice amazed
<libv> first, that you do not know this standard unix tool
<wens> MasterChief10: the format of cpu_320x240_kgm281i0.c looks awfully like lcd*_panel_cfg.c, have you tried swapping them?
<MasterChief10> libv: hah, this? http://en.wikipedia.org/wiki/Grep
<libv> second, that you prefered asking that question in here without googling or trying it on the command line, or using man/info
<MasterChief10> wens: good idea, will try now
<libv> in any case, i have only looked at those files, and never played around with them much
<libv> and even that was ages ago
<libv> you will have to use your knowledge of C and buildsystems to fix that one
<MasterChief10> libv: I have some :)
wingrime has quit [Read error: Connection reset by peer]
wingrime1 has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
prahal has quit [Quit: prahal]
petr has quit [Ping timeout: 264 seconds]
ganbold_ has joined #linux-sunxi
focus has quit [Ping timeout: 255 seconds]
wingrime1 has quit [Ping timeout: 256 seconds]
focus has joined #linux-sunxi
TheSeven has quit [Ping timeout: 250 seconds]
wingrime has joined #linux-sunxi
TheSeven has joined #linux-sunxi
tomboy65 has quit [Ping timeout: 264 seconds]
oliv3r_phone has quit [Ping timeout: 264 seconds]
afaerber_ is now known as afaerber
focus has quit [Ping timeout: 245 seconds]
prahal has joined #linux-sunxi
tomboy65 has joined #linux-sunxi
prahal has quit [Remote host closed the connection]
kivutar has joined #linux-sunxi
prahal has joined #linux-sunxi
focus has joined #linux-sunxi
Black_Horseman has quit [Quit: Zwi se logou mou!!!]
Renard has joined #linux-sunxi
ganbold_ has quit [Ping timeout: 255 seconds]
ganbold_ has joined #linux-sunxi
seppel has quit [Quit: Leaving]
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
wingrime has quit [Ping timeout: 264 seconds]
issue_ has quit [Remote host closed the connection]
issue_ has joined #linux-sunxi
xinj has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
Orko has joined #linux-sunxi
Orko has quit [Client Quit]
Orko has joined #linux-sunxi
<MasterChief10> Will Pay $100 to anyone who will make this stupid LCD work with Olinuxino A13 micro using integrated LCD controller at 60fps
<kivutar> Hi, I got hdmi audio working by adding an asound.conf telling the default card, but now jack sound does not work anymore
<libv> MasterChief10: first off, the fact that you are offering money, on a monday, kind of hints that you are not doing this for your own private pleasure, secondly, 100usd is very little money for a company to pay for several hours of consulting time
<wens> kivutar: that's because you probably set hdmi as the default audio output
<wens> i don't know if alsa can do stream mirroring
<kivutar> wens, yes, that's it
<kivutar> is there a way to configure alsa to autoswitch to jack if a jack is plugged?
<kivutar> I have this behaviour on another device
<wens> i don't if we have drivers for auto-detection on the jacks/hdmi
<wens> don't know
<wens> most likely not
<MasterChief10> libv: YES I'm making it for own reasons, I want to make own smartphone factory in far perspective. I live alone at all, I have no idea what day is today and even what month. my income is lower than your grandmas pension. Why you not to say that you just have no idea how electronics works at all instead of that $100 is not enough?
<wens> kivutar: i suggest just duplicating the streams
<wens> google shows some examples
<kivutar> thanks
shineworld has left #linux-sunxi ["Sto andando via"]
TheSeven has quit [Ping timeout: 260 seconds]
TheSeven has joined #linux-sunxi
xinj has quit [Quit: xinj]
xinj has joined #linux-sunxi
Orko has quit [Quit: Page closed]
Ork_ has joined #linux-sunxi
<Ork_> hi, how to boot a13 from nand with android 4.2.2 ??
<wens> oh great.... i think the optional apb/baud clk patch for 8250_dw just broke our DT
nabblet has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
ricardocrudo has quit [Remote host closed the connection]
ricardocrudo has joined #linux-sunxi
<wens> or maybe not :|
<mripard_> wens: why ?
<wens> mripard_: please ignore what I just said
<wens> i should do more testing
<mripard_> :)
dack has joined #linux-sunxi
mmarker has quit [Remote host closed the connection]
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
deasy has joined #linux-sunxi
diego_r has joined #linux-sunxi
avsm has joined #linux-sunxi
<wens> mripard_: did you merge the gmac patches for 3.17 or 3.18? i don't see them in your trees
mmarker has joined #linux-sunxi
<wens> nvm, i see them in the pull request
<wens> it's just missing from the sunxi/dt-for-3.17 branch
<mripard_> ah, damn.
<mripard_> 2s
<wens> np
MasterChief10 has quit [Quit: Leaving.]
<mripard_> it should be done now
<wens> it's there, thx
tomcheng76 has joined #linux-sunxi
tomcheng86 has quit [Ping timeout: 240 seconds]
petr has joined #linux-sunxi
xinj has quit [Quit: xinj]
HeHoPMaJIeH has quit [Quit: Leaving]
xinj has joined #linux-sunxi
avsm has quit [Quit: Leaving.]
petr has quit [Ping timeout: 240 seconds]
Quarx has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
petr has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
setkeh has quit [Ping timeout: 240 seconds]
avsm has joined #linux-sunxi
setkeh has joined #linux-sunxi
xinj has quit [Ping timeout: 264 seconds]
oliv3r_phone has joined #linux-sunxi
Ork_ has quit [Quit: Page closed]
sehraf has quit [Quit: www.miranda-fusion.de ... be part of it...]
wickwire has quit [Remote host closed the connection]
wickwire has joined #linux-sunxi
<marcin_> Hi. Does anybody know, if someone is preparing drm module for sunxi disp hw component and/or MALI (render node)?
Pirea has quit [Quit: Leaving]
FunkyPenguin has quit [Ping timeout: 255 seconds]
FunkyPenguin has joined #linux-sunxi
prahal has quit [Quit: prahal]
kuldeepdhaka has joined #linux-sunxi
Turl has quit [Quit: >.<]
Turl has joined #linux-sunxi
avsm has quit [Quit: Leaving.]
paulk-aldrin has quit [Remote host closed the connection]
xavia has joined #linux-sunxi
focus has quit [Ping timeout: 260 seconds]
oliv3r_phone has quit [Ping timeout: 240 seconds]
focus has joined #linux-sunxi
blsd has quit [Remote host closed the connection]
blsd has joined #linux-sunxi
afaerber has quit [Quit: Verlassend]
sehraf has joined #linux-sunxi
kuldeepdhaka has quit [Ping timeout: 255 seconds]
rainbyte has quit [Ping timeout: 245 seconds]
rainbyte has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
dack has quit [Remote host closed the connection]
libcg has quit [Quit: rtfm]
nabblet has quit [Quit: #]
afaerber has joined #linux-sunxi
<Turl> wens: hm, I just saw your reply to the status report
<Turl> dunno why but I'm not on to/cc :S
<mripard_> because he replied to the linux-sunxi thread
<wens> it's google groups' fault!
<mripard_> that seems to think it's a good idea to replace the sender (and only the sender) from the recipients list
<wens> mripard_: my hummingbird doesn't have sid programmed (if it has sid at all)
<wens> google groups adds a reply-to header
<Turl> ah, yeah, that bug sucks :p I grew used to fixing it manually
<mripard_> wens: I haven't looked at the sid on the A31 yet
<Turl> it does worse things on some lists though, including completely hosing From:
<wens> i have gmac working with u-boot
<wens> and was wondering why no mac address was setup :p
<Turl> cool :)
<Turl> wens: some chips have blank SIDs for some reason
<Turl> the wiki has some samples I think
<wens> yup, hence me asking :p
<Turl> add yours :)
netlynx has quit [Quit: Leaving]
<wens> done
bonbons has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
<ssvb> Turl: also added mine from a few devices
<ssvb> Turl: do we know who is programming these values? is it Allwinner or maybe board manufacturers?
patapovich has joined #linux-sunxi
heart has joined #linux-sunxi
<ssvb> Turl: if we need entropy, DRAM controller can be used to generate random numbers :)
<ssvb> Turl: however collecting enough bits of entropy using the DRAM controller may take some time
<Turl> ssvb: no idea, I suppose it's AW
<ssvb> Turl: I'm not very happy relying on these numbers from the SID, and assuming that all of them are unique
<ssvb> Turl: (except those that are already programmed as zero)
slapin__ has joined #linux-sunxi
<ssvb> does reading from NAND require a lot of code? after all, BROM must be able to do it
slapin has quit [Ping timeout: 245 seconds]
<Turl> ssvb: well, the mac is not like used to seed crypto stuff
<Turl> it's just a convenience thing to get fixed but uniqueish values when none is available
<patapovich> http://www.cubieforums.com/index.php?topic=2618.0 the last message of that subject
FunkyPenguin has quit [Ping timeout: 250 seconds]
<patapovich> mayby allwinner changed something?
FunkyPenguin has joined #linux-sunxi
<wens> the code probably reads the sid
FR^2 has quit [Quit: Connection reset by peer]
<ssvb> Turl: if we can generate good quality random numbers via the hardware, this can be also used to generate unique MAC (and saved to the u-boot env or maybe even NAND)
<kivutar> is there a way to set cpufreq without having to echo in sys on each boot?
<kivutar> I tried editing dvfs_table and rebuild script.bin with no luck
<ssvb> kivutar: what kind of cpufreq configuration do you want?
<ssvb> kivutar: what exactly are you echoing on each boot?
<kivutar> just echo 1200000 > /sys/devices/system/cpu{0,1}/cpufreq/scaling_max_freq
<kivutar> I'm using the performance governor
<ssvb> kivutar: just don't do this, you are hurting yourself
<kivutar> ok, I'm very new to this kind of settings
<ssvb> kivutar: Allwiner A10/A20 processors can't run at 1.2 GHz reliably
<kivutar> ah too bad for me, I was getting nice performances on that emulator...
<kivutar> but ok, I will follow your advice
<ssvb> kivutar: here is a bunch of overclockers learning it the hard way - http://www.cubieforums.com/index.php/topic,2590.0.html :)
<kivutar> ok I saw your reply on this thread
prahal has joined #linux-sunxi
nove has joined #linux-sunxi
oliv3r_phone has joined #linux-sunxi
paulk-aldrin has joined #linux-sunxi
Playdo has joined #linux-sunxi
froese has joined #linux-sunxi
kuldeepdhaka has joined #linux-sunxi
TheSeven has quit [Ping timeout: 250 seconds]
bonbons has quit [Quit: Leaving]
Playdo has quit [Client Quit]
bonbons has joined #linux-sunxi
TheSeven has joined #linux-sunxi
FR^2 has joined #linux-sunxi
prahal has quit [Quit: prahal]
diego_r has quit [Ping timeout: 245 seconds]
notmart has quit [Quit: notmart terminated!]
wickwire has quit [Quit: Leaving]
FunkyPenguin has quit [Ping timeout: 245 seconds]
Rohan_m has joined #linux-sunxi
<Rohan_m> I'm trying to open a file in C (using fopen()) which is in home directory but i'm unabable to open it see my code http://codejaw.com/vvbd0
FunkyPenguin has joined #linux-sunxi
FunkyPenguin has quit [Excess Flood]
xeros has quit [Ping timeout: 240 seconds]
FunkyPenguin has joined #linux-sunxi
<rm> is that a homework assignment :D
<Skaag> is enabling watchdog for olimex a20 a specific kernel config or the generic watchdog?
<Skaag> is it the ARM_SP805_WATCHDOG option?
<Rohan_m> rm: No
<rm> then how is that related to the linux-sunxi project?
<rm> do you know what "sunxi" is?
<rm> and that this is not a general "teach me programming" channel?
<Rohan_m> rm: Sorry man !
<Skaag> Rohan_m: it's very simple, you take the mutex, you turn it around on its head, and cover it with a linked list. Then your fopen() will work.
<Rohan_m> Skaag: o.O i'm new ! any soloution with simple language brother ?
<Rohan_m> Skaag,rm: I solved it thanks guyz :D
ganbold_ has quit [Ping timeout: 255 seconds]
megal0maniac has joined #linux-sunxi
ikeeki has joined #linux-sunxi
Renard has quit [Remote host closed the connection]
FunkyPenguin has quit [Ping timeout: 260 seconds]
<megal0maniac> Hello. I've got Debian installed on internal NAND of an A20 board. I'm getting a lot of what seems like file corruption. Is there some way to check the flash?
Renard has joined #linux-sunxi
patapovich has quit [Quit: Page closed]
<ikeeki> Hi guys, hi Kivutar
<ikeeki> A guy has written this:
<ikeeki> I know you built and installed the mali drivers, otherwise es2gears and glmar2-es2 would not work, but this does not mean you are done. You have to build the GLshim and glues libs and then install them in place of the mesa libraries or you will not have completed the task so other programs can use the mali libs. I had to do this on Qbee-X so that I had full OpenGL-es working for another program I have been working on, with the
<ikeeki> CubieTruck.
<Skaag> megal0maniac: I wouldn't write anything on the internal NAND to be honest... I ordered my A20's without the NAND.
FunkyPenguin has joined #linux-sunxi
<ikeeki> do you find this interesting enough to be included in binary drivers section of linux-sunxi?
<megal0maniac> Skaag: Is it known to be flaky?
<megal0maniac> I know libnand is a mess, for one
<Skaag> megal0maniac: there's that, but even if it wasn't, that's nand that's soldered onto the board, I wouldn't feel comfortable knowing I can't replace it easily, like the external SD card slots (which it has two!)
<Skaag> external SD cards are now fast, and cheap
benn` has joined #linux-sunxi
<benn`> ping oliv3r
<megal0maniac> Skaag: Fair point. My idea was to have a working system on the board and use SD for additional storage - the NAND is there, may as well use it
<megal0maniac> But if it's going to corrupt a percentage of all files created on it, then there's no point
<Skaag> I know, I had the same thoughts initially
<Skaag> I wanted to have the basic system on the nand, then use the SD for cache
<Skaag> but I quickly gave up on that idea
<megal0maniac> I'm about to do the same. What a waste
<megal0maniac> I'm comfortable replacing the NAND chip, if the problem is the chip itself, but I wouldn't want to do that more than once
<megal0maniac> *sigh* Silly AllWinner
<oliv3r_phone> benn: Hi
Falcon1 has joined #linux-sunxi
<Falcon1> Hi
<Falcon1> I might be dim. but how do I create a new wiki page? I'm trying to add my new shiny pink tablet ;-)
Rohan_m has quit [Remote host closed the connection]
ninolein has quit [Ping timeout: 240 seconds]
<megal0maniac> Skaag: Yeah, looks like I'm just going to get a 8GB class10 card. They're cheap, even here
ninolein has joined #linux-sunxi
<nove> Falcon1: type a non-existent page, and a create button will appear
<Falcon1> Doh
<Falcon1> thnx
<Falcon1> A70h in the make
<nove> ikeeki: yes, but maybe as a new page
<Falcon1> Indeed. Just did so. I'm uploading photo's now
<megal0maniac> nove: Do you know anything about NAND being terrible?
* TheSeven knows about nand corrupting itself more often than not on several sunxi platforms
<oliv3r> TheSeven: really? that's kinda bad
<megal0maniac> TheSeven: I'll take that as confirmation of my suspicions :/
<nove> megal0maniac: no, sorry
<TheSeven> especially after hard power cuts, but also sometimes for no apparent reason
<TheSeven> both on cubieboard A10 and olinuxino A20
<TheSeven> usually using somewhat recent linux-sunxi kernels
<megal0maniac> TheSeven: I've found a number of files which end up being mostly 0xff, corrupt binaries etc
FunkyPenguin has quit [Ping timeout: 250 seconds]
<TheSeven> yes, I've seen that 0xff thing several times as well
<ikeeki> nove: and why not one named "openGL stuff?"
<TheSeven> and once it has started, rewriting files in an attempt to repair them caused even more of those
<megal0maniac> Gross. Alright. I guess it's back to the drawing board
<megal0maniac> Feels like such a waste
<TheSeven> I typically use it only to store read only data such as the bootloader
<TheSeven> and sata as rootfs if possible
<TheSeven> it's MUCH faster anyway
<megal0maniac> Yeah, it is
<TheSeven> even SD cards or thumbdrives typically outperform that NAND
FunkyPenguin has joined #linux-sunxi
<TheSeven> I like to have it though, to avoid the need for an SD card just to boot from USB, SATA or network
<TheSeven> just don't do write-heavy things on it
<oliv3r> TheSeven: what about partitioning it with a big blob of nothing inbetween
<oliv3r> squashfs RO for rootfs
<oliv3r> ext for the RW part overlayed
<ccaione> wtf, wrong pins on a uart and I fried a board
<nove> ikeeki: my take, is that GLshim is only software and is not specific of sunxi
<TheSeven> that would likely limit damage a bit, but not sure if it would solve it completely
<TheSeven> I've seen android's system partition get corrupted despite being mounted RO
<oliv3r> i think i heard people talking about adj. data being easily corrupted
<oliv3r> same pages etc
<TheSeven> so I guess t least in the event of power cuts it can mess up things while wear leveling
<TheSeven> at least*
<kivutar> hi ikeeki!
FunkyPenguin has quit [Ping timeout: 245 seconds]
<ssvb> nove, ikeeki: glshim is an OpenGL 1.x -> OpenGL ES compatibility layer, which emulates desktop OpenGL
FunkyPenguin has joined #linux-sunxi
<ssvb> it has a lot of bugs though
prahal has joined #linux-sunxi
prahal has quit [Ping timeout: 260 seconds]
prahal has joined #linux-sunxi
afaerber has quit [Quit: Verlassend]
xeros has joined #linux-sunxi
Falcon1 has quit [Quit: Page closed]
prahal has quit [Ping timeout: 260 seconds]
Renard has quit [Quit: Renard]
<ikeeki> ssvb: I've read that it helps to make run some opengl games like tuxkart or a similar game, but you would not include it as a default goodie, no? or help to some interfaces appear neither?
<ikeeki> Apart from that, just a warning: mpv and mplayer2 are getting more and more difficult to make it run decently or without stuttering (I mean recent versions), so eventually, vdpu will be only useful ins some version of those programs...
<bonbons> ccaione: do I need something extra to use the interrupts with drivers/mfd/axp20x.c? I defined IRQ resources there as you did for pek input driver, then behave the same in my probe function but get -EINVAL
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
akaizen has quit [Ping timeout: 240 seconds]
<ccaione> bonbons: not really. If you follow the pek driver example you should be able to use the IRQs
<bonbons> well I get -EINVAL for devm_request_any_context_irq(&pdev->dev, irq, handler_fn, 0, "some-string", pdev)
<bonbons> with irq = platform_get_irq_byname() which is successful and returns 1-digit positive values
<bonbons> oh, Ok I think I see what I missed, the regmap_irq_get_virq() call
<bonbons> it probably was too late yesterday when I looked at it!
<bonbons> anyhow, the vbus/usb, ac and backup-battery (for RTC) parts are getting into shape
<bonbons> the battery driver though will be more work
ikeeki has quit [Quit: Saliendo]
Faisal has joined #linux-sunxi
benn` has left #linux-sunxi ["ERC Version 5.3 (IRC client for Emacs)"]
<oliv3r> irc for emacs, omg
kuldeepdhaka has quit [Ping timeout: 264 seconds]
eagles05- has quit [Ping timeout: 240 seconds]
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
<oliv3r> what voltage does our SPI signal at? 3.3 or 5V?
akaizen has joined #linux-sunxi
leviathanch has quit [Read error: No route to host]
leviathanch has joined #linux-sunxi
eagles05- has joined #linux-sunxi
oliv3r_phone has quit [Ping timeout: 240 seconds]
<megal0maniac> Ooh, look. Another problem. When the screen goes to sleep, as it does, it will not come back on
phase1_ has quit [Quit: Page closed]
<Turl> ijc: sun[45]i have no secondary processors
<oliv3r> Turl: what's the SPI signaling voltage for sunxi?
<oliv3r> is it al 3.3V?
<megal0maniac> Yes
<Turl> oliv3r: I think so, but not sure
<oliv3r> i think so too, but also doubting
<megal0maniac> I'm 99% sure
<oliv3r> Turl: and an avr 8u2 is 5V signaling isn't it
<megal0maniac> oliv3r: If you run it at 5V, then yes
<oliv3r> crap
<megal0maniac> You can also run it at 3v3
<oliv3r> yeah but i can't change the voltage it runs at :)
<oliv3r> and i have to interface the two
<oliv3r> this is ueber crap
<megal0maniac> There are simple ways to do it
<ijc> Turl: Doh, yes ;-)
formruga has joined #linux-sunxi
akaizen has quit [Remote host closed the connection]
<oliv3r> ijc: and you ment to say turl or emilio, not tom!
akaizen has joined #linux-sunxi
<ijc> gah, Got Turl and Tartarus mixed up in my head
<ijc> I think I should go do something brainless!
akaizen has quit [Ping timeout: 240 seconds]
slapin_ has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
<Turl> oliv3r: level shifter to the rescue? :)
<Turl> ijc: :p
<oliv3r> Turl: yeah, but i really don't wanna use that
<oliv3r> i think you can use diodes for SPI anyway
<oliv3r> well to drop the voltage
<Turl> you mean a resistor?
<oliv3r> then again, the clock will need to be boosted :S
<oliv3r> diodes!
<oliv3r> mosi is one way isn't it
<oliv3r> so mo -->| si
<oliv3r> :)
<Turl> yeah, miso and mosi
<oliv3r> well if the AVR is 3.3 tolerant and understands it safely
<oliv3r> only need 1 diode to drop miso
<oliv3r> reading the same at sparkfun lol
<oliv3r> i tried to use no components, but now .. :S
nove has quit [Quit: nove]
<Turl> oliv3r: you got the avr out of thin air?
<Turl> :p
<oliv3r> what makes you say that?
<oliv3r> there's the AVR
<Nyuutwo> AVR powered from 5V it understands 3.3V output
<Nyuutwo> but it is not guaranteed
<oliv3r> that's kinda my problenm
<oliv3r> it needs to work, 100% of the time
akaizen has quit [Remote host closed the connection]
<Nyuutwo> so use 3V3 power or use HCT buffer for inputs
<Nyuutwo> for output you can use resistors
<oliv3r> i need to boost the clk to 5V
<oliv3r> the master is 3.3V; the slave 5V
<oliv3r> resistor devidor will be easy
<Nyuutwo> only clock?
<oliv3r> well and mosi will need to be boosted to make sure the avr can understand it properly
<oliv3r> so 2 channels need to be boosted
<Nyuutwo> well with only clock we can ignore phase and use one transistor + 2 resistors
<Nyuutwo> or mosfet with 1 resistor
<oliv3r> well we have the clock + mosi + miso
<oliv3r> miso is simply voltage devidor
<oliv3r> clock + mosi need a boost
<oliv3r> and all have to remain in sync with the clock!
<Nyuutwo> and another question - speed
<Nyuutwo> but spi can be clocked on rising or falling
<oliv3r> yeah interesting problem :S
<Nyuutwo> and when you use one setting for master other for slave you can use inverter in track
<Nyuutwo> what is expected max freq of spi?
<oliv3r> 250 kHz
<oliv3r> but may go upto 1 MHz
<Nyuutwo> but not sure if it can go 1MHz
<oliv3r> bidirectional is not a requirement though
<oliv3r> yeah that's 1 channel of the sparkfun design
<Nyuutwo> you can connect 2 inverters based on transistor in series
<Nyuutwo> 4 resistors, 2 transistors per channel
<oliv3r> the mosfet approach looks cheaper
<oliv3r> maybe I should just connect the 3.3V to the avr and pray :)
<oliv3r> pray 10.000 times
orly_owl has quit [Ping timeout: 240 seconds]
<oliv3r> Nyuutwo: what about a zener? :)
<Nyuutwo> how used?
rainbyte has quit [Quit: Leaving]
<oliv3r> i dunno, i'm no EE :(
<oliv3r> but i thought a zener can be used to clamp a voltage
<Nyuutwo> you can use zener diode + resistor
<Nyuutwo> but zener diode in series is bad idea
ikeeki has joined #linux-sunxi
<oliv3r> hah! zener is mentioned too!
<oliv3r> page 8.15
ikeeki has quit [Client Quit]
<Nyuutwo> yup
jinzo has quit [Quit: Leaving]
<Nyuutwo> this is idea of using zener
nashwhat has joined #linux-sunxi
<Nyuutwo> but remember - using resistors makes problems with frequency (capacitance)
<Nyuutwo> for 1MHz it should be good - oscilloscope is friend which can tell you for sure
Renard has joined #linux-sunxi
<Nyuutwo> http://en.wikipedia.org/wiki/File:Transistor_pegelumsetzer.svg - I thought as 2 this connectet in series
<Nyuutwo> starting values of resistors are 10k
<Nyuutwo> you can use smaller R2 to get faster more hungrier version
orly_owl has joined #linux-sunxi
<Nyuutwo> transistor just some BC338, 2n2222 - anything avalible for where you live
kivutar has quit [Ping timeout: 245 seconds]
bonbons has quit [Quit: Leaving]
kivutar has joined #linux-sunxi
akaizen has joined #linux-sunxi
nicksydney has joined #linux-sunxi
issue_ has quit [Remote host closed the connection]
Faisal has quit [Ping timeout: 256 seconds]
ikeeki has joined #linux-sunxi
ikeeki has quit [Quit: Saliendo]
tomboy65 has quit [Remote host closed the connection]
tomboy65 has joined #linux-sunxi
FR^2 has quit [Quit: Leaving]
akaizen has quit [Read error: Connection reset by peer]
akaizen has joined #linux-sunxi
TheSeven has quit [Ping timeout: 260 seconds]
TheSeven has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
kivutar has quit [Quit: Ex-Chat]
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
akaizen has quit [Ping timeout: 240 seconds]
akaizen has joined #linux-sunxi
<libv> has anyone actually managed to squeeze 1080p out of a cubietruck?
<libv> over hdmi
<Wizzup> do you mean video, or in general?
<libv> oh, display
<Wizzup> SJRvanSchaik: ^
<libv> my test monitor refuses this mode, while it seems perfectly happy with 720p
* libv is going to fire up an a20 based tablet now to verify
<Wizzup> I'm going to guess the answer will be 'yes' though
<libv> i'm pretty certain i did 1080p on the mele
<libv> both disp and my kms code refuse
ricardocrudo has quit [Remote host closed the connection]
<SJRvanSchaik> libv: I have, but it was some time ago, though.
<libv> ok, strange, it could be this specific board though, i also only get audio from one channel on it
maksimlin has joined #linux-sunxi
<libv> heh, i just had to look up my tablet type on my own sunxi wiki user page ;)
<libv> well, if anyone has a cubietruck up and running, the .fex output_type = 3, output_mode = 10
paulk-aldrin has quit [Quit: Ex-Chat]
<ssvb> libv: I think everyone is using "disp.screen0_output_mode=1920x1080p60" or "disp.screen0_output_mode=EDID" kernel cmdline nowadays
xavia has quit [Quit: Leaving.]
<libv> ok
<ssvb> maybe the fex mode setting has regressed? don't know, need to check this
<libv> i somehow doubt that
<ssvb> yes, the fex way also works for me
<libv> so you have hdmi on cubietruck with .fex?
<libv> at full hd?
<ssvb> yes
<libv> hrm.
<libv> ssvb: thanks
<libv> ah, the play EDID bit doesn't seem to be accepted
<libv> it now accepted the hd setting from the cmdline, but still nothing...
* libv is still waiting for the cp of the modules to finish to the tablets sd card
xinj has joined #linux-sunxi
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
formruga has quit [Quit: Konversation terminated!]
<libv> heh
<libv> comes up on the tablet np
<libv> so it's my cubietruck board
<libv> i already changed cables on it
akaizen has quit [Ping timeout: 240 seconds]
<libv> it's no memory bandwidth issue or somesuch, as the monitor doesn't care whether the transmitted data is valid or not, it just cares about timing
xavia has joined #linux-sunxi
xavia has quit [Client Quit]
bertrik has quit [Remote host closed the connection]
<Wizzup> ssvb: [looking at mainline dts atm], I presume that the right voltage is also in the mainline dts?
popolon has quit [Quit: Quitte]
<Wizzup> ssvb: context is a20 cubieboard2
<ssvb> Wizzup: the dcdc3 voltage is configured in u-boot and the kernel just does not touch it yet
<ssvb> Wizzup: so the mainline kernel should be fine
<Wizzup> ack!
<Wizzup> makes perfect sense