IRC log for #arm-netbook on 20120818

00:01.54*** join/#arm-netbook tuliom_ (~tuliom@186.214.74.79)
00:57.55*** join/#arm-netbook acfrazier (~acfrazier@opensn0w/developer/acfrazier)
01:03.58*** join/#arm-netbook QingPei (~qingpei@221.220.105.231)
02:04.09*** join/#arm-netbook Boulet (~sid6581@184.22.182.10)
02:18.05Turlthere's an article on hackaday about inductive charging on a Gemei tablet
02:37.47*** join/#arm-netbook ZaEarl (~malmrose@116.199.217.68)
02:49.10*** join/#arm-netbook newbie1 (~kvirc@220-136-72-147.dynamic.hinet.net)
02:53.32*** join/#arm-netbook _whitelogger (~whitelogg@fehu.whitequark.org)
02:54.55*** join/#arm-netbook _whitelogger (~whitelogg@fehu.whitequark.org)
02:55.18*** join/#arm-netbook _whitelogger (~whitelogg@fehu.whitequark.org)
02:56.14*** join/#arm-netbook _whitelogger (~whitelogg@fehu.whitequark.org)
03:02.16Bouletthere's something weird going on with mksunxiboot
03:03.36*** join/#arm-netbook _whitelogger (~whitelogg@fehu.whitequark.org)
04:13.10*** join/#arm-netbook piezo (~piezo@pdpc/supporter/active/piezo)
05:15.13*** join/#arm-netbook gimli (~gimli@xbmc/staff/gimli)
06:02.02Bouletmksunxiboot does not work as soon as file is >512 bytes
06:02.14Bouletjust added a nop to prove it
06:17.57TurlBoulet: well isn't the boot space 512 bytes?
06:19.00Bouletit should be almost the size of the sram 48kb
06:19.14Boulethowever mksunxiboot limit it to 24KB (and i have a boot0 here that is 24kb)
06:19.47Bouletbrom needs some sram for the stack and buffers (like when reading a sector)
06:22.05Bouletgosh i don't want to disassemble brom and try to find out what's wrong :(
06:23.13Turl:(
06:23.50Bouletbut i think hno and rayman can generate a proper boot0, hopefully they have some answers !
06:24.31Bouletor maybe they did not generate it and it is just a dump of nand :(
06:29.40*** join/#arm-netbook ZaEarl (~malmrose@203-97-164-178.cable.paradise.net.nz)
06:33.17Turlgood night all
06:36.31Bouletbye bye
06:37.40furando we have a brom dump?
06:37.44furani'd love to look at that
06:40.10Bouletfor a10 yes
06:40.17Boulet(disassembled)
06:40.22Bouletfor a13 we have but not disassembled
06:40.51Bouletok i have mkunxiboot working on a13 now :) just had to add some version numbers to the header
06:59.34*** join/#arm-netbook Quarx (~Quarx@94.137.44.222)
07:54.46Bouletgraaaaaaaah that thing still does not work
07:58.42*** join/#arm-netbook popolon (~popolon@2a01:e35:2e1e:a6c0:482b:5a81:1753:d00e)
09:04.03*** join/#arm-netbook Quarx (~Quarx@94.137.44.222)
09:23.48*** join/#arm-netbook xiambax (~xiambax@S01060023697f9afb.vn.shawcable.net)
09:44.21hnoBoulet, the key to what's wrong is in boot0, not BROM.
09:46.50hnodisassembly of BROM is mostly interesting to itendify how to easily do USB device mode (FEL), SD, NAND accesses in a simple manner. We know very little about those controllers.
09:48.13hnofuran, https://github.com/hno/Allwinner-Info/tree/master/A13/BROM
09:48.34hnofuran, what do you want to look at in BROM?
09:49.45hnoBoulet, what was missing in mksunixboot?
09:51.43Boulethno i totally agree
09:51.59Boulethno, i think my problem was something else, sorry
09:52.59Bouletjust missing some version number that is probably useless
10:12.45hnoBoulet, remember that the code is loaded at 0x0030, not 0x0000. mksunixboot adds a header infront.
10:16.42Bouletoh
10:17.26hnoin most ARM code you don't notice as it's position indepent.
10:18.10hnoBoulet, what are you working on?
10:21.06Bouletfor some reason, i had a problem to burn the file with my FAT16 formatted SD card !!!!
10:21.16Bouletnow that it is fat32, it works !!!! d'oh !!!
10:21.27Bouletweirdness
10:22.12Boulethno, toying around with that chip :)
10:22.19Bouletno linux involved
10:30.50*** join/#arm-netbook Mazon (~Mazon@95.166.104.217)
10:37.53hnoBoulet, raw boot code at 8K offset?
10:38.20hnonever seen that dependent on any partitioning or filesystem format.
10:38.22Bouletyeah i have some weird issues with my SD card, some sectors are not being written
10:38.44hnoBoulet, are you remembering to eject the card before removing it from your card reader?
10:39.26hnodd if=... of=/dev/sdX bs=1024 seek=8
10:39.28RaYmAnit can also cause fun issues occasionally, if you have any partitions on the card mounted when you do the dd (peculiar, but it can)
10:39.43hnoeject /dev/sdX
10:39.46hnoboth as root.
10:40.17Bouletok
10:40.29hnoRaYmAn, yes, eject only works if those can be automatically umounted.
10:42.46*** join/#arm-netbook Vayu_ (~yundin@85.233.249.22)
11:02.16*** join/#arm-netbook tavish3 (~tavish@125.63.106.147)
11:06.56*** join/#arm-netbook penguin42 (~dg@tu006.demon.co.uk)
11:25.57*** join/#arm-netbook tuliom (~tuliom@177.99.128.128)
11:34.27*** join/#arm-netbook popolon (~popolon@2a01:e35:2e1e:a6c0:c5c7:ebcc:8657:9cc4)
11:38.26*** join/#arm-netbook Holo_ (u6962@gateway/web/irccloud.com/x-eeshnzxoxtuqlgda)
11:48.38*** join/#arm-netbook steev (u1383@gentoo/developer/steev)
11:55.37*** join/#arm-netbook Hexxeh (u1532@gateway/web/irccloud.com/x-ivnayjzjouznsrsi)
12:24.05*** join/#arm-netbook Boulet (~sid6581@27.38.164.25)
13:45.07*** join/#arm-netbook Boulet (~sid6581@184.22.183.18)
13:54.54hnoBoulet, put boot0 files is dumps from nand, as that is the only place where actual parameters can be found, configured by livesuit while flashing.
13:56.17hnoearlier the parameters was set in the fex and reflected in script.bin, but for a13 they made livesuit autodetect many things.
13:57.04*** join/#arm-netbook popolon (~popolon@2a01:e35:2e1e:a6c0:d490:433e:24a9:df93)
13:58.28hnobut i do doubt the validity of some of it's probed parameters.
14:01.44Bouletyeah, my stuff's working now
14:02.03Bouleti did some bad things with my SD card i think ahahahha
14:02.06Bouletnow it's fine
14:03.36Bouleti might go say hi to the allwinner guys since they are not too far from me :)
14:12.40hnoBoulet, yes, go visit Tom.
14:13.01Bouletyeah, that's the plan
14:14.30RaYmAnbreak in & steal & leak all the secret sauce ;)
14:14.44Bouletyeah, that's the plan
14:14.55Boulethaha
14:15.32Bouletactually i am not sure what to talk about yet, just meeting them would be neat
14:29.34hnoNo stolen sauce please. Can't deal with such poison.
14:30.05RaYmAnit was a joke obviously ;)
14:30.10Bouletobviously :)
14:30.26hnoI know.
14:30.40hnobut it's still a fact.
14:30.41Bouletand i don't want to be deported !
14:45.26Bouletok, time to go partying ... :) bye !
14:50.12popolonhttp://www.openstreetmap.org/?lat=22.374182&lon=113.568151&zoom=18&layers=M <= if needed ;)
14:51.33popolonthe real-life URL of AllWinner
14:52.24technhttps://github.com/amery/linux-allwinner/pull/66
14:53.44specingThey are in the software park, hahahahaahahah
14:59.33popolontheir adress in on their website :)
14:59.41popolonand some picture of the buildings
14:59.52popolon=> I deducted that was here and added on OSM
15:06.43popolonNot sure about the limits of the complex, the 2 sports pitch at left are for basketball represented in their picture, probably on allwinner or software park land
15:07.19specingcorporate sports?
15:07.30specingunbelievable in China!
15:08.16popolonthere are sports pitch everywhere in china
15:08.30popolonschool, corporates, university
15:09.09popolonin university there are 15 or 20 tennis cluster
15:09.12popolonsame for basket
15:11.19specing0.o
15:11.23popolonhttp://www.allwinnertech.com/image/awt/introduction.jpg
15:12.55popolonmedium city like Zhuhai (where allwinner is) ~10 millions people city, have at least 50 football (soccer) stadiums :D
15:13.33popolonhttp://binged.it/R8INAy
15:13.54popolonThe Zhuhai campus of university of Beijing, just at west of Allwinner :))
15:14.24popolon18 basket pitchs + 16 tennis pitch
15:15.57popolonhttp://binged.it/Qbgr3Q <= another campus at south of the city , the white blocs at south-east are baskets pitchs too :)
15:16.16popolonthere is 5 or 6 campus in this city
15:21.53popolonand in chinese gardens, every soon at morning until late the evening there are lot of people doing taijiquan (taichi), dancing, or practising sports and music
15:22.40popolonor traditionnal chinese games like go, chinese chess, mahjong or chinese chess
15:35.21Turlif anyone was considering buying an "AK802" or arduino, see DX http://e.dx.com/albums/201208/practical-gadgets/default.html?utm_source=dx&utm_medium=edm&utm_campaign=20120817&r=90000447
15:35.27Turl59.89$ for the AK802
15:42.28Turlapparently it's pretty much the MK802 but with 1G RAM
15:42.48RaYmAnak802 and mk802 was used interchangably when it came out as well
15:42.58RaYmAn1gb ram is mk802 or ak802 as well.
15:45.51*** join/#arm-netbook gimli (~gimli@xbmc/staff/gimli)
15:51.10*** part/#arm-netbook QingPei (~qingpei@221.220.105.231)
15:58.22hnoRaYmAn, mk802 was 512 when it came out.
15:59.17RaYmAnhno: I bought my mk802 a few weeks after it came out afaik. it was 1gb.
15:59.47RaYmAnI'm well aware both versions exist, but mk802 == ak802 in any case ;)
16:02.17hnoRaYmAn, are you sure? I had the impression the 1GB model was almost a month after launch.
16:02.41RaYmAnnot entirely sure when exactly the 512mb came out
16:07.38RITRedbeardstill messing with my mk802
16:30.44*** join/#arm-netbook simonckenyon (~kvirc@195.7.61.8)
16:34.27popolonmk802 II has 1 Go
16:35.19popolonstill no bluetooth
16:35.27orly_owlGo?
16:35.33popolonoops
16:35.35popolon1 GB
16:35.39orly_owlah
16:36.37popolonAK802 has only 1 usb, MK802 has 1 USB + 2micro-USB
16:38.28popolonthere is a version of AK802 with 512 MB too
16:38.38hnoAK802 should have one mUSB as well.
16:38.42popolonI suppose that's the same product with different brands
16:39.36RaYmAnthat's the thing. pretty much all companies claiming to have "made" mk802 or ak802 are just selling rebranded devices
16:39.38hnoRikomagic sells their stick OEM or with custom branding.
16:40.00RaYmAnIs it actually rikomagic that "makes" them or are they just resellers as well?
16:40.11popolonthat's not clear
16:40.17popolonthey also sell a smartbook
16:40.30popolonthat is the same than the not branded H6
16:40.40popolon(allwinner smartbook)
16:41.07hnoAll AK802 I have seen have HDMI, USB-host, uSD, mUSB.
16:41.19hnosame as MK802 (not II)
16:41.39popolonhttp://www.cnx-software.com/2012/08/02/allwinner-a10-based-h6-android-4-0-netbook-sells-for-140/
16:42.44popolonhttp://www.tgdaily.com/mobility-features/65259-this-rikomagic-arm-netbook-runs-android-linux
16:42.51popolon(rikomagic version :)
16:43.26popolonreally thick for a smartbook :(
16:43.48popolonlooks like eeepc :(
16:44.52popolon"Rikomagic says the device - which seems based on Panda’s ARM-powered $141 H6 netbook - will likely appeal to devs and modders, rather than mainstream consumers."
16:45.47*** join/#arm-netbook Vayu (~yundin@85.233.249.22)
16:51.08popolonhttp://www.yfgps.com/en/product.php?coid=712 <= they could be the producer of the arnova 13" tablet with allwinner A10
16:51.50popolonhttp://www.yfgps.com/en/product.php?coid=726
16:51.52popolonyes :)
16:52.53popolonthey have  4 13" models
16:53.13popolonwith really few changes ???
16:54.02hnohttp://www.yfgps.com/en/product.php?coid=729  is that Allwinner A12?
16:54.10hnoOr some other A12?
16:54.55popolonlot of typo erros on those chinese website :(
16:55.11popolonprobably the webmaster even don't know a word of english
16:56.03popolonI make typo errors too :D
16:56.21popolons/make/do/
16:59.39popolonthey will go at IFA Berlin
17:01.47popolonA12 is rockchip
17:01.55popolonhttp://www.aliexpress.com/store/group/A12-Rockchip-RK2918-ARM-Cortex-A8-IPTV-SET-TOP-BOX/702463_211247571.html
17:02.33popolonnot really clear, could be the box name here ????
17:06.04hnoHmm.. allwinner.com web site, is that an official one? It does have an old copy of the datasheet available in download, and allwinnertech marketing display on frontpage.
17:06.59*** join/#arm-netbook arokux_h (~arokux@HSI-KBW-149-172-112-52.hsi13.kabel-badenwuerttemberg.de)
17:30.52popolonRegistrant:
17:30.53popolonBDD Group
17:30.53popolon<PROTECTED>
17:30.53popolon<PROTECTED>
17:30.53popolon<PROTECTED>
17:30.53popolon<PROTECTED>
17:31.07popolonfor ammwinner.com
17:32.03popolonjust network solution that registered this domain
17:32.21popolonRegistrar: XIN NET TECHNOLOGY CORPORATION for allwinnertech.com
17:32.53arokux_hhno, would it be possible for A10 to load the kernel image over network with our U-Boot over tftp? seems to be practical.
17:33.16popolonif you click on the chinese flag, you are redirected to allwinnertech.com
17:33.42arokux_hone wouldn't need to copy the image to the sd card all the time.
17:33.54RaYmAnyou can load over serial :P
17:34.46RaYmAnloading over network requires that u-boot supports the network chip in question - so it'd probably be *possible* to do with e.g. the built-in mac, but wireless would probably be a hell of a lot harder
17:38.31arokux_hRaYmAn, I do not have a serial cable..
17:39.05arokux_hhm.. but I bet our U-Boot doesn't have ethernet driver right?
17:39.12RaYmAnNot afaik.
17:39.21RaYmAnyou didn't ask if it was possible *right now* :P
17:41.31arokux_hRaYmAn, didn't get your last message
17:45.51arokux_hhm.. don't the ethernet controllers provide some basic genera interface to them?
17:46.21arokux_hsmth. like VESA (if I remember this name correctly) for graphic adapters?
17:46.33RaYmAnVESA is really x86 only
17:47.08jelly-homenothing like a little 8086 and BIOS emulation to get a framebuffer initialized
17:52.27penguin42arokux_h: There's no standard interface for ether cards; and no equivalent for any device on ARM, even graphics card
17:53.00arokux_hpenguin42, I LOVE ARM
17:53.12RaYmAnpenguin42: serial almost is ;) just $offset that's different :P
17:53.39penguin42RaYmAn: are you sure? I mean the ones who just use AMBA modules sure, but there are many screwed up designs that don't
17:53.56RaYmAnI said almost :P
17:54.48penguin42RaYmAn: It's like, OK, it's a serial port, there are only about 4 registers and yet they still manage to find a way to make it a bit different
17:55.12RaYmAnindeed
17:56.07RaYmAnlow-speed serial seems to be vaguely standard across a lot of SoC's though :)
18:12.05hnoarokux_h, if someone writes a wemac driver for u-boot yes.
18:13.48hnoarokux_h, and no, there is no standard ethernet controller interface. Only the physical layer (what happens on the wire) is standardised.
18:14.12hnoplus the protocols over it.
18:14.33arokux_hhno, well phys. layer should be standardized :) otherwise the other side won't understand anything.
18:14.57popolonthis remember me the ethernet negociation problems on 10/100 HD/FD 10 years ago, depending on vendors ;)
18:16.12hnopopolon, those are still there.
18:16.20*** join/#arm-netbook mpthompson (~IceChat77@c-50-131-39-81.hsd1.ca.comcast.net)
18:17.22hnomost people do not understand that hardcoding on one end requires you to hardcode both for proper operation.
18:18.32netchip7
18:28.41popolonhno : there is no reference to : Copyright © 2012 Allwinner Technology Co., Ltd. All Rights Reserved.     珠海全志科技股份有限公司    版权所有 on allwinner.com, like there is on allwinnertech.com
18:28.49popolonbut there is a form for email
18:29.28popoloncould be a honeypot
18:33.18*** join/#arm-netbook xiambax (~xiambax@S01060023697f9afb.vn.shawcable.net)
18:43.02furanposted a tutorial on upgrading nand flash in a10 devices
18:43.12furanhttp://boards.dingoonity.org/android-devices/advanced-howto-upgrade-internal-nand-flash-on-any-device-%28up-to-64gb%29-%28advanced/
18:43.29furan(I fixed the subject but the url is still inaccurate, it's just for a10/a13 devices)
18:44.25Turlfuran: wiki? :D
18:50.00*** join/#arm-netbook ssvb (~ssvb@a88-114-220-213.elisa-laajakaista.fi)
18:54.56Turlfuu more spam on wiki :<
19:13.02Turlwent on a bot killing spree
20:07.39hnofuran, nice job. But please post things like this on the wiki.
20:08.10hnoespecially your findings on the nand table entry contents.
20:09.59hnowe hope to get rid of the proprietary bootloaders.
20:10.23hnobut will likely need to use the Allwinner NAND driver for some time.
20:19.51hnothat nand controller is "different".
20:20.24*** join/#arm-netbook Boulet (~sid6581@184.22.183.18)
20:56.25steevfuran: nicely done sir
21:13.37*** join/#arm-netbook tuliom (~tuliom@177.99.128.128)
22:09.31furanthanks guys
22:09.40furanhno: yeah it's a mess
22:34.05Marexhno: heya! :)
22:34.25Marexhno: did you get time to check the upstream goo ?
22:35.55hnoMarex, still fighting with DRAM setup on A13. in general.
22:36.18Marexhno: all righty, good luck then :)
22:36.41hnoI hope to see some life from SPL in a minute.
22:37.05hnoBut no...
22:38.16Marexhno: SPL doesn't start for you at all ?
22:39.04Marexhno: if you have serial port, you can call "serial_init()" and "serial_puts()" to pump out some debugging symbols basically right after you have stack set up (after you leave start.S and execute C code)
22:39.05hnoThe DRAM controller never finishes it's initialization for some reason.
22:39.17Marexjust remember you need CONFIG_SPL_SERIAL_SUPPORT in your include/configs/...h
22:39.23Marexhno: oh this
22:39.43hnoRunning it under gdb via JTAG
22:40.46Marexhno: might be a timing issue due to the single stepping ?
22:40.51Marexor maybe you break it somewhere ?
22:41.17Marexhno: I think I won't be much help really, I have only a very blurry idea about this particular chip
22:41.26hnoDoes not seem to be a timing issue. Hangs at same location without any breakpoints.
22:41.40furanhno what are you fighting? if the source is out, I guess I'm not sure what you're doing - are you writing new drivers for these things?
22:41.49furanit sounds cool though
22:42.04hnofuran, source is not out for initial boot process on A13.
22:42.41Marexhno: why does it hang ? the core halts ?
22:42.58Marexhno: aren't you hitting some exception, like DABT due to accessing uninited memory ?
22:43.13hnoIt's a loop waiting for the dram controller to flip a bit saying it's ready.
22:43.30hnono memory accesses yet.
22:43.54Marexoh, then you're likely missing some configuration ... it's hard to tell without ref. sources or datasheet
22:44.09Marexyou can maybe setup HW watchpoints and trace the original code that does the init though ?
22:45.37furanoic
22:45.47Marexfuran: wat ? :)
22:45.52furanoh i see
22:45.56furanresponding to hno :)
22:46.17Marexhydrogen nitrogen oxygen :p
22:46.26furanI have yet to use jtag to debug, not even sure what sw to use, even though I have dongles for it for fpga stuff
22:46.35hnoHW watchpoints during original initialization process would be interesting. Need to try that. But currently matching register dumps to make sure I set up the registers right.
22:47.03furanis there a tutorial somewhere on doing jtag debuggiing?
22:47.05Marexhno: you usually need to write the registers in correct sequence
22:47.08furandebugging
22:47.15Marexfuran: read up on OpenOCD ... that's cool
22:47.24furanok
22:47.33Marexfuran: for stuff like programming xscale chips, read up on openwince-jtag (now urjtag)
22:47.56Marexfuran: when you want to go to next level, get abatron bdi3000 :p
22:48.12Marexfuran: and then the only way up is probably the lauterbach one ;-D
22:48.24Marexputs off the drool
22:48.54furanhaha ok
22:49.26Marexhno: another interesting thing you might want to try is qemulating the init code (in qemu) ... you can trap hardware accesses there really easily
22:49.31furanis there anything else usually on the jtag chain besides the cpu?
22:49.38furanon allwinner devices
22:50.13Marexfuran: no idea about allwiener ... but there might be
22:51.56hnofuran, no idea what's on the chain. Only know how to access the cpu.
22:56.56Marexhno: the JTAG is a bus, like any other ... and there can be multiple devices connected on it
22:57.19Marexhno: usually, there's only the CPU, alone, sad ... but there might be eg. an FPGA on the same JTAG bus
22:57.50furanwell I was wondering if flash was on jtag but the jtag pads I've seen are right next to the cpu
22:58.05furanso perhaps not
22:58.30penguin42don't you normally have to do evil things like wiggle the CPU pins over JTAG to do flash writes?
22:58.32Marexfuran: that's not very likely
22:58.38Marexpenguin42: yes
22:58.40hnoThere is no JTAG chaining to external components. But there is multiple CPUs within the chip.
22:59.02furanpenguin42: no
22:59.19Marexhno: the multiple CPUs business in case of the armv7 is handled by that coresight goo arm has
22:59.26furanusually they're just on the jtag chain as independent devices (flash)
22:59.43furanI have a lot of fpga boards that are like that, fpga and flash in the same chain
23:01.54hnofuran, I don't see any JTAG signals in the normal NAND pinout.
23:02.42Marexfuran: I didn't see too many flash chips with JTAG pads ;-)
23:05.56*** join/#arm-netbook L84Supper (~ly@unaffiliated/l84supper)
23:10.23*** join/#arm-netbook RITRedbeard_ (~redbeard@c-68-37-165-37.hsd1.nj.comcast.net)
23:38.34*** join/#arm-netbook rellla (~chatzilla@p4FE56151.dip0.t-ipconnect.de)

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