IRC log for #arm-netbook on 20120828

00:52.28*** join/#arm-netbook rsalveti (~rsalveti@linaro/rsalveti)
00:57.41*** join/#arm-netbook orly_owl (~david@unaffiliated/orly-owl/x-3167833)
01:32.39*** join/#arm-netbook lundman (~Accident@194.109.206.190)
02:28.47*** join/#arm-netbook mikey_w (~mike@c-71-63-115-202.hsd1.va.comcast.net)
02:29.01*** join/#arm-netbook n6pfk (~mike@c-71-63-115-202.hsd1.va.comcast.net)
03:21.51*** join/#arm-netbook Lupu_ (566b65f5@gateway/web/freenode/ip.86.107.101.245)
04:36.49rmhttp://www.cnx-software.com/2012/08/28/yes-mk802-for-less-than-50-oh-wait-its-based-on-telechips-tcc8920/
04:36.51rmlolwtf
04:36.58rmnow we have to also watch out for fakes???
04:38.57orly_owlof course you do
04:42.49*** join/#arm-netbook avernos (~avernos@222.128.133.136)
04:42.50*** join/#arm-netbook avernos (~avernos@unaffiliated/avernos)
04:44.48*** join/#arm-netbook ibrah (~chatzilla@212.49.88.96)
04:45.31ccssnetrm: yea, this is also common with tablets on ebay
04:45.36ccssneti got f'd over once
04:58.06orly_owlwhat happened?
05:03.14Turlrm: fakes of chinese stuff? pff :P
05:04.39lundmanso we need to setup a Swiss company that do fakes of chinese stuff. full circle!
05:04.57orly_owl\o/
05:06.18*** join/#arm-netbook avernos (~avernos@222.128.133.136)
05:06.18*** join/#arm-netbook avernos (~avernos@unaffiliated/avernos)
06:43.51*** join/#arm-netbook rellla (~chatzilla@p5B07870E.dip0.t-ipconnect.de)
07:01.16*** join/#arm-netbook Quarx (~Quarx@94.137.35.50)
07:02.47*** join/#arm-netbook popolon (~popolon@2a01:e35:2e1e:a6c0:44de:909f:4506:cde4)
08:18.36*** join/#arm-netbook eflatun (~eflatun@46.1.187.157)
08:20.17*** join/#arm-netbook ibrah (~chatzilla@212.49.88.108)
08:25.55*** join/#arm-netbook just4dos (~just4dos@77-46-251-176.dynamic.isp.telekom.rs)
08:27.57*** join/#arm-netbook tzafrir_laptop (~tzafrir@local.xorcom.com)
09:10.07*** join/#arm-netbook eflatun__ (~eflatun@46.1.187.157)
09:25.24*** join/#arm-netbook rsalveti (~rsalveti@186.214.95.232)
09:25.24*** join/#arm-netbook rsalveti (~rsalveti@linaro/rsalveti)
09:25.53*** join/#arm-netbook Hexxeh (u1532@gateway/web/irccloud.com/x-osegaewafaghbdew)
09:33.10*** join/#arm-netbook Vayu_ (~yundin@fw2.nbi.dk)
09:46.50*** join/#arm-netbook ceo16 (~manuel@176.247.180.172)
09:54.32*** join/#arm-netbook CaCtus491 (~Kent@123-243-197-152.static.tpgi.com.au)
10:25.58*** join/#arm-netbook hste (~hakon@109.163.10.68)
10:46.53*** join/#arm-netbook calris (~graeme@d175-39-34-25.sbr801.nsw.optusnet.com.au)
10:47.19calrismorning
10:48.53mnemocwb  calris
10:49.05*** join/#arm-netbook ibrah (~chatzilla@212.49.88.104)
10:50.31*** join/#arm-netbook lerc (~quassel@121-74-245-101.telstraclear.net)
10:51.16*** join/#arm-netbook lerc (~quassel@121-74-245-101.telstraclear.net)
11:28.31*** join/#arm-netbook Almamuetya (~almamuety@186.134.26.40)
12:09.03*** part/#arm-netbook calris (~graeme@d175-39-34-25.sbr801.nsw.optusnet.com.au)
12:56.00*** join/#arm-netbook tzafrir_laptop (~tzafrir@local.xorcom.com)
13:14.53*** join/#arm-netbook Almamuetya (~almamuety@186.134.26.40)
13:37.06*** join/#arm-netbook ibrah (~chatzilla@212.49.88.110)
13:45.02*** join/#arm-netbook ceo16 (~asus@host90-64-dynamic.15-87-r.retail.telecomitalia.it)
13:51.57*** join/#arm-netbook bsdfox (~Bob@c-71-197-83-152.hsd1.ca.comcast.net)
13:51.58*** join/#arm-netbook bsdfox (~Bob@unaffiliated/bsdfox)
14:10.27*** join/#arm-netbook tzafrir_laptop (~tzafrir@local.xorcom.com)
14:22.37*** join/#arm-netbook QingPei (~qingpei@123.118.100.218)
14:29.11*** part/#arm-netbook QingPei (~qingpei@123.118.100.218)
14:30.49*** join/#arm-netbook chz_ (~chz@111.4.190.176)
14:52.18*** join/#arm-netbook eflatun (~offensive@46.1.117.71)
14:54.35eflatunhi i asked yesterday but no one respond, when i can be able to buy an amd t40e sbc of rhombus-tech?
15:18.58eflatun<PROTECTED>
15:24.19mnemoctechn_: around?
15:24.52techn_just came.. busy for a while
15:27.16mnemoctechn_: about the fbcon stuff, I wanted to know if you reproduced the crash "doozan" reported and if it's fine for you if I just commit an squashed version of your branch now
15:27.22mnemoctechn_: hi ;-)
15:28.39mnemocsquashed to get rid of the tab/space noise
15:30.07mnemoceflatun: i would be impressed if RT produces any sbc this year, but ask luke on the ML
15:33.08mnemocuhm... squashing it still includes tons of whitespace-only changes :<
15:42.10*** join/#arm-netbook avernos (~avernos@unaffiliated/avernos)
15:46.13*** part/#arm-netbook eflatun (~offensive@46.1.117.71)
15:47.04*** join/#arm-netbook gimli (~gimli@xbmc/staff/gimli)
15:47.20techn_mnemoc: I could reproduce that crash yet.. but I havent yet tried with clean pull request. But thanks for info, I'll focus now on those review comments
15:47.27techn_But I gotta go
15:47.29techn_now
15:51.21mnemoctechn_: thanks you ;-) byw
15:51.23mnemocbye*
16:08.55*** join/#arm-netbook hno (~hno@squid/developer/hno)
16:10.30*** join/#arm-netbook Gujs_ (~Gujs@cpe-92-37-24-205.dynamic.amis.net)
16:41.47*** join/#arm-netbook hste (~hakon@ti0012a380-dhcp2371.bb.online.no)
17:35.43hnohi mnemoc
17:36.33mnemochi hno
17:36.58hnodid you see my mail?
17:37.15mnemochno: I tried all different options for the card detect before leaving for vacations, none worked :|
17:37.52hnomine works flawlessly except for the card-detect.
17:39.16hnohave it currently set on always present, even then you can write 0 to the magic insert file to trigger a rescan.
17:39.51mnemochno: can you give me your .bin?
17:42.30mnemoc"magic insert file" means sdc_detmode = 4 ?
17:42.48mnemoci think I didn't test that one...
17:43.21hnodon't remember the numbers off hand. The magic file is always there I think. But only meaningful in settings always present and manual.
17:43.41hnotries to find the right .bin..
17:44.25hnoand gives up. Will fetch it from the board in a while, not connected at the moment (had to clean my desk)
18:07.09*** join/#arm-netbook rz2k (~rzk@95-24-11-49.broadband.corbina.ru)
18:07.36hnoAh, right. Need to connect UART cable as well. u-boot is configured to enable JTAG and stop at prompt.
18:21.06RaYmAnhno: u-boot spl works now or?
18:31.57hnomnemoc, http://fpaste.org/dzU0/
18:32.25hnoRaYmAn, the Allwinner A13 u-boot works..
18:33.30hnohaven't had time to look at u-boot since last week.
18:34.12RaYmAnah
18:35.44hnoI have some doubt about the bus divisors I set in test1. Probably that setting is for when running the low speed set by boot0.
18:36.04hnoRaYmAn, have you had any chance to look at the test1 changes?
18:37.21RaYmAnnot in any significant detail
18:50.16mnemochno: uh, so you kept card detection to gpio buy changed the pin?
18:50.31mnemocs/buy/but/
18:56.37hnoHm... let me check
19:00.16hnoodd, played with a number of different settings.
19:00.50*** join/#arm-netbook lkcl (~lkcl@host86-131-166-126.range86-131.btcentralplus.com)
19:01.02hnomnemoc, this works if I "echo 0 >/proc/driver/sunxi-mmc.0/insert"
19:10.13*** join/#arm-netbook gimli_ (~gimli@xbmc/staff/gimli)
19:12.12hnoPG00 is what is listed in schematics as card detect.
19:15.21*** join/#arm-netbook madmalkav (~Hamlet@188.86.253.69)
19:19.23mnemochno: eh? i saw PB03... and that's also what comes in dimitar's .fex
19:19.44mnemocwill connect the olinuxino now
19:23.12RaYmAnthere are two seperate card detects - the "builtin" on DATA3/CD and the explicit one on PG0...how it works in practice, I don't know, but that's the confusion i guess? :)
19:25.00techn_mnemoc: There's that "sel-loop-improvement"
19:25.25mnemocRaYmAn: according to the amazing documentation to use data3 sdc_detmode has to be set to 2
19:26.21mnemocRaYmAn: so I'll assume dimitar and I failed to read the schematics properly :)
19:27.02Lupu_Hello, has anyone noticed fullscreen video been rendered outside the android viewing area?
19:28.37mnemoctechn_: thanks! beside some tiny "kernel C style" problems it looks MUCH better now :)
19:31.43*** join/#arm-netbook gsilvis (~almostsix@50.12.163.241)
19:32.11mnemocwonders where did he saw PB3 as card detect :-/
19:33.11*** join/#arm-netbook gsilvis (~almostsix@50.12.163.241)
19:34.24mnemocLupu_: I've not seen any android hacker awake here in a couple of days...
19:34.40Lupu_:( thx
19:34.42techn_mnemoc: most likely.. this was my first kernel commit :)
19:34.57techn_or is :)
19:37.18mnemocLupu_: but stay tuned, they may take over the channel any time ;-)
19:37.32mnemoctechn_: I'm sure it won't be the last :)
19:40.50mnemoctechn_: after fbcon the next goal there is to merge sun[345]i disp drivers into a single sunxi driver, most of the code is identical
19:44.04*** join/#arm-netbook rellla (~chatzilla@p4FE56128.dip0.t-ipconnect.de)
19:44.32ccssnethi all
19:48.07*** join/#arm-netbook rzk (~rzk@176.14.103.21)
19:51.21techn_mnemoc: I was thinking next to commit those magic number away, since currently there is some stuff reserved for 32 framebuffers and some for 8.. and there is max 2 ?
19:53.41techn_with magic numbers I mean about those fb_info_t array count's and some loops
19:54.03mnemocmaybe a CONFIG_ ?
19:54.51mnemoc32 sounds kind of.... excesive :p
19:55.25ccssnet32 sounds to minimal for an admin workstation...
19:55.27ccssnetlol
19:55.57ccssnetj/k. that is quite a bit to have
19:56.07techn_It could save even megabytes of memory :p
19:56.12ccssnetim never in more then 4 really..
19:56.50techn_since there is __disp_fb_create_para_t fb_para[FB_MAX]; .. and FB_MAX is 32
19:59.26RaYmAnccssnet: never in more than 4 framebuffers? :P Virtual terminals are all on the same fb for example ;)
20:00.01RaYmAnanything past 2 seems kind of excessive for this stuff (though, I guess double & tripple buffering may need it?)
20:06.02TurlRaYmAn: the disp stuff seems to be able to handle dual framebuffers from what I saw
20:06.06Turl(simultaneously)
20:06.09mnemocwtf... a "senior software engineer" working in samsung india asked on linkedin if comments affects runtime of a program...
20:06.22mnemoc(in C)
20:06.23techn_ah.. counted wrong, ~30kilobytes :)
20:06.36Turlmnemoc: link lol
20:06.58Turlmnemoc: ever wondered why their UI sucks so much? :P
20:07.09RaYmAnTurl: sure... but you aren't likely to get more than LCD + HDMI in any device
20:07.30mnemocTurl: http://www.linkedin.com/groupAnswers?viewQuestionAndAnswers=&discussionID=151755458&gid=87910&trk=eml-anet_dig-b_nd-pst_ttle-cn&ut=1_v5cLea4SmBo1
20:07.50mnemocEmbedded Linux group
20:08.42Turlmeh requires membership :<
20:08.59ccssnetRaYmAn: im not always in a window manager with virtual terms. but my desktop usually is
20:09.36ccssnetmnemoc: are they fired yet?
20:10.15mnemoctechn_: I really believe we need to flatten/merge does drivers before trying to optimize anything, but cleanups are still welcomed
20:10.44mnemocs/does/those/
20:10.57techn_k
20:19.44hnoRaYmAn, data3 detection requires a slightly different circuit
20:21.32hnoR15 pullup resistor needed for Data3 detection to work.
20:24.21hnoPB3 is PIN7 /  GPIO-2:11
20:26.36hnoI suspect the error is that there is a pulldown resistor on the card-detect line. Should probably be a pull-up or floating (there is internal pull-up/down control in PIO for GPIO lines)
20:28.27hnomaybe it work to set the internal pull-up.
20:28.59mnemochno: replied
20:31.41hnoOk, so yours seem to have more issues.
20:33.52mnemocbefore leaving 2w ago I tested all pins and they had power... so I have no idea what else to test :<
20:34.20hnothe power on/off messages is the kernel powering on/off the controller.
20:34.49mnemocwant the full dmesg?
20:34.55hnono thanks
20:34.59mnemoc:)
20:35.53mnemocpowering off the controller after failing to initialize the card sounds fair
20:36.55hnoa guess is that there is a short on some signal. You hsould be able to test for that using PIO by setting all but one pin as input and read if there is any changes when toggling the output pin, iterating over the pins.
20:37.42hnoit's only 6 pins.
20:38.14mnemocok
20:38.57hnoI get the exact same messages except that I get "[ 6069.610000] mmc0: new high speed SD card at address 0002"  instead of error 110.
20:40.35hnoAre you sure the card is properly seated in the socket? It should be almost flush to the PCB edge.
20:41.23hnobecause I get your sequence if I eject the card but leave it in the socket-
20:42.31hnoif the card is more than 1 mm out from the PCB edge then it's not inserted right.
20:42.36mnemocit feels well connected...
20:42.52mnemoci'll play a bit with it
20:43.48hnoit's fairly obvious when it's right. You can then push the card a little and it gets ejected.
20:44.43mnemocactually the socket is sightly loosy
20:45.32mnemoc[  239.040000] mmc0: new high speed SDHC card at address 1234
20:45.33mnemoc[  239.060000] mmcblk0: mmc0:1234 SA16G 14.6 GiB
20:45.33mnemoc[  239.070000]  mmcblk0: p1
20:45.34mnemoc:D
20:45.47hnowhat did you do?
20:46.14mnemocreplugged it a couple of times
20:47.31mnemocit always ejected and "clicked" fine, but suddenly it was detected
20:47.57mnemocuberly happy :)
20:48.22hnoso either poorly mounted socket, or clogged by a bit of dust.
20:53.29mnemocit seems it was just dust... I've tried 6 times after the first time it was detected and worked (almost) fine
20:54.12mnemocpower off/disconnect/connect/power on -> immediately detected
20:54.40mnemocbut if I connect it after the system is up, it's only detected after doing the `echo` trick
20:54.53mnemocbut always detected
20:55.03mnemocI mean, no error -~
20:55.08mnemoc-110
20:55.22mnemocthanks! :)
20:57.03hnoI had the eject mechanism fail on me some time ago, presumably also due to some dust. Played with it a bit, blew some air on it and then started to work.
21:13.55*** join/#arm-netbook repvik (~repvik@nslu2-linux/repvik)
21:25.44*** join/#arm-netbook tuliom_ (~tuliom@177.99.131.178)
21:43.31*** join/#arm-netbook mikey_w (~mike@c-71-63-115-202.hsd1.va.comcast.net)
21:43.39*** join/#arm-netbook n6pfk (~mike@c-71-63-115-202.hsd1.va.comcast.net)
21:45.53*** join/#arm-netbook popolon (~popolon@2a01:e35:2e1e:a6c0:44de:909f:4506:cde4)
21:52.13*** join/#arm-netbook xenoxaos (~xenoxaos@c-68-80-44-179.hsd1.de.comcast.net)
22:29.42*** join/#arm-netbook tzafrir_laptop (~tzafrir@bzq-218-155-145.cablep.bezeqint.net)
23:01.58*** join/#arm-netbook eflatun (~eflatun@46.1.231.118)
23:41.17*** join/#arm-netbook Entropy512 (~quassel@cpe-67-255-37-203.stny.res.rr.com)
23:44.29*** join/#arm-netbook piezo (~piezo@pdpc/supporter/active/piezo)
23:54.29*** join/#arm-netbook piezo (~piezo@pdpc/supporter/active/piezo)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.