IRC log for #arm-netbook on 20121113

00:13.22*** join/#arm-netbook marcan (marcan@marcansoft.com)
00:13.41libvarm tossers.
00:13.51libvnew_info->core_info = NULL; /* Not used by user space */
00:14.22libvand how am i going to tell which mali i am running against?
00:19.19libvi will be re-adding that code soon
00:19.31*** join/#arm-netbook marcan (marcan@marcansoft.com)
00:21.36libvhrm, how would one distinguish between mali400-mp1 and mali400-mp4?
00:23.00libvhrm, new callbacks?
00:23.04libverr, ioctls
00:27.43slapin_hno: ping
00:46.21Mehhh_does the deb image have the mali drivers (hw accel?)
00:52.55Turllibv: performance? :P
00:53.20*** join/#arm-netbook drachenphone (~AndChat39@142.196.83.182)
00:55.22libvTurl: no, to utilize all fragment shaders on the mp4, you will need to divide up the blocks, and issue 4 separate jobs, one for each core
00:56.00libvso you need to have this information in userspace
00:56.27libvanyway, creating a git tree which has all the different arm thrown-over-the-hedge kernel drivers
00:56.35libvso i can better see what they changed ioctl wise
01:16.24*** part/#arm-netbook t0dbld1 (~t0dbld@50.42.159.195)
01:23.22*** join/#arm-netbook stefanro (~stefan@pD9FFB6C7.dip.t-dialin.net)
01:29.01hnoTriffid_Hunter, Turl, compared to an average X86 system the A10 is relatively easy to do bare metal on.  The "User guide" + ARM manuals covers most of what you need to know, with the exception of the DRAM controller if doing the early initialization part.
01:29.08hnoslapin_, pong?
01:45.33*** join/#arm-netbook vinifm (~vinix@187.114.116.229)
02:11.05markvandenborreI'm fiddling with an embedded a13 board
02:11.18markvandenborrejust compiled in full HID support into the kernel
02:11.46markvandenborre(my first cross compile was amazingly easy)
02:12.59markvandenborrethis HID device now works; I can verify that by catting /dev/input/event1
02:13.34markvandenborre(random garble comes out of that every time I press the one key on this HID device)
02:14.46markvandenborrenow I want to have this HID device hooked up into a small shell script that I wrote
02:14.57markvandenborrethis shell script uses the "read" command quite often
02:15.19markvandenborrein other words, it expects an active terminal
02:16.22markvandenborrewhat would be the best way forward? change this script so that it picks up key press events from the HID device without being attached to it?
02:16.53markvandenborreauto spawn a terminal in /etc/inittab?
02:17.31markvandenborreI'm not sure where to ask this question; any suggestions on an appropriate channel?
02:21.12lundmanaborre: this is a fine channel, but the timezone is awkward
02:25.55Turlif you run your script on fbcon vt it should grab HID input I'm guessing
02:26.56Turlnight :)
02:32.26*** join/#arm-netbook Svet (~Sv@modemcable021.180-203-24.mc.videotron.ca)
02:32.27*** join/#arm-netbook Svet (~Sv@unaffiliated/sv)
02:38.21*** join/#arm-netbook luka (~luka@lan.iskon.hr)
02:43.23*** join/#arm-netbook gsilvis (~almostsix@50.12.163.241)
02:44.52*** join/#arm-netbook mSquare (~selvan@122.178.197.143)
02:48.08slapin_hno: http://paste.ubuntu.com/1354662/
02:49.10slapin_hno: http://paste.ubuntu.com/1354664/
02:56.19slapin_hno: https://github.com/slapin/uboot-allwinner/commits/work - please don't do any work based on this, I'm going to rearrange this stuff appropriately. If you can, please justify this udelay(100) - it is very flaky without it.
02:57.25hnowhich udelay?
02:57.44slapin_hno: see patches. at the end of command processing function
02:58.56hnoslapin_, something you forgot to push maybe?
03:01.15hnoI only find initialization sequence there, no command processing.
03:02.30hnoslapin_ sunxi_nand.c missing.
03:18.04bsdfox_aren't there some unused timers on A10?
03:18.17bsdfox_why are we using delay()
04:18.02lkcl<PROTECTED>
04:18.32lkclone such circumstance, a mobile phone's capacitors for the power-up of a GSM Radio ROM simply weren't big enough
04:18.39lkclso the bring-up sequence was:
04:18.54lkcl* pull GPIO for 5V line power
04:19.01lkcl* pull GPIO for 3.3V line power
04:19.10lkclpull 2nd GPIO for 2nd 3.3V line power
04:19.30lkcludelay(10)
04:19.41lkclpull down the 1st 3.3V power
04:19.47lkcludelay(10)
04:19.52lkclpull down the 5V power
04:19.56lkcludelay(10)
04:20.00lkclpull them back up again
04:20.03lkcludelay(10)
04:20.09lkclpull the GPIO for reset up
04:20.15lkcludelay 10
04:20.21lkclpull everything down again
04:20.23lkcludelay 10
04:20.47lkclby this time, the on-board GSM radio ROM's capacitors had enough charge.....
04:21.07lkclso it was then possible to do this sequence a *second* time, and the device would come up properly.
04:21.38lkclyou _could_ do all that with timers but it would be absolute hell, and completely non-obvious
04:46.03*** join/#arm-netbook MindBeat (~mindbeat@h55n3c1o1041.bredband.skanova.com)
05:11.19bsdfox_lkcl, if you've got a dedicated timer for application it wouldn't be a big deal
05:11.26bsdfox_and you wouldn't just be burning clock cycles
05:12.06bsdfox_also, fuck that gsm module
05:12.08lkclbsdfox_: for the complexity involved due to the asynchronous code that results it's often not worth it
05:12.14lkclbsdfox_: :)
05:12.26lkclthis was for an HTC Smartphone (reverse-engineered).
05:12.37lkclpeople kinda expected to be able to communicate using it :)
05:12.55bsdfox_yeah that's the problem with reverse engineering
05:13.28lkclah no - in this case, that was direct reverse-engineering of the assembly files.
05:13.29bsdfox_there's probably a straight forward approach to initializing the radio that doesn't require all the funky steps
05:13.38lkclthis was that the... no, it didn't, that's the point.
05:13.55lkcli examined the assembly code: that was what they were forced to do.
05:14.15lkclistrc that WIFI was similar
05:14.17bsdfox_which radio did it use?
05:14.21lkclit was just poor hardware design
05:14.38lkcli thiiink.... it was an ericsson chipset.
05:15.09lkclit just pulled so much current at startup that it couldn't cope
05:15.17bsdfox_from what I've seen cell phone companies invest much more in hardware than software
05:15.39bsdfox_lkcl, polling is fine if the code is designed for it
05:15.41lkcl.... qualcomm is run by three lawyers :)
05:16.07bsdfox_lkcl, qualcomm employs some very good engineers
05:16.53bsdfox_I met adrian chadd last weekend who writes the atheros drivers for linux and in his spare time ports the drivers to freebsd and also wrote/maintains their 802.11 stack
05:27.18*** join/#arm-netbook drachenphone (~AndChat39@142.196.83.182)
05:48.29*** join/#arm-netbook drachensun (~drachensu@142.196.83.182)
06:01.33*** join/#arm-netbook ppord (~dropp@77.243.1.182)
06:31.42*** join/#arm-netbook grimes99 (~du2@host-2-99-241-92.as13285.net)
06:57.00*** join/#arm-netbook rellla (~rellla@p5B07831D.dip0.t-ipconnect.de)
07:00.23ccssnetbsdfox_: if so, why is it so hard to get the ubicom32v5 firmware sources to build (qualcomm bought ubicom, and i havent yet seen them take effort to support it)
07:03.13hnoAh, think I understand why I only got random garbage in my earlier NAND exploration attempts. The data is randomized by the controller.
07:13.24*** join/#arm-netbook rellla2 (~rellla@p5B078304.dip0.t-ipconnect.de)
07:51.46*** join/#arm-netbook cat_x301 (~cat@188.238.155.214)
07:55.04*** join/#arm-netbook pawel5870 (~pkarpins@pc.193147149.ip.amg.net.pl)
08:14.01rmhttp://www.tinydeal.com/android-40-tv-box-multimedia-player-with-wifi-hdmi-web-camera-p-72970.html
08:14.08rmwith a f**king rotating stand
08:14.16rmchinese are crazy :D
08:16.04*** join/#arm-netbook luka (~luka@lan.iskon.hr)
08:16.22orly_owli think the idea is it goes on top of your tv
08:16.57rmyeah I figured that part out
08:17.02*** join/#arm-netbook luka_ (~luka@lan.iskon.hr)
08:17.28orly_owli dont see how its crazy then
08:17.38orly_owlit rotates to get the camera angle right
08:18.09*** join/#arm-netbook luka (~luka@lan.iskon.hr)
08:18.11*** join/#arm-netbook luka (~luka@unaffiliated/luka)
08:20.23rmto me video conferencing seems to be a rare and fringe use, and specializing the device for it so much seems odd
08:20.33rmalso why not just include a separate web cam
08:20.41rmrather than built-in to the case
08:20.47orly_owlcheaper to build it in of course
08:21.14orly_owlim not sure video chat via tv will take off
08:21.21orly_owli see it advertised sometimes
08:33.17*** join/#arm-netbook ssvb (~ssvb@212.16.98.80)
08:40.05*** join/#arm-netbook popolon (~popolon@og-free.planet-service.fr)
08:56.57*** join/#arm-netbook vgrade_ (50e71d67@gateway/web/freenode/ip.80.231.29.103)
09:09.34*** join/#arm-netbook Quarx (~Quarx@94.137.34.151)
09:16.14hnoorly_owl, I think there is potential for "TV" chat. But requires some yet unseen intelligence in the camera part to work well in the environment.
09:17.06*** join/#arm-netbook tzafrir (~tzafrir@local.xorcom.com)
09:20.30slapin_hno: ping
09:20.45slapin_hno: try again
09:21.46slapin_hno: branch was rebased, though
09:28.01*** join/#arm-netbook ppord (~dropp@77.243.1.182)
09:32.05*** join/#arm-netbook ppord (~dropp@77.243.1.182)
09:38.38slapin_hno:
10:00.14*** join/#arm-netbook jquip (~johnny@106.217.24.154)
10:15.40*** join/#arm-netbook tzafrir (~tzafrir@local.xorcom.com)
10:15.41*** join/#arm-netbook vgrade_ (50e71d67@gateway/web/freenode/ip.80.231.29.103)
10:15.41*** join/#arm-netbook drachensun (~drachensu@142.196.83.182)
10:15.41*** join/#arm-netbook stefanro (~stefan@pD9FFB6C7.dip.t-dialin.net)
10:15.41*** join/#arm-netbook dfletcher_ (~fletch@108-196-222-251.lightspeed.sntcca.sbcglobal.net)
10:15.41*** join/#arm-netbook Mehhh_ (adabd66c@gateway/web/freenode/ip.173.171.214.108)
10:15.41*** join/#arm-netbook markvandenborre (~mark@ubuntu/member/markvandenborre)
10:15.41*** join/#arm-netbook sspiff (828ae336@gateway/web/freenode/ip.130.138.227.54)
10:15.41*** join/#arm-netbook orly_owl (~david@unaffiliated/orly-owl/x-3167833)
10:15.41*** join/#arm-netbook ccssnet (~ccssnet@c-98-216-141-157.hsd1.ma.comcast.net)
10:15.41*** join/#arm-netbook jeremb (uid2617@gateway/web/irccloud.com/x-jpnzrqatbwzbssxv)
10:15.41*** join/#arm-netbook rmeyerriecks (~rmeyerrie@nat/digium/x-cmoyfczxksidqznw)
10:15.41*** join/#arm-netbook Entropy512 (~quassel@cpe-69-207-202-50.stny.res.rr.com)
10:15.41*** join/#arm-netbook raoulh (~Raoul@ns365140.ovh.net)
10:15.41*** join/#arm-netbook ChanServ (ChanServ@services.)
10:15.41*** mode/#arm-netbook [+o ChanServ] by cameron.freenode.net
10:15.56slapin_hno:
10:16.05*** join/#arm-netbook ol1ver1 (~Thunderbi@7of9.schinagl.nl)
10:22.21*** join/#arm-netbook ppord (~dropp@77.243.1.182)
10:22.21*** join/#arm-netbook popolon (~popolon@og-free.planet-service.fr)
10:22.21*** join/#arm-netbook luka (~luka@unaffiliated/luka)
10:22.21*** join/#arm-netbook pawel5870 (~pkarpins@pc.193147149.ip.amg.net.pl)
10:22.21*** join/#arm-netbook mSquare (~selvan@122.178.197.143)
10:22.22*** join/#arm-netbook sv (~Sv@unaffiliated/sv)
10:22.22*** join/#arm-netbook L84Supper (~Larch@unaffiliated/l84supper)
10:22.23*** join/#arm-netbook Holo_ (u6962@gateway/web/irccloud.com/x-cmgdthmcyubxcgsb)
10:22.23*** join/#arm-netbook phh (~quassel@137.194.15.151)
10:22.23*** join/#arm-netbook xenoxaos (~xenoxaos@developers.archlinuxarm.org)
10:22.23*** join/#arm-netbook e-ndy (~e-ndy@fantomas.bestit.cz)
10:24.05*** join/#arm-netbook RITRedbeard_ (~redbeard@c-68-37-165-37.hsd1.nj.comcast.net)
10:24.05*** join/#arm-netbook pwhalen (~paul@CPE001310360dac-CM78cd8ec9e405.cpe.net.cable.rogers.com)
10:24.05*** join/#arm-netbook mikey_w (~mike@c-71-63-115-202.hsd1.va.comcast.net)
10:24.05*** join/#arm-netbook focus_well (~focus@host81-149-149-147.in-addr.btopenworld.com)
10:24.05*** join/#arm-netbook Kraln (~kraln@69.169.90.240)
10:24.05*** join/#arm-netbook The-Compiler (~compiler@ubuntuusers/supporter/the-compiler)
10:24.05*** join/#arm-netbook destinal (destinal@unaffiliated/destinal)
10:26.56*** join/#arm-netbook mSquare (~selvan@122.178.197.143)
10:26.56*** join/#arm-netbook L84Supper (~Larch@unaffiliated/l84supper)
10:26.56*** join/#arm-netbook xenoxaos (~xenoxaos@developers.archlinuxarm.org)
10:26.56*** join/#arm-netbook e-ndy (~e-ndy@fantomas.bestit.cz)
10:27.11*** join/#arm-netbook luka (~luka@unaffiliated/luka)
10:27.11*** join/#arm-netbook pawel5870 (~pkarpins@pc.193147149.ip.amg.net.pl)
10:27.11*** join/#arm-netbook sv (~Sv@unaffiliated/sv)
10:28.46*** join/#arm-netbook acfrazier (~acfrazier@opensn0w/developer/acfrazier)
10:28.46*** join/#arm-netbook blahee (~upi@cure.upi.iki.fi)
10:28.46*** join/#arm-netbook Triffid_Hunter (~Triffid_H@songsfortheotherkind.com)
10:30.25*** join/#arm-netbook rellla (~rellla@p5B078304.dip0.t-ipconnect.de)
10:30.25*** join/#arm-netbook ZaEarl (~malmrose@66.host-182-48-149.compassnet.co.nz)
10:30.25*** join/#arm-netbook Gumboot (~sh1@rev.bovine.muck.net.nz)
10:30.25*** join/#arm-netbook lerc (~quassel@121-74-245-42.telstraclear.net)
10:30.25*** join/#arm-netbook traeak (~bolsen@75-151-91-165-Colorado.hfc.comcastbusiness.net)
10:30.49hnoslapin_, makes more sense now. Easier to follow if you gut out the #if 0 stuff.
10:36.46hnoRegarding the delay, I would suppose we need to wait for some additional completion bit somewhere. Or maybe the interrupt status is off by one? Try clearing the interrupt status before seding command.
10:37.55slapin_hno: it is prototype code, as all features work, I'll reqrite it.
10:39.41slapin_hno: will try after I get home and sleep(86400)
10:40.25slapin_hno: feel free to try all the things
10:40.54hnoI would, but very short on time today and tomorrow.
10:48.33hnoslapin_,         /* Waiting for interrupt flag to be set */
10:48.34hno<PROTECTED>
10:48.34hno<PROTECTED>
10:49.26hnoto wait for the bit to get set.
10:50.30hnoAllwinner code is         while( (timeout--) && !(NFC_READ_REG(NFC_REG_ST) & NFC_CMD_INT_FLAG) );
10:50.41slapin_hno: have you tested it? (I can't but I can commit fix now)
10:50.50slapin_hno: thanks for finding this one
10:51.01hnoHave not tested, but quite obvious logic error.
10:51.18hnocompared your code to allwinner code, reading side by side.
10:52.17hnono time to seriousy test anything until thursday.
11:10.07slapin_hno: thanks. will try tonight
11:12.06*** join/#arm-netbook Almamuetya11 (~almamuety@186.134.32.78)
11:15.49*** join/#arm-netbook Almamuetya12 (~almamuety@186.134.28.104)
11:19.27hnoslapin_, tested briefly now and always get "NAND:  No NAND device found!!!" on cubieboard, even without changing those int flag checks.
11:20.16hnoso can't test if the change works. But at least it does not hang with or without the change.
11:21.19hnowill debug it further when getting time.
11:29.59*** join/#arm-netbook arokux (~arokux@merkur178.inf.uni-konstanz.de)
11:34.26*** join/#arm-netbook arokux (~arokux@merkur178.inf.uni-konstanz.de)
11:45.14slapin_hno: try #define DEBUG in configs/sun4i.h at top before includes, then in sunxi_nand seek to sunxi_nand_command and enable debug at beginning of function, then go to sunxi_nand_read_byte and add debug("0x%02x\n", data) before return and show output (this is with udelay). Should not take more than 5 minutes of your precious time.
11:45.24*** join/#arm-netbook tinti (~tinti@maxtrack-F4-0-3-gacc04.bhe.embratel.net.br)
11:56.26*** join/#arm-netbook arokux (~arokux@134.34.226.145)
12:05.18*** join/#arm-netbook arokux (~arokux@merkur178.inf.uni-konstanz.de)
12:23.35*** join/#arm-netbook kaspter (~Instantbi@222.65.218.232)
12:25.01*** join/#arm-netbook Sv (~Sv@unaffiliated/sv)
12:34.34*** join/#arm-netbook QingPei (~qingpei@221.220.106.10)
12:36.21Turlmnemoc: installed 4.2 yet? :P
12:39.20libvgrmbl. there is just no sane way in which the mali PP_CORE_VERSION ioctl can return -EPERM!
12:40.55libvthis while the codepath for PP_NUMBER_OF_CORES is identical, all the way to the bottom call which is not involved with the return value :(
12:40.56Turl-EPERM? o.O
12:41.21libvPP/GP2_NUMBER_OF_CORES works just fine
12:41.34libvthe CORE_VERSION ones fail with -1
12:41.49mnemocTurl: didn't know it was released
12:42.59libvtime for some printking:(
12:43.08Turlmnemoc: http://android.clients.google.com/packages/ota/google_takju/e587de13bf8a.signed-takju-JOP40C-from-JZO54K.e587de13.zip
12:43.33*** join/#arm-netbook QingPei (~qingpei@221.220.106.10)
12:45.17mnemocTurl: I'm still at JRO03C.... the update doesn't like my rooted galaxy nexus
12:45.38lundmanwoo bwuahah, I beat linux-crypto .. wooo
12:46.15Turlmnemoc: https://developers.google.com/android/nexus/images?hl=es-419#takju
12:46.25Turlinstall JZO54K with fastboot :)
12:46.48mnemocuhm... full flash
12:53.17jerembguys, I have a question, is the branch sunxi-3.0 suitable to boot android? Or is it just for linux?
12:55.25mnemocjeremb: using sun4i_crane_defconfig it should boot android just fine
12:55.58jerembthanks mnemoc!
13:05.03rz2klol, I've found why my VLC didnt work
13:05.16rz2kand everything related to cedar/cedarfb
13:05.44rz2ksurprisingly, /dev/cedar_dev cant access /dev/disp if /dev/disp is not accesible by user
13:05.48rz2keven if cedar_dev is
13:06.16mnemoci thought you were 0777ing both
13:06.32rz2kno :/ I feel dumb now.
13:06.45mnemoc:)
13:07.06*** join/#arm-netbook tzafrir (~tzafrir@local.xorcom.com)
13:09.12*** join/#arm-netbook alcides (~alcides@187.23.196.11)
13:09.15*** join/#arm-netbook alcides (~alcides@unaffiliated/alcides)
13:11.25*** join/#arm-netbook arete74 (~arete74@net-93-64-241-175.cust.dsl.vodafone.it)
13:14.16*** join/#arm-netbook Mazon (~Mazon@95.166.104.217)
13:14.48lkcldoes anyone know if the AXP209's registers (for its power management) survive a reboot at all?
13:15.01lkclhno: ping
13:15.23lkcli'm designing the tablet PCB and i need to work out the power-up sequence.
13:15.46lkcli'm not sure if i can rely on there being 5V power!
13:15.59lkclnot safely, anyway
13:16.37lkclif the AXP209 held its information then that would alleviate some of the concerns
13:17.20*** join/#arm-netbook jquip (~johnny@223.232.33.37)
13:18.32lkcli see it's got _some_ sort of internal storage
13:20.44oliv3ranybody heard if mr.hipboi talked to his friend about the A1000G yet?
13:23.38rz2kso yeah, x264 720p movie = 35% cpu
13:23.49rz2kVQ1 blu ray 1080p - near 90
13:24.04rz2koutput is 1080p vga, 720p gets upscaled
13:24.22rz2kTurl: ^
13:26.11Turlwith cedar working?
13:26.14Turlrz2k: ^
13:26.26rz2kyes
13:26.32Turlon perf governor?
13:26.41rz2kperfomance
13:27.07Turlwhy so much? :/
13:27.34rz2knot sure, may be audio processing?
13:27.52rz2kI had 35% from vlc listening mp3 stream radio
13:27.54Turlcedar can decode audio too
13:27.58Turlif you implement it
13:28.20mnemocoliv3r: how can we know?
13:28.21rz2kmy vq1 movie is with multichannel stuff
13:28.40rz2kmight be vlc does whole six channels, not sure here.
13:28.45rz2k(5.1 I mean)
13:29.14*** join/#arm-netbook QingPei (~qingpei@123.118.98.22)
13:31.43oliv3rmnemoc: i haven't checked for hipboi's presence, but he said he would ask his friend!
13:34.37*** join/#arm-netbook MindBeat (~mindbeat@81.235.33.55)
13:44.29*** join/#arm-netbook z72ka (~herman@mail.vzlu.cz)
13:49.17rmdiscounts on various boxes and sticks http://www.aliexpress.com/activities/home_theaters/index.html
13:55.41*** join/#arm-netbook pawel5870 (~pkarpins@pc.193147149.ip.amg.net.pl)
13:55.49oliv3rany a1000g on there? :D
13:57.36rz2konly countless mk802 clones and amlogic boxes that are not hackable
14:00.18*** join/#arm-netbook QingPei (~qingpei@123.118.98.22)
14:00.27lkclQingPei: ping
14:00.30oliv3ri sold my amlogic box!
14:00.41lkcloliv3r: wise move :)
14:01.01oliv3rrz2k: well they are somewhat hackable, afaik isn't even their amlogic player avaiable by source on the pivos github?
14:01.10oliv3rmade a tiny provit too :p
14:03.10*** join/#arm-netbook QingPei1 (~qingpei@123.118.98.22)
14:09.39*** join/#arm-netbook QingPei (~qingpei@123.118.98.22)
14:12.49rmthe best among featured ones is probably http://www.aliexpress.com/store/product/HOT-SELLING-Android-4-0-TV-Box-boxchip-Set-Top-Box-RAM-DDR3-1GB-Home-Entertainment/110104_613416971.html
14:13.33lkclthinks he got the power-up sequence sorted.
14:14.00oliv3rthe A10 power-up sequence?
14:18.09lkcloliv3r: the tablet I/O board power-up.  it's using *another* AXP209.
14:18.47lkcli checked the schematics that wits-tech designed for us, what they've done is connected the 5V power onto the AXP209's "AC-IN" input :)
14:19.09lkclso i was a bit concerned that the two 5V rails would be fighting each other, and it turns out it's much simpler than i imagined
14:19.52oliv3rrm but it has a boxchip A10! how is that comparable to the awesomeness of the Allwinner A10! :p jk
14:20.18oliv3rlkcl: oh nice! :D
14:21.25specing'dat english...
14:21.29*** join/#arm-netbook sspiff (828ae336@gateway/web/freenode/ip.130.138.227.54)
14:21.48lkcloliv3r: utterly weird to be using two AXP209s, i know - but they're amazing chips
14:21.57specingSupport external flying squirrels, camera,etc
14:21.58specingLOL
14:22.05specingflying squirrels
14:22.09specing0.o
14:22.48lkcl:)
14:22.58lkclwell.. you jest...
14:23.21lkclahh, specing: i believe you've just come up with a code-name for the tablet.  "Flying Squirrel" it is.
14:23.23specingWhat could that possibly mean
14:23.47lkclspecing: code-names *never* need to actually mean anything!
14:23.58oliv3rlkcl: so can't make it all work with one axp209? or you have one on the card and one in the tablet?
14:24.18lkcloliv3r: one on the card, and one on the tablet (!)
14:24.37oliv3rah! then it makes somewhat sense :)
14:25.05specingI like the box design though
14:25.21specinglkcl: I don't believe that is a code name
14:25.23lkclit's bizarre, but it's got everything that's needed.  battery, ac, LDOs, DC-DC converters, even an RTC battery backup supply
14:25.30lkclspecing: it is now.  i like it.
14:25.34specing...
14:25.43lkclit's going on the page :)
14:29.41lkclhttp://rhombus-tech.net/community_ideas/kde_tablet/
14:29.46lkcleyy, there we go
14:31.12specinglkcl: ethernet and sata are a must
14:31.58lkclspecing: i agree.  just have to find connectors small enough and standard enough.
14:32.03lkcl7in tablets are _small_.
14:32.35RaYmAnI don't really see why ethernet and sata is a must on a tablet =P
14:34.01mnemocafaik that "tablet" board is more of a generic reference design than a tablet
14:34.19specinglkcl: small? My A10 one is bulky as hell
14:34.26specingcould fit a standard RJ45 in there
14:34.32mnemoc:D
14:34.34specingtrue story.
14:35.13specingRaYmAn: because fuck flash :)
14:35.30specingducktape + 2.5" HDD FTW
14:35.42lkclspecing: eek!
14:35.43RaYmAnlol
14:36.30lkclyeah as this is being driven by aaron (kde "spark" aka "vivaldi" tablet) we need to listen to his requirements.
14:36.49lkclthey have done a lloooooot of reviews of tablets.  an insaaaane amount of testing.
14:37.33specingso this is yet another case of when hardware is being designed for software?
14:38.59lkclspecing: no.  this is a case of meeting customer requirements, where customer has been through absolute hell trying to get any kind of reliable hardware *at all* out of china suppliers
14:39.31specingheh :)
14:39.35lkclwhat he's found is that the 1st batch is ok but it all goes to shit when they try to redesign the PCB *without* telling them what's going on.
14:40.24lkcli don't know for sure but one or two companies might even have tried to sell him a unit with a totally different processor - it wouldn't surprise me
14:40.50lkcland it's like, "nooo, we neeeeed that CPU because we have the F*****G SOURCE CODE FOR IT"
14:41.08lkclwe don't WANT your android GPL-violating turd-in-a-can
14:41.37lkclbut yeah, it is more than that: the build qualities have just been so questionable that he's got fed up with it
14:41.40specingPlasma Active Tablet's user experience is designed around the web, social networks and multimedia content.
14:41.46specingOh no, Android 2.0
14:41.54lkclthat's the ... *ROTFL*
14:42.01jinzoAgain, Ainol Novo _might_ be interested.
14:42.15jinzoand they provide some interesting stuff and quality
14:42.42lkcljinzo: with GPL-violating linux kernels because they're dealing with AMLogic?
14:43.13jinzolkcl, they have some older A10 based offerings ;)
14:43.29lkcljinzo: aaron's been through that one already.  they managed to get supply of the linux kernel source code, originally, by one of the *engineers* violating his own company's NDA.
14:43.34RaYmAnallwinner isn't exactly NOT GPL violating though - even if they seem to have gotten slightly better.
14:43.36jinzoThe elf II that I ordered for a friend was amazing (for the price ofcourse)
14:43.54lkclthat was one of the engineers working for the ODM.
14:43.58jinzoand it has the usual A10 stuff in it.
14:44.05lkclgreat.
14:44.13lkclnow if they'll convert it to EOMA-68, we're good to go.
14:44.21lkcldo you have contact details for them?
14:44.48jinzoand it's not in their active offering anymore - so they could be more inclined to sell it.
14:45.37lkclwell i'm more looking for companies that are willing to redesign casework
14:45.55lkcland use the PCB design i've been working on
14:46.05jinzounfortunately no, sales@ainovo.com looks like.
14:46.47jinzoLike I said, I don't have any particual experiance with it - but found the quality of the Elf II really good for the price point (nothing else has came close - and I tried quite some)
14:48.56jinzoBut their website is.... an image. This looks like a semi official shop: http://www.ainol-novo.com/
14:50.51*** join/#arm-netbook hipboi (~hipboi@116.77.134.50)
14:53.35*** join/#arm-netbook Sv (~Sv@unaffiliated/sv)
14:57.32rz2kanyone here who used xbmc for android, did you have OSD in xbmc?
14:57.34rz2krellla: ^
14:57.51rz2ks/xbmc for android/xbmc for a10/
14:58.47rz2kbecause Wills in ML claims that CedarX is not detachable from CedarFB and there is no way to have VLC GUI or even have OSD
14:58.50rz2k:/
15:00.19oliv3rso the "leaked" amlogic source is what pivos is using then?
15:01.12libvrz2k: seems to be yet more disp work or is this deeply embedded in the cedar blobs?
15:02.43rz2kdont know, seems like disp can be fine like this, we just need to convert the output from CedarX to something eatable by VLC output modules. that is most obvious way.
15:05.01relllarz2k: what do you mean with osd? i can watch movies in xbmc and surf through gui while video is playing in the background?! not that perfect, but usable.
15:05.49rz2kI mean XBMC drawing stuff right on to video output
15:05.57relllaworks.
15:06.08rz2kanyway, we need you and empat0 in VLC thread :p
15:06.23rz2kif you done it, you have the answer to questions there.
15:09.53oliv3rthere, more clocking stuff up on the wiki! yay i've done some work today :p
15:10.07libvsomething tells me that noone is using DISP_CMD_VERSION yet
15:10.32mnemoc:)
15:14.54libvand of course, noone poked at the sunxi_disp_driver wiki page, meaning that they either aren't running a recent kernel, or didn't bother to read the wiki
15:16.09mnemoci believe the second. reading documentation is for woosies
15:16.43libvwell, in this case, it will end up harshly affecting their abilities whenever i get tired of lima again :)
15:18.12oliv3rheh, i've read way more documentation then I'd want to admit
15:18.48libvbecause this page should be about keeping API/ABI stable for a limited subset
15:19.09libvif noone cares, then why should we care about the api/abi of /dev/disp :)
15:21.42mnemocxbmc was whining for months that the cedarx libs were unusable.... until empat0 silently decided to read the docu. and write code :p
15:24.19libvthere's too many whiners, and too little doers
15:24.28*** join/#arm-netbook orly_owl (~david@unaffiliated/orly-owl/x-3167833)
15:29.33oliv3rbreak api/abi if it makes the design better :)
15:30.15libvit will massively break things for some people
15:30.43oliv3rthat use the latest and greatest*
15:30.46libvbut those people either do not seem to be using this kernel yet, or can't be arsed to read the link thrown out by the kernel
15:31.09oliv3rright, hometime :)
15:31.10libvoliv3r: in which case, they have a reason not to use the latest
15:31.12oliv3rwrote enough docs for one day :)
15:31.57*** join/#arm-netbook sspiff (828ae336@gateway/web/freenode/ip.130.138.227.54)
15:34.39mnemoclibv: if breaking the old api/abi comes by the hand of a vaapi lib (Turl?) it will help to encourage people to not hardcode cedarx support directly in the players :p
15:37.42Turlmnemoc: :P
15:38.01L84Supperis there a wiki with organized info of the software?
15:38.04mnemocTurl: awesome! thank you!
15:38.16Turlmnemoc: lol
15:38.22slapin_is there a wiki?
15:38.31mnemocslapin_: linux-sunxi.org ?
15:38.32Turllibv: cedarx libs uses /dev/disp :(
15:39.12focus_wellmnemoc:  http://www.gplsquared.com/nanda/nanda_mk802_ddr3_1GB.tar.gz
15:39.35libvTurl: start REing :)
15:39.50Turllibv: :P
15:40.00*** join/#arm-netbook drachenphone (~AndChat39@208.54.85.133)
15:40.14Turllibv: I can rewrite the android lights, disp if you provide functionality equivalent alternatives
15:40.22Turlcedarx is.. gonna take a bit more of time :P
15:40.30rz2kinteresting if libvecore uses /disp
15:40.36libvTurl: are you using DISP_VERSION yet?
15:40.41Turllibv: no :<
15:40.41rz2kbecause ioctls are taken in .h near by
15:40.43rz2khttps://github.com/linux-sunxi/cedarx-libs/blob/master/libcedarv/linux-armhf/drv_display_sun4i.h
15:41.18rz2kif our blob only does decoding, we might have a chance.
15:42.15libvoh crap, did they really shift ioctls on mali
15:42.59libvand yes, they did.
15:43.01libvtossers..
15:45.31libvrz2k: try strings | grep "/dev/disp"
15:48.16slapin_got hdmi to vga cable, might be able to boot android tonight
15:49.42libvcable?
15:49.52libvi have a box with an external powersupply to do that
15:50.28slapin_libv: yeah, no power supply, cable on one side is VGA, on another is HDMI connector
15:50.51slapin_libv: no strings attached
15:51.05libvslapin_: are you certain that this is not specific to a specific notebook?
15:51.23slapin_will android work normally on 4:3 display?
15:51.38slapin_libv: no any special note on it
15:51.44libvslapin_: url?
15:51.59slapin_libv: bought on ebay, don't remember which
15:53.11libvwith me, the ebay sellers of such a thing warn that the videocard must support this
15:53.58slapin_libv: dunno
15:54.00rz2kslapin_: if it is without power supply and logic - you have hdmi/vga cable for hdmi-vga enabled devices. most embedded devices implement digital-only hdmi. check wikipedia on details.
15:54.19libvslapin_: it is rather crucial to this whole endeavour
15:54.27Turlanyone know how can I visualize a graphviz graph?
15:54.33slapin_libv, rz2k: can you recommend proper device?
15:54.38slapin_Turl: dot
15:54.59libvslapin_: do google for the cable you got
15:55.04rz2kI saw many on dealextreme and aliexpress, called hdmi to vga converter or hdmi vga box
15:55.20slapin_libv: let me check
15:55.51libvif it really is a cable with standard vga and hdmi connectors, then it's going to be useless
15:56.22*** part/#arm-netbook rmeyerriecks (~rmeyerrie@nat/digium/x-cmoyfczxksidqznw)
15:57.48*** join/#arm-netbook drachenphone2 (~AndChat39@142.196.83.182)
15:59.26slapin_libv: http://www.ebay.com/itm/New-Blue-HDMI-Male-to-VGA-Female-Video-Cable-Cord-Converter-Adapter-1080P-for-PC-/400339621363?pt=US_Video_Cables_Adapters&hash=item5d3619d5f3
16:00.29libvah, ok, so it is an actual converter
16:00.56libvgood, might perhaps work, as ymmv with these devices :)
16:00.56Turlslapin_: what a reliable tool
16:01.02Turlslapin_: dot: failure to create cairo surface: out of memory
16:01.03TurlSegmentation fault
16:01.36slapin_Turl: you have too big graph it seems,  try to limit it.
16:02.57slapin_libv: a problem is that it has big HDMI connector and it doesn't connect to output cable of device, which might mean it is VGA to HDMI, not HDMI to vga thing...
16:03.46slapin_so, no video today :(
16:06.02libvshould work when i look at the picture, all you need is a mini/micro adapter
16:06.22L84Suppermaybe http://linux-sunxi.org/Main_Page should be up on the channel topic vs all the distractions
16:06.41specingOh it has the MAIL 400 GPU aswell!
16:07.29L84Supperdoesn't rhombus have it's own channel?
16:07.51Turlslapin_: 'neato' was able to do it, but it destroyed my graph altogether :P
16:07.57Turlslapin_: https://dl.dropbox.com/u/553461/myrepo.png
16:08.06Turl(warning: 3+MB png file)
16:09.20libvspecing: ?
16:10.08specinglibv: still reading that webpage
16:13.15libvit's an A10, so i wonder why you are so surprised
16:13.45mnemoc*g*
16:14.43mnemocL84Supper: look at the topic, *this* is rhombus-tech channel.... taken over
16:15.39mnemocL84Supper: A10/sunxi is the ... noise :|
16:55.35*** join/#arm-netbook ibot (~ibot@rikers.org)
16:55.35*** topic/#arm-netbook is EOMA: Embedded Open Modular Architecture - Don't ask to ask. Just ask! - http://elinux.org/Embedded_Open_Modular_Architecture/EOMA-68 - ML arm-netbook@lists.phcomp.co.uk - Logs http://ibot.rikers.org/%23arm-netbook or http://irclog.whitequark.org/arm-netbook/ - http://rhombus-tech.net/
16:56.49mnemocvinifm: what driver are you trying to write?
16:56.59mnemocwhat is it for? how is it connected?
16:57.33vinifmuart, to learn
16:58.15Turlstefanro: just a nitpick for your next patchset, I found a typo :) https://github.com/linux-sunxi/linux-sunxi/blob/dbd51f5fe7d3806f1a74a462cf436845082b6989/arch/arm/mach-sunxi/irq.c#L6
17:00.05vinifmI want to learn how to develop drivers for linux, i am read "Essential Linux Device Drivers"
17:03.15mnemocif you have a device with pins (olinuxino or cubieboard) you can play with led drivers
17:04.08vinifmi wanted to know if the book's examples could be made in linux sunxi
17:04.20mnemocyes
17:08.38libvvinifm: do not use inb/outb
17:09.36libvvinifm: i am not entirely sure, but i think they are x86 specific
17:09.59libvvinifm: on arm, use __iomem for memory ranges
17:10.26mnemocreading bytes is obviusly a bad idea, but inb() exists
17:10.45libviowrite?/ioread?
17:10.49libvmuch better
17:11.17libvthis is one of the changes i have been playing with for disp, before i shuffled over to lima again
17:12.11mnemocbut doing lima over a10?
17:12.17mnemocor another plat?
17:12.41vinifmolinuxino-a13
17:14.16vinifmfor example: /* Write the character to the data port*/ __raw_writeb(c, (port->membase+1));
17:14.24libvmnemoc: yes, otherwise i wouldn'T be here :p
17:14.29mnemoc:)
17:14.48mnemocvinifm: writing byte by byte is a bad idea
17:16.16vinifmI picked up this book excerpt
17:17.23vinifmI will try to adapt
17:17.32vinifmthanks for help
17:36.04*** join/#arm-netbook gimli (~gimli@xbmc/staff/gimli)
17:37.13*** join/#arm-netbook slash_random1 (~david@host188.181-1-116.telecom.net.ar)
17:37.30Turlwoot https://groups.google.com/forum/?fromgroups=#!topic/android-building/-ymcoMuDAbA
17:42.49mnemoc:)
18:02.19*** join/#arm-netbook ZaEarl (~malmrose@66.host-182-48-149.compassnet.co.nz)
18:12.17stefanroTurl: thx, fixing it right now - after looking very long at this one line to find a typo ;)
18:13.35Turlstefanro: :P
18:14.24Turlstefanro: I noticed it on other files too, then realised it wasn't a normal typo :)
18:31.19drachensunturl: I sent you a pm
18:43.13Turlstefanro: what's the status of it btw? is it 'bootable'?
18:43.33mnemocto initramfs
18:46.57*** join/#arm-netbook freakazoid0223 (~matt@pool-173-75-233-172.phlapa.fios.verizon.net)
18:47.49*** join/#arm-netbook merbzt (~benjamin@c-94-255-220-30.cust.bredband2.com)
18:55.12lkclok folks i'm off for a few days, back on friday - i will have internet access, even possibly IRC occasionally.
18:55.29lkcllater!
19:03.57Turlmnemoc: :)
19:04.59mnemocTurl: that's the requirement for the first submition
19:05.39Turlmnemoc: I wonder how will allwinner react when they upgrade kernel version and see their boards supported
19:05.40mnemocsubmission*
19:06.25mnemocthey are product driven, I don't they plan to get farther than 3.0 for sun4i/sun5i. "it works, don't touch it"
19:07.04Turlyeah but sun6i is likely to share stuff with 4/5i
19:07.17mnemocyes
19:07.18Turland they won't be able to 'just merge' their stuff then
19:07.39mnemocsee rtlwifi
19:08.20mnemoc"fixed" legacy driver standing next to mainline's
19:08.43Turlrealtek offers "android support" for it
19:08.45Turl:P
19:09.44*** join/#arm-netbook MindBeat (~mindbeat@81.235.33.179)
19:12.10hnoslapin_, tried many things, but I only get 00 00 00 00 00 00 back.
19:14.05hnoHave full traces of both Allwinner NAND driver register accesses and your register accesses and ther is subtle difference, but nothing that sticks out as obvious cause. But a clear symptom is that ST bit #0 is held high when Allwinner code is used but low when your code is used, can't really figure out why.
19:17.37*** join/#arm-netbook pwhalen (~paul@CPE001310360dac-CM78cd8ec9e405.cpe.net.cable.rogers.com)
19:18.59hnoslapin_, your code: http://fpaste.org/Rkfw/  allwinner code: http://fpaste.org/8Qzy/
19:24.23vinifmone more question: bit description is the same for any ARM(NXP,Allwinner)?
19:25.10hnoslapin_, see how allwinner code gets ST=f03 after nand chip reset, but yours get f02.  The only difference I can see before is that you clear ECC_CTL.
19:26.14Turlvinifm: you mean endianness?
19:26.27*** join/#arm-netbook fredy (~fredy@snf-8914.vm.okeanos.grnet.gr)
19:26.33vinifmLSR: 5 THR is empty
19:27.02vinifmLSR:  6 THR is empty, and line is idle
19:29.08vinifmbit description of registers
19:29.33Turldoesn't understand the question
19:30.18vinifmhttp://www.lammertbies.nl/comm/info/serial-uart.html
19:30.49slapin_hno: after fix with interrupt bit everything is rock solid on my side and no udelay is needed
19:31.17slapin_hno: are you sure your code is the same as mine?
19:31.41*** join/#arm-netbook focus_it (~focus_it@82.35.107.238)
19:33.29vinifmfor example, SW_UART0_LSR is like any LSR
19:33.51focus_itedison tablet sources https://s3.amazonaws.com/tabletfirmwares/GPL/GPL_Edison.tar.gz
19:33.52*** join/#arm-netbook rsalveti_ (~rsalveti@linaro/rsalveti)
19:34.12focus_itedison tablet http://www.bqreaders.com/productos/edison.html
19:34.18slapin_hno: http://paste.ubuntu.com/1356239/
19:34.37focus_itedison story links1 http://forum.xda-developers.com/showpost.php?p=32801588&postcount=331
19:34.49Turlvinifm: I suppose so
19:34.57focus_itedison story links2 http://www.armtvtech.com/armtvtechforum/viewtopic.php?f=66&t=212&sid=b1e4378a0883bcb486e8d0168cdcb4d7
19:35.05Turlfocus_it: is it allwinner based?
19:35.33focus_itediso story3 http://liliputing.com/2012/11/developers-porting-ubuntu-linux-to-devices-with-rockchip-rk3066-processors.html
19:35.36slapin_hno: are you sure GPIO/clock setup is correct for your device?
19:35.52focus_itedison tablet  Rockchip RK3066
19:36.16focus_itedison story http://www.slatedroid.com/topic/40717-ubuntu-linux-for-the-ug802/
19:36.37vinifmLSR: bit 0 is Data available;  SW_UART0_LSR: bit 0 is the same
19:36.46vinifm?
19:36.57focus_itgood to compare the RK3066 dual core with A10 sources
19:37.14Turlvinifm: I'd expect so, yeah
19:37.33vinifmhum, ok
19:37.45Turlhno: sunxi has an 8250 right?
19:38.10focus_itmy aim is to make SO-DIMM 200 pin A10 on KiCAD - now I think I can make also RK3066 dual core!! :-)
19:38.30focus_itand then open sauce it all - muahhhhaaa!
19:42.08hnoTurl, 16550 kind of even, with some extra bells & wistles.
19:42.43hnoslapin_, I don't see how it could differ.
19:42.44Turlvinifm: ^
19:43.04*** join/#arm-netbook drachenphone (~AndChat39@208.54.85.147)
19:44.42Turlhno: maybe it's a warm-vs-cold reboot issue?
19:44.59hnoTurl, comparing cold boots of both.
19:47.13hnovinifm, 8250 register programming works with the A10. You just need to multiply addresses by 4 as ARM addressing is 32-bit word aligned. And remember to open the clock gate before trying to touch the registers or bad things will happen.
19:47.49hnoIt's also recommended to configure pinmuxing (PIO) accordingly if you intend to access the serial data somehow.
19:48.32hnoslapin_, my code is in my github repository, mtd branch.
19:48.51hnowith tracing and all.
19:49.17hnoand some bugfixes here and there.
19:49.45*** join/#arm-netbook drachenphone2 (~AndChat39@24.73.225.178)
19:51.44hnoHm.. looking at the Allwinner trace again I notice they are playing some game with NAND_CTL RB_SEL bit. Could that be relevant? But it's only after the traces already diverge on the ST RB_B2R bit.
19:53.29vinifmhno: "open the clock gate". is there a function() for this?
19:54.05*** join/#arm-netbook Hexxeh (u1532@gateway/web/irccloud.com/x-hivnsiblvoenepav)
19:54.11hnovinifm, what are you doing?
19:55.06vinifmI am learning to make a uart driver
19:55.46hnoat what level?
19:56.57vinifmlevel? beginner :)
19:57.26hnouart driver where?
19:58.07*** join/#arm-netbook MindBeat (~mindbeat@81.235.33.91)
19:58.46vinifmdo you mean platform? olinuxino-A13
19:59.00hnoslapin_, it's not the ECC_CTL register. Fixed that and problem still the same.
20:01.10*** join/#arm-netbook Sternennebel (~martin@84.148.184.242)
20:15.15hnovinifm, I mean software platform. How are you loading and starting your code?
20:16.13hnoThe clocking gates I talked about is in the clock module of the sunxi chips. Controls every clock inside the chip.
20:16.31hnoand each UART have a separate clock that can be enabled/disabled. All off by default.
20:18.41vgradehttp://irclog.whitequark.org/arm-netbook/2012-11-13#1352816601
20:19.01vinifmnot yet, must adapt to a13
20:19.02vgradesry wrong window
20:19.59focus_itLubuntu works on MK802 A10, anyone know if the sources are available for it?
20:20.22vinifmhttp://dl.dropbox.com/u/22273442/uart/usb_uart.c
20:29.02hnovinifm, you might be interested in https://github.com/hno/Allwinner-Info/tree/master/A13/test1
20:39.37libvfocus_it: i am actually waiting until archos releases their rk3066 game console
20:40.17libvformer archos devices came with openembedded, so i expect that the kernel and a few other bits for this tablet will be free
20:40.36*** join/#arm-netbook myfluxi (myfluxi@dslb-088-077-207-073.pools.arcor-ip.net)
20:40.38libvmali400mp4 should play a mad q3a :)
20:40.46focus_itlibv: will they release their sources and board in say KiCAD?
20:40.54libvthis i doubt
20:41.11focus_itwe all suffer if we can't get hold of board AND sources together
20:41.54mnemocTurl: I can't find how to enable `adb` on 4.2 (N7) :'(
20:42.00focus_itI had to watch a guy being sacked because we can't deliver board + linux that is cheap enough for the customer
20:42.35focus_itIts so sad today to be not able to access a complete board and linux + LCD working package
20:42.42libvwell, given that i did all of my lima work so far on an android, i am already quite happy with a working proper linux
20:42.45focus_itall free to do as you wish
20:43.13mnemoclibv: :)
20:43.40mnemoclibv: android is nice only from a user perspective
20:43.41focus_itlibv: do you have sources I can read?
20:43.52libvfocus_it: google.
20:44.24libvfocus_it: i am amazed that you do not know about it, given that you are all "free board layout" and such
20:44.26focus_itlibv: I jumped the gun there, its android?
20:45.07focus_itI know linux and embedded CPU but new to Linux on embedded CPU
20:45.42focus_itfrom my perspective, the Linux situation is utter madnesss
20:45.59focus_itLinux on SoC? no chance in EVERY direction
20:46.21libv?
20:46.23focus_itif I got PIC chip - no problem with writing any kind of embedded app
20:46.35focus_itI can get data sheets and go
20:47.00focus_itSoC datasheets? - not a single full datasheet available anywhere
20:47.31focus_itcovering everything from registers to settings to get say the video working and 3D working
20:47.45*** join/#arm-netbook MindBeat (~mindbeat@81.235.32.58)
20:47.49libv...
20:48.06focus_itI am so disppointed, I thought the best thing is to make a SO-DIMM with A10
20:48.16focus_itand then release the KiCAD files
20:48.43focus_itAt least for the A10 there is remote possibility of gettting some Linux working with all the good work at sunxi
20:49.04mnemoccheap soc = poor documentation, if any
20:49.44focus_itmnemoc: that is just cover story - without FULL documentation a chip cannot be designed and tested and released from manufacturing
20:51.22focus_itsoftware cannot be written without the full documentation
20:51.38focus_itso all those androids out there, there is full documentation somewhere
20:51.57focus_itfor some reason, the toads are being ordered to hide the documentation from Linux
20:52.13focus_itif the documentation is released, its more sales for the chip maker
20:52.43focus_itso any investor in the company will demand release of documentation
20:52.51focus_itbut it don't happen
20:53.02mnemocfocus_it: software is all done within allwinner walls, most pcb design is also done by them
20:53.27focus_itprobably because some investors and/or other powers be are conspiring to keep SoC datasheets from general availability
20:53.30mnemocfocus_it: they only need some notes in chinese and ask the guy in the next desk
20:54.13focus_itallwinner is a software company that merged with hardware company - but that don't excuse the rest of the SoC makers
20:54.21mnemocthe NDAed user manual for the A10 was leaked. and it's incomplete and in several parts invalid
20:54.59focus_itmnemoc: that just what I mean, the complete information is deliberately being withheld.
20:55.31mnemocthe parts they don't own probably
20:55.39focus_itif you became successful, and then licensed your own chip, would you not release the datasheet asap?
20:56.03focus_itits the only way you gonna get sales
20:56.11mnemocnot in their business model
20:56.51focus_itif I were rich, i'd buy IP for SoC with a view to a full datasheet
20:56.52mnemocthey sell ready-to-cook products, not chips
20:57.40focus_itbut surely they make so much money they can sell chips on demand now and profit from that?
20:57.47*** join/#arm-netbook tuliom (~tuliom@186.214.53.234)
20:58.35focus_itif I were SoC maker and make money, I'd invest in http://www.opencores.org projects and get me lots of IP that is free
20:58.51focus_itThen my SoC would be free and far more powerful
20:59.14focus_itI could put 10 CPUs in and thats just more VHDL!
20:59.22focus_itnot pay licensing fees for the core
20:59.46focus_itopencores.org has already make open source CPU that runs Linux
20:59.57focus_itits not arm
21:00.36technhuihai
21:02.35mnemocTurl: wtf! you have to tap the build number in the about thing 10 times to get the developer options thing
21:02.57Turlmnemoc: go to about phone
21:02.58Turlmnemoc: tap a crapton of times on the build number
21:02.58Turlit'll pop up and say "you're a developer now!" or something of sorts
21:02.58Turlthen go to the main settings page and enable as usual
21:02.58Turlyeah, it's silly imo
21:03.16mnemoc23s too late :)
21:03.42mnemocabsolutely silly
21:06.46Turlmy sphere camera is buggy too :<
21:06.58Turldid two shots, both are fail, image is all mixed up
21:12.32WarheadsSEquick question: adding to u-boot
21:13.21WarheadsSEanyone got a quick run through, of best-case steps? I've got to do something about this PLX POS before Arch dead's it out. Step one for me is the uboot being a pile of crap, and need to get to something more modern/capable.
21:16.29*** join/#arm-netbook Mazon (~Mazon@95.166.104.217)
21:18.42hno<PROTECTED>
21:19.51hnoWarheadsSE, Is the u-boot sources you have git based or only a tarball?
21:19.56WarheadsSEI'm working on that. I have their POC 1.1.2 up to 1.1.4, but trying to see about a much larger jump
21:20.04WarheadsSEI made them git based
21:20.12WarheadsSEthey were just tarball
21:20.22WarheadsSEhttps://github.com/WarheadsSE/uboot-ox820
21:20.47hnook, so you have identified the original version it's based on. Then just to a leap forward to current version and fixup whatever breaks.
21:21.14hnoyou might want to prune out crap first if they have touched irrelevant files.
21:22.13WarheadsSEI did a lot of that when patching w/ diff from raw 1.1.2 & 1.1.4 sources.
21:22.18hnoIs this an SPL u-boot or plain simple u-boot loaded by some other bootloader/rom that first configures the CPU?
21:22.29WarheadsSEit's a stage2 only.
21:22.40hnoplain & simple u-boot then.
21:22.47WarheadsSEfairly so
21:23.06WarheadsSEI have the sources for the stage1, but I cannot release those
21:23.38hnoassuming stage1 is not u-boot then there is no need to touch that.
21:24.00WarheadsSEright
21:25.16WarheadsSEsomeone had previously supposedly made progress on this in an attept to get to 2009.11, but I have never been able to make use of their work
21:25.23WarheadsSEhaven't quite wrapped my head around it
21:25.37WarheadsSE(it was 2011.09)
21:28.48WarheadsSEanyone know of a distinct init difference between the arm1136 & the arm11MP ?
21:36.14*** join/#arm-netbook drachenphone (~AndChat39@24.73.225.178)
21:45.24*** part/#arm-netbook slash_random1 (~david@host188.181-1-116.telecom.net.ar)
21:52.11libvmnemoc: is mainlining the mali kernel driver actually in that wiki page?
21:52.16libv*sighs*
21:53.33mnemoclibv: :(
21:54.06libvthat page is quite out of touch with reality
22:06.33hnoWarheadsSE, not me.
22:07.13hnoWarheadsSE, #u-boot might be a better place to ask, maybe..
22:10.07hnoslapin_, aha. Seems to be something related to clocking on the cubieboard. Works if I chainload from NAND u-boot.
22:10.49hnopll5 is set differently there.
22:10.57*** join/#arm-netbook XenGi (~xengi@194.29.236.67)
22:25.21slapin_hno: please dump appropriate registers
22:35.49slapin_hno: /me fails to make reading work
22:38.30slapin_hno: nand dump reads something weird...
22:41.33mnemocwrongly initialized dma or something like that?
22:45.17slapin_gives up for today, it seems it works differently from what I thought
22:45.38mnemoctried the boot0 variant?
22:46.08mnemocor it's the same thing?
22:47.03slapin_mnemoc: which boot0 variant?
22:47.21mnemochttps://github.com/linux-sunxi/linux-sunxi/tree/wip/lichee3-sunxi/import-a10s-sdk/drivers/block/sun5i_nand/src/boot0
22:48.39hnoslapin_, I suspect the data is randomized.
22:51.23hnoslapin_, http://fpaste.org/8bTE/ is a full trace of allwinner nand driver reading the partition table.
22:51.49hnowhole initialization sequence to bootwait prompt.
22:52.51hnokeep in mind that it uses DMA for bulk data transfer and those transfers are not visible, only command sequence and direct SRAM read/writes.
22:53.41slapin_hno: they always use DMA, can't see how to read without DMA
22:54.05hnomnemoc, it's pretty much the same code as in the bigger driver, just with all other cruft cut out.
22:54.23slapin_mnemoc: low level part is the same
22:54.23hnoslapin_, probably works polling the IO register.
22:54.24mnemocok
22:54.52slapin_hno: IO_DATA always returns 0, will try again...
23:00.03slapin_hno: no, IO_DATA always reads 0
23:00.27slapin_hno: probably it needs to be enabled somehow, but dunno
23:01.21slapin_also, is it possible, that during read it detects command code and does something different based on it?
23:02.05slapin_I tried to do command and read data afterwards, it reads some crap (byte 0x30)
23:02.53slapin_I don't see why reading is different from e.g reading of ID.
23:03.17slapin_from POV of NAND chip it is the same, just different command code,
23:03.54slapin_I tried to program it similar, but failed.
23:04.56slapin_just normal sequence 0x00 CCCRR  0x30 -> DDDDDD doesn't work.
23:06.20slapin_just if I had oscillooscope or logic analyser.... :(
23:13.11focus_itslapin_: cheap http://www.ebay.co.uk/itm/New-ARM-NANO-DSO201-Oscilloscope-Mini-Storage-Digital-Pocket-Sized-Portable-Kit-/270972259947?pt=UK_BOI_Electrical_Test_Measurement_Equipment_ET&hash=item3f17348e6b
23:18.08*** join/#arm-netbook drachenphone2 (~AndChat39@208.54.85.161)
23:23.35Mehhh_Overpriced
23:23.42Mehhh_wups WC
23:39.00*** join/#arm-netbook drachenphone (~AndChat39@142.196.83.182)
23:48.28Mehhh_Hey, does it matter if the vfat partition is exactly 83 sectors?
23:48.41Mehhh_or can I just set it to 10MB or something?
23:55.24libvall that matters is that the spl and u-boot bits that you dd are in the proper location
23:55.27libvuboot can take it from there
23:58.00*** join/#arm-netbook XenGi (~xengi@46.115.65.72)

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