IRC log for #arm-netbook on 20121108

00:11.06*** join/#arm-netbook bsdfox (~Bob@c-71-197-83-152.hsd1.ca.comcast.net)
00:11.07*** join/#arm-netbook bsdfox (~Bob@unaffiliated/bsdfox)
00:15.01libvhah, you need an arm proprietary header file for anything to build against the mali driver on fb.
00:17.00traeakd20d  ?
00:17.01traeakhehe
00:17.05lundmanfacebook doesnt build anythign!
00:24.30libvok, pbuffer egl test seems to have worked
00:35.41*** join/#arm-netbook L84Supper (~Larch@unaffiliated/l84supper)
00:54.17*** join/#arm-netbook ZaEarl (~malmrose@11.host-182-48-149.compassnet.co.nz)
01:07.53*** join/#arm-netbook DEAT (~heh@14-201-99-152.tpgi.com.au)
01:11.22bsdfoxwhat's the status of sata on sunxi-3.4?
01:11.46bsdfoxstill broken because PLL6 is clocked for MALI?
01:14.14*** join/#arm-netbook Gujs (~Gujs@cpe-92-37-2-176.dynamic.amis.net)
01:28.15*** join/#arm-netbook Gujs (~Gujs@cpe-92-37-71-225.dynamic.amis.net)
01:36.22*** join/#arm-netbook stefanro1 (~stefan@pD9FFA7D5.dip.t-dialin.net)
01:38.45*** join/#arm-netbook Gujs (~Gujs@cpe-92-37-71-54.dynamic.amis.net)
01:39.16*** join/#arm-netbook ZaEarl_ (~malmrose@209.host-182-48-148.compassnet.co.nz)
01:43.58*** join/#arm-netbook kop (~kop@c-67-185-30-133.hsd1.wa.comcast.net)
01:50.14*** join/#arm-netbook freakazoid0223 (~matt@pool-173-75-233-172.phlapa.fios.verizon.net)
01:55.15*** join/#arm-netbook Gujs (~Gujs@cpe-92-37-23-63.dynamic.amis.net)
01:56.43*** join/#arm-netbook DEAT (~heh@14-201-99-152.tpgi.com.au)
01:57.21slapin_hno: nand stuff is so frustrating in lots of places, see for example nand_sunxi/src/physic/nand_simple_r.c:892 and its neighbours, and look at usage.
01:58.06slapin_hno: could you please help me decrypt the "why" clause in this pattern?
06:38.47*** join/#arm-netbook ibot (~ibot@rikers.org)
06:38.47*** 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/
06:44.55*** join/#arm-netbook cheng (~cheng@175.139.227.230)
06:55.43*** join/#arm-netbook jquip (~johnny@223.230.10.10)
06:58.31*** join/#arm-netbook rellla (~rellla@p5B078661.dip0.t-ipconnect.de)
07:04.51hnoslapin, that simply waits for the nand die (or whole chip) to complete whatever operation it's currently doing.
07:09.11hnolook at the simple case, bMode == 0, !SUPPORT_MULTI_PROGRAM. ->   CMD = 0x70 == READ STATUS REGISTER
07:11.00hnoThe other three cases is the same but at different level of granularity (bank interleaved or multi operation)
07:13.15hnoThis micron presentation explains those two optimizations if you are not familiar with them: http://www.micron.com/~/media/Documents/Products/Presentation/flash_mem_summit_08_rfisher_optimizing_flash.pdf
07:13.31*** join/#arm-netbook rellla2 (~rellla@p5B078351.dip0.t-ipconnect.de)
07:14.59bsdfoxhno, can you help decipher my pastebin?
07:18.11hnoslapin, the Allwinner nand driver & controller an optimized single-channel controller.
07:19.28hnoslapin, but you don't need to use any of the multi-plane or interleave optimizations to access nand. It's only optimizations, multiplying the performance of the NAND bus but still only optimizations.
07:24.19hnobsdfox, wemac crash. Do you have ethernet? What device are you running on?
07:26.59lundmanhmm man, very few examples on how to use this
07:29.18*** join/#arm-netbook Graffiti (c10f5f02@gateway/web/freenode/ip.193.15.95.2)
07:30.58*** join/#arm-netbook pawel5870 (~pkarpins@pc.193147149.ip.amg.net.pl)
07:36.29hnolundman, what?
07:36.46*** join/#arm-netbook DEAT (~heh@14-201-99-152.tpgi.com.au)
07:37.44lundmantrying to do AEAD crypto call
07:38.42hnosorry, not familiar with that.
07:50.00*** join/#arm-netbook cat_x301 (~cat@gprs-internet-ff9eee00-111.dhcp.inet.fi)
07:54.54*** join/#arm-netbook rellla (~rellla@p5B078351.dip0.t-ipconnect.de)
08:05.04*** part/#arm-netbook gx260 (~gx260@doc-209-33-36-90.sv.oh.cebridge.net)
08:05.26*** join/#arm-netbook arnd_ (~arnd@HSI-KBW-149-172-5-253.hsi13.kabel-badenwuerttemberg.de)
08:12.22*** join/#arm-netbook alcides (~alcides@187.23.196.11)
08:12.23*** join/#arm-netbook alcides (~alcides@unaffiliated/alcides)
08:14.55Graffitirellla: please can you share your xbmc .deb
08:15.18Graffitii asked you in XBMC forums u doubted that moderators may block it
08:16.50relllaGraffiti: i only have a tar.gz ;-) http://speedy.sh/FErRX/xbmca10.tar.gz - including pvr-addons
08:18.16relllayou have to install the deps on your prod-system yourself. this package is made on and for debian-armhf with r3p0 malis
08:19.13Graffitirellla: I am using ready image from guillaume
08:19.30Graffitiwhich is armhr but not sure about the mali version
08:20.05Graffiti*armhf
08:23.01Graffitithanks a lot.. will try to install
08:27.03relllamnemoc: does the hw-pack-script need to have a ready rootfs on the system?
08:28.34mnemocif the 3rd argument is "norootfs" it assumes the card already has one
08:29.21mnemocwe have our own (wip) variant in the sunxi-bsp repo, supporting .tar.xz hwpacks. https://github.com/linux-sunxi/sunxi-bsp/blob/master/scripts/sunxi-media-create.sh
08:32.42relllabut you always have to create one yourself before. sunxi-bsp only bundles kernel etc..
08:41.00mnemocI personally use ubuntu alip as initial roofs
08:42.06mnemoci see no point in making "images" if you only need a 10M + 120M download to get a working system on any card size with your favourite distro on it
08:42.51rellla+1
08:43.22mnemocin the worse case, provide an improved rootfs
08:43.36mnemocbut not a dd-able image
08:46.18relllais there a need to provide a vanilla debian-armhf-rootfs? i don't need it, because i build it myself. imho dd-able images are too confusing and not transparent enough.
08:46.44mnemocdebootstrapping can be annoyingly slow
08:49.01relllai haven't meant to include debootstrapping in sunxi-bsp scripts, but providing a already done debian-armhf-rootfs.tar.xz? - as a alternative to the ubuntu images.
08:54.51mnemocyes, that is what I understood
08:55.14mnemocdebian-armhf-rootfs.tar.xz would be great because "debootstrapping can be annoyingly slow"
08:58.41rmdd is just less work
08:59.22rmwhen you consider that you need: 1) partitioning 2) mkfs 3) uboot-spl 4) uboot 5) mount stuff 6) untar
08:59.30*** join/#arm-netbook wingrime (~alex@78.109.115.103)
09:00.17rmoh, and uImage, script.bin
09:01.09wingrimemnemoc: you asked about sysconfig support in gpio driver from source drop
09:01.19wingrimeI think it not requied
09:01.40mnemocwingrime: i knew that. I asked for testing and comments :)
09:02.04wingrimeyou can use any gpio without premission from  fex
09:02.05mnemocrm: works is done by scripts
09:02.24*** join/#arm-netbook sspiff (828ae336@gateway/web/freenode/ip.130.138.227.54)
09:02.40mnemocwingrime: so you already tested it? how are the pins presented? works fine?
09:02.42wingrimemnemoc: think you can remove this ugly driver from source and use from source  drop
09:04.03wingrimemnemoc: Not, I don't tested but Last time I tryed add some pins to gpio_para I have brick
09:04.22wingrimeIt about old driver
09:04.33wingrimeNew driver uses gpio_class interface
09:04.55mnemoctheir own class, not the standard stuff
09:05.06wingrimeIt even better than old driver and anyway better
09:10.30wingrimemnemoc: Anyone tryed make some profiling to make system run qucker ?
09:12.45mnemocthere are many hacks like https://github.com/linux-sunxi/linux-sunxi/commit/c68effe3cc121a1fb11fb6f8ea36a6db547c52df we need to find why they were needed and fix the code in a decent way instead
09:18.23*** join/#arm-netbook tzafrir_laptop (~tzafrir@local.xorcom.com)
09:23.34*** join/#arm-netbook popolon (~popolon@og-free.planet-service.fr)
09:36.12*** join/#arm-netbook cheng (~cheng@175.139.227.230)
09:37.23relllarm: therefore you have sunxi-media-create.sh. you need to 1) download hwpack 2) download rootfs 3) execute sunxi-media-create.sh
09:42.30rellla1) and 2) could be included in 3)
09:43.26mnemoca wrapper maybe
09:43.38mnemocbut only you know what hwpack you want
09:43.42mnemocand what rootfs you want
09:44.07mnemocso having the 3 steps separated is (imho) the only right way
09:45.24*** join/#arm-netbook Gujs (~Gujs@cpe-92-37-99-96.dynamic.amis.net)
09:48.38*** join/#arm-netbook rz2k (~rzk@95-25-40-131.broadband.corbina.ru)
09:49.45*** join/#arm-netbook jquip (~johnny@106.211.141.59)
09:54.07rmI don't trust those automagic scripts
09:54.14rmwhich claim to "do everything" for you
09:54.23mnemocit doesn't "do everything"
09:54.29rmbecause they fail way too often, in ways that are non-obvious
09:54.41mnemocit partitions, dumps u-boot, copy some files, and extracts a tarball
09:54.59mnemocas long as it stays that simple it should be reliable
09:55.58mnemocbut still needs lots of cleanup
09:57.49mnemocwe can eventually simplify them even more if we get .deb/.rpm files for the libs (and apt/yum repos)
10:01.15mnemocalso for the kernel
10:01.57*** join/#arm-netbook arnd_ (arnd@nat/ibm/x-mtghlobxqkgpmcwy)
10:03.40oliv3r.ebuild!
10:03.41oliv3r:p
10:03.59mnemoc:)
10:04.24oliv3ri've been slackin' and probably         will slack today and tomorrow even due to other things i have to sort!
10:04.25oliv3rsorry :(
10:04.34mnemocslacker
10:06.17rmsunxi-media-create.sh still makes a 16MB /boot???...........
10:06.28mnemocyes
10:06.55mnemocand still vfat ;-)
10:06.58rmcan barely fit 3 kernel version there
10:07.04rmas I said those scripts are b/s
10:07.10rmversions*
10:07.16rm64 MB is a sane minimum
10:07.50relllarm,mnemoc: i'd prefer an additional wrapper with 3 params: "wrapper.sh /dev/sdb debian-sid-armhf mele". so you can use the wrapper or do the things yourself, even from scratch.
10:08.33*** join/#arm-netbook mSquare (~selvan@122.172.32.241)
10:08.45rmnot to mention a 16MB FAT32 can't even exist by standard
10:09.02mnemocrm: true, that needs fixing
10:09.11*** join/#arm-netbook ZaEarl (~malmrose@66.host-182-48-149.compassnet.co.nz)
10:09.13relllaor you do a ./configure before with all these parameters, disp_mode ...
10:10.27mnemocthere are some funky script.bin editors out there
10:11.04relllafor example?
10:11.39mnemoci don't remember, but I saw one once
10:11.45*** join/#arm-netbook mSquare1 (~selvan@122.172.1.224)
10:11.56relllafex2bin / bin2fex - wrapper?
10:12.01mnemocpeople does weird things to avoid to use an editor or the command line
10:12.24mnemoci think it was even a cgi
10:13.33mnemocyes, I assume they wrap those
10:17.08mnemocrm: does the default u-boot env work fine with an ext4 /boot ? (beside changing the default size to 64MB)
10:17.17rmno idea
10:17.23rmI am okay with a FAT /boot
10:17.32rmjust has to be at the very least 32 MB, 64 is better
10:20.42*** join/#arm-netbook focus_well (~focus@host81-149-149-147.in-addr.btopenworld.com)
10:24.45*** join/#arm-netbook focus_well (~focus@host81-149-149-147.in-addr.btopenworld.com)
10:26.19focus_wellI'm trying to make an A10 board with LCD and Lubuntu
10:26.29focus_wellI got MK802 working with Lubuntu and HDMI
10:26.40focus_wellThe LCD is 4.3 inch
10:27.05focus_wellAny pointers to where I can go configure Lubuntu to switch to using LCD?
10:27.25focus_wellI have Gemei G2 tablet to practice doing this first
10:27.44focus_wellGemei has A10 and 7" LCD
10:28.37focus_wellThe images for MK802 I got from https://www.miniand.com/forums/forums/2/topics/1
10:29.03*** join/#arm-netbook mSquare (~selvan@122.172.174.118)
10:29.27rmwhat is the connection interface of your LCD?
10:30.34lundmanisdn
10:30.47mnemoco.o
10:30.48focus_wellIts a standard 40 pin FPC connector - has 8 bit RGB channels and sync
10:31.05Maqslundman :D
10:33.37rmfocus_well, I believe you simply need a script.bin that selects the LCD output instead of HDMI
10:34.32focus_wellrm: the device is KD43G18-40NB-A1 from On-Tat uses one HX8257 chip
10:35.02rmwell, not so fast; I meant that's what you can do to use Lubuntu on your G2 tablet
10:35.26rmhow would you connect that particular LCD to the A10 and if you can at all, I don't know
10:36.43rmsome random post I found in 20 sec (the 1st one): https://www.miniand.com/forums/forums/2/topics/21?page=2
10:36.49rmfor more detail http://linux-sunxi.org/Fex_Guide#12.1_.5Bdisp_init.5D
10:36.58focus_wellrm: I think I understand what mean about G2 - I assume when script.bin is modified in the software MK802 image reconfigures to switch from HDMI to LCD?
10:37.15rmor just find a script.bin already used/tested by someone on an A10 tablet
10:39.30focus_wellrm: thank you - the two links you share already furthered my knowledge - knows a bit of linux - but new to this  type of task
10:40.24focus_wellrm: for connecting the 4.3" LCD, I was going to convert the G2 to Lubuntu and then go back through the source code to find where the LCD had been configured
10:41.02focus_wellrm: Then I plan to make SO-DIMM module with A10 and connect to LCD
10:41.26rm._. okay
10:42.06mnemocyou might want to play with a cubieboard first, the lcd pins are exposed there
10:42.34focus_wellrm: I make motherboard and SO-DIMM 200 pin module in KiCAD (damn good open source software package!) with the SO-DIMM board having 2 lesser ARM chips
10:42.58focus_wellrm: then I find the lesser ARMs too slow to update LCD - about 10 frames a second :-(
10:43.02mnemocfocus_well: not interested in joining lkcl in his eoma68-a10?
10:43.31focus_wellrm: so I now switch to A10 CPU
10:43.42focus_wellrm: I have one developer working in CN.
10:43.54rmdon't highlight me every damn line, thanks :)
10:44.13focus_wellDink! Sorry
10:44.33focus_wellI plan to open source the lot
10:44.38mnemocfocus_well: http://elinux.org/Embedded_Open_Modular_Architecture/EOMA-68
10:45.22focus_wellmnemoic: I look at cubie board - but their shelf empty before I can click buy!!
10:46.05mnemocfocus_well: there is no stock, you can pre-order from http://www.indiegogo.com/cubieboard
10:46.29mnemocfocus_well: but considering you goal, I believe the best is that you join lkcl on the eoma68-a10
10:47.01focus_wellmnemoc: I felt the eoma system flawed - because the A10 builds up heat rapidly
10:47.35mnemocthe mk802 doesn't have a PMU... that's why is gets hot that fast
10:47.53focus_wellmnemoc: I had MK802 on heatsink before I could get it to compile Gambas3 on Lubuntu - it took several hours
10:48.21mnemocyou decided you wanted an A10, not me ;-)
10:48.49focus_wellmnemoc: how effective is the PMU? - it is the A10 that gets hot.
10:49.17mnemocregulating the voltage accordingly to the required cpufreq for the load
10:49.51mnemocthe A10 was designed to work with an AXP209 next to it
10:50.08mnemocnever to be used without, like the mk802
10:50.30rmheh
10:50.37mnemoc(or the a13-olinuxino-micro)
10:51.14focus_wellI decide to put board on SO-DIMM 200 pin board - if heat then use added fan
10:51.24mnemocgod :(
10:51.25rmthere's not a shortage of reasons to think EOMA is flawed
10:51.32mnemocrm: i agree
10:51.36rmbut "A10 overheats"..................... is definitely a new one.
10:51.46mnemoc:)
10:52.03focus_welli had the MK802 crashing all the time - stopped instant I put heat sink
10:52.22mnemocbecause they didn't put an axp209
10:53.06focus_wellmnemoc: I see now the issues - the AXP209 is essential for EOMA and then it can work well
10:53.38mnemocAXP209 is essential for the eoma68-A10, other eoma68 cards have different needs
10:54.01focus_wellwhat PCB design package does eoma use? if its kicad, i can get my engineer to go give them help
10:55.10focus_wellgosh their website has come a long way since I last looked!
10:55.15mnemoclkcl currently uses orcad, but he is begging for help on the mailing list
10:55.58focus_welldo you reckon the guy will be amenable to have it redrafted in KiCAD? Its open source.
10:56.08focus_wellWe don't have orcad
10:56.36focus_wellI release all the files to them because its all open source
10:56.50mnemocafaik the only reason he has for orcad is the autorouting, because he isn't an EE, he is a (free) software guy
10:57.13focus_wellThen engineers can copy and paste the designs to their own projects and make more product more quickly :-)
10:57.23mnemoceoma stuff is already open source,  http://hands.com/~lkcl/eoma/allwinner/ http://hands.com/~lkcl/eoma/kde_tablet/
10:57.43mnemocalso there is a git repo
10:58.00*** join/#arm-netbook AndChat138129 (~AndChat13@178.110.7.252)
10:58.09focus_wellI'm ee and software eng. autoroutin is for pansies.
10:58.17focus_wellI do all of it manually
10:58.19focus_well:-)
10:58.25focus_wellKidding
10:58.32mnemocfocus_well: another reason to join lkcl
10:59.11mnemocluke.leighton@gmail.com
11:00.45*** join/#arm-netbook rsalveti (~rsalveti@linaro/rsalveti)
11:01.03focus_wellmnemoc: you convince me to join lkcl - but do you reckon the guy might be open to KiCAD and making a duplicate that way
11:01.11focus_wellI guess I can go ask1
11:01.37mnemocif you offer to do the routing, luke will be GLAD to leave orcad in favour of kicad
11:01.55focus_wellmnemoc: YEEEEEEHAAA!!
11:02.10focus_wellOK I go ask
11:03.25focus_wellwhere is his mailing list?
11:03.48mnemochttp://lists.phcomp.co.uk/pipermail/arm-netbook/
11:04.25*** join/#arm-netbook AndChat138129 (~AndChat13@178.110.7.252)
11:04.50mnemocfocus_well: you can also read the archive at http://news.gmane.org/gmane.comp.hardware.netbook.arm
11:06.34focus_wellmnemoc: subcribed to mailing list - thanks
11:07.20mnemocfocus_well: but it's still a good idea to get a cubieboard to use a devkit ;-)
11:07.32rz2kanyone tried to compile VLC?
11:09.36focus_wellmnemoc: I see your post about cubie board and they have offers - good ones gone - but yeah $59 and up still available. I order it later - thank you!!
11:09.51focus_welldo you know if the sata works for cubieboard?
11:10.03rz2kyes
11:10.26mnemocfocus_well: but only one drive
11:10.53focus_wellrz2k: Sata already work?! Then they have a distro that works as well? Which distro(s)?
11:11.04rz2klinaro
11:11.06focus_wellone drive ok
11:11.30rz2ksome guy at mail list created one click installer from raspberry pi's berryboot
11:11.41mnemocany linux distro
11:12.11mnemocthere is nothing special kernel/linux wise about the cubieboard
11:12.18focus_wellDo you think it will be easy to configure cubie to run on LCD - the one I have is 4.3 inch 40 pin parallel RGB
11:12.23mnemocit's just another sun4i board
11:13.08focus_wellSo as tablets run sun4i, I should be able to configure X to run on the 4.3 inch once I figure out which registers to intialise
11:13.37mnemoclcds are a problem, but all the details go in the script.bin file
11:13.54mnemocand eventually in a DTS
11:14.22focus_wellDTS?
11:14.54mnemoca more standard format
11:15.15focus_wellOK I learn up about DTS
11:15.17mnemocthe eoma68 card is expected to read a DTS describing the base/io board via i2c
11:15.30mnemocand then been able to use the attached LCD
11:16.39focus_wellSo the data in script.bin is converted to DTS file. Is the DTS file a text file that can be edited?
11:16.45rz2kfocus_well: I believe rgb is present on pins of cubieboard, you will need to make your self a breakout board to connect LCD
11:17.12focus_wellbreakout boards no problem - got EEs to turn them out for breakfast! :-)
11:17.24rz2klcd's are usually connected by flat flex pcb with tiny pitch between pins
11:17.43mnemocfocus_well: script.bin includes data that goes to the bootloader, data that goes into a DTS for the card, and data that should go to a DTS for the base board
11:18.18mnemocbut we aren't there yet
11:18.25rz2kfocus_well: check http://linux-sunxi.org/Cubieboard LCD section of connectors
11:18.40rz2kyou can also use lvds, but thats a bit overkill for little lcd
11:21.42focus_wellHmmm... I am looking at the LCD - it has LVDS and analogue LCD signals not digital RBG signals - am I correct?
11:24.11focus_wellThe LCD i plan to use is 8 bit R, 8 bit G, 8 bit B, + sync signals. Minimum 26 pins for that.
11:24.28*** join/#arm-netbook Almamuetya10 (~almamuety@186.134.2.79)
11:25.56focus_wellI think I all them pins - pin 1 marked up as PD0 (LCDD0/LVDSP0) - so that means it multiplexes the LCD and LVDS to same pins.
11:26.23focus_wellI guess somewhere in the code, the correct signalling is enabled as required.
11:26.53rz2kyou should check A10 datasheet http://dl.linux-sunxi.org/A10/A10%20Datasheet%20-%20v1.21%20%282012-04-06%29.pdf and LCD guide https://github.com/linux-sunxi/linux-sunxi/blob/lichee-3.0.8-sun4i-an7g3/drivers/video/sun4i/lcd/a10_lcd_config_nanual_v1.0.pdf
11:27.09rz2kyes multiplexing is defined by script.bin values
11:27.42rz2kcheck fex guide for full list, it is on wiki too.
11:31.21focus_wellrz2k: thank you for those PDFs! The video one looks very interesting - its in CN but I don't believe in whining! - I go get it translated using google translate - but that doc looks just right!
11:32.15mnemocwe have some stuff translated on the wiki
11:32.27mnemocgoogle translate works great, if you do sentence by sentence
11:33.22focus_wellmnemoc: wiki link?
11:33.35mnemochttp://linux-sunxi.org
11:35.45focus_wellThanks - I go read it all step by step starting with converting the Gemei G2 to run Lubuntu, and then go help eoma with KiCAD board, and then go make another version of that with SO-DIMM and then make my 4.3" LCD work
11:35.48focus_wellwonderful!!
11:35.58focus_wellthanks guys!!
11:36.17focus_wellThen I open source it all
11:36.32focus_wellAnd post back here in a few weeks
11:36.35focus_well:-)
11:36.45mnemocplease don't discard the eoma68 path
11:37.05focus_wellI help eoma as much as I can
11:37.13focus_well:-)
11:37.17mnemoc:)
11:40.04slapin_hno: ping
11:40.34slapin_hno: about weird NAND code parts
11:45.17mnemocrm: sunxi-media-create changed to make 64MB /boot partitions now
11:52.15*** join/#arm-netbook lkcl (~lkcl@host86-131-177-116.range86-131.btcentralplus.com)
11:59.44rz2kcrap, VLC compilation in wills wang sources is completely broken
11:59.53rz2kseems like he didnt push everything needed
12:00.46mnemoc:(
12:01.31*** join/#arm-netbook merbanan (~benjamin@h217-27-188-82.cust.tyfon.se)
12:08.06*** join/#arm-netbook slash_random (~david@host18.190-137-0.telecom.net.ar)
12:08.21rz2keven better, default supplied with vlc configure doesnt know about arm-none-linux-gnueabi and arm-linux-gnueabihf machines. and autoreconf doesnt work because something is missing in /modules.
12:09.26rz2kalso vlc actually can do output thru EGL, I didnt know that, it is disabled in Linaro's vlc for some reason.
12:09.54rz2kmaybe we could do ultimate mali-400 egl + cedarx decoding combo
12:10.40mnemoclibv was going to add headers and makefile to mali-libs
12:10.57mnemocto be able to make civilized packages
12:11.15mnemocinstead of random files dropped into the hwpack
12:13.16slapin_hno: nand_sunxi/src/physic/nand_simple_r.c:127 _cal_real_chip(nBank) function frustrates me most
12:13.40rz2kthats awesome
12:14.21rz2kwe should really throw this by-folder crap out and give user more intelligent way to get the libs.
12:15.53slapin_mnemoc: do you have some nand_sunxi-fu to share?
12:16.01mnemocrm: the goal is to have packages obviusly
12:16.04mnemocerr
12:16.08mnemocrz2k: the goal is to have packages obviusly
12:16.13mnemocslapin_: not really
12:16.29mnemocslapin_: but there are some nanda fixes in the latest source drop
12:16.36mnemocnand*
12:17.15slapin_mnemoc: when hno is usually here so for me to whine?
12:17.17mnemochttps://github.com/linux-sunxi/linux-sunxi/commit/3211b0b4c62e8a5315f39cf43da6cdeb5433df7d
12:17.38mnemocslapin_: since ~20h CET
12:19.45slapin_is CET == CEST? which offset is CET at the moment?
12:19.59slapin_feels ignorant as always
12:20.03mnemoc13:19 currently
12:20.22slapin_mnemoc: ah, thanks!
12:20.46RaYmAnwe switch from CEST to CET on the 28th oct =P
12:21.03mnemoc'S' means summer
12:21.23mnemocs/means/stands for/
12:21.54*** join/#arm-netbook sspiff (828ae336@gateway/web/freenode/ip.130.138.227.54)
12:21.57slapin_ah, I see, in Russia they stopped switching so world is out-of-sync now...
12:22.41slapin_RaYmAn: what TZ do you have configured?
12:23.14RaYmAnall of EU switches at the same time now (was changed 5 years or so ago)
12:23.44RaYmAnCET? iirc it switches automatically on most devices, something like Europe/Amsterdam (because copenhagen is rarely there ;)
12:28.00slapin_RaYmAn: thanks for the info, it is good to learn new things every day
12:33.35jquipAnybody put linux onto the nand flash???
12:34.42jquipI hear guillaume managed to make a $5000 arm server rack, all on nand.. and running since a month.. Are we that stable??
12:35.06mnemocnand is in general slower than uSD
12:35.17mnemocin A10-based devices
12:35.44mnemocbut sure, you can run linux from nand
12:37.24jquipany buddy tried it out here??
12:37.50jquipheys mnemoc.. check that out, if ya havent already::  http://guillaumeplayground.net/wp-content/gallery/mele_a2000_cluster/12100005.jpg
12:37.53jquippretttty!
12:38.34mnemocoh
12:39.06jquipheheh :) http://guillaumeplayground.net/allwinner-a10-cluster-mele-a2000/
12:39.24mnemocthere are 1GB mele a1000/a2000 now
12:42.18mnemocjquip: can you add that to the wiki page of the mele in linux-sunxi.org?
12:42.41jquipyeah sure
12:44.06bfreeI finally managed to get a sunxi-3.0 sun4i kernel deb to build (and even cross-compile) though I have no hardware to test it on ;-)   It's very rough packaging, just ripping off and cutting back the debian sid linux packaging (and updating the debian patches and packaging the first little bit needed).   if any brave soul wants to test it or just poke at it ...
12:44.20bfree<PROTECTED>
12:46.24mnemoccan you make some scripts so I can replace it?
12:47.15RaYmAnbfree: this channel is publicly logged =P
12:47.42mnemoci can test your .deb later tonight, but obvisly the goal is to keep an apt server for both debian and ubuntu
12:48.42hnoslapin_, I am here.
12:48.53bfreeRaYmAn: yep ... and already seen one of the bots hit it :-p   I may yank it sooner then I'd thought ;-)
12:49.31mnemocbfree: give me your ssh public key
12:50.08bfreemnemoc: for quick gross hacking you just need to replace the orig.tar.xz (instructions to build one from the git is there)
12:50.23mnemocbfree: give me your ssh public key
12:53.16jquipmnemo - > http://linux-sunxi.org/Mele_A1000#In_the_wild
12:53.36mnemocjquip: thanks!
12:53.37jquips/mnemo/mnemoc/
12:53.43slapin_hno: hi, I'd like you to look at _cal_real_chip(nBank)
12:56.13libvi doubt that anyone has succeeded running the framebuffer mali libs
12:57.51hnolibv, r2p0 (i think) framebuffer libs is said to work.
12:58.23jquipquickie  -> does the sunxi-tools package work on the arm  itself/ or is it arch neutral?
12:58.58libvhno: for pbuffer, yes
12:59.04libvhno: but for actual fb access?
12:59.14libvhno: getting a native window is not trivial
13:00.36hnoisn't there integration in the A10 directfb libs?
13:00.59slapin_libv: is mali framebuffer stuff open? if I don't need 3D graphics?
13:01.12hnonever looked at getting mali work
13:01.37hnoslapin_, mali is only 3d, no framebuffer. leaches on the disp framebuffer
13:02.06slapin_ah, so I can make a10's fb work without mali?
13:02.10hnowhich is mostly open and partially documented
13:02.17hnoslapin_, yes
13:03.14libvthat does not seem to depend on gl/egl
13:04.09jquipoh sorry, nevermind..
13:04.14rz2kthere is directfb with g2d integrated somewhere
13:04.22rz2kbased on vmware drivers
13:04.23slapin_hno: as I understand, the nand_sunxi driver hardcodes NAND soldering layouts and allows choice at compile time, hence _cal_real_chip/_cal_real_rb exists?
13:04.26libvwhich is quite different from mali-libs integrated
13:04.49libvg2d is in absolutely no way related to the mali
13:05.10hnoslapin_, it's runtime. ./src/include/nand_physic.h:#define RB_CONNECT_MODE                    (NandStorageInfo.RbConnectMode)
13:05.25slapin_hno: awwwww
13:06.06slapin_hno: that's terrible defines here and there :(
13:06.16hnothe storage info is embedded in boot0/boot0.
13:06.27hnoboot0/1
13:06.41slapin_will never trust #define again
13:07.37slapin_hno: and in case of absence of these info? how it is supposed to read these w/o knowledge of layouts?
13:07.49libvah, ok, worked this time round.
13:08.17hnoslapin_, all nand access outside the initial access of the boot blocks have this info available.
13:08.46hnoand boot blocks is in first chip first blocks, so not so much to handle there.
13:09.52hnonot sure how livesuit gets these values in the initial flash of the device on a blank NAND.
13:10.35slapin_hno: I see, a lot of fun is going on!
13:10.39*** join/#arm-netbook cat_x301 (~cat@37-136-241-181.nat.bb.dnainternet.fi)
13:12.10hnofor making an MTD driver the important parts is the command interface I think. In a defined wiring. Lets worry about wiring flexibility once basic NAND access works.
13:13.42slapin_hno: ok, I will finish with init sequence soon, so it might happen
13:14.29hnoIt's not really that complex. It's a single channel bus with 8 CE and 2 RB lines.
13:15.03slapin_hno: and weird data paths
13:16.12hnoslapin_, not on the board. But the driver have many odd parts.
13:16.24hnocontroller looks much simpler.
13:18.05hnoThe driver have many layers of cotton hiding the hardware behind abstract definitions.
13:18.37slapin_hno: I see. I just don't quite understand this DMA-related and SRAM-related things
13:19.23slapin_hno: and how to not use DMA and/or SRAM to start clean and add things on proper ground
13:19.31hnoFrom what I understand the controller operates on SRAM, and the DMA channel gates between SRAM and DRAM.
13:20.10hnoThe controller does the NAND handshake, and 1K at a time I/O operations with ECC.
13:21.08hnoeach controller operation involves up to 4 NAND commands and one data transfer.
13:22.31hnoand bulk DMA operation for >1K transfers it seems.
13:23.51slapin_hno: so there is no way to read data byte-by-byte? I mean command answers, for example, chip ID.
13:24.12hnoadded tracing of the NAND registers in https://github.com/hno/uboot-allwinner/tree/nandtrace and the registers settings seem to be the same for 1K up to page size transfers.
13:24.30hnoslapin_, sure. You can both access the SRAM directly, and access the FIFO data register.
13:24.47hnonot sure when which method is appropriate.
13:24.47slapin_hno: handshake is not a problem because I can monitor ALE/CLE state machine and operate accordingly.
13:25.06slapin_hno: which FIFO register?
13:25.11hnoIO_DATA:
13:25.30hnowhich is also the register accessed by DMA.
13:25.39slapin_I'd prefer u-boot code as minimalistic as possible, even trading performance for simplicity.
13:25.52hnoyes.
13:26.42slapin_hno: and how can I know at which state is FIFO or can I reset it to sane state? only by resetting all controller?
13:27.26hnoIt's part of the NAND controllre and reset when the controller is reset. There is also registers to read the FIFO status iirc.
13:30.29hnoErr... there is not much FIFO status. Only a signle bit in ST
13:33.44*** join/#arm-netbook Quarx|2 (~Quarx@109.120.33.97)
13:33.46slapin_hno: which means it is not empty. But there is separate command FIFO it seems... which is accessible only by register. so IO_DATA is data-only fifo. How complex this might be?
13:39.41L84Supperhttp://www.computerworld.com.au/article/441253/samsung_laying_groundwork_server_chips_analysts_say/
13:40.12slapin_hno: can 2 commands one of which send data and the other receive data, execute at the same time?
13:41.58hnoNo idea.
13:42.18hnoprobably not.
13:44.29slapin_hno: I don't see where it prohibits interleaved operations and blocks the bus. Probably this code is intended for u-boot hence it has protections relaxed...
13:49.45hnomnemoc, http://linux-sunxi.org/Cubieboard/SDC2
13:50.06hnoneed to go. Back in an hour or so.
13:50.33mnemochno: nice! please add a picture
13:51.02mnemocah, ok. the row of 6 resistors
13:53.47hipboihere i have a cubieboard with two sd slots
13:54.15hipboiand sdc2 slot proves working
13:54.43libvhrm, not getting much out of the fb code.
13:55.34libvi can throw a test card into the fb just fine, when accessing directly, but the mali egl layer is apparently not being too cooperative here
13:56.35*** join/#arm-netbook slash_random (~david@host18.190-137-0.telecom.net.ar)
14:02.10slapin_libv: by the way, is it possible to implement normal OpenGL with Mali?
14:02.30slapin_libv: to run some simple games unmodified?
14:03.10libvslapin_: i am not an expert on the gl specs. my guess is no as opengles is a subset of opengl
14:03.32*** join/#arm-netbook Almamuetya11 (~almamuety@181.29.100.235)
14:04.34libvsupposedly, with some labour, one could create a translator layer
14:07.11libvwhich is what most gles1 implementations on gles2 capable hw do
14:13.06slapin_libv: thanks
14:18.25*** join/#arm-netbook merbanan1 (~benjamin@h217-27-188-82.cust.tyfon.se)
14:21.16libvhrm, arm sdk samples work
14:24.03*** join/#arm-netbook Gumboot (~sh1@rev.bovine.muck.net.nz)
14:24.58*** join/#arm-netbook Workboot (~gumboot@rev.bovine.muck.net.nz)
14:33.14lkclfocus_well: HA, welcome!  yes, i've put much of the A10 CPU Card including the 441-pin BGA part into Kicad, i also did a part using fped for it.
14:37.57lkclfocus_well: http://git.rhombus-tech.net/?p=eoma.git;a=blob;f=pcb/allwinner_a10/library/allwinner.lib;h=cd435ae32f3049d7b6dcb524af0fcc6ec1a6b77d;hb=dfaa27a0ec6db9eaaa8abc74c68849caa64b721b
14:38.54slapin_lkcl: any A13 parts/packages?
14:43.14lkclslapin_: no.  i'm not interested in the A13.  EOMA68 requires SATA and Ethernet.  the A13 is low-cost (and shit - 16-bit DDR RAM interface).  if you add in the cost of a USB Hub ($1.50), USB-to-SATA Converter IC ($3 from TI) and a USB-to-Ethernet IC (maybe another $2) it comes to *more* than the cost of most other ARM Cortex A8s which are better anyway because they have 32-bit DDR3 RAM interfaces
14:44.06lkclthat was the whole point of the exercise - a deliberate conscious choice was made by Allwinner here so as *not* to ruin their own market for their own processor (the A10)
14:44.09lkcl!!
14:45.18lkclfocus_well: one small correction of perception i need to point out to you (i'm reading the conversation back through the irc history) - eoma is *NOT* repeat *NOT* repeat *NOT* solely and exclusively about this one processor known as "A10".
14:45.26lkclmany people make this mistake :)
14:46.09lkclthe A10 CPU Card is just the first: there will be many more.  i'm working on a TI AM3892 EOMA68 CPU Card for example.
14:46.24slapin_lkcl: I think for completeness of allwinner library, A13's symbol is nice to have
14:46.39mnemocand A10s :)
14:46.57slapin_mnemoc: donno if it is even exists
14:47.04mnemocit does
14:47.43mnemocit's TFBGA336
14:48.35mnemocit's very similar to the A10, but doesn't have SATA
14:49.05mnemocan it's much smaller in size
14:49.16mnemocthe A13 is larger than the A10
14:50.10slapin_mnemoc: A13's selling point is that it is TQFP which lowers rnd and production costs
14:50.21mnemocyup
14:50.21slapin_mnemoc: at least here
14:50.42hnoslapin_, olimex have scematics and layout for A13. Not in kicad, but openly abailable.
14:51.18*** join/#arm-netbook QingPei (~qingpei@123.118.107.168)
14:51.34slapin_hno: I just try to sell my opinion to lkcl that A13 is cool to have in allwinner.lib
14:51.49hnoslapin_, so draw one then
14:53.00hnobut finish the nand controller stuff first
14:53.10slapin_hno: I have bought Eagle, learn Kicad but I lack time to do things now, it is good I have my 1/2 hour a day to play with nand
14:55.06lkclslapin_: its un-selling points are that it only has a 16-bit DDR RAM interface.  that alone absolutely cripples it when compared to other 1ghz processors.  i *did* provide Allwinner with a multiplexing diagram (plan) which would to do only 308 pins and still allow them to do 32-bit DDR3 RAM, but they really really didn't want the A13 to compete with the A10... so crippled it.
14:55.32slapin_hno: I think Eagle patterns and symbols can be converted to KiCad with some tool, iif Olimex allows such distribution
14:55.59lkcli'll add the kicad part for completeness if you submit a patch, but i won't do the work for you.
14:56.53lkclhmm, must update the web site to mention the kicad part
14:58.17slapin_lkcl: I'm not commercially interested in A13, only as toy. I need some platform for next GPS tracker, so I'm interested in newer low-end solutions. Time to say to 200-400MHz arm926 goodbye
14:58.25lkcl:)
14:58.37hnoslapin_, the olimex scematics are  Creative Commons Attribution-Share Alike 3.0 United States License.
14:58.41lkclslapin_: STM32Fs not fast enough?
14:59.23slapin_lkcl: I want some heavy platform with gigs of everything. A small platform will be STM32F.
14:59.43lkclahh ok.
15:00.05hnoslapin_, the A10 have builtin GPS support, only needing a radio. Might be interested in reversing that?
15:00.25lkcleyy, i found some schematics with the help of a guy called adrian, for doing camera (directly!), audio (mic and speakers) - all from the STM32F yaay!
15:00.32lkclpleased
15:01.05lkclcos i was "talking up" using the STM32F and was concerned it would be too complex for me actually do!
15:01.11hnowhich camera resolutions can it handle?
15:01.53lkclhno: it'll juuust about manage 640x480 @ 30fps.
15:02.12hnoand still picture?
15:02.18lkclactually it might be more - the STM32F apparently has DMA so it wouldn't need to do bit-banging
15:02.39lkclturns out that if you try to ramp things down too far it *degrades* the picture quality
15:03.07lkclyou set the external clock to 6mhz with a PCM output from the STM32F, and leave it running
15:03.26lkclthen just read the data off some of the pins via DMA.
15:03.48lkclsomeone's already done this btw!  done it, built the circuits, bought the t-shirt....
15:04.15*** join/#arm-netbook tinti (~tinti@maxtrack-F4-0-3-gacc04.bhe.embratel.net.br)
15:04.18lkclhttp://hands.com/~lkcl/eoma/kde_tablet/ - robot2_*.pdf
15:04.48lkclc source code using libstm32.a is here: https://github.com/adamgreig/followingrobot
15:05.04lkclschematics available for Eagle, and everything.
15:05.09lkclyee-haw :)
15:05.48lkclit's for a robot which follows you by using a camera to tell it's looking at a particular colour, or face, or something.
15:06.31lkcli saw one demo'd at pycon UK 2010 but i didn't realise at the time that it was using an STM32F
15:07.01*** join/#arm-netbook cheng (~cheng@124.13.188.234)
15:07.54slapin_hno: any radios on market?
15:09.01slapin_hno: or any tablets with this wired?
15:09.12slapin_hno: or sticks?
15:09.29hnoslapin_, absolutely but have no clue where. Did find some GPS chipset datasheets and the interface between the radio chip and the processing chip is the same as the pins available on A10.
15:10.11*** join/#arm-netbook bsdfox (~Bob@c-71-197-83-152.hsd1.ca.comcast.net)
15:10.12*** join/#arm-netbook bsdfox (~Bob@unaffiliated/bsdfox)
15:10.54slapin_hno: this might be some serial port and everything done in software
15:11.22hnoit's not quite serial.
15:11.48hnobut at least digital.
15:11.48slapin_by the way, have anybody tried xenomai on A10 or similar?
15:12.39slapin_hno: GPS math is quite cumbersome to implement...
15:14.28bsdfoxhno, sorry for the delay.. went to sleep. the wemac crash is on mele A2000 with ethernet
15:14.32hnoslapin_, I know.
15:17.13mnemocwe got a gps.ko for a10/3.0.8 if someone wants to RE that controller
15:18.15slapin_mnemoc: do want
15:19.36mnemochttps://github.com/linux-sunxi/linux-sunxi/tree/lichee-3.0.8-sun4i-an7g3/modules/gps
15:19.46slapin_is it supported in a13?
15:19.50mnemocno
15:20.16slapin_ah, then I need to wait for some board with appropriate outputs
15:20.18mnemocthere is a .h (wtf) with some static functions to do the script.bin/pio dance
15:20.31mnemocok
15:21.07slapin_I simply not skilled enough to wire things under BGA-soldered CPU
15:21.29slapin_This requires precision drilling and lots of luck
15:21.44mnemocpush Tsvetan to get his A10 olinuxino out soon
15:21.52mnemocit's exposes *tons* of pins
15:22.23slapin_I have about 20 devices with A10, but none have decent amount of pins, and none have any means of GPS
15:22.49mnemochttps://github.com/OLIMEX/OLINUXINO/blob/master/HARDWARE/A10-OLinuXino/A10-OLinuXino_Rev_A.sch.pdf?raw=true
15:24.51slapin_mnemoc: when will they start shipping?
15:25.01mnemocslapin_: ask tsvetan
15:28.21slapin_so many boards and none can be at hands - some won't ship to Russia, some are still pending, some are not drawn yet :(
15:28.38mnemoc16:13:42 < mnemoc> push Tsvetan to get his A10 olinuxino out soon
15:28.52mnemocwho doesn't ship to .ru?
15:28.58slapin_TI
15:29.15mnemocdid they get the memo about the end of the cold war?
15:29.43mnemocI can understand cuba or north korea.... but russia?
15:29.45slapin_mnemoc: dunno, probably military lobby hides it from them
15:29.51mnemoc:(
15:30.25mnemochow stupid
15:30.37slapin_well, lots of things can't be shipped to russia, some due to stupid customs regulations, some due to stupid export restrictions.
15:31.48slapin_TI is usually worked around via China and some adventureous US companies, but all that costs money, and these are short on research phase.
15:31.58*** join/#arm-netbook arete74 (~arete74@net-93-64-241-175.cust.dsl.vodafone.it)
15:32.32slapin_digikey helps sometimes (by ignorance/latency)
15:33.51rz2kdigikey is $129 ups shipping
15:34.03slapin_I really still don't understnd why I just can't buy any board I like.
15:34.15rz2kuse farnell uk
15:35.14slapin_rz2k: farnell adheres to US exports regardless, had lots of problems with OMAP3530 with them.
15:35.17mnemocdo they have reasonable shipping prices?
15:36.07rz2kinteresting
15:36.20rz2kmnemoc: 20 euro
15:36.51mnemocclearly hobbiest are not welcomed :|
15:36.59mnemocbut less absurd than digikey
15:37.01slapin_and both UPS and DHL won't ship to private person here, only to organizations.
15:37.31rz2kups is easy to believe to anything, I've filled my university address and got the package, lol.
15:38.00slapin_I had fun talking digikey to use USPS, it worked 2 of 4 times...
15:38.33rz2ks/my university address/my university as organization and my home address/
15:38.47slapin_as I filled my company address for UPS I had to return parcel because customs considrerd it commercial package because of that, the same for DHL.
15:41.59hnoslapin_, http://home.earthlink.net/~cwkelley/
15:42.19slapin_it is often easier to order things to Finland to friend's address, then get it there personally
15:43.26slapin_hno: do you think it is what in that gps.ko?
15:44.39hnono
15:44.49hnonot that source at least.
15:45.05slapin_oh no http://gnsstk.sourceforge.net/
15:50.58hnoslapin_, the point is that once the interfacing is somewhat understood then there is plenty of existing work to base the processing on.
16:02.00*** join/#arm-netbook lkcl (~lkcl@host86-131-169-132.range86-131.btcentralplus.com)
16:03.11*** join/#arm-netbook vinifm (~vini@177.19.132.23)
16:06.31*** join/#arm-netbook avernos (~avernos@221.223.240.80)
16:06.31*** join/#arm-netbook avernos (~avernos@unaffiliated/avernos)
16:08.44*** part/#arm-netbook QingPei (~qingpei@123.118.107.168)
16:08.51*** join/#arm-netbook slapin (~slapin@host-242-146-66-217.spbmts.ru)
16:16.38slapin_hno: hope so
16:16.56slapin_is back to nand woes
16:18.49slapin_hno: haven't you seen where in init sequence NandStorageInfo is read? The code is messy since SCN_AnalyzeNandSystem() stuff...
16:28.32focus_welllkcl:  I see your message through history. I understand about more than 1 CPU - that also my aim!
16:29.39focus_welllkcl: I have engineer and factory that can make PCBs - enough to bang out a couple of SO-DIMM 200 pin modules. Interested?
16:30.49focus_welllkcl: I can get the PCB laid out now that I got your KiCAD libs to produce circuit diagram and work on it until finished.
16:31.33focus_welllkcl: Then I release it all open source. I need the module for somethin else - so no point in holding on to the files after I finish.
16:34.03focus_welllkcl: My aim is to slot the SO-DIMM to a motherboard that has 4.3" LCD and get Lubuntu working on it.
16:36.24focus_welllkcl: The SO-DIMM will have the CPU, RAM, Flash, uSD card, and the power management chip. Power may reach the board through thicker wire extra connector to free up more pins on SO-DIMM connector.
16:40.01focus_welllkcl: Another module I want to make is DDR3 connector based with 240 pins. Them good for vertical stacking to get arrays of them boards going :-)
16:41.06focus_welllkcl: The plan is to build the 200 pin SO-DIMM, then test, find its failings, then refine and make DDR3, the refine that and make SO-DIMM and ping pong
16:41.33focus_welllkcl: it a couple of times to make sure the the thing can work without crashing problems.
16:47.43*** join/#arm-netbook cat_x301 (~cat@gprs-internet-ff9cee00-27.dhcp.inet.fi)
17:12.10hnoslapin, it's scanned for in the early setup in the nand driver. See src/scan/nand_scan.c
17:12.36*** part/#arm-netbook jquip (~johnny@106.211.141.59)
17:14.42lkclfocus_well: great!  helloooo
17:15.13lkclfocus_well: i'm not going to say "no" because it's a great idea :)
17:15.56lkclfocus_well: i've found a number of app notes on DDR3, it's fuuun achh the timings are soo precise
17:16.04lkcli can upload them somewhere if you like
17:16.38hnoslapin, oh, on a closer reading I see that the nand driver scans for the chips and not prerecorded information stored by livesuit. That simplifies things a bit.
17:17.01lkclfocus_well: they'll be at.... http://hands.com/~lkcl/ddr3
17:20.16lkclfocus_well: btw would you be willing to help review some op-amp and MOSFET H-Bridge circuits, help me calculate the RC and LC filter circuits and so on?  i know *of* these things having done them 25 years ago at school.
17:20.58lkcli've made a decision to use PWM volume control for the mic and speakers, and Class D (PWM) for the audio output.
17:21.37lkclthere's a couple of fantastic circuits i found which were done by people who have used 8-bit micros with limited pincount for *exactly* these purposes, and they report reasonable results, so i'm happy
17:29.35lkclhttp://rhombus-tech.net/community_ideas/kde_tablet/news/
17:35.15*** join/#arm-netbook Brandon15811 (~Brandon15@ec2linux.exaktop.tk)
17:36.25*** join/#arm-netbook arnd_ (~arnd@HSI-KBW-149-172-5-253.hsi13.kabel-badenwuerttemberg.de)
18:09.41libvooh, i am such a tosser.
18:09.46libvjust found his bug in his egl code
18:17.21*** join/#arm-netbook ZaEarl (~malmrose@66.host-182-48-149.compassnet.co.nz)
18:27.25lkclyaay well done libv
18:27.45mnemoc:)
18:27.50libvwell, now the mali fb libs work correctly
18:28.10libvand i can provide the header files to go with it.
18:29.07libvpatches, with an adapted lima hello triangle test will be provided
18:30.17libvoh, and a small program to get the version from the kernel api version
18:34.12mnemoc\o/
18:34.25libvidiots.
18:34.34libvthey provide no way to get the native resolution
18:35.08libvthey do not clamp the sizes to native, and then do not fill width/height when they are 0
18:35.51mnemocthe mali libs?
18:35.57libvyeah
18:36.16libvi'd have to go and open and ioctl /dev/fb0 myself if i want fullscreen
18:43.12technhttp://assets.sbnation.com/assets/1701443/USD670286S1.pdf
18:44.47mnemocthe patent over rounded corners?
18:45.27mnemocoh. a "portable display" ... nov 6 2012
18:45.32mnemochow revolutionary
18:46.23technmnemoc: tuc salt crackers are breaking that patent :p
18:47.05mnemoc:D
18:49.16hnoIt's a design patent, not a patent.
18:54.22mnemocwhich happen to be automatically valid in EU iirc
19:02.49technmnemoc: we should get bsp for mk802 and mk802 II
19:03.48*** join/#arm-netbook slapin (~slapin@host-237-152-66-217.spbmts.ru)
19:04.31libvaren't we rapidly converging to a state where we only need script.bin for each device?
19:04.34mnemocsure, do you have a .fex with _verified_ dram_param ?
19:04.55mnemoclibv: problem is the script.bin usually doesn't come with all the dram info
19:05.04mnemocand if it comes with it, it can be BS
19:05.22libvyeah, i know, i was handheld by you and and hno for the a7hd :)
19:06.05libvi was just wondering where this whole notion of bsp came from if it is generic sunxi stuff with a correct script.bin
19:06.33*** join/#arm-netbook gsilvis (~almostsix@50.12.163.241)
19:07.10technmnemoc: yep.. I'm just wondering that why no one has delivered those.. since those devices are most common
19:07.43mnemoclibv: initially yes
19:07.58mnemoclibv: until we realized we can't trust script.bin for dram_para :<
19:08.44mnemoclibv: so now our hope is in slapin
19:08.56technlibv: also kernel differs on a13 and a10
19:12.10libvwho here is not running a debian based distribution or android on their allwinner?
19:12.26hnotechn, probably because most people with MK802 devices do not have UART.
19:12.38libvi am wondering what gcc -dumpmachine returns on your machine, if your are using  hardfloat
19:13.39technlibv: WarheadsSE was using ALARM
19:13.50hnois not running sndroid or debian.
19:14.47technstill waiting serial adapter from Tom :/
19:14.50libvoh, and i take it that arm-linux-gnueabi is returned on armel machines, right?
19:16.46WarheadsSEhuh whut
19:17.47WarheadsSEWe recently moved to armv5tel-linux-gnueabi to match the latesst toolchains.
19:18.07WarheadsSElet me the v7 is slightly different.
19:19.30slapinnot that much to make different name on armel :/
19:22.13WarheadsSEdebian rupports armel being armv4t
19:22.27WarheadsSEotherwise, its armv7h blah
19:22.58libvthe blah bit is quite important, so i can try to do some automated checking in the makefile
19:23.10WarheadsSEK, give me a sec
19:23.20hnoWarheadsSE, ah, that explains the linaro toolchain softfload multilib breakage.
19:23.27hnos/fload/float/
19:23.28WarheadsSE:)
19:23.33libvon the other hand, i can do what i can test myself, and let people provide patches for the rest
19:25.45WarheadsSEonce this system is done upgrading, I'll get you the exact string we use from the chain
19:27.21slapinweird, strange, why armhf then?
19:27.51WarheadsSEarmel != armhf
19:28.03slapinis happy user of debian armel in dreamplug
19:28.20WarheadsSEYeah, works fine, not optimized to the device, but works fine
19:28.23hnolinaro tollchain fails to link programs compiled with -mfloat-abi=soft unless -march=armv4t and absolutely nothing else, and only because they insist on it being there.
19:29.31WarheadsSEI was under the impression they were stopping softfloat support on v7+ chains
19:29.37WarheadsSEor at least moving away
19:30.07WarheadsSE/usr/bin/armv7l-unknown-linux-gnueabihf-gcc
19:30.35WarheadsSEsymlinked for gcc usage of course
19:31.13hnothe support is there both in linaro and ubuntu gnuabihf toolchains, but only if you explicitly state -march=armv4t and have the right multilib libs installed.
19:31.37hnothe linaro toolchain comes with the libs by default. ubuntu package has libs separate.
19:31.49slapinpoor fpu-less a8 targets...
19:31.55WarheadsSE<PROTECTED>
19:32.08hnoslapin, is there any fpu-less a8 targets?
19:32.40WarheadsSEthere are fpu-less A8s?
19:32.54hnoI don't think so.
19:33.08slapindunno, I know of one v7a without neon and vfp
19:33.20hnoBoth VFP and NEON is mandatory in A8 A profile.
19:34.03slapintegra?
19:34.04hnoFor v7a neon is optionsl, but vfp is mandatory iirc.
19:34.32hnotegra have vfp.
19:34.44WarheadsSEuhm, i think you are thinking ARMv8 not A8
19:35.04WarheadsSEyes, afaik, v7a requires vfpv3-d16
19:35.27WarheadsSEyou can add neon (not directly fp) and expand to vfpv3-d32
19:36.36WarheadsSEeven on the v7-M's
19:36.49slapinI know of one chinese processor of armv7-a arch without vfp as it chokes on fpu instructions and there's no kernel emulation
19:37.13slapinneon on v7-m is fantastic
19:37.14WarheadsSEi wonder then, if it is mislabled.
19:37.51slapinnever seen socs with v7-m and neon
19:37.59WarheadsSEHmm, I misspoke slightly. apparently only M4 has optional fpu.
19:38.20WarheadsSEARMv7E-M has DSP, they could attach a neon if they chose
19:39.53slapinsupports wfi and other v7 stuff but no vfp or neon
19:40.16WarheadsSEwfi
19:40.48WarheadsSE?
19:41.11WarheadsSEI do have one of these coming, whenever it ships:  EK-LM4F120XL
19:41.25*** join/#arm-netbook freakazoid0223 (~matt@pool-173-75-233-172.phlapa.fios.verizon.net)
19:42.25slapinwait for interrupt insn, not coprocessor bit
19:43.48hnoslapin, so its v7 32-bit but not v7a.
19:46.46slapinhno:?
19:47.40WarheadsSEnot all v7 is v7-a
19:48.33slapini know of only 2 - a and m
19:50.22slapinit has mmu
19:50.30WarheadsSEthere are M[0-4], Cortex-A[8-9] ... http://en.wikipedia.org/wiki/ARM#ARM_cores
19:50.46slapinso not m
19:53.10slapinah and it does have arm instruction set
19:53.16WarheadsSEmost likely not M
19:53.25WarheadsSEit's possible, but highly unlikely.
19:54.28slapinis there any ms with arm instruction set?
19:55.00WarheadsSEwhat
19:56.49WarheadsSEhttp://en.wikipedia.org/wiki/ARM_Cortex-M
19:57.09slapinis there any armv7-m processor with arm instruction set?
19:57.29slapinthey all start in thumb2
19:58.33WarheadsSEalright...
19:58.52slapin?
19:59.03RaYmAnslapin: and Thumb isn't an ARM instruction set? ;)
19:59.25slapinthese are different
19:59.55slapinlook at -marm and -mthumb gcc options
20:00.03*** join/#arm-netbook eFfeM (~frans@c73189.upc-c.chello.nl)
20:00.13WarheadsSEfacepalm
20:00.20WarheadsSEI guess I am missing something large here.
20:01.01RaYmAnOf course they are - but thumb is still an ARM instruction set ;) In any case, afaik all Cortex Mx only support thumb/thumb2
20:02.20slapinarm thumb and thumb2 are different instruction sets in arm processors :)
20:02.35RaYmAnI don't really see why that's an issue - It's not like it's really realistic to run e.g. linux or anything not compiled for the Cortex Mx
20:02.37WarheadsSEok
20:02.37slapintwo arms here
20:03.01WarheadsSERaYmAn: well, you could :P if you are a masognist
20:03.10WarheadsSEwrong work
20:03.24RaYmAnWarheadsSE: not if it only supports Thumb2 ;) You'd have to recompile it all as thumb2 then :P
20:03.36WarheadsSEyeah?
20:03.43slapinname for instruction set matches name for whole architecture
20:03.44WarheadsSELike I meant to say :P
20:04.03RaYmAnmost cortex devices I've seen have less than 1MB ram anyways
20:04.18WarheadsSEFeatures        : swp half thumb fastmult vfp edsp neon vfpv3
20:04.34slapinthere are with SDRAM controllers
20:04.36RaYmAn(cortex m that is)
20:04.39WarheadsSEthats what I get from a i.MX6Q .. are you syaing it doesn't support "arm"
20:05.15technIf I remember correctly arm can swap between thumb and 32bit registers on fly
20:05.24RaYmAnyup
20:05.48slapinboth modes are 32bit data-wise
20:05.49RaYmAnwell, only Arm cpus with support for full ARM instruction set and not just thumb.
20:06.08*** join/#arm-netbook gsilvis (~almostsix@50.12.163.241)
20:06.22RaYmAnBLX with a specific bit set jumps to addr and switches mode to/from thumb
20:06.45RaYmAnWarheadsSE: i.MX6Q is cortex a-9, isn't it?
20:08.01xenoxaosyup
21:08.00*** join/#arm-netbook focus_it (~focus_it@cpc2-dals6-0-0-cust1005.hari.cable.virginmedia.com)
21:12.32*** join/#arm-netbook Kraln (~kraln@69.169.90.240)
21:34.15focus_itlkcl: I look over your op-amp, MOSFET H-bridge and general electronics. Leave me link for the pdfs of the circuits in question.
21:35.07focus_itlkcl: The DDR3 CPU module is same as SO-DIMM module - it just has 40 more pins from the A10 brought out for doing more things.
21:36.39focus_itlkcl: The initial LCD is 4.3" but after the recipe is discovered to make Lubuntu + X work properly with it, we try a couple more examples and open source the lot for everyone else to make their own LCDs work with as little pain as possible.
21:48.07specingubuntu...
21:48.09specing<PROTECTED>
21:59.46WarheadsSEheh
22:02.22*** join/#arm-netbook techn_ (~quassel@a91-152-35-60.elisa-laajakaista.fi)
22:03.27mnemoc"You have existing Linux kernel code to support your SoC? There are 99% chances that you should throw it away
22:03.30mnemoccompletely
22:03.33mnemoc"
22:03.34mnemochttp://www.elinux.org/images/a/ad/Arm-soc-checklist.pdf
22:04.02*** join/#arm-netbook techn__ (~quassel@a91-152-35-60.elisa-laajakaista.fi)
22:05.45WarheadsSE>.>
22:07.07*** join/#arm-netbook tuliom (~tuliom@186.214.72.50)
22:12.44vinifmexit
22:12.49vinifmquit
22:26.18Turlmnemoc: FUU
22:26.23Turlmnemoc: you broke mali build :<
22:28.00mnemoc?
22:28.45mnemochere it builds in-tree, with -C, with O=, and with -C and O=
22:28.54Turlmnemoc: http://paste.debian.net/207606/
22:30.16mnemocstrange mix of things you have there
22:30.27mnemoc"USING_PROFILING not supported, disabling." should be gone
22:30.28WarheadsSEi hit a similar problem the other day
22:31.11Turlmnemoc: make -C kernel/allwinner/common O=/home/emilio/android/jb/out/target/product/zatab/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/emilio/android/jb/prebuilts/misc/linux-x86/ccache/ccache /home/emilio/android/jb/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-" modules
22:31.14mnemocthe drivers/gpu/mali/mali/arch/config.h thing ?
22:31.27mnemocWarheadsSE: ----^ ?
22:32.56Turlmnemoc: I can reproduce with that, http://paste.debian.net/207610/
22:33.06WarheadsSEI remember seeing issues with profiling
22:33.15WarheadsSEbut I dont have those compile logs available.
22:33.39mnemocthe profiling thing is a warning, and it has always been there
22:33.51mnemocbut it should be gone now
22:34.16mnemocTurl's problem is about some invalid use of $(PWD) in mali
22:34.31mnemocwhich for some reason he seems to need
22:34.48Turlmnemoc: try this
22:35.02Turlgo two dirs out of your kernel tree
22:35.25Turlmake -C path/to/kernel O=/somewhere modules
22:37.37mnemocrevert the change locally, I'll try to find what's wrong
22:39.09mnemocjust now that I thought I had time to start rewriting the core :|
22:42.21lkclfocus_it: thanks.  everything's on here http://rhombus-tech.net/community_ideas/kde_tablet/ and the PDFs are... http://hands.com/~lkcl/eoma/kde_tablet/
22:42.54Turlmnemoc: one of the issues is that on allwinner/common/drivers/gpu/mali/mali/Kbuild
22:43.02TurlDRIVER_DIR is a relative path
22:43.18lkclfocus_it: i just did the two circuits (transconductance amp and mosfet bridge) imgs are here: http://rhombus-tech.net/community_ideas/kde_tablet/news/
22:43.24mnemocTurl: I know, I was 2h fighting that crap last night
22:43.27Turland with O= your shell `pwd' is /tmp/whatever (O= value)
22:43.41Turl$(PWD) on the other hand is the kernel source tree location
22:44.09Turlso when it looks for files it doesn't find them because they're not relative to O= but to -C
22:44.34Turlmnemoc: what was the motivation for your patch btw?
22:44.51mnemocthat -C with O= wasn't working
22:45.02mnemocerr
22:45.05mnemocthat -C without O= wasn't working
22:45.11focus_itlkcl: I'm looking...
22:46.21Turlwithout O= $(PWD) is == $(pwd)
22:46.23Turlinteresting
22:46.37Turl$(shell pwd)*
22:47.11lkclfocus_it: star.  the originals you can find as png/jpgs in there, i pretty much cut/paste them :)  oh i had to put numbers on amp_schematic.png to match the ROHM-US6M1TR-MOSFET-DUAL-NP.pdf
22:47.21lkcli was getting reeaaallly confused....
22:47.42lkclall right, apologies: i have to sleep.  too many late nights.
22:47.45*** join/#arm-netbook Sternennebel (~martin@p5494B831.dip.t-dialin.net)
22:47.47*** join/#arm-netbook slash_random (~david@host18.190-137-0.telecom.net.ar)
22:47.58lkclfocus_it: email me (or the list).  thanks again.
22:48.08*** join/#arm-netbook benjamin__ (~benjamin@c-94-255-220-30.cust.bredband2.com)
22:48.40focus_itlkcl: good night - I'll send it via the list
22:50.53Turlmnemoc: mind testing a patch and commiting if it works?
22:54.08Turlmnemoc: http://sprunge.us/bghH
22:55.20Turlmnemoc: http://sprunge.us/dGUU rather
22:55.33Turlrevert yours, apply that and give it a try :)
23:04.03Turlthere's an /r/cubieboard now on reddit heh
23:08.03*** join/#arm-netbook vgrade (~root@static.43.45.47.78.clients.your-server.de)
23:26.35*** join/#arm-netbook hno (~hno@squid/developer/hno)
23:32.25*** join/#arm-netbook slash_random (~david@host18.190-137-0.telecom.net.ar)
23:32.54sv<PROTECTED>
23:42.04*** join/#arm-netbook slash_random (~david@host18.190-137-0.telecom.net.ar)
23:44.33mnemocTurl: yes $(srctree) does the job

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