hno changed the topic of #linux-sunxi to: /Allwinner/sunxi development discussion - Don't ask to ask. Just ask and wait! - See http://linux-sunxi.org | https://github.com/linux-sunxi/ | Logs at http://irclog.whitequark.org/linux-sunxi
Olaff has quit [Ping timeout: 260 seconds]
Olaff has joined #linux-sunxi
<xtofury> ok got some problems with the camera now... UVC works tested out some apps, but now when I try to run http://developer.android.com/training/camera/videobasics.html, it does not allow any of the buttons to work. I've tested camera function with some apps in google play, those work fine, but I get the following in my logcat in eclipse: "cubieboard not have framework config class"
Soru has quit [Read error: Connection reset by peer]
robb83 has joined #linux-sunxi
robb83 has quit [Client Quit]
egbert_ has joined #linux-sunxi
egbert has quit [Disconnected by services]
hipboi has joined #linux-sunxi
betterworse has joined #linux-sunxi
<betterworse> Hi guys. Is there any tablet shipped with Allwinner A10/A20 and can dual-boot Ubuntu/Android on sale (in chinese market)? thanks.
<vinifr> tablet come with Android only
betterworse has quit []
xtofury has quit [Read error: Connection reset by peer]
xtofury has joined #linux-sunxi
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
vinifr has quit [Quit: Saindo]
dfa has joined #linux-sunxi
<dfa> hello
<dfa> so i was wondering whether there will be support for RTOS for the A10 soon?
dfa has quit [Client Quit]
burkhar has joined #linux-sunxi
<burkhar> I was wondering if there will be support for RTOS on the Allwinner series?
xtofury has quit []
rz2k has joined #linux-sunxi
burkhar has quit [Quit: irc2go]
CaCtus491 has quit [Ping timeout: 264 seconds]
CaCtus492 has joined #linux-sunxi
robb83 has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
ykchavan has joined #linux-sunxi
Amitabha has joined #linux-sunxi
ykchavan has quit [Ping timeout: 245 seconds]
Tsvetan2 is now known as Tsvetan
hipboi_ has joined #linux-sunxi
hipboi has quit [Ping timeout: 260 seconds]
robb83 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Tsvetan has quit [Ping timeout: 245 seconds]
rellla has joined #linux-sunxi
ykchavan has joined #linux-sunxi
Tsvetan has joined #linux-sunxi
hramrach has quit [Remote host closed the connection]
hramrach has joined #linux-sunxi
ykchavan has quit [Ping timeout: 276 seconds]
atiti has joined #linux-sunxi
BluesBoy has joined #linux-sunxi
ykchavan has joined #linux-sunxi
shineworld has joined #linux-sunxi
ykchavan has quit [Ping timeout: 248 seconds]
rellla2 has joined #linux-sunxi
rellla has quit [Ping timeout: 260 seconds]
n01 has joined #linux-sunxi
soul has joined #linux-sunxi
techn__ has joined #linux-sunxi
massi has joined #linux-sunxi
bamvor has quit [Ping timeout: 240 seconds]
ojn has quit [Ping timeout: 240 seconds]
ojn has joined #linux-sunxi
ykchavan has joined #linux-sunxi
techn_ has quit [Ping timeout: 240 seconds]
bamvor has joined #linux-sunxi
arokux has joined #linux-sunxi
rellla2 is now known as rellla
Soru_ has joined #linux-sunxi
Brodomir has quit [Remote host closed the connection]
hramrach has quit [Ping timeout: 240 seconds]
soul has quit [Ping timeout: 264 seconds]
Brodomir has joined #linux-sunxi
arokux has quit [Quit: Leaving]
ykchavan has quit [Ping timeout: 264 seconds]
<steev> blah. i know my cubieboard2 has shipped, but nfi when it will arrive, i can't really understand what the tracking info is saying. if it's on the way to singapore, or if it was shipped to singapore and has since left to come to the US
hramrach has joined #linux-sunxi
<buZz> should take ~3 weeks
gnufan has joined #linux-sunxi
wingrime has joined #linux-sunxi
<arokux1> steev, where have you bought you cb2?
<steev> arokux1: from the cubieboard site
<arokux1> steev, but from which distributor?
<steev> r0ckstore?
<steev> once i can write to the device without requiring that weird livesuite software, i'll consider it really open
<arokux1> Tsvetan, will it be possible to buy one A20-SOM-EVB?
<arokux1> steev, as far as I know the protocol of livesuite is known, you could contribute its implementation
<mripard> Tsvetan: wow, cool :)
<steev> arokux1: unfortunately it's outside my skillset, i'm already working on the kernel for 2 other devices
<mripard> Tsvetan: do you have any A10/A31 boards coming ?
<steev> not to mention 2 different linux distros work :/
<Tsvetan> mripard A10 is pin to pin with A20 so A10-SOM will be released
<Tsvetan> there will be no A31 sorry
<mripard> np :)
<mripard> it's just that you mentionned it some time ago, I just wanted to know if it was still on the work :)
<Tsvetan> but RK3188-SOM is routing now :)
<Tsvetan> I decided to replace A31 with RK3188
<Tsvetan> same price but more power
<RaYmAn> have you been able to get any useful source from RK? So far every release I've seen has had e.g. nand drivers embedded as precompiled objects, which is kind of sad :(
<Tsvetan> RaYmAn there is some info on linux-rockchip.info with links to GitHub and Picuntu (Ubuntu) running on RK3188
<mripard> Tsvetan: ok :)
Ehsand has joined #linux-sunxi
<arokux1> mripard, hi! are you interested into looking at the initial usb code for mainline? :)
<RaYmAn> Tsvetan: okay, so I guess that's a no then. Fair enough
<Tsvetan> RaYmAn I really do not follow close the development
<Tsvetan> but if there is something new it will go to the wiki
<mripard> arokux1: yep, sure
<mripard> arokux1: vinifr already sent me some patches for me to review, so that might take a bit of time, but go ahead
<arokux1> mripard, thanks a lot! (I've sent a link to my tree to the ML yesterday in the evening.)
notmart has joined #linux-sunxi
<mripard> arokux1: send me the patches by mail please
<mripard> it's easier to review, and I'm sure I won't forget about it :)
<arokux1> mripard, the problem is I also need some commits from Turl 's clk branch. I've cherry picked those and added everything on top of your sunxi-next, so I've thought it will be much easier for you to grab the code in this form.
<arokux1> mripard, I could send patches, no prob. but what about cherry picked commits from Turl's branch?
<mripard> arokux1: just send your code
<mripard> I already have Turl's :)
<arokux1> mripard, against which of your branches then? sunxi-next doesn't have Turl's commits I need.
<mripard> well, you said it was on top of sunxi-next
<mripard> it's fine
<mripard> just send the few commits you made
<arokux1> mripard, ok, then!
<arokux1> mripard, just curious, which A31 board you use for testing?
<arokux1> (this is unrelated to usb)
popolon has joined #linux-sunxi
Black_Horseman has quit [Quit: Zwi se logou mou!!!]
ykchavan has joined #linux-sunxi
<mripard> arokux1: the one that has support in Linux :)
<mripard> the EVK
<arokux1> mripard, evaluation kit?
ykchavan has quit [Ping timeout: 260 seconds]
<mripard> yep
ykchavan has joined #linux-sunxi
<wingrime> arokux1: you get musb?
<arokux1> wigyori, musb? no, usb host
deasy has joined #linux-sunxi
rz2k has quit []
<oliv3r> burkhar your welcome to send patches; but i would expec tthat if the linux-rt patches be applied to the kernel; it should just work
<arokux1> oliv3r, I was always interested why -rt isn't in mainline, maybe you know?
<oliv3r> Tsvetan: mini olinuxino's?
<oliv3r> arokux1: we don't really want to support or work on livesuit though; we have a alpha-ish MTD driver that we are working on :)
<Tsvetan> oliv3r shhht do not tell anybody ;) but we work also on EUR 15 A13-SOM
<Tsvetan> with WIFI snap-on which will make it perfect WIFI Linux node with GPIOs to connect IoT
<Tsvetan> BTW has anybody experience with A20 1Gbit PHY?
<Tsvetan> we just test the A20-SOM and everything works fine, just the camera and 1Gbit Ethernet need love
<wingrime> Tsvetan: about last sdk, it have andoird 4.0, but old sdk have 4.2 wtf
<wingrime> Tsvetan: also, strange greber,etc files with board named RUBIX
<Tsvetan> yes, these I guess were not intended for us but just were in the cloud account allwinner sent me, looks like A10 reference TV box design
<Tsvetan> and the Android SDK for it
<wingrime> Tsvetan: only useful was linux 3.4
<arokux1> Tsvetan, maybe a stupid question, but how can a kernel hacker take advantage of your Allwinner SOMs to reduce costs for hardware?
<Tsvetan> arokux1 A20-SOM reduced the time to market, you have A20+memory which is tested and proven to work, then you focus on your app and develop the schematic around A20
<Tsvetan> which is done on 2 layers and you can make many prototypes without breaking your budged
<oliv3r> steev: and the nand controller is fully open; you don't _have_ to use it :) livesuit is apile of crap, but not really needed, especially with fel mode where you can load a kernel and run a installer from there in theory;
<focus> u-boot-sunxi/common/cmd_gpio.c line 30 need to change ulong value; to ulong value=69; or something to prevent uninitialised return value
<Tsvetan> oliv3r do we have uboot NAND support? I would love if we can load NAND images with uboot instead live/phoenix
<steev> oliv3r: so i can run an installer from an initramfs in the kernel and overwite what's in the nand? :D
<steev> because yes, that would be ideal
<oliv3r> arokux1: i don't know hwy RT is just an option, probably because it modifies the kernel to heavily and irreverably so it can't be simply toggled
<oliv3r> Tsvetan: a13-som; nice! i mean sshh :)
<arokux1> Tsvetan, so SoMs are rather interesting for those designing hardware rather then kernel devs?
<oliv3r> Tsvetan: there was some talk on the ML about the gbit phy
<Tsvetan> oliv3r I will check
<wingrime> Tsvetan: better talk with aw engeners to get docs/driver for can/smartcard/pata/dramc/gps (sata phy regs also undocumented)
<oliv3r> Tsvetan: but it boils down to, 2 options, GMII or RGMII connected to the same pins (emac and gmac share port A, but different mux)
Ehsand has quit [Remote host closed the connection]
<oliv3r> Tsvetan: we did see a GMAC driver in 3.4-lychee (probably same driver as from a31 sdk lychee kernel, as that had it allready)
<oliv3r> Tsvetan: i think we are getting closer to MTD support which would work for u-boot etc too;
<oliv3r> mripard: have you heard of the new 'reset' framework?
<mripard> yes
awafaa has quit [Ping timeout: 256 seconds]
<oliv3r> mripard: is that also to 'enable/disable' stuff?
<oliv3r> or is it purely to reset stuff
wingrime has quit [Ping timeout: 260 seconds]
<oliv3r> Tsvetan: the SOM lacks a backjup battery for the RTC :p
<mripard> it's to reset stuff.
_enrico_ has joined #linux-sunxi
<oliv3r> mripard: so it's not the framework to look at to enable/disable power to certain area's
<mripard> nope
<oliv3r> mripard: i was just wondering arokux1 USB patch, uses the DT to assign some pin to the USB driver, but other IP's do the same, sata has apin to be toggled for powe on the olimex boards
<mripard> you're searching for the regulator framework
<oliv3r> ah yeah you mentioned that
<oliv3r> and a regulator can be used even for just 1 pin?
<oliv3r> just to enable/disable power?
<mripard> yes
<oliv3r> mripard: awesome, thanks :)
<oliv3r> i'll try to remember :)
<mripard> it's already what we do for the hackberry phy for example
<oliv3r> yeah i think the emac PHY will need it too
<arokux1> and something like this is done for mele usb phy already bu Turl
<Turl> oliv3r: yeah, we're using it on the hackberry eth phy as mripard said :)
<oliv3r> good good, i;'m behind :)
<arokux1> sorry, ethernet* phy
<oliv3r> ah hackberry a10
<arokux1> hipboi_, hi, can we make a preorder for a cubietruck already? there is a comment saying there will be some production next week ( http://cubieboard.org/2013/06/22/the-2nd-pcb-model-cubietruck-discussion/#comment-4211 )
<hramrach> and will be cases available with the preorder?
awafaa has joined #linux-sunxi
RaYmAn has quit [Ping timeout: 260 seconds]
ykchavan has quit [Ping timeout: 264 seconds]
<arokux1> was the 2.0 sdk kernel pushed to linux-sunxi tree?
<oliv3r> mnemoc: i think was working on it
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
<oliv3r> mripard: lxr needs 3.11 :)
<oliv3r> mripard: lxr.free-electrons.com that is
ykchavan has joined #linux-sunxi
mnemoc has quit [Ping timeout: 264 seconds]
mnemoc has joined #linux-sunxi
Ehsand has joined #linux-sunxi
ykchavan has quit [Ping timeout: 264 seconds]
RaYmAn has joined #linux-sunxi
RaYmAn is now known as Guest25189
leviathanch_ has joined #linux-sunxi
leviathanch has quit [Read error: Connection reset by peer]
Guest25189 is now known as RaYmAn
<arokux1> is there any smart irc client which would allow to rewind log backwards?
<oliv3r> IRSSI
<oliv3r> 'PAGE UP'
<oliv3r> what client are you using right now?
<arokux1> xchat
<oliv3r> can't you scroll back with that/
<arokux1> only if it was on all the time
hipboi_ has quit [Quit: Leaving]
<arokux1> i'd like to scroll back (ideally search) thought the messages I haven't received
<n01> topic is your friend
<arokux1> n01, well yes, smth like this, but in a client :)
<oliv3r> irssi
<oliv3r> doesn't have search though
<oliv3r> im' supprised xchat doesn't have a scrollback buffer; last time i checked it had a scrollbar
<oliv3r> but it needs to obviously be connected
<oliv3r> there is no client that works in 'offline mode'
<oliv3r> e.g. scrolls back while you are offline
<oliv3r> you'd need a BNC for that to work
<arokux1> it scrolls back, but needs to be on. i'm looking for 'offline mode' client, as logs are kept online it could use those..
RaYmAn has quit [Read error: Connection reset by peer]
merbanan has quit [Ping timeout: 240 seconds]
merbanan has joined #linux-sunxi
ykchavan has joined #linux-sunxi
merbanan has quit [Ping timeout: 260 seconds]
\\Mr_C\\ has quit []
ykchavan has quit [Ping timeout: 264 seconds]
\\Mr_C\\ has joined #linux-sunxi
merbanan has joined #linux-sunxi
<libv> arokux1: i run irssi in a screen session on a machine that is remotely accessible and has a high uptime
<oliv3r> arokux1: there is no such thing as an offline client that retrieves logs, as far as I know
<mnemoc> moin
geecko has joined #linux-sunxi
<arokux1> oliv3r, ok, thanks
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
<arokux1> kernel source from sdk 2.0 has some interesting stuff for usb host
geecko has quit [Ping timeout: 256 seconds]
Black_Horseman has joined #linux-sunxi
rz2k has joined #linux-sunxi
vinifr has joined #linux-sunxi
<hramrach> moin
<hramrach> anybody else has kerenl panic with recent 3.4 stage on a10 when mali is loaded?
<oliv3r> arokux1: sdk 2.0 confirmed we are dealing with a mentor IP for usb-otg
<hramrach> well, I not only load it but also run gnome-shell
<arokux1> oliv3r, what?
<oliv3r> arokux1: the kernel had comments in it refering to the usb-otg IP-core
<oliv3r> so we now know for sure where it's bought from
<oliv3r> and thus we know the driver we use is the right one
<rellla> hramrach: did you try ssvb's fix from ml?
<arokux1> oliv3r, oh, now I've got it.
<arokux1> oliv3r, I was talking about usb host though. the new code shows even more code can be dropped. I also was getting to this but was unsure, now I have it confirmed, so will send patches soon.
<hramrach> missed that one
<rellla> hramrach: http://pastie.org/8297256
Black_Horseman has quit [Remote host closed the connection]
hramrach has quit [Ping timeout: 240 seconds]
hramrach has joined #linux-sunxi
<oliv3r> arokux1: ahh very cool
geecko has joined #linux-sunxi
geecko has quit [Write error: Broken pipe]
panda84kde has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
ykchavan has joined #linux-sunxi
<hramrach> rellla: that fixes it, thanks
<hramrach> at least I do not get a crash
Ehsand has quit [Remote host closed the connection]
rz2k has quit []
ykchavan has quit [Ping timeout: 276 seconds]
gzamboni has quit [Ping timeout: 246 seconds]
gzamboni has joined #linux-sunxi
Tartarus has quit [Read error: Connection reset by peer]
Tartarus_ has joined #linux-sunxi
naobsd has joined #linux-sunxi
merbanan has quit [Ping timeout: 264 seconds]
fredy has quit [Excess Flood]
ykchavan has joined #linux-sunxi
fredy has joined #linux-sunxi
ykchavan has quit [Ping timeout: 240 seconds]
merbanan has joined #linux-sunxi
vinifr has quit [Quit: Saindo]
ykchavan has joined #linux-sunxi
<arokux1> question: does allwinner works on top of the android kernel?
ykchavan has quit [Ping timeout: 245 seconds]
<mnemoc> arokux1: they ONLY support android, so yes. google's kernel-common is their base
speakman has joined #linux-sunxi
<speakman> Hi folks!
<arokux1> mnemoc, android-4.0 is the base for lichee-3.4
<mnemoc> 4.2 i think
<mnemoc> or 4.1?
<mnemoc> i don't really know, but 4.0 is pretty old
<arokux1> mnemoc, sorry, i meant 3.4
<speakman> Which lcd_if should I be using when not using DE signal?
<speakman> Not really sure what the DE signal is anyway
<mnemoc> don't know, but their lichee-3.3 was a mutant based on android-3.3 + backported cortex-a7 support
<arokux1> mnemoc, what is -compat?
<mnemoc> includes deprecated android-specific features
<mnemoc> like wakelocks, etc
<mnemoc> so it's easier for vendors to drop-in their junk
ykchavan has joined #linux-sunxi
<mnemoc> sunxi-3.4 was made from the not-compat tree
<mnemoc> and we have fixed the compat-ness issues
<mnemoc> trying to get the code closer to mainline
BluesBoy has quit [Quit: HydraIRC -> http://www.hydrairc.com <- In tests, 0x09 out of 0x0A l33t h4x0rz prefer it :)]
<arokux1> mnemoc, I see. how would you proceed to add kernel from sdk 2.0 to our repo?
<mnemoc> we don't
<mnemoc> we use allwinner trees as reference
<mnemoc> we can't just merge their crap without serious thinking on each chunk
ykchavan has quit [Client Quit]
<arokux1> mnemoc, yes, of course. the question is how to add their code, so that commits get identified and their junk is on top, so we see what was added?
<mnemoc> i usually start by rebasing their stuff on top of the reference branch, android-3.4-compat in this case
<mnemoc> to flatten it
<arokux1> mnemoc, I see. research shows -compat is worse, produces more then 2k items with diff -qr
<arokux1> with android-3.4, "diff -qr ... | wc -l" gives only 433 items
rellla2 has joined #linux-sunxi
<arokux1> mnemoc, is there an official tree for that? "+ backported cortex-a7 support"
<mnemoc> arokux1: import/lichee-3.3 branches in amery's github
<mnemoc> those have -dev branches from allwinner
<mnemoc> sanitiyed
<mnemoc> sanitized
<mnemoc> damn .de layout
<arokux1> :)
<arokux1> mnemoc, or put otherwise, where this thing could come from? http://pastebin.com/K8xNhbyP
rellla2 has quit [Quit: Nettalk6 - www.ntalk.de]
atiti has quit [Ping timeout: 264 seconds]
shineworld has quit [Quit: Sto andando via]
ykchavan has joined #linux-sunxi
ykchavan has quit [Read error: Connection reset by peer]
<arokux1> mnemoc, any reason why AW would want to use some old broadcom wireless driver?
<hramrach> because they did not need to upgrade?
gnufan has quit [Quit: Leaving.]
<arokux1> hramrach, why do they need wireless in the first place, is it integrated in SoC?
<hramrach> it is shipped with some boards as external USB WiFi stick or chip mounted on-board
nove has joined #linux-sunxi
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
ykchavan has joined #linux-sunxi
rellla has quit [Quit: Nettalk6 - www.ntalk.de]
wingrime has joined #linux-sunxi
hramrach has quit [Remote host closed the connection]
<arokux1> any idea whos RealView platform is?
<arokux1> ignore previous question.
n01 has quit [Remote host closed the connection]
<Turl> arokux1: looks like architected timer backport to 3.3
rz2k has joined #linux-sunxi
<arokux1> is there something like merge patch? i.e. try to merge conflicts if any
wingrime_ has joined #linux-sunxi
_enrico_ has quit [Quit: Bye]
<Turl> arokux1: you can add .diff too to get just the diff
<arokux1> :) thanks
<Turl> arokux1: you can use am -3
<arokux1> Turl, doesn't help. is there something that looks on file basis and if the file already contains the change it will skip it?
<Turl> arokux1: 'patch'? :)
<arokux1> Turl, ?
<Turl> arokux1: patch -p1 < thing
<Turl> it'll tell you it's already applied and ask if you wanna reverse
massi has quit [Quit: Sto andando via]
ykchavan has quit [Quit: Leaving]
<arokux1> ((
<arokux1> I do now know if this is really needed
<arokux1> I'm analyzing kernel tree from sdk 2.0
<arokux1> to apply the latter cleanly will take lots of time
<arokux1> because android-3.4 contains some parts of it already.
<wingrime_> oliv3r: ping
robb83 has joined #linux-sunxi
<arokux1> any idea where this guy could keep his tree? Marc Zyngier <marc.zyngier@arm.com>
panda84kde has quit [Quit: Konversation terminated!]
<oliv3r> arokux1: why what did he do?
<arokux1> oliv3r, I want to separate AW code nicely.
<arokux1> take a look at my previous messages
<arokux1> not sure it is needed to this extent...
wingrime_ has quit [Read error: Operation timed out]
tinti has quit [Ping timeout: 264 seconds]
<nove> wingrime, i just tested vdpau in A13, it works but the image has corruption
<nove> wingrime, is with kernel 3.0, do i upgrade to 3.4, or it should work?
<mnemoc> arokux1: you can git diff reference-3.4..stage/sunxi-3.4
<mnemoc> to see our sunxi code only
<arokux1> mnemoc, why for?
<mnemoc> reference-3.4 is android-3.4+v3.4.y
wingrime has quit [Ping timeout: 268 seconds]
<mnemoc> so you can see our "AW" changes
<mnemoc> to do the same with the latest SDK you first need to rebased upon a known base
<arokux1> not sure that will work, I'm finishing currently one thing, I'll report results soon
<oliv3r> wigyori: pong
<oliv3r> arokux1: shouldn't be too hard, git diff import/3.4-lychee reference/3.4
<oliv3r> wingrime: pong*
tinti has joined #linux-sunxi
<oliv3r> arokux1: but mnemoc done a beatifull job in the past, i'm sure he'll share his scripts and knowledge to help you do it this time around :)
wingrime has joined #linux-sunxi
<oliv3r> wingrime: pong
<oliv3r> mnemoc: ^
<wingrime> oliv3r: I sended patch for full dynamic disp soc select
<oliv3r> wingrime: i know, allready commented on it
hramrach has joined #linux-sunxi
<arokux1> oliv3r, the problem is alwinner code includes some code that went into mainline 3.5
<arokux1> I want to catch it.
_enrico_ has joined #linux-sunxi
sanka has joined #linux-sunxi
ZetaNeta has quit [Ping timeout: 268 seconds]
_BJFreeman has joined #linux-sunxi
_BJFreeman is now known as BJfreeman
<mnemoc> oliv3r: I have a collection of scripts for sanitizing and reconstructing git tree in my github
<oliv3r> once the tree's have been put into git and are all sanitized; you can do easy git diff branch1 branch2
deasy has joined #linux-sunxi
<wingrime> mnemoc: I sended patch for a13 otg
ykchavan has joined #linux-sunxi
arokux has joined #linux-sunxi
wingrime has quit [Read error: Operation timed out]
notmart has quit [Quit: notmart terminated!]
focus_it has joined #linux-sunxi
<robb83> Offtopic: Can you help me how to start EGL with framebuffer ?
nove has quit [Quit: nove]
wingrime has joined #linux-sunxi
<ssvb> robb83: http://linux-sunxi.org/Binary_drivers (you can find the installation instructions and a simple framebuffer based example there)
<mnemoc> i'm again too far behind in applying patches :(
rellla has joined #linux-sunxi
<arokux> mnemoc, I could help you if possible
<robb83> ssvb: thx!
<mnemoc> arokux: identifying old patches that were approved by the community and critical before merging stage 3.4 into sunxi 3.4 wold be awesome
rz2k has quit []
<arokux> mnemoc, from which point? Hans has gathered pretty every patch in his tree.
<oliv3r> erm
<oliv3r> not anymore
<mnemoc> linux-sunxi's stage/sunxi-3.4 vs. ML to the point of merging stage/sunxi-3.4, tagging and jumping forward to the next android-3.4+v3.4.y
<oliv3r> hans's tree and linux-sunxi have merged since
<mnemoc> after that we spawn a new stage and apply the rest of not critical pages
<mnemoc> patches
<mnemoc> not all wingrime patches are for the next -r2 .... cleanup stuff can get in after the next base jump
<techn__> arokux: could you push that diff to other upload site.. my virus scan warns of that place :(
<arokux> techn__, which one?
<arokux> techn__, to which site I mean
<arokux> techn__, to which site would you like me to upload it?
<techn__> dunno.. its too pig for paste sites? :)
<techn__> big
<mnemoc> it's a pig too
<oliv3r> should be a cleaner way to diff it
<oliv3r> like mnemoc did before
<arokux> techn__, yes, too big.
<oliv3r> i sincierly doubt that they did a whole lot of work
<arokux> oliv3r, suggestions are welcome, that is why I've sent the e-mail
<mnemoc> if you have git history rebase it upon the reference-3.4 branch
<arokux> oliv3r, no.. there is old wireless driver, for example
<arokux> mnemoc, the result will be even worth
<arokux> mnemoc, worse*
<oliv3r> what email?
<mnemoc> reference-3.4 is androidized
<oliv3r> i'm too tired to check more e-mail :)
<arokux> mnemoc, I diffed against android
<mnemoc> arokux: rebase so we can see the history AND compare with what we have
<mnemoc> bulk diffs don't have too much value
<mnemoc> considering we already have a lot of the code
hramrach has quit [Ping timeout: 240 seconds]
<oliv3r> diffs are only usefull per driver level
<arokux> mnemoc, this was RFC rather. so ok, I'll do rebase. in my understanding I should checkout ref-3.4 (or some other commit) then copy AW code on top of it and commit, right?
<mnemoc> no
<oliv3r> i beilve we got sdk + history?
<arokux> history? what history? just code
<mnemoc> git log
<mnemoc> rebase is only possible if you have history
<arokux> well we do not have history
<oliv3r> .git empty?
<arokux> there is .git directory, but sadly looks like this: http://pastebin.com/XGkKBrmS
<mnemoc> then find the point in android-3.4 which give the smallest diff, and commit upon it. then rebase upon reference-3.4
<mnemoc> but sanitize the source dump first
<arokux> mnemoc, first part I did already - found a point with smallest diff: 238 files.
<arokux> mnemoc, what does "sanitization" mean?
<mnemoc> removing ^Ms and reencoding chinise mostly
<mnemoc> also doing some simple whitespace cleanup
<arokux> mnemoc, maybe we could get history from AW?
<mnemoc> to reduce conflicts while rebasing
<mnemoc> if you know to use a wand and do spells...
<oliv3r> we have history of a few things
<mnemoc> unfortunatelly i don't believe in magic or miracles
<oliv3r> we've seen mini-miracles
<techn__> arokux: you can get log from thos files :/
<oliv3r> or just pure luck
<mnemoc> true
<mnemoc> the leak of the -dev branches was amazing
<arokux> techn__, what?
<arokux> mnemoc, why the rebase on top of reference-3.4?
<mnemoc> because that will move your commit closer to sunxi-3.4
<mnemoc> and make interdiffing easier
<arokux> reference-3.4 was much worse that some point in android-3.4
<mnemoc> commit it on top of that point in android-3.4 FIRST
<mnemoc> publish that
<mnemoc> then rebase upon reference-3.4
<arokux> mnemoc, :) no prob
rellla has quit [Remote host closed the connection]
<wingrime> jukivili: pin
<wingrime> jukivili: ping
<wingrime> mnemoc: want more dev branches
<arokux> jukivili, can you provide kernel config so that I can test musb in host mode?
robb83 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
ssvb has quit [Quit: Leaving]
<ykchavan> Getting this error when compiling u-boot with gnueabi-2009q1
<ykchavan> 'section .bss [4a0297b8 -> 4a05c4bb] overlaps section .rel.dyn [4a0297b8 -> 4a02ddbf]'
iamfrankenstein has quit [Read error: Connection reset by peer]
ssvb has joined #linux-sunxi
<oliv3r> ykchavan: that's an error i've never seen before ;)
<ykchavan> I guess that is coming from old toolchain.
<ykchavan> Trying new. Which one do you recommend?
<oliv3r> new toolchain; latest linaro 4.7.3 is recommended
<oliv3r> i use 4.6.3 still
<ykchavan> Can you give me link to 4.6.3?
ssvb has quit [Client Quit]
wingrime has quit [Ping timeout: 256 seconds]
<arokux> ykchavan, there is a page Toolchain on our wiki
<arokux> good night all
arokux has quit [Quit: Leaving]
wingrime has joined #linux-sunxi
<ykchavan> oliv3r, worked with new toolchain
Black_Horseman has joined #linux-sunxi
ssvb has joined #linux-sunxi
akaizen_ has quit [Read error: Connection reset by peer]
akaizen has joined #linux-sunxi
<deasy> hi hno , is your actual uboot modified for sunxi based on barebox code? as someone say me he gets a barebox on his cubie2.
wingrime has quit [Ping timeout: 264 seconds]
<Turl> deasy: I doubt it, there's no barebox code for sunxi
<deasy> weird
<popolon> at least hushshell (on the cubieboard2) is a feature of the barebox
<popolon> found it here too
<popolon> ok, so berebox keep this U-boot feature
<deasy> beerbox?
<popolon> I was wrong
<deasy> :D
<popolon> :)
<hno> Standad u-boot have hush shell.
focus_it has quit [Quit: Leaving]
<leviathanch_> Turl: does the ahb gate driver work already anyway?
<leviathanch_> ^^
<leviathanch_> just to be sure
<leviathanch_> since no matter what registers I set for the MMC host module
<leviathanch_> it doesn't appear to be doing anything
<Turl> leviathanch_: are you using the UART? :)
<leviathanch_> uh
<leviathanch_> oh
<leviathanch_> yes
<leviathanch_> but it could also have been set by u-boot
<leviathanch_> ;-)
<Turl> leviathanch_: edit the dt and remove clocks= from uart if you want :)
<leviathanch_> hrhr
<leviathanch_> okok
<leviathanch_> hmm
<leviathanch_> Turl: what about the mod0 driver?
<leviathanch_> because I still don't get any data out of sd0-clk
<leviathanch_> uhm
<leviathanch_> any clock signal
<leviathanch_> I mean
<leviathanch_> Turl: if so
<leviathanch_> do I need to take care of some specific timing issues?
<leviathanch_> I mean: you are kind of a a1x clock specialist now
<leviathanch_> after having written all this driver code for it ;-)
<Turl> :P
<Turl> leviathanch_: you could boot linux-sunxi 3.4 and compare the mmc clock registers
<Turl> if you don't have a board booted on 3.4 I can do it for you
<Turl> 0x82000004
_enrico_ has quit [Quit: Bye]
<Turl> that means gating on (31), sourced from PLL6, /1 on N, /5 on M
<Turl> or maybe PLL5
<Turl> yep, PLL5. I counted the ones and zeros wrong
Soru_ has quit [Read error: Connection reset by peer]
<leviathanch_> ahh!
<leviathanch_> ok
<leviathanch_> pll5 then
<leviathanch_> are you setting bit 31 somewhere in your driver?
<leviathanch_> I didn't see it anywhere...
Soru_ has joined #linux-sunxi
<Turl> the composite clock gets a gate stuffed in to toggle that bit
<Turl> leviathanch_: looking at the mmc code, they have a "sw_mci_set_clk_dly()" which plays with two other (undocumented) offsets
<leviathanch_> hmm
<leviathanch_> but it's only used for tuning
<leviathanch_> the clock refuses to start working long before tuning would come into place
<leviathanch_> I think we can neglect this delay function for now
<leviathanch_> first I need to get basic clocking up and running
ykchavan has quit [Quit: Leaving]
<Turl> how do you know it's refusing to work?
<Turl> nice of them, they documented it on the A20 code drop headers
<Turl> __u32 OutClkPhase: 3; //bit8, Just for SDMMC0/1/2/3, Output Clock Phase Control
<Turl> __u32 SampleClkPhase: 3; //bit20, Just for SDMMC0/1/2/3, Sample Clock Phase Control.
BJfreeman has quit [Quit: had a good time]
* Turl looks around for his magician hat to guess what that means and does not see it
<leviathanch_> Turl: I have an oscilloscope here
<leviathanch_> and I'm measuring the sd0-clk output pin
<leviathanch_> with 400kHz it's easy to see
<Turl> leviathanch_: and you broke the SoC in half and used microscopic pads to measure the clock? :)
<leviathanch_> actually
<leviathanch_> no
<Turl> I think you need those two extra ones to actually produce clock on the pin
<leviathanch_> hmm
<leviathanch_> ok
<Turl> hm, maybe not
<leviathanch_> do you wanna tinker these two parameters for the register into your driver and I'll merge it then? ^.^
<Turl> the one on my mele has them on 0, but my mmc still works
<leviathanch_> hmm
<leviathanch_> ok
<Turl> leviathanch_: if you check clk/clk_summary on debugfs, is mmc hanging off pll5?
<leviathanch_> how should I check debugfs if I can't boot into a rootfs?
<leviathanch_> or is ethernet working already?
popolon has quit [Quit: Quitte]
<Turl> leviathanch_: initramfs? :)
<Turl> eth works too, if you're a nfs guy
<Turl> but embedding a small initramfs in the kernel is the easy way out
<leviathanch_> do you have one which is just working?
<leviathanch_> my debian rootfs was too big
<leviathanch_> yeah!
<leviathanch_> thx
<Turl> should be ~7M
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]