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
<rz2k> since you are interested in mainline, no one will ever accept emulation layer in mainline, so we actually need an mtd driver to have nand support in mainline
BJfreeman has quit [Quit: had a good time]
<arokux2> yeah, I've assumed that
tinti has joined #linux-sunxi
arokux2 has quit [Remote host closed the connection]
arokux2 has joined #linux-sunxi
arokux2 has quit [Ping timeout: 256 seconds]
Gerwin_J has quit [Quit: Gerwin_J]
<akaizen> Hi, whats the difference between sugar_ref001 and sugar_evb and wing_k70?
<akaizen> I've become a pariah :(
mcbrick has quit [Remote host closed the connection]
\\Mr_C\\ has quit []
rz2k has quit []
\\Mr_C\\ has joined #linux-sunxi
vinifr has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
Black_Horseman has quit [Ping timeout: 264 seconds]
<drachensun> turl: I'm here
<Turl> drachensun: just fyi, the mail I got from you was marked as possibly "forged" by thunderbird
Tsvetan has quit [Ping timeout: 252 seconds]
<drachensun> hmmm we are using mailchimp, so its not coming from our normal pengpod server
<drachensun> I wonder if that is why
<Turl> drachensun: may possibly want to review SPF on pengpod.com then
\\Mr_C\\ has quit []
vinifr has quit [Quit: Saindo]
\\Mr_C\\ has joined #linux-sunxi
tinti has quit [Ping timeout: 264 seconds]
ykchavan has joined #linux-sunxi
[7] has quit [Disconnected by services]
TheSeven has joined #linux-sunxi
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
ykchavan has quit [Ping timeout: 245 seconds]
JohnDoe_71Rus has joined #linux-sunxi
<steev> WarheadsSE: is that what i want _that_ for, being what we talked about? no. that's my own little side project
dwilkins has quit [Ping timeout: 245 seconds]
dwilkins has joined #linux-sunxi
Soru has quit [Read error: Connection reset by peer]
ykchavan has joined #linux-sunxi
ykchavan has quit [Ping timeout: 260 seconds]
Tsvetan has joined #linux-sunxi
<eebrah> Just came across this demo of Ubuntu Touch running on the PengPod 1040 [ Allwinner A31 ] http://youtu.be/ypqjfOYiyCk, yay?
wingrime has joined #linux-sunxi
wens has quit [Quit: Changing server]
<Tsvetan> Downloading now A10S SDK 1.6 (Android 4.0.4 and Lichee 3.0.8) do you guys have interest in it? the Kernel is old, so is the Android, Allwinner seems not interested to develop forward A10S like they do with A13 and A20
<Tsvetan> also they made the price of A10S higher than A10 which shows that they want to move the customers away from this chip :-)
<rm> interesting
wens has joined #linux-sunxi
MadSpark has quit [Ping timeout: 252 seconds]
Soru has joined #linux-sunxi
wingrime has quit [Read error: Operation timed out]
ZetaNeta has joined #linux-sunxi
<oliv3r> Turl: i know how to diff thsoe files :p i ment, what's the easiest way to identify whcih one i'm using :)
<oliv3r> hugobo_ you can't do what you want yet, ujnless you hack in the mtd drivers. the boot0 and boot1 bootloaders are as you said before the MBR. only boot0 and boot1 can boot from nand right now, you can't change that
BluesBoy has joined #linux-sunxi
rellla has joined #linux-sunxi
atiti has quit [Remote host closed the connection]
rellla2 has joined #linux-sunxi
rellla has quit [Ping timeout: 246 seconds]
tzafrir has quit [Ping timeout: 264 seconds]
n01 has joined #linux-sunxi
<n01> moin
FR^2 has joined #linux-sunxi
<oliv3r> rz2k my tablet sometime randomly starts to have corrupted shit even with the original kernel and ext4; so i'm not 100% sure even their code works 100% well
<oliv3r> Tsvetan: could you get me a list of revisions that do and do not have a GPIO connected to the 5V sata power output? I think revA and revB do not have a gpio for this and are always on; revC and rev D do have the gpio
<oliv3r> Tsvetan: i tried to hook the gpio in code but i think my board (revA) doesn't have it so a) can't test it, b) have to figure out how to handle those differences in the dts
<Tsvetan> oliv3r for which board?
<Tsvetan> A20?
rellla2 is now known as rellla
<oliv3r> Tsvetan: yeah, but the board is also used for A10 right?
<oliv3r> the olinuxino micro
<oliv3r> arokux1: good point olimex image generator vs sunxi-bsp on ML +1
<oliv3r> Turl: also pong
bamvor has quit [Remote host closed the connection]
shineworld has joined #linux-sunxi
<Tsvetan> oliv3r rev.A and B are produced just 50 pcs IIRC this was the developer edition
<Tsvetan> then rev.C and D are same and the only difference is that we experimented with the DDR serial resistors, C have D have no resistors
<oliv3r> Tsvetan: that might be the reason the 5V isn't controlled via gpio :)
<Tsvetan> and in Rev C/D we add SATA power on/OFF with PB8
<oliv3r> yeah
<oliv3r> so only rev C and revD have that
<Tsvetan> when you make PB8 in 1 the SATA is enabled
<Tsvetan> only REV.D is produced now
<oliv3r> well the dts will work on C and D
<oliv3r> so i'll make a dts for olimexino and one for -revCD
<Tsvetan> it will work on A/B too as there SATA is always ON
<Tsvetan> :)
<oliv3r> yeah, but i can't 'claim' PB8 on those
<oliv3r> is PB8 connected at all on revAB?
<oliv3r> if it's N/C, maybe we can just turn it on/off and pretend its there :)
<oliv3r> i'll have to think about that some more :)
<Tsvetan> PB8 in rev A/B go to GPIO connector
<shineworld> I've a dubt... I've got some problems with lichee 3.3 and I would like to know if my toolchain is right for that version: arm-linux-gnueabihf-gcc (crosstool-NG linaro-1.13.1-4.7-2013.04-20130415 - Linaro GCC 2013.04) 4.7.3 20130328 (prerelease)
<Tsvetan> in Rev C/D it also go to this GPIO connector but also is connected to enable SATA
<shineworld> what cross tool do you use to build linux-sunxi kernel ?
ykchavan has joined #linux-sunxi
gzamboni has quit [Ping timeout: 245 seconds]
<JohnDoe_71Rus> shineworld: use this http://cubiebook.org/index.php?title=Cubieboard2/Building_your_own_Android_image build kernel and android but can't pack
<JohnDoe_71Rus> get error, some about dragon...
<JohnDoe_71Rus> dragon image.cfg sys_partition.fex [Failed]
massi has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
<oliv3r> Tsvetan: ok then we need seperated dts
<oliv3r> shineworld: 3.3 isn't really supported by us
Black_Horseman has quit [Quit: Zwi se logou mou!!!]
Black_Horseman has joined #linux-sunxi
gzamboni has joined #linux-sunxi
<oliv3r> Turl: os-release :D your v3 is version_id=2013.08-git
<shineworld> I know... what's happen is simple ... I've build the cubiebook android 1.03 SDK using upon toolchain for kernel and livesuite output image doesen't work getting me a kernel panic so I guess is a problems with generated code from compiler
<shineworld> JohnDoe_71Rus, in the cubiebook upon link none info about required toolchain version
<JohnDoe_71Rus> shineworld: in the tarball all need for build. exept buildessential+ and jdk
Soru has quit [Read error: Connection reset by peer]
<shineworld> JohnDoe_71Rus, you are right in the package I've found an older version (missed in previous find) ... I will try with that
<JohnDoe_71Rus> shineworld: good luck
<shineworld> crossing fingers
mturquette has quit [Ping timeout: 260 seconds]
mturquette has joined #linux-sunxi
_enrico_ has joined #linux-sunxi
notmart has joined #linux-sunxi
<arokux1> johns9872003@yahoo.co.uk here?
<rellla> arokux1 is nagging at him ;)
<arokux1> rellla: I'm really not sure what he said. I think he wanted to say "I'd" instead of "I'll"
<rm> he said he will read-only from now on
<rm> not posting anymore
<rm> which is fine by me
<rm> if a person is a retard who can't grok a couple of simple rules of communication
<rm> I am happy if they rather refrain from communicating
<arokux1> ah.. I thought he wanted to say that I better read instead of replying to him
<arokux1> couldn't believe he meant himself.
bamvor has joined #linux-sunxi
<binaryferret> When attempting to use fel to grab boot info etc has anyone else had issues with 'libusb usb_bulk+send error -7' which is time out error code?
<binaryferret> I've grabbed the version info, but then when i try to do the read to boot1.header it seems to time out, and then also fel version times out as well.
<ykchavan> binaryferret, I got that error.
<ykchavan> I added that in wiki. Let me find it
<binaryferret> Cheers ykchavan
<ykchavan> in short, it depends on which way you are going to FEL
<ykchavan> Each FEL door entry is at different point of initialization.
<binaryferret> Ahh ok. I'm going the 'FEL dump with no serial console access required (default) (bootinfo + script.bin)' way.
<binaryferret> lol just seen the little note.
<ykchavan> home + power method makes bootloader enter in fel mode after initializing everything
<binaryferret> Hench reading causing the timeout?
<oliv3r> johns972003 ... can I have a little more context?
\\Mr_C\\ has quit []
<oliv3r> binaryferret: you can get into fel mode by smashing 2 madaly on your keyboard during boot1
<oliv3r> (on the serial console)
<ykchavan> Let me add that to wiki. This error encountered by 2 different person.
<oliv3r> the '2' method should have a fully initialized SoC aswell
<n01> "It's an old debate, never won, never lost" definitely not true
<n01> arokux1: but please, use your real name. It is annoying otherwise
<arokux1> n01: why so?
Soru has joined #linux-sunxi
<arokux1> n01: why it is annoying? everybody here has a nick. I have a nick for e-mail too :p
<n01> arokux1: irc is different
<ykchavan> binaryferret, Are you having tablet with console access?
<n01> it's kind of childish IMO
<oliv3r> irc is different
<oliv3r> on ML mails i always use my real name
<oliv3r> acutally this isn't even truely a nick
<oliv3r> as for john, he can't be more annoying then ... P... something i forgot :)
<n01> yeah, I have to change mine to smth more similar to my real name
<oliv3r> on irc it's fine :)
<arokux1> have you seen that doc drop?!
<arokux1> on ML just now
<oliv3r> arokux1: what doc drop
<oliv3r> libve documentation?
<oliv3r> let me read
<oliv3r> i think it's old
shineworld has quit [Quit: Leaving]
<arokux1> no!!
<oliv3r> we have libve docs
<arokux1> oliv3r: yes, it is
<oliv3r> well we have the 'cedarX user manual'
<arokux1> ok..
<andoma> oliv3r: url to that?
pitillo has quit [Changing host]
pitillo has joined #linux-sunxi
<oliv3r> andoma: the cedarX user manual?
<oliv3r> oh god
<oliv3r> erm
<oliv3r> let me TRY to find it :)
<andoma> ok ok :)
<oliv3r> andoma: ^
<oliv3r> Libve User Guide-2011.7.6.pdf
<oliv3r> wingrime: jemk: you probably knew about those doc and found them probably not usefull for your work; right?
<andoma> oliv3r: ait .. i've actually seen that.. i had some hope there was some register reference out or something
<oliv3r> andoma: there is
<oliv3r> :)
<andoma> right :)
<oliv3r> but nothing official of course
<andoma> maybe some official dox
<andoma> np
<andoma> i thought i just missed something new
<oliv3r> if that where true, that'd be awesome
<andoma> yup
<oliv3r> arokux1: +1 against John S
<arokux1> oliv3r: he will not resign.. I won't reply to him, hopefully he'll only read-only from now..
<oliv3r> arokux1: I don't think he's really old probably some kid
<oliv3r> arokux1: you replied perfectly well
<oliv3r> i need 96 hour days
<oliv3r> or, i need to learn to live without sleep
<oliv3r> that would work even beter
<oliv3r> never be tired
<andoma> both would be awesome!
<oliv3r> arokux1: JINX!
<oliv3r> andoma: 96 hour sleepless days? wow
<oliv3r> al the hacking we could do in that time
<oliv3r> speaking off, lunch time :p
<oliv3r> then i'll reflash a new SD card with a new bootable image
<oliv3r> so much to do again :S and there's also $work!
<oliv3r> ugh
<andoma> mhmm..
FergusL has quit [Ping timeout: 264 seconds]
<binaryferret> ykchavan: Hi, sorry just nipped out. I'm trying to get linux running on a cheap generic tablet. I wasn't sure which U-boot config to use, so I'm trying to get as much info as I can. Not sure how to get console access to the tablet will read up on that after dinner.
<binaryferret> cheap geneic a13 tablet
<binaryferret> generic*
<binaryferret> I have the script.bin/fex, version info, and a bunch of other system info just require to get boot info now.
<ykchavan> what is name of the tablet and manufacturer?
<oliv3r> binaryferret: any of the u-boot configuration that comes close will probably work; a13_mid porbably
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<binaryferret> model SoftwinerEvb, product.name nuclear_evb
<oliv3r> binaryferret: taht's the generic evaluation board info
<oliv3r> binaryferret: you need to run a10_meminfo from android (sstock rom)
<binaryferret> Ok will get that onto the device and run it
<oliv3r> that will give you your memory timings indicating which u-boot is required. generally one that matches your memory size is usually sufficient
<binaryferret> Cool ok.
<oliv3r> as for script.bin, if you copy that from your tablet, to your SD card, your good to go
<oliv3r> as the script.bin defines your tablet to the kernel
<binaryferret> Yeah that's one thing I have.
<oliv3r> those 2 datum are the important things
<binaryferret> Excellent. Thanks guys.
<oliv3r> now if all a13 u-boots fail, tyhen we have to add your tablet to u-boot ;)
<oliv3r> binaryferret: for starters however, its best to try hansg's fedora 19 image
<binaryferret> hehehe. How can i tell if u-boot fails, if the screen remains black/off
<oliv3r> Turl: v2 is 08, v3 is 2013.11-git :) how you got a november version in september I don't know, but they all 3 work fine (with my 3.11 SID branch)
<binaryferret> hansg's fedora 19 image. Will give that a whurl as well and see what happends.
Black_Horseman has quit [Remote host closed the connection]
<Turl> oliv3r: hi
<Turl> oliv3r: did you see my wip/*3.10 branch?
<oliv3r> Turl: i heard you talk about it; but you linked the sunxi one
<oliv3r> Turl: i think, did hear you would backport everything
<oliv3r> Turl: but if it builds, merge it into experimental :)
<oliv3r> i'm ready to test!
<Turl> I did it on top of v3.10
<oliv3r> ohhh it's sunxi/wip
<Turl> oliv3r: the double thing looks like androidization bug :)
<oliv3r> i miss read that
<oliv3r> Turl: thought so :)
<Turl> oliv3r: it doesn't boot for me on A20
<Turl> but maybe you have better luck
<Turl> may be my toolchain
<oliv3r> i can try in a few (doing a few builds for a10 right now)
<Turl> it dies after the ECC whatever message
<oliv3r> ok i'll check
<oliv3r> what about sunxi_defconfig
<oliv3r> and on a10, do you get console?
<oliv3r> i only get logs i think
<oliv3r> but i'm on my own 3.11 branch atm
<Turl> oliv3r: I cherrypicked from experimental/
<Turl> oliv3r: didn't try on A10, only on A20
<arokux1> Turl: how do you differentiate between tabs in space in an patch inlined into an e-mail?
<oliv3r> arokux1: i hae an addon for that
<Turl> oliv3r: can't keep all boards connected simultaneously :(
<oliv3r> Turl: what did you cherrypick :)
<arokux1> oliv3r: add-on for what?
<oliv3r> Turl: me neither
<oliv3r> arokux1: thunderbird
<Turl> arokux1: with my eye? :p
<Turl> tab is big, space is small
<Turl> not sure I understood the question
<oliv3r> Turl: what about 8 spaces
<arokux1> Turl: if there is lots of white space? :p
<Turl> arokux1: you can select it with mice and it will paint per space
<Turl> tab paints all on one shot
<Turl> oliv3r: see wiki page for magic backport command
<oliv3r> forgot the addon name; some diff thunderbird plugin helper
<oliv3r> colordiff thing
<oliv3r> Turl: cool; but since you done the heavy lifting ... :p
<oliv3r> Turl: btw, did you see gregkh merging sid :D
<Turl> oliv3r: yeah I saw you mention it
<Turl> oliv3r: still hasn't landed on torvalds' tree though :P
<mripard> the mail says that it will land in 3.13
<mripard> so it makes sense that it's not yet in linus' tree :)
<Turl> :)
<Turl> mripard: do you know any good ref to get an understanding of how to use sg in the kernel?
Black_Horseman has joined #linux-sunxi
Black_Horseman has quit [Changing host]
Black_Horseman has joined #linux-sunxi
<binaryferret> Sorry to ask a basic question but "Connect UART console" how do I do this? cu?
<Turl> binaryferret: cu, minicom, microcom, screen, whatever you like
<Turl> eg I use busybox microcom -s 115200 /dev/ttyUSB0
<binaryferret> Okdokey. I'm not seeing ttyUSB0 in /dev/ that's what has thrown me.
<Turl> binaryferret: did you plug your USB to serial adapter?
* binaryferret facepalm
<oliv3r> mripard: oh didn't read that much :( hopeed he'd put it in rc1; but t's ok; 3.13 is around the corner anyway
<binaryferret> no sorry. I stupidly just plugged in the usb without a serial adapter. I'll see if I have one.
<Turl> binaryferret: see here for an example, http://linux-sunxi.org/Cubieboard/TTL
<Turl> binaryferret: you need to connect the USB side to your computer and the other to the uart header on your board
<Turl> make sure it's 3.3v and not something else
<ykchavan> 'sudo cu -s 115200 -l /dev/ttyUSB0' works for me.
<Turl> ykchavan: without sudo too if you're in the right group :p
<oliv3r> i like screen /dev/ttyUSB0 115200 personally :)
<Turl> oliv3r: try microcom, there's no turning back ;)
<mripard> Turl: sg ? scatter-gather?
<mripard> Turl: I use picocom, and say pretty much the same :)
<Turl> mripard: yep
<mripard> Turl: LDD then?
<oliv3r> i use screen and say the same!
<ykchavan> If using cu , don't forget the exit way of pressing '~.' (without quotes)
<speakman> picocom! ;)
<Turl> mripard: I guess I should read LDD then :p
<mripard> it has a chapter about DMA, and you can read Documentation/dmaengine.txt as well
<Turl> mripard: no, but I need PIO scattergathers :)
<mripard> is that even possible ?
<Turl> mripard: omap-aes seems to support the idea that it is
<Turl> uses sg_virt() to get a mapping
<Turl> decent*
wingrime has joined #linux-sunxi
<oliv3r> mornin'
<speakman> Any good howto for gpio use in a kernel driver?
<oliv3r> speakman: what kernel
<speakman> oliv3r: primarly linux-sunxi :)
<binaryferret> Would a standard USB to serial work instead of https://www.olimex.com/Products/Components/Cables/USB-Serial-Cable/USB-Serial-Cable-F/?
<Turl> binaryferret: as long as it's 3.3v
<oliv3r> speakman: 3.0, 3.4, 3.10, 3.12-rc1?
<speakman> I'm porting an old device driver written by me long ago which make use of gpio pins (and their interrupts). It's many years old and I guess much have changed in how to make use of GPIO in an "generic" manner.
<binaryferret> so I'd be able to connect one end ot my pc and the other to the standard a13 tablet micro usb slot?
<speakman> oliv3r: hm, not sure. Which is most "stable" for an A20 board (OLinuXino) ?
<binaryferret> Feel free to say 'No you silly sausage'
Soru has quit [Read error: Connection reset by peer]
<oliv3r> binaryferret: the microUSB slot isn't GPIO controlled though, the mUSB has dedicated pins from the SoC
<binaryferret> Ahhh okdokey.
<oliv3r> speakman: sunxi-3.4 i suppose :)
<Turl> binaryferret: ah, is it a tablet?
<binaryferret> Yeah
<oliv3r> ohh now i'm confusing people :D
<speakman> oliv3r: ok, then it's drivers for 3.4. ;)
<binaryferret> It's a chepo a13 generic tablet.
<Turl> binaryferret: you'll either have to open it up, find the uart pins and solder
<Turl> binaryferret: or use a microSD breakout
<Turl> and connect your uart there
<binaryferret> if it comes to opening it up and soldering etc
<Turl> binaryferret: yeah the cable is allright
<binaryferret> Funky. Thanks once again.
<speakman> Any good up-to-date howtos on GPIO in device drivers?
<speakman> Or; how do I write a generic driver which utilizes two GPIO pins for some bit bangning (but only reading though)?
<oliv3r> speakman: for 3.4 not sure, mainline uses the dts mostly to setup pins afaik
<binaryferret> OOooooo
<Turl> binaryferret: the only trouble is that you use up the uSD port and you can't put an SD on it
<Turl> so you'll have to boot from nand
<Turl> oliv3r: can give you the details :)
<oliv3r> wiki
<oliv3r> :p
<oliv3r> you need to build u-boot from the lichee-dev branch, as a target you need the _sd ones
<oliv3r> you need to modify your script.bin as per wiki
<binaryferret> Ahh ok. I think i'll stick to booting from an sdcard at the moment rather than the nand then.
<oliv3r> binaryferret: have you booted from SDcard so far?
<binaryferret> Not yet. Put a few different things on the sdcard but it'd never progress from a black screen.
<binaryferret> Went into the rootfs but no logs were seemingly made.
<binaryferret> So not sure where it was falling down. It's why I took a few steps backwards and decided to make sure that I was getting u boot correct first.
<steev> does the a20 (or any allwinner) support thermal/hwmonitoring?
<binaryferret> It's fun either way, as I'm learning lots as I go along.
rellla has quit [Quit: Nettalk6 - www.ntalk.de]
ykchavan has quit [Ping timeout: 268 seconds]
<arokux1> binaryferret: I use gtkterm
<oliv3r> binaryferret: try hansg's Fedora 19 image, it's a perfect 'first time thing'
balage has joined #linux-sunxi
<arokux1> binaryferret: what is your ultimate goal?
<balage> oliv3r, Hi, i was away in the last 3 days. did you have the chance to test your tablet for the wifi issue I have (lsusb can't see wifi, and actually usb keyboard doesn't work either) on my Hackberry?
<balage> oliv3r, fyi I recompiled my kernel and disabled OTG (I had different settings with 3.0) but did not help.
<Montjoie> steev, for thermal monitoring I found somethin in the axp209, but I must code the driver
<oliv3r> balage: i have not :) i DID manage to boot 3.4, but my initramfs was bad, something about not able to execute init
<oliv3r> balage: so i gave up for the time being
<balage> oliv3r, okay, no problem, is there anything I can do for troubleshoot?
\\Mr_C\\ has joined #linux-sunxi
<steev> Oliv3r: did you pass init= on the command line? If not just symlink it from where it is in the initramfs to the root of the initramfs
<oliv3r> steev: i used the exact same initramfs so it 'should' in theory work I thought :)
<oliv3r> i extracted the boot.img from my android partition
<oliv3r> extracted the initramfs and put it straight into my kernel
<oliv3r> and booted that :) so maybe it was that, but i hadn't looked yet to be honest
<oliv3r> btw, what was the advantage of using boot.img over just putting the files on the fat partition? i forgot
<steev> Less chance of an issue with it when the file system gets un mounted prematurely I'd guess
Black_Horseman has quit [Remote host closed the connection]
shineworld has joined #linux-sunxi
<arokux1> ganbold: hey, were you the guy which runs some *BSD?
ganbold_ has joined #linux-sunxi
tinti has joined #linux-sunxi
<binaryferret> arokux1: Ultimate goal is to get an android build booting from an sdcard
<binaryferret> My thinking was if I could get the kernel built, and a linux rootfs booting on a sdcard then I can then make the next step.
<binaryferret> More steps in getting the parittioning correct etc for android, so that's why I've opted for the linux rootfs first.
<arokux1> binaryferret: I see. Would be nice to have you as a kernel hacker :)
<mouchon> hello
<mouchon> i would like to know if some one is working on spi for the A20 ?
<binaryferret> I'm afraid I'm still learning alot, I work as a junior embedded engineer but it's mostly been with atmegas at the moment. I use linux at home and at work but just starting to get through this side of linx/kernel. It's a lot of fun.
<n01> mouchon: you? :)
<oliv3r> Turl: yay, i got a working defconfig now that gives me console. so now i'll compare and strip
<mouchon> yes i would like to try
<binaryferret> Might be awhile before I can start properly hacking the kernel and actually knowing what I'm doing.
<oliv3r> binaryferret: ther's a howto for exactly that on the wiki
<n01> good, welcome on board
<oliv3r> mouchon: spi is being worked on in mainline by mripard
<oliv3r> mouchon: didn't you send an email to the ML?>
<binaryferret> oliv3r: Yep. The whole wiki is very useful.
<oliv3r> mouchon: i think i2c was yours wasn't it
<mouchon> yes for i2c
<mouchon> i just posted the clean (i hope patch)
<oliv3r> mouchon: yeah your patch looks good I suppose, but I don't have i2c hardware to properly test it with :)
<mouchon> yes i have
<mouchon> i have logicial analyser
<oliv3r> but spi for mainline is being done by mripard
<oliv3r> mouchon: for 3.4 it should be there allready
<oliv3r> mouchon: otherwise it's just a port away from lichee-3.4 -> sunxi-3.4
<mouchon> oliver for i2c i tested with different frequency at boot time and when loading as modules. after i checked with some i2c device i own
<andoma> any of the cedar reverse engineering peeps in here?
<mouchon> oliver i am currently working with stage-3.4
<arokux1> binaryferret: it is easy to start with sunxi-3.4 and try to unify things, once you are done with ur android build.
<mouchon> and on stage-
<mouchon> the spi for a20 is not working
<oliv3r> mouchon: then it needs to be copied from lichee-3.4
<oliv3r> and unified to sunxi-spi
<oliv3r> and/or
<binaryferret> what's the difference between lichee and sunxi repositories?
<oliv3r> sunxi is 'ours'
<oliv3r> lichee is allwinners (sdk) dump
<mouchon> ok will try
<oliv3r> we started with the 3.0 dump and started to port the whole thing to 3.4, fixed tons of stuff etc
<oliv3r> AW first took their drivers from 3.0, dropped them into 3.3; ignored out changes
<oliv3r> now they've released 3.4 sdk, and took their crap from 3.3 and put it into 3.4
<oliv3r> all fixes, improvements, merges etc are completly ignored
<oliv3r> so many old bugs are being resurfaced from users trying these AW kernels
<binaryferret> Ahhhh that must be very annoying.
<arokux1> oliv3r: you mean they have ignored our fixes?
<oliv3r> arokux1: absolutly
<oliv3r> they kept using their stuff and kept mulling forward
<arokux1> oliv3r: :) why did you think they won't?
<oliv3r> our kernels are far superior to their
<oliv3r> s
<arokux1> oliv3r: they probably are not following our tree at all
rellla has joined #linux-sunxi
<arokux1> oliv3r: what is the status of the 3.10?
<arokux1> I might want to try my usb driver in there, because I know rtlwifi from 3.10 works. the could have been a regression between 3.10 and torvalds tree, though unlikely.
tinti has quit [Quit: Leaving]
<oliv3r> arokux1: it boots :D
<oliv3r> arokux1: only a10 for now, turl has been very busy backporting a lot of stuff
<oliv3r> his stuff is in wip/experimental/3.10
<oliv3r> but he's awol so I might test it and push it into non-wip
<arokux1> oliv3r: I have A10 too ;)
Soru has joined #linux-sunxi
<oliv3r> good :)
<oliv3r> i'll push a new sunxi_Defconfig soon
<oliv3r> testing it still
<arokux1> oliv3r: let me please know once you backported sunxi-clk.c (or was it ckl-sunxi.c ...)
shineworld has quit [Quit: Leaving]
<oliv3r> Turl: what happened to your sram driver
<oliv3r> arokux1: turl is working on that ;)
<arokux1> oliv3r: cool
<Turl> oliv3r: sram? it's already on mainline :p
<arokux1> Turl: I hope u'll submit pll6 clock to mainline soon :p
<mnemoc> and 3.10? :(
<mnemoc> :D
<Turl> mnemoc: I backported all the things (see wip/exp/3.10) but it doesn't boot on my A20 :p
<Turl> need to investigate further
<arokux1> mnemoc: yeah.. you see, you are bad manager :p
<mnemoc> Turl: maybe importing everything in one pass was too greedy
<Turl> mnemoc: but hey it builds :P
<mnemoc> =)
<oliv3r> Turl: merged and commited allready? never saw the results of that; what can we use it for etc?
<Turl> oliv3r: the driver was already on mainline :p
<oliv3r> Turl: i thought you merged a*0 support into it
<Turl> oliv3r: I should probably send patches to add the dt nodes
<Turl> what support is there to add? it's just ram :p
<oliv3r> Turl: but you where hacking on it like mad a few weeks ago!
<Turl> I'd say it was more than weeks :p
<n01> Turl: returning -ENOMEM from a *_probe with dev_err message in redundant?
<mnemoc> arokux1: today I'm going to measure my next root and se how much space I really have, and the buying bed, desk, etc to be able to work productively on not-$work$ stuff
<Turl> oliv3r: that was PM though
<Turl> n01: if you mean print("No mem!"); return -ENOMEM, don't
<mnemoc> after almost a full year in limbo....
<Turl> just return, if there's no mem an error will be printed already
<arokux1> mnemoc: you can try to find some second hand furniture shop
<n01> Turl: ok, so it is redundant
<arokux1> fairkauf or smth, you can buy good stuff there cheaply
<oliv3r> Turl: Power Managment? I don't recall that at all; i remember you hacking on the sram driver!
<mnemoc> arokux1: yes, but it's an attic.... so dimensions are very irregular
<n01> whereas it is important for stuff like -ENODEV I presume
<Turl> oliv3r: well, you need to copy the code to SRAM
<Turl> maybe that's what you recall? dunno
<mnemoc> arokux1: need to properly diagram it first
<oliv3r> Turl: let me whitequark you
<n01> mnemoc: did u find a home?
<Turl> n01: hm -ENODEV?
* Turl is not too familiar with probe funcs :p
<n01> :) ok
<mnemoc> n01: big room in an attic, shared house
<n01> gratz :)
<mnemoc> thanks :)
<mnemoc> now I need to make it usable :p
<n01> you can host me then if I drop by ;)
<oliv3r> Turl: ok i can't find it, maybe i'm imagining things
<mnemoc> n01: possible :)
<Turl> oliv3r: you need more sleep time
<Turl> :p
<oliv3r> Turl: i'd be happy with more time generally
<mnemoc> stupid God making days only 24h long
<n01> God? which God?
<mnemoc> don't know. or I have already written a complain
wingrime has quit [Ping timeout: 240 seconds]
<n01> yeah, bugzilla right?
<binaryferret> MEANWHILE IN Valhalla 'Another complaint about the hours in a day Odin'
<oliv3r> Long live the gods
<mnemoc> the gods should have a bug tracker for world, universe and life issues. and solve their f* mistakes
<binaryferret> If this is all a simulation, perhaps they do.
<mnemoc> =)
vicenteH has joined #linux-sunxi
<binaryferret> #432 Humans: The entertainment facilities are near the waste disposal, we should do something about this.
panda84kde has joined #linux-sunxi
<arokux1> the day is actually longer now than it used to be when the earth was rotating faster
<oliv3r> oh interesting new driver possibilty? GPIO power off
<oliv3r> 'Board level reset or power off'
<oliv3r> and 'restart power off driver'
wingrime has joined #linux-sunxi
akaizen has quit [Ping timeout: 248 seconds]
drachensun has quit [Quit: Leaving]
akaizen has joined #linux-sunxi
leowt has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
ykchavan has joined #linux-sunxi
Soru has quit [Ping timeout: 256 seconds]
BluesBoy has quit [Quit: HydraIRC -> http://www.hydrairc.com <- Like it? Visit #hydrairc on EFNet]
deasy has joined #linux-sunxi
naobsd has joined #linux-sunxi
Soru has joined #linux-sunxi
<Turl> cubieboards on dealextreme heh
tzafrir has joined #linux-sunxi
<arokux1> Turl: too expensive!
<Turl> arokux1: when you consider DX does free worldwide shipping, and that it apparently includes the case and UART, it's not that bad
<arokux1> Turl: ah! I haven't seen that optons
<arokux1> indeed
<arokux1> but free shipping only to US
<Turl> arokux1: nah, DX does worldwide free shipping
<Turl> or at least they used to
<arokux1> Turl: well this is what I see on their web page now
<atsampson> free to the UK as well, at least
rz2k has joined #linux-sunxi
forcev has joined #linux-sunxi
FunkyPenguin has quit [Ping timeout: 260 seconds]
Gerwin_J has quit [Quit: Gerwin_J]
tzafrir has quit [Ping timeout: 240 seconds]
choko has joined #linux-sunxi
<choko> Hi. I have problem with usb detection. I must unplug and plug any usb device after booting of system. If i boot system with connected usb device it don't detect it. My device is mk802 with a10s chipset, kernel: 3.4.61.sun5i+,u-boot:mk802_a10s
<choko> any sugestions ?
<arokux1> choko: not yet, but if you post your dmesg (for the boot with usb device in) there could be some
<choko> ok but where, pastebine ?
<arokux1> choko: just do this: dmesg | curl -F 'sprunge=<-' http://sprunge.us
<choko> i'm from windows ;)
<arokux1> choko: ok.. use whatever you like but plz give a link to raw data
mcbrick has joined #linux-sunxi
ykchavan has quit [Ping timeout: 240 seconds]
<arokux1> choko: so which usb device are you connecting?
<choko> now wifi card, but can be any other
diego71 has quit [Ping timeout: 245 seconds]
<arokux1> choko: I see you have a built-in wifi, so no need for external one.
<arokux1> choko: or this is one you connect?
<arokux1> choko: take a look at: [ 1.271029
diego71 has joined #linux-sunxi
<choko> here you have when i unplug, and plug again http://sprunge.us/HAHL
<choko> this is usb wifi stick
<choko> as you see it detect as Atheros AR9271
<arokux1> choko: hm.. so you are using host/otg port for it.
<choko> yes
<arokux1> choko: this is not my specialty. do you have other usb ports?
<choko> for example ?
n01 has quit [Remote host closed the connection]
<arokux1> choko: i mean in your mk802, do you have other usb ports than the one you have used just now?
<choko> so you have only two: one mini usb and normal usb
<arokux1> choko: now, I do not know why normal (which is better referenced to as otg) usb port works so strangely, but can you try to use that second one?
<arokux1> choko: because I kinda know more about it and (maybe) can fix problems.
<choko> i don't have mini usb/usb adapter right now but i test it
<choko> i thinks problem is in u-boot
<arokux1> choko: i'm not sure. why do you think so?
<choko> because everthing works normal if you boot system first and then connect usb device
<arokux1> choko: does it work with stock android (or whatever)?
<choko> yes
<arokux1> choko: did it work previously with our u-boot/linux?
<choko> i tested other u-boots like: A10s-OlinuXino-M and r7-tv-dongle same results
<arokux1> choko: you shouldn't randomly test u-boot for other boards..
<arokux1> choko: so this is your first try of our kernel, right?
<steev> yeah... u-boot doesn't quite work like that
<choko> yes
<choko> maybe i'm shouldn't but they works ;)
<arokux1> choko: is there any LED on you wifi stick, btw? is it turned on while device isn't recognized during reboot?
<choko> yes , but you have too put interface up
<choko> no
<arokux1> choko: clarify plz
<choko> it isn't turned on while device isn't recognized during reboot
<arokux1> do you know if it is enough for the stick just to receive power to turn on the led?
tzafrir has joined #linux-sunxi
eebrah_ has joined #linux-sunxi
<choko> i have the same situation with keyboard
<choko> and cannot log in
<choko> this is not a problem of power
FergusL has joined #linux-sunxi
<choko> it is connected to 2A adapter
<arokux1> no, what I mean is whether there is power supply to that port on reboot
<arokux1> maybe you have some usb data stick with LED?
<arokux1> LED will be on, if there is power supply
<arokux1> and if there is power supply, then I think u-boot is ok and the problem is in the kernel driver
<choko> i test it with multimetr
<choko> ok, i tested power supply to usb port is all the time during reboot also
tzafrir has quit [Ping timeout: 248 seconds]
<WarheadsSE> 0o
<WarheadsSE> never drops the USB Vcc voltage?
<WarheadsSE> even momentary?
<choko> yes there are drops
rellla has quit [Remote host closed the connection]
<arokux1> choko: can you run something like this to see if it helps to detect?
<arokux1> udevadm trigger
_enrico_ has quit [Quit: Bye]
mcbrick has quit [Remote host closed the connection]
<choko> what exactly i have to do ?
<arokux1> run this: udevadm trigger
<choko> i don't have any results
mcbrick has joined #linux-sunxi
<arokux1> :(
<arokux1> choko: once you have an adapter to that micro usb try if u have the same problem
<arokux1> choko: we can then know if it is a driver bug or a bug somewhere deeper inside
<choko> ok, is there any posibility to force trigger usb discovery process
<arokux1> not that I know of....
<choko> ok i when i test it i write info , bye
choko has quit [Quit: Page closed]
<arokux1> yep, cu
massi has quit [Quit: Sto andando via]
drachensun has joined #linux-sunxi
<Turl> mripard: we do have the A20 manual
<mripard> without a big fat "CONFIDENTIAL" thing ?
<Turl> it has a "For Allwinnertech Only" watermark
<mripard> which is pretty much the same :)
<Turl> it's on dl.linux-sunxi
<Turl> I believe it came from olimex, I guess they have permission
<Turl> as it's on their github too
<arokux1> mripard: mnemoc told me allwinner is pushing some patches upstream, do you know something like this?
<mripard> not exactly
<mripard> they pop up once in a while now on the l(a)kml
<oliv3r> mripard: mnemoc was refering to the a20 smp code by cinifr/fong rong
<oliv3r> mnemoc: thought he'd seen that name in the git history of our source drops
<mripard> I think they had some troubles with the ext2 journaling at some point, and contacted the dev there
<mripard> and they add some details about how the timers work recently
<mripard> plus, they submitted some patches privately to me for review
<arokux1> mripard: patches against mainline?
<mripard> but for some reason, didn't continue sending versions, and I did them in the end
<mripard> yep
<mripard> and I have no idea if Fan Rong is from allwinner or not
<arokux1> mripard: interesting. so this is good sign... do you think it was somebody's personal initiative or more like company's one?
<mripard> several of their engineers were involved, but I can't say if it was behind management's back or if it was supported by the upper hierarchy
Soru has quit [Read error: Connection reset by peer]
<jukivili> arokux1: this might help with the rtl8192cu not working with mainline sunxi-ehci: http://koti.kapsi.fi/~jukivili/01-rtlwifi-fix-overlapping-transfer_buffers.patch
<arokux1> jukivili: I've tried it already
<arokux1> jukivili: this is not the problem
<jukivili> arokux1: ok
Soru has joined #linux-sunxi
<jukivili> arokux1: I have not been able to reproduce those dma problems that I had last spring with rtl8192cu on sunxi-3.4
<arokux1> jukivili: yeah, me too.
<arokux1> jukivili: the problem I have is most probably in the usb stack, and not in my driver
<jukivili> arokux1: however, I have different device now than back then.. early testing was done with mk802. I now have cubieboard
<arokux1> jukivili: or.. it can be due to the missing dma support
<arokux1> jukivili: do you know something about dma? :)
<jukivili> arokux1: no, sorry
<arokux1> jukivili: :(
<arokux1> jukivili: I've stripped original driver to 230 lines -- rtlwifi still worked. then I implanted it into the mainline
<arokux1> jukivili: and got same errors as with my new and shiny driver
<jukivili> but you got storage working?
<arokux1> jukivili: yep.. this is what puzzles me.
<arokux1> (different topic) btw, do you know why usb hub refuses to enumerate devices on usb-otg after reboot? (after power on it works)
<arokux1> jukivili: ^
<jukivili> hm.. probably the usb-otg hardware is not bein correctly reseted at reboot
<jukivili> is this with vendor usb-otg driver?
<arokux1> jukivili: but unplugging and plugging again helps
<arokux1> jukivili: this is with latest sunxi-3.4, I believe it is musb and not vendors driver?
<jukivili> plugging probably generates event which causes driver to set hw in to proper state
<arokux1> jukivili: I see. so once you have some time you can try to reproduce this problem.
<jukivili> arokux1: musb have to be manually enabled and vendor driver disabled in kernel config
<jukivili> default configs don't enable musb
<arokux1> I do not know which config was used by that guy.
<arokux1> jukivili: [now back to usb host] do you have a deeper understanding of how usb stack works? so that we localize the problem?
leowt has quit [Quit: leowt]
<jukivili> arokux1: well, maybe not deeper understanding.. but I can try help
<arokux1> jukivili: take a look at this thread
<jukivili> arokux1: yes, I noticed it :)
<jukivili> ~25min ago to be precise
<arokux1> jukivili: basically I have 230 lines that work in 3.4 but fail in mainline.
<arokux1> jukivili: I'm currently without any ideas at all what to try next, I hoped Alan will say that this is DMA issue.......
FR^2 has quit [Quit: Connection reset by peer]
tzafrir has joined #linux-sunxi
n01 has joined #linux-sunxi
<jukivili> arokux1: have you tried any other devices than rtl8192cu and storage?
<arokux1> jukivili: ah yes, this is the last thing that I had in mind. no, not yet, today I'll try usb2ethernet
<arokux1> jukivili: have you any other ideas?
<jukivili> try different devices, see which ones do and do not work and try to find common factor for failing cases
<arokux1> jukivili: yes, this is a plan.
<jukivili> I'll try to setup my cubie for mainline next week
<arokux1> jukivili: maybe the issue is due to the fact wifi module is on board.. and something isn't set up properly.. its power or the like
panda84kde has quit [Quit: Konversation terminated!]
<jukivili> ok.. I actually bought wifi dongle with rtl8192cu to test with cubie
<arokux1> jukivili: the one on-board is RTL8188CU, right?
<jukivili> this one is 'Bus 003 Device 007: ID 2001:3308 D-Link Corp. DWA-121 802.11n Wireless N 150 Pico Adapter [Realtek RTL8188CUS]'
<arokux1> jukivili: the one you bought you mean?
<arokux1> jukivili: (i'm leaving now, will be back in an hour or so)
<jukivili> yes
<jukivili> arokux1: ok, I'm leaving too.. have busy weekend so we'll probably meet on monday
<oliv3r> Turl: did you add a sunxi_defconfig to your tree? I made one that works now
<akaizen> I'm compiling Boot2Gecko for A20 devices and need to find the closest device tree. What the difference between sugar-ref001 and wing-k70?
<oliv3r> never heard of either
<akaizen> oliv3r: Android stuff sorry, is there a more specific android channel?
<akaizen> Talked to the b2g devs and they said it would be cool to get FireFox OS on these chinese SoCs
<Turl> wing-* is A20 devices
focus_it has joined #linux-sunxi
<Turl> never heard of sugar-*
<akaizen> I have an A20 board but it seems to be just an mk802 with an A20 dropped in
<Turl> fiber-* is A31
<akaizen> and its running sugar-ref001
<Turl> akaizen: maybe wing-* is tablet optimized and sugar-* is tv oriented
<Turl> oliv3r: I cherrypicked your config, but feel free to do whatever you want on the wip/ branch :)
<akaizen> Turl: Ah ok.. thanks im trying to download the cubieboard android sdk it has the sugar device tree but it donwloads so slow!
<oliv3r> Turl: will test your wip soon
<Turl> mripard: still around?
<akaizen> Turl: how did you find out about wing-* and fiber-* ? is there someway to find out codenames for branches?
<oliv3r> cool new sunxi_derpconfig worjks
<oliv3r> checking out wip/3.10
rz2k has quit [Read error: Connection reset by peer]
arokux2 has joined #linux-sunxi
arokux2 has quit [Client Quit]
arokux2 has joined #linux-sunxi
<Turl> akaizen: by looking at the sdks
<akaizen> Turl: What part? I think your right sugar-ref001 has init.sun7i.rc stuff as doesn wing-k70
<akaizen> Cool! This so exiciting! I hope I have Boot2Gecko running in a few hours
<akaizen> Hopefully < 15s boot time!
<akaizen> Also try to get Embedded Qt working
<oliv3r> sun7i is a20 so that's good
<Turl> akaizen: just the folder names on device/softwinner
<akaizen> I guess I'll update the wiki with a nice post on everything i discover and upload a combined sdk
* akaizen feels like Dr. Frankenstein ... i've hobbled stuff from the 2.0 SDK, 1.2, 1.0 and maybe 1.03
<arokux2> where is keyboard device file?
<akaizen> arokux2: device/softwinner/<device>/sw-keyboard.kl ?
woprr has quit [Remote host closed the connection]
<arokux2> akaizen, I'm on mainline
<arokux2> on my desktop I see a whole lot of stuff in /dev/input/
<arokux2> but not the case with sun4i, I wonder, is there kernel config that should be enabled
<arokux2> USB_HID is on
<akaizen> arokux2: I see sry but I dont know
<akaizen> You're much further along than I am :)
<wingrime> oliv3r: u-boot page: U-Boot Initially developed by Tom Cubie and now developed and maintained by Henrik Nordström
<oliv3r> yeah sounds about right
<oliv3r> tom had access to boot0 and boot1
<oliv3r> sdram.c is almost a direct copy
<wingrime> oliv3r: U-Boot tom's home-made project or so
<wingrime> oliv3r: but page suggest that
<oliv3r> u-boot was tom cubies work initially yeah
<oliv3r> and then when aw allowed it to be released; henrik and him worked on it outside
<wingrime> oliv3r: you can't say that tom started u-boot intself, but you can say that tom do initial port to sunxi arch
<oliv3r> ohhh
<Turl> wingrime: add "sunxi" at start
<Turl> :p
<oliv3r> sunxi support was added to u-boot initially by ...
<oliv3r> yeah chinglish
<oliv3r> Turl: your tree also stops on a10 with ecc disabled
<oliv3r> well the wip tree
<oliv3r> i'll do it 1 patch at a time
<drachensun> wingrime: have you seen this touch driver before?
<drachensun> ft5x06_ts
<drachensun> The newer A20 device I have gotten have it
<Turl> oliv3r: on A10?
<arokux2> drachensun, have you googled? there is some code
<oliv3r> Turl: yeah
<drachensun> arokux2: I looked about a month ago, I hadn't since, thanks
<Turl> oliv3r: notice that I used plain 3.10
<Turl> oliv3r: what compiler are you using?
<oliv3r> turl i just commited something on your wip tree (locally only) witha s title 'merge me' cause i need to merge it on a diff branch; but git log won't show it at all?
<oliv3r> Turl: gcc 4.6.3
<wingrime> drachensun: I had some table with ft5x
<Turl> oliv3r: git log branch?
<oliv3r> i'm on the wip branch
<wingrime> drachensun: but ft5x06 if I correct was in a20 sdk....
<drachensun> wingrime: yeah most of mine have that ft5x06_ts is different, the ft5x driver wont work with it
<wingrime> drachensun: a20 sdk,
<wingrime> drachensun: wait a second I check it myself
<oliv3r> Turl: i did git add path/to/file; git commit -m 'merge me'
<oliv3r> then git checkout experimental/sunxi-3.10
<oliv3r> and it properly said 'your branch is ahead/behind by 1 cmmit' when i switch between
<oliv3r> but i do'nt see the commit :S
<Turl> then git log wip/experimental/... should show it?
<oliv3r> so can't find the hash so can't cherry pick
<Turl> oliv3r: otherwise just use git reflog
<oliv3r> ok
<oliv3r> found it with reflog
notmart has quit [Quit: notmart terminated!]
<oliv3r> but identical commit hash?
<oliv3r> 19fb844 HEAD@{1}: checkout: moving from experimental/sunxi-3.10 to experimental/sunxi-3.10
<oliv3r> 19fb844 HEAD@{2}: commit: merge me
<oliv3r> what does that mean?
<drachensun> wingrime: I had downloaded it but not unpacked it yet, doing so now
<Turl> oliv3r: git show 19fb844 ?
<oliv3r> that's the one
<oliv3r> but 2 entries with the same hash ... puzzelign
<oliv3r> anyway, found what i needed :p
woprr has joined #linux-sunxi
<n01> oliv3r: tig saves your ass sometimes
<oliv3r> tig? turl!
<arokux2> mainline isn't stable. maybe EMAC.. just hangs after some time
<oliv3r> n01: ohhh i like the sound of that
<oliv3r> arokux2: emac is bugged in hardware
<oliv3r> arokux2: the driver is very basic and possibly bugged
<oliv3r> even in 3.4 its bugged
<oliv3r> so I doubt emac can ever be stable
<oliv3r> hence i'm hopeing for gmac on a20
<arokux2> i'm testing usb2ethernet now....
<oliv3r> got 2 of those; 1 axis based, the other i don't remember
<drachensun> Something else funny to me, the display driver seems to create 8 framebuffers, or I guess now SUNXI_MAX, but only calls the next init routines on the first 2
<arokux2> Turl, do you have a wifi dongle?
<wingrime> drachensun: err
<wingrime> drachensun: only ft5x2 ...
<oliv3r> Turl: you did some branch merging etc? the end of your ocmmits look a little messy?
<drachensun> then registers all 8
<wingrime> drachensun: but may be helpfull
<oliv3r> Turl: in other words, can I just go down the list of commit hashes and start picking them?
<wingrime> Tsvetan: are you finished a10s sdk down?
<drachensun> wingrime: I got some source from the supplier and arokux2 just pointed me to different source
<arokux2> drachensun, is it different from suppliers?
<drachensun> wingrime: I had tried to use it before with the first source and it wouldn't work under Linux, not sure about the latest find
<drachensun> arokux2: yup, looks pretty different
mcbrick has quit [Quit: Leaving]
<arokux2> drachensun, its developed by the vendor of the touchscreen though
<drachensun> I've got some smaller volume guys who want the A20 but that is the impediment to offering it
<drachensun> arokux2: I could be wrong, let me check again
<wingrime> drachensun: you business is not such size that can change something in a world , even Cannonical can't
<drachensun> lol
<drachensun> yes, that would seem so
<wingrime> massss
<wingrime> volumeeee
<arokux2> I'm getting
<arokux2> dhcp_open: eth1: Address family not supported by protocol
<arokux2> ideas?
<drachensun> if I got the press about my crowd funder that Canonical got for there, I could offer something though :-) We are just getting no press reaction this time.
<wingrime> drachensun: but industrial applications maybe workable
<wingrime> drachensun: It's maybe possible found some sponsor in that area
<wingrime> drachensun: black-berry at least alive "somehome"
<wingrime> *somehow
<drachensun> heh yup
<drachensun> I dont know we will see
<wingrime> drachensun: all ways belong to own R&D, design, but not garantee direct success Example MS surface
<wingrime> no one need tablet that can't run window apps without MS cert
<drachensun> well I can probably sell 100 or so right away if I can get this touch screen driver working but I really dont want to take time from trying to promote the crowd funder
<drachensun> interested it fixing it at taking a share?
<drachensun> arokux2: you are right its the same driver, I just have version 3 and that is version 1 it seems
<oliv3r> drachensun: haven't payed attention, but what's the A31 crowdfunding status?
<drachensun> not good
<drachensun> 21 days left, only 26k of 350k
<oliv3r> i'm sorry to hear dude
<oliv3r> oh stillt hat long
<drachensun> yeah
<wingrime> drachensun: realy I here only for non-profit fun
<drachensun> we will still be fine if the press kicks
<drachensun> in
<drachensun> but I'm somewhat out of gimmicks to get their attention at the moment
<wingrime> drachensun: but If you send ".ko" I can take a look with IDA and comparea with sources we have
<drachensun> wingrime: Ok, I understand
<n01> Turl: does it make sense memset-ting a dma_handle??
<drachensun> wingrime: I appreciate the offer, if I decide to go after it next week I'll send that on
<Turl> arokux2: nope
<Turl> oliv3r: hm? it's a linear history
<Turl> n01: memsetting with what?
<oliv3r> Turl: git: 'sl' is not a git command. See 'git --help'.
<oliv3r> Turl: your script fails!
<wingrime> drachensun: this is realy not your work as founder, do such things, you main work- find money by anyway
<Turl> oliv3r: meh :P
<n01> Turl: dma_addr_t dma_handle from dma_alloc_coherent()
<Turl> oliv3r: sl == log --oneline
<Turl> oliv3r: you gotta get my alias :D
<oliv3r> ahh ok
<Turl> n01: no idea
<n01> ok :(
<Turl> n01: why do you want to memset it?
<oliv3r> Turl: thnx works
<wingrime> drachensun: so, if you sand original driver ".ko" I can find time to look at it, and find whats differs
<arokux2> Turl, CONFIG_PACKET=y, (Packet socket) (why the fuck they cannot say this in error message?!)
<oliv3r> so now i'm debating, merge patch by patch, or git bisect your branch
<Turl> arokux2: ?
<arokux2> Turl, ah, you replied to usb2wifi?!
<n01> to zero it. the problem is that it is supposed to be a bus address not a virtual kernel address
<oliv3r> 119 patches
<n01> and I have a driver that memset it
<n01> (not written by me)
<wingrime> drachensun: but , also, you "feedback" is required (so, you have to test findings/fixes in sources we have to find on real hw)
<arokux2> ok, ppl. another usb device works. usb2ethernet
<arokux2> Turl, oliv3r mripard ^
<arokux2> steev, hey, could you test wifi dongle?
<wingrime> drachensun: thats realy,realy sad that you using your time to fix hw instead finding good sponsor
eebrah_ has quit [Ping timeout: 260 seconds]
<wingrime> find some angel, or something alike , but I have no exp in such things, I can say only general stuff I think
<arokux2> wingrime, do you have wifi dongle?
<wingrime> arokux2: no, but my tablet's have internal usb's
<wingrime> wifi
<arokux2> wingrime, internal won't work probably....
<arokux2> wingrime, although you could try. do you have serial?
<wingrime> arokux2: I have solder it to testpoints
<arokux2> wingrime, what sunxi is it?
<wingrime> arokux2: a13 and a10
<wingrime> arokux2: in a13 case I know where uart test points
<wingrime> arokux2: in a10 no
<arokux2> wingrime, can you test wifi in mainline? :)
<wingrime> arokux2: you know why I have problems with it, I need solder to testpoints, new sdcard, etc
<Turl> arokux2: I don't have a USB wifi, dunno what _PACKET is?
<Turl> oliv3r: add cubieboard into the grep, there's some patches that don't have sun*i on them :(
<wingrime> arokux2: but if you have patch for sunxi branch
<arokux2> Turl, I've thought you've replied to a different message of mine.
<wingrime> arokux2: I can do it easy
<arokux2> wingrime, no patch for sunxi branch, what do you mean?
<wingrime> arokux2: non mainline
<wingrime> drachensun: wtf, "Out of stock?"
<wingrime> arokux2: no no, I mean our 3.4 with disp drivere etc
<arokux2> wingrime, it'd be best you try it with A10 but you have no serial, right?
<oliv3r> Turl: rgr
<wingrime> arokux2: I have no EASY attach serial with a10
<arokux2> wingrime, I want you to test mainline, can you?
<arokux2> wingrime, ok :p A13 is also ok, but this one is not much tested. can you try mainline with it?
<oliv3r> Turl: i'll add 'cubie' should cover cubietech, cubieboard
<wingrime> arokux2: later
<arokux2> wingrime, you start to hack on mainline soon anyway :p
<arokux2> wingrime, later today?
<oliv3r> mnemoc: oh wow, half-breed chile girl on voice of holland :)
<arokux2> mnemoc, where is my access? :p
<wingrime> arokux2: I only hacked hdmi out with uboot
<wingrime> arokux2: but still without success
<techn_> mnemoc: what you think.. should we proceed with pwm ?
<arokux2> wingrime, USB is more crucial :p
<techn_> anyway.. I'll try to send disp part this weekend
<wingrime> techn_: ?
<oliv3r> Turl: 1 extra patch :)
<wingrime> techn_: thats strange, I copied almost regs from working hdmi but no success with uboot
<techn_> wingrime: did you wait hpd until handshake?
<Turl> oliv3r: yeap, cubieboard emac one
<wingrime> techn_: but test-bars works, when I changed required bit on working disp
<techn_> wingrime: so hdmi worked then?
<Turl> oliv3r: I'd say kill those reboot patches I cherrypicked as base
<techn_> wingrime: and you cant get tcon0 working?
<Turl> and fix build with http://sprunge.us/SFiO
<techn_> or was it tcon1
<arokux2> please meet new wiki page
<wingrime> techn_: no edid, handshake thats must work without , no any things of life on screen
<arokux2> and show it your love
<wingrime> techn_: tcon0 is LCD
<arokux2> Turl, what was the usb device that has broken things?
<Turl> arokux2: USB soundcard
<techn_> wingrime: but you just said that color bars are working?
<oliv3r> Turl: ARM: sun5i: Update the clock compatible strings
<oliv3r> that's the first one i cp
<techn_> wingrime: and you set those color bars to come from hdmi regs?
<wingrime> techn_: when I changed bit with working disp
<wingrime> techn_: in linux
<techn_> ah
<wingrime> techn_: but this important, as we can test hdmi without anything
<wingrime> techn_: without de_fe and de_be
<oliv3r> wingrime: that's why it's so important test
<wingrime> oliv3r: yeax, you not need any frontend and backend code for it
<oliv3r> yep yep
<drachensun> wingrime: ? Yeah we can't get that A10 devices anymore thats why I'm looking at an A20 as a stop gap
<wingrime> drachensun: only one model now?
<drachensun> i've nothing now
<drachensun> unless the crowd funder succeeds
<wingrime> drachensun: how many was selled?
<wingrime> drachensun: thats cool, you at least selled all
<drachensun> wingrime: yeah, we could buy those 100 at a time so we didn't have such a risk
<wingrime> drachensun: how about a13 tablets?
<wingrime> drachensun: also you have no pre-pay mechanism in you store?
<drachensun> pre pay how? its pretty much all pre pay through a credit card or paypal
<Turl> drachensun: why is it a 350k$ crowdfunder btw? do you need to buy like 5k tablets?
<drachensun> turl: 2k and indiegogo fees and and shipping and shipping out and all that
<Turl> drachensun: your previous igg campaign was much smaller though, how many did you buy that time?
<wingrime> drachensun: crowd funds are some kind of pre pay, you can rid of indiegogo fees with prepay
<drachensun> turl: Around 700 but the devices cost a lot less in that case and the actual minimum on those was only 100 units
Black_Horseman has joined #linux-sunxi
<oliv3r> and to top it off, some of us still shun the a31 :)
<drachensun> wingrime: I see what you mean, the problem with trying to do a prepay directly is (1) do people trust me to return it (2) its actually pretty difficult given the rules on paypal and merchant accounts. Paypal tried to suspend my account last crowd funder over that EVEN THOUGH we went through indiegogo
<drachensun> we waste a week getting the funds released
<wingrime> drachensun: face-palm
\\Mr_C\\ has quit []
<wingrime> drachensun: can't calculate you profit loss without anything at store and such
<wingrime> drachensun: but even without pre pay you can ask people claim (no money!) order and send e-mail when it will aval
<drachensun> well right now with nothing in the store there is no profit :-)
<drachensun> yeah
<drachensun> last time we had about a 30% follow through rate on that
<drachensun> the problem is capital though
<drachensun> I just wouldn't have the cash to buy 2k tablets without the crowd funding
<wingrime> drachensun: just add some pre-claim on store, and ask user for email
<Turl> drachensun: SMB loan?
<wingrime> drachensun: when it will be successed you send massive emails to them
n01 has quit [Read error: Connection reset by peer]
n01 has joined #linux-sunxi
<drachensun> wingrime: yeah, we did that for the 2 months between crowd funding and delivery last time, 1/3 came back and paid
<drachensun> turl: The lady at the bank didn't laugh at me
<drachensun> turl: but it was close
<wingrime> drachensun: otherwice if they claim has a failed you send anouther e-mail with other buy suggeest
<wingrime> drachensun: also, spam users some time when you have new things at store
<Turl> time to find another bank :p
<drachensun> turl: A loan like that might be possible for the second batch was the up side of that though, they thought that 'might' be possible
<drachensun> man, somebody just sent me one of those 'why not just buy this' aliexpress links
<drachensun> it actually looks like a pretty good device
<wingrime> drachensun: sell suport not device in prior
<drachensun> I thought about that, we might be able to do that if we get this one going
<drachensun> we will have a full time guy for support and order packing then
<wingrime> drachensun: also, just to store "will be there soon" sections and get user's emails, and also, send some week-reports to them
<wingrime> *just add to
<oliv3r> Turl: how can 2 patches in order, result in a conflict? and did you manually solve it
<oliv3r> Turl: error: could not apply 442f150... ARM: sunxi: Remove the .map_io function declaration
<Turl> yeah I did
<Turl> just nuke both :)
<wingrime> drachensun: geeks are mostly entusiasits, they pay not for device they pay for future, so don't loose theirs attention, news, blog, mail reports, support, updates,....
<oliv3r> LOL
<drachensun> wingrime: Yeah, I've just become a little fatalistic, we might add some of that though
<arokux2> ok, another USB device is verified to work. this time USB keyboard.
<arokux2> oliv3r, Turl mripard ^
<oliv3r> ok i'll test it soon
<oliv3r> actually i'll compile now
<Turl> oliv3r: ah, found what was missing
<Turl> oliv3r: we need bc37324e820e4a23a0bccef79ae797ce4d93 as prereq
<Turl> "boots" with that
<oliv3r> Turl: oh that's fast
<oliv3r> doesn't mention sunxi at all
<oliv3r> arm though of coruse
<oliv3r> i'm gonna copy/paste that list of patches
<oliv3r> that bc37 does that go 'first'?
<oliv3r> or does it have dependancies
<arokux2> Turl, you sure your sound card works with mainline?
<arokux2> Turl, on desktop I mean
<n01> WASD Keyboards Order 133970 has been shipped HUUU
<Turl> arokux2: yeah it does, I use it on 3.4 in fact
<Turl> and my PC detects it just fine too
<arokux2> Turl, but what is the version of your kernel on desktop?
<Turl> oliv3r: cherrypick that first, also pick the sched_clock one
<Turl> then you can pick what the script says
<arokux2> can anybody please test my tree with wifi dongle?
<Turl> ignore the reboot ones
<Turl> arokux2: 3.11
<oliv3r> 'the shed_clock one'
<arokux2> Turl, mainline is one step further.... also there were some problems
<wingrime> drachensun: thats worse than fatalistic, but just understand , you have do only one thing as start-up leader -- get money,attention==future-money, future customers, investors, there is many people that have mony for some invest , geeks are sometimes are works at big companyes, investment ins't like simple buy, don't simply kick customers form store, get theirs claim, promise and be honest, if you can't do their's claim just suggest some other varian
<Turl> err oliv3r ^
<Turl> sorry
<arokux2> Turl, I'm not saying you are affected.. but who knows.....
<oliv3r> Turl: so what do you recon is better, merge your tree 'as is' or cherry-pick those patches and fix/add missing bits as we find them
<mripard> Turl: yes ?
<drachensun> wingrime: We are just trying to direct anyone interested now to the crowd funder. Its basically the same thing as taking a pre-order
<Turl> arokux2: I built as =y, so not passing anything on index
<drachensun> wingrime: In the USA they have just legalized crowd funding for actual investments like stock, I'm kind of curious to see what that brings
<Turl> oliv3r: I'll do yet another repick later today on top of the branch mnemoc prepared, we can push that then
<Turl> oliv3r: better if we fix pinctrl first tho :)
<arokux2> mripard, do you have a usb wifi dongle and want to test mainline usb? :)
<mripard> I have crappy ones, so I'm not sure it'll prove useful :)
<Turl> mripard: off the top of your head, any ideas why may pinctrl explode in sunxi_pconf_group_set+0x54/0x200?
<wingrime> drachensun: excuse - is some behavior when you agree with curent state-of-things
<oliv3r> Turl: well I've started doing the cherry-pick on the experimental tree in order
<Turl> mripard: we're backporting all the stuff to 3.10
<mripard> Turl: of course :)
<oliv3r> Turl: what pinctrl fixing?
<mripard> I have no idea :)
<Turl> oliv3r: it explodes awesomely :D
<wingrime> drachensun: you free find a new ways always, be independed thinker
<mripard> but it seems you're already seeing the backporting nightmare I was talking about :)
<Turl> mripard: 90% backports cleanly :)
<arokux2> mripard, it would be very kind of you if you could test a usb wifi.. :)
<Turl> 10% takes 90% of the time to figure out though :p
<mripard> yeah, and as usual, those take 10% of the time :)
<mripard> arokux2: I'll be back home next week, I'll try to find itt
<arokux2> mripard, I've proven 3 different devices work already: keyboard, usb2ethernet, usb storage
<wingrime> drachensun: I simply poke some things that can be easy changed -- small detals decide everything
<arokux2> mripard, ah.. I meant now :p
<arokux2> wingrime, you are electronics guy, righ?
<mripard> arokux2: I'm 4000 kms away from my wifi dongle :)
<arokux2> mripard, oh.. I'm closer to it than you then! :)
<mripard> indeed :)
<mripard> I'm in Helsinki right now
<arokux2> somebody tries to skim the passwords of our university users and I cannot inform anybody.
<arokux2> should I try police?
<wingrime> arokux2: some kind of
<arokux2> wingrime, what do you think can I measure with a multimeter around my wifi module to check if it is operated correctly? i.e. the same way as under some different kernel?
<arokux2> wingrime, maybe it's a crazy idea..
<oliv3r> Turl: ok i've stopped at the siscors and testing (just before the pinctrl)
<oliv3r> oh wait, i just notice the last 3 CP's failed
<oliv3r> stil good point to test
<wingrime> arokux2: better use some EM-meter
<arokux2> wingrime, I have only multimeter
<wingrime> drachensun: http://oi42.tinypic.com/29bk4ts.jpg why SO lowres...
<wingrime> arokux2: current will be differnet when transmit
<arokux2> wingrime, ok, so no chance, with multimeter..
<n01> wingrime: sexgames? hummmm
<mripard> Turl: there's been quite a few chances in that area since 3.13
<wingrime> n01: on of his writing
<oliv3r> Turl: how do you knotice pinctrl blows up?
<Turl> oliv3r: huge backtrace and kpanic :)
<n01> wingrime: wow I wish I had more interests than pc to read something different
<oliv3r> Turl: from doing what
<oliv3r> Turl: how can I reproduce it
<Turl> oliv3r: 1) boot
<Turl> 2) watch it explode
<Turl> 3) make a sad face
<oliv3r> ok
<oliv3r> then i haven't bumped into it yet
<Turl> :)
<arokux2> I'm speechless
<arokux2> I've just called police and they say they cannot do anything about it
<arokux2> here is webpage that steals passwords right now!
<Turl> what is it arokux2 ?
<wingrime> arokux2: can't in de lang
<arokux2> google translate
<wingrime> arokux2: just force pasword change
<wingrime> arokux2: and two way autorize
<arokux2> what?!
<wingrime> arokux2: find someone who admin university net
<wingrime> arokux2: and ask him
<arokux2> wingrime, they are at home... the attackers probably selected such a time when everybody is at home
<arokux2> its 23:10, Friday here
<wingrime> 3:10 there
<wingrime> am
<drachensun> wingrime: thanks for the heads up, they blew up our little logo
<wingrime> drachensun: detals decide everything
<Turl> arokux2: so it's a typical scam, what's the big deal?
<wingrime> arokux2: ask admin, he can do remote control from home when want
<arokux2> Turl, passwords will get stolen.. it's not a big deal?
<Turl> arokux2: if you're stupid enough to put your password without checking what site it is...
<wingrime> arokux2: just ask admin force pasword change and add some 3-rd way to check who is who
<arokux2> wingrime, which admin??? nobody is there.
<Turl> arokux2: just report it on webs.com meh
<Turl> arokux2: I get those kind of stuff on a daily basis
<arokux2> Oops, we have encountered a temporary glitch.
<arokux2> Sorry for the trouble, this should be resolved momentarily
<arokux2> abuse site won't work :D
<wingrime> arokux2: find admin mail and poke him
<wingrime> arokux2: some one maintrain this net
ykchavan has joined #linux-sunxi
<arokux2> I'm just astonished how police reacts!
<Turl> arokux2: what did you expect them to do? DDOS webs.com? :p
<arokux2> Turl, act.. somehow.. she just said.. i'm sorry, you may come on monday
<n01> Turl: happy GNU year
<oliv3r> Happy GNU-day
<Turl> if anyone is in the boston area, they're celebrating this weekend
<oliv3r> heh
<oliv3r> yeah, i'll just hop over
<oliv3r> ok testing the pre-pinmctrl patch now
<n01> I wish I were in USA :(
<wingrime> arokux2: in russia police will not ever care this stuff
<wingrime> arokux2: here is useless totaly
<n01> they are busy busting gay people right?
<arokux2> well in germany too, you can see.
<wingrime> n01: relay no one from wertern press not read that law
<arokux2> i'm just speechless.
<arokux2> i have never expected this kind of reply
<wingrime> n01: that law only saying you can be punished if you will promote gay-live-style to < 18 years children
<wingrime> n01: demography not in a good shape now ..
<n01> wingrime: so one can go around moscow hand-by-hand with his bf without fearing?
<wingrime> n01: no one care
<arokux2> wingrime, sure? ;)
<n01> from here the situation seems a bit different
<n01> but, as you say, I'm not there
<wingrime> n01: here people will not even care if someone will will hit someone in a street
leowt has joined #linux-sunxi
<oliv3r> :(
<wingrime> n01: no one want talk with police wihout any reason
<n01> yeah, that's sad
<wingrime> n01: thats becose if you call to the police, you have a chance to get involved in court for witness
<wingrime> *as
<wingrime> so no one want get headache without reason
<oliv3r> :S
<ykchavan> wingrime, same in India. Police counter questions if you try to help
<wingrime> ykchavan: indeed
<Turl> here people seem to love police, always asking for more
<wingrime> n01: so there is realy no one care about gays unless you go to some school and begin promote that gay better than natural
<oliv3r> first set of pinctrl patches work
<arokux2> oliv3r, +!
<arokux2> +1*
<n01> wingrime: actually the western press depicts a more dramatic situation. maybe because of putin
<wingrime> n01: that new law only populism,
<wingrime> n01: thay only for show that they exsist and _care_
<wingrime> n01: than decide real problems in _social_
leowt_ has joined #linux-sunxi
leviathanch_ has joined #linux-sunxi
<wingrime> n01: translated first sentence form new law: Promotion of non-traditional sexual relations among juveniles
leviathanch has quit [Ping timeout: 260 seconds]
<wingrime> n01: if you wan't can can do full translate, to be sure
<oliv3r> building second set of pinctrl patches
<wingrime> err
<wingrime> I can do full translate If you want full info
<oliv3r> bed after this build though
diego71_ has joined #linux-sunxi
<n01> gh ... "non-traditional sexual relations"
leowt has quit [Ping timeout: 245 seconds]
leowt_ is now known as leowt
<n01> this doesn't really make sense
<n01> ie in the roman empire omosexual relations were really common
wens_ has joined #linux-sunxi
<n01> and sexuality is not something you can "promote"
<oliv3r> Turl: still works; tomorrow i'll do the rest
<Turl> oliv3r: ok
<oliv3r> unless you think i'm doing something pointless now :p
<oliv3r> should I push it so far?
diego71 has quit [Ping timeout: 246 seconds]
woprr has quit [Ping timeout: 246 seconds]
wens has quit [Ping timeout: 246 seconds]
<wingrime> n01: so, its all about if you promote something "be gay, thats cool" or "be lesbi thats cool" among > 18 years old
<oliv3r> everybody should just do whateverthefuck makes them happy :)
<oliv3r> all this 'think of the children' bullshit
<Turl> oliv3r: +1
<oliv3r> pushing
<wingrime> oliv3r: populism
<Turl> oliv3r: you seem to be doing fine so far :)
<oliv3r> wingrime: yeah the UK is even worse
<oliv3r> 'no more porno for you mr.'
<oliv3r> because
<oliv3r> THINK OF THE CHILDREN!
<oliv3r> anyway nn :)
<wingrime> oliv3r: they don't understand that they force people use overlay nets like i2p or tor
<n01> I don't understand why one would care if I like penis or vaginas
<wingrime> oliv3r: with this will be difficult control
<wingrime> n01: there much crazy things going there
<wingrime> n01: but world the same
alabaster has quit [Quit: leaving]
<n01> I agree. we also here have our problems .... "berlusconi" ... gosh
<techn_> in england prince got caught of porn?
woprr has joined #linux-sunxi
<arokux2> ok, back to kernel guys
<arokux2> :)
<arokux2> I wish we could meet some time, though
<techn_> in russia some oligarchs child go exposed of gay stuff?
<arokux2> in real
<wingrime> n01: politics not change world, there is no thing there get better, only scientist and engeners make world better
<mripard> but the kernel is used everywhere in the internet, and internet is for PORN!
<mripard> so it appears to be very relevant :)
<wingrime> techn_: ))
<arokux2> wingrime: oh.. you are so wrong. politics and only change the world.
wigyori has quit [Ping timeout: 245 seconds]
<wingrime> arokux2: they ... making it worse only
<n01> so, let mali work so I can see porn in HD
wigyori has joined #linux-sunxi
<arokux2> wingrime: "chage" doesn't mean they make it better :p
<arokux2> n01: +1
<arokux2> wingrime: how is you HDMI support for U-Boot?
<wingrime> arokux2: no
<wingrime> arokux2: still no anything on screen
<arokux2> wingrime: why so?
<arokux2> wingrime: how many lines of code should you add approximately?
<wingrime> arokux2: no idea
<arokux2> wingrime: how many have you added already?!
<wingrime> arokux2: wait a second
<techn_> wingrime: are you still doing disp cleanup?
<techn_> and what you are going to do next?
<techn_> on disp regard
<arokux2> ok, hackers what do you use to bounce irc?
<wingrime> techn_: not currently
<n01> mripard: does it make sense memset-ting a dma_handle from dma_alloc_coherent()?
<n01> arokux2: tmux
<arokux2> n01: what are you working on?
<n01> arokux2: this is for $work
<arokux2> n01: tmux is not bouncer?
<n01> nop, it is screen-like
leowt has quit [Quit: leowt]
<arokux2> n01: I've asked for bouncer
<n01> I use it like a bouncer :D
<wingrime> arokux2: ssh on some server
<n01> see? ^^^
<n01> I'm not the only one
<arokux2> n01: the question is what is running *on* the server.
<wingrime> arokux2: screen or tmux can be and detached state
<n01> once you have access on the server why do you want to use a bouncer and not something like screen/tmux + irssi?
<arokux2> n01: ok.. irssi...
<n01> does exist any other irc client? lol
<arokux2> xchat
<techn_> wingrime: for hdmi I was thinking of register define re-check.. register enumerations were made without document
<mripard> n01: I have to go, so I don't really have much time to look at this, but isn't dma_handle suppose to be set by dma_alloc_coherent?
<n01> yes, but in a driver the guy does a memset on dma_handle
<n01> is it correct? dma_handle is a bus address
<wingrime> techn_: thats ported code from disp, I have no idea what also requred
<techn_> wingrime: some tightening.. and then combine to disp itself.. removable parts separated (edid parsing)
<wingrime> techn_: I thinking about try bring kms on top of it
<n01> how from kernel space I can operate on bus addresses?
<techn_> wingrime: then same for lcd module
<wingrime> techn_: yes, hdmi module totaly independed
<Turl> n01: phys?
<wingrime> techn_: why you not pushed this?
<Turl> arokux2: znc
<techn_> wingrime: no use yet.. but start
leowt has joined #linux-sunxi
<wingrime> not wan't do same work agian
<n01> Turl: yeah, dma_handle is supposed to be bus/phy addr
<techn_> wingrime: you can take those patches ase start
<Turl> n01: does it remap it or sth?
<n01> Turl: nope
<Turl> and it doesn't explode?
<n01> pdest = (unsigned char *)priv->dma_handle;
<n01> memset(pdest, 0, size);
<techn_> but I was thinking to make current disp more tighter before.. 7 moths ago there was no disp documents :(
<Turl> what's size?
<wingrime> techn_: what about move disp from hand made typs to general
<wingrime> *types
<wingrime> __s32 etc
<n01> Turl: fb size
<n01> with dma_alloc_coherent(&pdev->dev, info->fix.smem_len, &priv->dma_handle, GFP_KERNEL);
<wingrime> and remove capital function names to lower
<Turl> n01: working on disp? heh
<n01> Turl: :) yeah
<Turl> n01: and it uses the dma_handle instead of the return val of dma_alloc_coherent?
<n01> yes, it sounds weird to me
<Turl> according to that, it returns the cpu addr and the other one is the device addr
<Turl> but then FB is normal ram, maybe they're the same?
<Turl> n01: tried printk("%p %p\n", priv->dma_handle, ...) ? :)
<n01> uhmmm
<n01> Turl: I don't have the hardware yet
<n01> but this is a good point ... since it is ram could be the same
<n01> I need to check but you helped a lot :) tnx
<techn_> wingrime: yeah.. those commits needs to be done.. and then whole package tightened (with drm/kms driver in mind)
<arokux2> Turl: i'm not sure how znc works. will i be able to read only last 50 messages?
<arokux2> Turl: i'd like my client to load all the messages it hasn't received yet
<Turl> n01: :) yw
<Turl> arokux2: you can make the buffer as big as you want, and configure it to clean the buffer when you interact
<arokux2> Turl: like 10k lines or what?
<n01> time to sleep
<n01> 'night
<Turl> arokux2: well, I have it set up for ~200 lines on most channels
<Turl> it's usually more than enough
<Turl> and if I need to go read it all and waste the afternoon I can read the logs it keeps
<Turl> or reattach to my always on irssi
<arokux2> Turl: ah, it keeps logs?
<Turl> arokux2: you can configure it to keep them if you wish
n01 has quit [Read error: Operation timed out]
<Turl> arokux2: it has plugins, can do a lot of stuff
<arokux2> Turl: hm.. if one attaches to always on irssi, why one needs znc?
<Turl> arokux2: because I run irssi on my pc too
<Turl> irssi over ssh lags a bit at times
<arokux2> man.. why is this irc so complicated
<Turl> have a look at all the awesome goodies
granite_crusher has joined #linux-sunxi
<granite_crusher> arokux2: hi, I tested board with that line commented out, and usb storage works
<arokux2> granite_crusher: oh, nice to see you.
<arokux2> granite_crusher: so with the line commented out usb storage works?!
<granite_crusher> arokux2: why it shouldn't? volatege is always enabled on to usb devices (differentlly than otg) in this olimex board by default
<granite_crusher> *voltage
<arokux2> granite_crusher: i'm just reasking.
<arokux2> granite_crusher: I've tested usb2ethernet and usb keyboard today, both worked.
<arokux2> granite_crusher: so you can have ethernet connection now! :)
<arokux2> granite_crusher: I assume it should work for you too.
<arokux2> granite_crusher: do you happen to have a usb wifi dongle?
<granite_crusher> I also found some nasty behaviour of uboot if there is USB1.1 soundcard atached while usb start...
<granite_crusher> arokux2: no wifi dongle
<arokux2> granite_crusher: oh, Turl had also problems with usb soundcard.
<arokux2> granite_crusher: what was your problem?
<granite_crusher> arokux2: while I get dmesg as I plug it in, but I can't see any card in /proc/asound/cards...
<arokux2> granite_crusher: their might be some kernel config missing.....
<arokux2> granite_crusher: I've started this page on the wiki
<granite_crusher> arokux2: I thought maybe it needs to be set at boot, so I reboot and then in U-boot i made "usb start" (with sound card pluged in) and u-boot kept vomiting some repetite messages
<granite_crusher> *repetitive
<arokux2> granite_crusher: ah.. you should have saved them somehow...
<granite_crusher> arokux2: I did
<arokux2> granite_crusher: cool! show them to me.
<granite_crusher> this time I set log on putty (I know everybody will start to advice I should use screen :) )
<arokux2> granite_crusher: no.. I use gtkterm, for example
<granite_crusher> arokux2: log is very big, I should cut just essential part, and will add comments (with hashes what I did)
alcides has joined #linux-sunxi
<arokux2> granite_crusher: ok, but feel free just to dump it on me
wingrime has quit [Read error: Operation timed out]
alcides has quit [Remote host closed the connection]
focus_it has quit [Quit: Leaving]
<granite_crusher> arokux2: http://sprunge.us/cNAP
<arokux2> granite_crusher: sorry, you are probably tired already of this testing
<granite_crusher> arokux2: I added some comments, its messy, that puTty logging was configured crappy
<arokux2> granite_crusher: yep, I see, thanks a lot
leowt has quit [Quit: leowt]
akaizen has quit [Read error: Connection reset by peer]
<granite_crusher> arokux2: there are few things which I think is worth to discuss in short
akaizen has joined #linux-sunxi
<arokux2> granite_crusher: ok, go ahead
<granite_crusher> arokux2: first - I tested with voltmeter that USB_EN pin (it fortunatelly is exposed on board as GPIO) and it is 0 with comented out line and 1 normally
<granite_crusher> arokux2: however in u-boot it is 0
<granite_crusher> arokux2: so if board would have not this hack of usb always enabled, probablly it would be unable to boot from usb?
<granite_crusher> by 0 and 1 I mean 0V and
<granite_crusher> 3.3v
<arokux2> granite_crusher: hm.. you are right, since I've totally forgotten to adjust u-boot for A13, it has different gpios!
<granite_crusher> well A13-olinuxino in default configuration will have no problem with that
<arokux2> granite_crusher: .. but we shouldn't rely on this.
<granite_crusher> arokux2: but if there is other devices based on A13..
<arokux2> granite_crusher: so I'll adapt u-boot.
<arokux2> granite_crusher: what else? :)
<granite_crusher> arokux2: second thing it is possible to mount just two usb sticks at same moment
<granite_crusher> there is no mounting part in logo
<granite_crusher> but used blkid which behaves same
<arokux2> granite_crusher: you mean it is *not* possible?
<granite_crusher> arokux2: it doesnt mount, it gives error of invalid file or device