IRC log for #arm-netbook on 20121114

00:03.04*** join/#arm-netbook rz2k (~rzk@95-25-127-109.broadband.corbina.ru)
00:06.53hnoMehhh_, you don't even neeed a VFAT partition at all.
00:09.21hnoslapin_, found it, but don't quite understand why it makes the nand fail on cubieboard but not your board. The AHB bus was clocked way too low.
00:29.59Mehhh_I don't? I thought I did for the script.bin / etc for otg
00:30.10Mehhh_http://rhombus-tech.net/allwinner_a10/a10_image/
00:36.47*** join/#arm-netbook Mehhh (adabd66c@gateway/web/freenode/ip.173.171.214.108)
00:40.44Turlhno: maybe different nand chp?
00:40.47Turlchip*
01:20.58*** join/#arm-netbook avernos (~avernos@221.223.235.251)
01:20.59*** join/#arm-netbook avernos (~avernos@unaffiliated/avernos)
01:21.16*** join/#arm-netbook juandie (~Adium@190.188.8.139)
01:21.39*** join/#arm-netbook stefanro1 (~stefan@p57B94175.dip.t-dialin.net)
01:36.11*** join/#arm-netbook Marex (~Marex@2a01:430:d:0:2cc:6ff:fefc:db16)
01:54.09drachensunturl:  I tried the zatab build and it did the same thing, I've looked and everything seems to make sense
01:54.38drachensunI don't know how to force it to build libstagefright_rtsp.a before building libCedarX.so
01:56.24Mehhhhno, how do i do what was listed on the site without the vfat
01:56.47Turldrachensun: try 'make obj/STATIC_LIBRARIES/libstagefright_rtsp_intermediates/libstagefright_rtsp.a'
01:57.12Turlsorry
01:57.21Turlmake out/target/product/zatab/obj/STATIC_LIBRARIES/libstagefright_rtsp_intermediates/libstagefright_rtsp.a
01:58.51drachensunwow, ok, I assumed I would have to call make with a bunch of flags or something since they normally obfuscate it with all those scripts
01:59.26drachensunmake: *** No rule to make target , etc
02:00.37drachensunits odd
02:00.53drachensunnormally I run into something like this and find a directory has moved or something
02:01.14drachensunbut from what I can tell in the Android.mk files everything looks lined up right
02:04.01Turldrachensun: try "make libstagefright_rtsp"
02:05.02drachensun*trying*
02:06.52drachensunhttp://pastebin.com/fnY2W1ba
02:06.56drachensunstill failed
02:07.24Marexfinally got himself a photo with Linus :D
02:07.37Marexhno: hey, how's u-boot going ?
02:07.48Turldrachensun: what did you type? your error seems to have an extra .a
02:08.08drachensunyup, trying again
02:08.51drachensunhey alright
02:09.37drachensunthanks for the help
02:09.56Turldrachensun: can you try this and let me know if it works still? http://sprunge.us/HLJW
02:10.21TurlI always use -j2 so it's probably a concurrency problem I just haven't hit :)
02:11.03drachensunthat would actually make sense
02:11.13drachensunwhats the default, if your dont set a value for j?
02:11.48Turl1 if you use make
02:12.04Turlif you use mka, or brunch and friends, it's $(number of cores)
02:12.18drachensunso that should be -j2 for me too
02:12.23drachensunI am building for jellybean
02:12.31Turlyeah same
02:12.57drachensunok, I saw IceCreamSandwich/ in that patch and wanted to make sure
02:15.19drachensunwell this is in my virtual ubunut 10.04 time machine
02:15.28drachensunso it only has one core assigned I think
02:18.40drachensunI applied the patch and started building for my target again, I'll see if it comes back up
02:20.05Turlfired a build too
02:20.25MarexTurl: is there any howto for building android images for mk802 ?
02:23.21TurlMarex: nobody with an mk802 cared to make a device tree for it yet, so not really
02:28.30MarexTurl: android images ... I mean the blob that you write into the device's memory and it boots android magically
02:28.47drachensunwell one comes before the other
02:30.15Marexdrachensun: why is that so, I'd expect some ancient kernel would work with android 4.x because they contain the same ABI (or how does cyanogenmod do it with the kernels ?)
02:31.09drachensunok, so you mean repacking a stock android image with the latest kernel?
02:31.36Marexjesus
02:31.49Marexdrachensun: the other way around -- building a new userland and using an old kernel with it
02:32.04drachensunlol gotcha
02:34.46TurlMarex: userland is device-dependent, you still need a device tree
02:37.09MarexTurl: are we talking about the same DT ?
02:37.13*** join/#arm-netbook naobsd (d28ad006@gateway/web/freenode/ip.210.138.208.6)
02:37.39Marex(android is a really sad story, indeed :( )
02:40.52*** join/#arm-netbook freakazoid0223 (~matt@173.75.233.172)
02:45.44TurlMarex: https://github.com/CyanogenMod look there, android_device_maker_thingy
02:45.47Turlthey're all device trees
02:46.09*** join/#arm-netbook mSquare (~selvan@122.172.252.247)
02:48.25naobsddoes anyone know information about HDMI CEC on Allwinner A10, more than "there is a pin"?
02:55.15MarexTurl: oh, you mean that device-specific goo
02:55.23MarexTurl: fine ... that's probably somewhere anyway
03:19.02*** join/#arm-netbook kaspter (~Instantbi@180.168.145.234)
03:34.22MehhhIs there a way to not use vfat and still do the script.bin for OTG, perhaps already made wheezy?
04:33.22*** join/#arm-netbook kaspter (~Instantbi@180.168.145.234)
04:36.29*** join/#arm-netbook Sv (~Sv@modemcable021.180-203-24.mc.videotron.ca)
04:36.29*** join/#arm-netbook Sv (~Sv@unaffiliated/sv)
04:36.39Turlwhat does vfat, OTG and script.bin have to do with each other Mehhh?
05:13.58Mehhhfor adding on boot
05:14.04Mehhhthe ability to use otg
05:14.09Mehhhand the deb wheezy image
05:14.18Mehhhhttp://rhombus-tech.net/allwinner_a10/a10_image/
05:14.21lundmaninteresting, scatterlist seems to have some maximum ->length value
06:11.29*** join/#arm-netbook ibrah (~chatzilla@212.49.88.110)
06:17.25*** join/#arm-netbook askit (d40c0246@gateway/web/freenode/ip.212.12.2.70)
06:19.57*** join/#arm-netbook Sv (~Sv@unaffiliated/sv)
06:21.06*** join/#arm-netbook bsdfox_ (~Bob@c-71-197-83-152.hsd1.ca.comcast.net)
06:21.07*** join/#arm-netbook bsdfox_ (~Bob@unaffiliated/bsdfox)
06:26.38*** join/#arm-netbook Quarx (~Quarx@109.120.32.1)
06:53.41*** join/#arm-netbook stefanro (~stefan@p57B94175.dip.t-dialin.net)
06:56.38*** join/#arm-netbook ZaEarl (~malmrose@66.host-182-48-149.compassnet.co.nz)
06:58.37*** join/#arm-netbook rellla (~rellla@p5B078304.dip0.t-ipconnect.de)
07:12.45*** join/#arm-netbook rellla2 (~rellla@p5B078470.dip0.t-ipconnect.de)
07:15.01hnocrap, SPL somehow broken again.
07:18.44stefanrois not responsible this time ;)
07:22.23hnoNo, it looks like it's me this time. Forgot to test a cold boot in the register #define cleanup.
07:23.50stefanrohno: btw: seems you cleanup for submission is going along quite good - is there anything that i might do to help out?
07:24.03stefanrohno: even though time is a bit limited right now
07:24.21hnostefanro, I sent a mail to the list with a little todo.
07:25.00hnoon that is close to your heart might be updating wemac driver to current mii bus registration api?
07:25.31stefanrohas to admit that he has never used this api before
07:25.43stefanrohno: i'm not sure if this is required for upstreaming
07:40.40hnoNo idea. You know those requirement better. All I know is that the code for miiphy_register do say "This API is now deprecated. Please use mdio_alloc and mdio_register, instead." but I see now that README.drivers.eth says miiphy_register.
07:42.24hnoso seems the transition is not really started yet.
07:45.00*** join/#arm-netbook cat_x301 (~cat@gprs-internet-ff9bee00-214.dhcp.inet.fi)
07:48.04stefanrohno: yes, i would drop this api move for now
07:55.08*** join/#arm-netbook ppord (~dropp@77.243.1.182)
07:56.23slapin_hno: ping
07:56.29hnoslapin_, pong
07:56.40slapin_hno: good morning.
07:56.47hnomorning
07:57.45slapin_hno: what I don't understand about this NAND stuff - it seems that read/write commands are handled differently in the controller than other commands.
07:58.18hnoslapin_, In what way?
07:58.39slapin_hno: their output data are not in SRAM, at least not in same SRAM as the rest of commands
07:59.35hnoslapin_, odd. There should be no other SRAM, and it need to buffer the data to do ECC.
08:01.16slapin_hno: at least successful read produce no valid information
08:02.58slapin_hno: I start to think that DMA trick is unavoidable, which is too bad :(
08:05.08slapin_hno: also, original code executes read command without really caring for its output, like it will be read automagically
08:05.27slapin_hno: see for example _read_single_page_spare
08:05.52slapin_hno: or I miss something obvious here....
08:08.33slapin_on NAND_CMD_READ0 I tried executing 2 command sequence (00 C C C R R 30 -> D D D) which was expected to write something to SRAM, but it didn't
08:09.54slapin_hno: 4-command sequence (00 ... 05 .... e0  .... 30 -> ...) is the same
08:12.40slapin_hno: see for yourself: http://paste.ubuntu.com/1357447/
08:13.46*** join/#arm-netbook cheng (~cheng@175.139.153.112)
08:20.20slapin_hno: http://paste.ubuntu.com/1357463/ - original
08:21.15slapin_hno:
08:43.26hnostefanro, anything in that todo that is required?
08:43.46stefanrochecks again...
08:44.41stefanrohno: sr32 replacement - required
08:45.11stefanrohno: access to registers via struct instead of define/offset - required
08:45.39hnodone.
08:45.52hnosr32 not done.
08:46.26stefanrohno: not sure about all this MMC stuff you mention in the to-do list - i didn't look at this driver yet
08:47.11stefanrohno: important is the stuff in the commit text (good description, Signed-off-by, From etc)
08:50.31*** join/#arm-netbook WarheadsSE (~WarheadsS@c-174-59-252-104.hsd1.pa.comcast.net)
08:55.35hnostefanro, SPL fixed again. MMC clock setup got botched when killing register #defines (& missing)
08:58.11*** join/#arm-netbook slapin (~slapin@slapinbuild.ihdev.net)
09:00.01*** join/#arm-netbook jeremb (uid2617@gateway/web/irccloud.com/x-fcjpdsinkxpcrhuf)
09:02.29*** join/#arm-netbook WarheadsSE (~WarheadsS@c-174-59-252-104.hsd1.pa.comcast.net)
09:03.37*** join/#arm-netbook Thomas42 (~Thomas42@5.9.236.105)
09:03.47*** join/#arm-netbook Holo_ (u6962@gateway/web/irccloud.com/x-cgtalwxzwsjzjwhu)
09:05.21*** join/#arm-netbook jeremb (uid2617@gateway/web/irccloud.com/x-ztlrrnokpzqocfil)
09:07.07hnoslapin, ok, context switching to NAND. Where were we?
09:07.44*** join/#arm-netbook popolon (~popolon@82.225.234.108)
09:11.34*** join/#arm-netbook Hexxeh (u1532@gateway/web/irccloud.com/x-spwhtgcoeksvuaes)
09:15.20hnoslapin, I do not think the controller have any hardcoded commands. Is there any difference is control bits set?
09:16.19*** join/#arm-netbook steev (u1383@gentoo/developer/steev)
09:20.11hnoslapin, in my taces I never seen byte count higher than 0x400., even when the DMA transfer is obviously much larger.
09:22.50*** join/#arm-netbook ppord (~dropp@77.243.1.182)
09:37.02hnoArgh.. it's back at returning 00 00 00 00 00 00 00 again. Thought I had that fixed.
09:38.37focus_wellHow does one do a Lubuntu from scratch? I'm trying to make my own A10 ARM board and then put Linux on it. I found the MK802 and the Lubuntu on that is really excellent! The gist of my current understanding is that you install tool chain to compile kernel for the CPU in already working Lubuntu such as the MK802, and then after that its a blank.
09:38.53focus_wellI have installed the tool chain and it compiled Gambas (a GUI program like VB) from sources so I know compiler bits at least work.
09:39.03focus_wellDo I now download and compile https://github.com/linux-sunxi/linux-sunxi/archive/sunxi-3.0.zip before I take any more steps?
09:39.58hnofocus_well, you should not need to rebuild the kernel. All A10 boards uses the same kernel.
09:40.35*** join/#arm-netbook alcides (~alcides@187.23.196.11)
09:40.36*** join/#arm-netbook alcides (~alcides@unaffiliated/alcides)
09:41.07*** part/#arm-netbook vanner (~vanner@vanner.me)
09:42.05focus_wellok, thats good, so I copy the already built kernel, but then next what do I do say to get a bash prompt on newly designed board with nothing on it?
09:42.32hnofocus_well, you need a userspace root with a bash prompt.
09:43.23focus_wellhno: is that something I compile and build, or is that something that is available pre-built?
09:43.49hnothe lubuntu one you have is a candidate.
09:44.41hnofocus_well, I would recommend playing a bit with qemu to learn the boot procedure, kernel arguments etc.
09:45.49slapinhno: NAND NAND NAND, might you play a bit with code on pastebin?
09:45.51focus_wellhno: hmmm.. I used qemu a long time ago, is there a qemu image for the A10?
09:47.05hnofocus_well, your question is mostly architecture neutral. You can use x86 while learning to speed things up.
09:48.58focus_wellhno: I have 2 MK802s to play with and a couple of 8GB uSD cards. So real hardware is not a problem.
09:49.55hnofocus_well, it's much quicker doing this with a VM. But you can do it using real hardware ans swapping cards if you like.
09:50.35hnoI would wait with the hardware until you have a basic understanding of how booting Linux works.
09:51.53focus_wellhno: real harware I prefer. So basically you tell get the linux, put onto uSD, and find a way to make that boot into bash. Other pray hard until your prayers are answered?
09:52.14focus_wellOtherwise pray hard?
09:52.16hnoThere is no praying needed. Only doing.
09:52.42focus_wellGood :-)
09:52.47focus_wellThats progress!
09:53.20hnoBut you need to have a understanding of what is bootloader, kernel, initramfs, rootfs, userspace.
09:53.40focus_wellhno: I have good understanding linux
09:53.59focus_wellbut insufficient detailed knowledge of the bits that connect everything together
09:54.02chengthe better way is have a good understanding of each steps (at least it make senses to you) before going hands one
09:54.13chenghands on.
09:54.51hnofocus_well, so you are familiar with kernel command line, rood fs specifications, how to make a rootfs, how to build a kernel?
09:55.13hnoand how to make an initramfs?
09:55.59focus_wellits no to all, I only know about them, the boot loader I know a bit more about because I make SDCard read/write hardware and software
09:57.12hnothen spend an hour on learning these things. It helps a lot. Kernel compile is not the important.
09:57.26focus_wellvery detailed knowledge about sectors and registers for controlling SDcard
09:57.50hnothat is not needed. software already take care of the register details.
09:58.10focus_wellso I guess the next step is getting the boot sector to boot a linux
09:58.41focus_wellor is the bootloader that I have to inform as the boot loader already knows how to read sdcard
09:59.58hnoBoth CPU, bootloader and kernel knows how to read sdcard.
10:00.59hnoI assume you have UART console?
10:02.36focus_wellI got PC, and USB to serial, so I assume I can wire some pins to A10 to get UART console? (Sorry to ask I am out of my depth here with A10 hardware for now.)
10:03.59hnoOk, back to learning desk then. Don't dive into this on real hardware without console access.
10:04.14focus_wellhno: my plan was I got MK802, so do everything on uSD and then get my own A10 to boot from uSD. The A10 will go on a SO-DIMM 200 pin card and it will have on it the uSD socket
10:04.57focus_wellMK802 I can buy for $30 - so buy 10 if need be! :-)
10:05.17focus_wellI did not want console based programming
10:05.44hnofocus_well, sure. And it only have UART on small test pads so it will take you some time to get the console running on each.
10:06.09hnoplus you need to be careful so you actually get an A10 based one. MK802 exists in many flavors.
10:06.45hnoHaving console access is critical to understanding these things.
10:08.05focus_wellI know console is good, but I saw an opportunity when I note A10 can boot directly from SD. if I have a working MK802, then perfect everything by swapping code between different uSD cards
10:09.06hnofocus_well, without console you are blindfolded. Everything must be close to 100% right before you see any output on HDMI.
10:10.54focus_wellhno: I take in your advise. I like the blindfold. What I was going to do is run Linux and get a small program to flash LED. That way I know it booted and doing things. I am aiming for 5" LCD instead of HDMI - because the board won't have HDMI.
10:11.27hnoLCD is even more complex to get right than HDMI.
10:11.28focus_wellOnce I got LCD to show a bash prompt, nothing to hold me back
10:11.50focus_wellI got LCD I make work with other ARM - non Linux software
10:12.49focus_wellSo it is a matter of configuring LCD driver for Linux with the LCD I know works, and getting Linux to boot to bash
10:13.34focus_wellhno: if things get really difficult I get console working
10:13.55hnoOlinuXIno A13 probably a better dev platform for you than MK802. And maybe A13 is even the better choice of CPU if you only want LCD.
10:14.33hnomax 512MB memory, no HDMI. no LAN, no SATA.
10:14.37focus_wellThe A13 RAM is  limiting - 512MB
10:14.57focus_wellNeed 1GB, LAN, Sata optional, but prefer I have it
10:15.17hnoCubieboard is it then.
10:16.01focus_wellYes but I hold back from ordering cubie because I don't know when they ship
10:16.22hnoNote: there is only one day left of preorder.
10:16.48focus_wellI will place order for 2 then - but do you know when they might ship?
10:17.26hnoHopefully before christmas.
10:17.33hnobut it's tight.
10:18.59focus_wellthats why i resist - may be i risk it
10:20.26focus_wellhno: thanks I go study more
10:26.14slapinis it theoretically possible *some random tablet* or mk802 to upgrade to SATA or LAN?
10:29.42rmthere are dongles for USB to SATA, USB to Ethernet
10:29.50rmor do you mean native A10's
10:30.04*** join/#arm-netbook juandie (~Adium@190.188.8.139)
10:30.26hnoslapin, only if you desolder the A10 and rework the PCB to connect the pins.
10:30.32rmafaik at least Ethernet requires quite a bit of circuitry (PHY, transceiver, etc) in addition to what's in A10
10:30.37rmnot sure about SATA
10:31.23hnoSATA PHY is internal. But it's 3GHz traces.
10:34.27hnoOnly connector, a resistor, some capacitors and power connected to the SATA module power pins of the A10.
10:35.32hnoAh, right, a 2.5V power source as well to connect there.
10:37.18slapinhno: any SATA-enabled schematics?
10:37.55hnoslapin, yes. both cubieboard and olinuxino A10.
10:38.09slapinis prowd of owning THE ONLY battery-backed mk802
10:38.26slapinhno: please help me identify mk802 clones
10:38.50slapinhno: mine new 512MB board does have axp209
10:39.23slapinhno: but layout is different from what is on so called mk802ii
10:39.33hnoslapin, get yourself some cubieboards.
10:40.06slapinhno: I don't understand this indiegogo thingie
10:40.21hnowhat is unclear about it?
10:40.52slapinhno: I was not able to figure out at time how to buy 3 boards, and ordered one.
10:41.27*** join/#arm-netbook arokux (~arokux@134.34.226.145)
10:41.31slapinhno: I know it will not be enough for me, but as I see time is over for second thoughts.
10:41.59slapinso I am still on sticks and tablets.
10:42.22slapinhow much does OlinuXIno cost?
10:43.32slapinhno: does cubieboard have battery pins, by the way?
10:44.09slapinand also, how hard is to cheat A10's SATA to connect eSATA raid box?
10:45.15slapinand where can I buy a10 kits (a10 + axp209)?
10:45.37hnoslapin, no battery pins in this generation.
10:45.55hnoyou can buy A10 kits from olimex
10:46.35slapinhno: too bad, I'd like to play with a battery on cubieboard :(
10:47.11hnoA10 SATA connects fine to SATA RAID boxes with built-in RAID. It does not work with port multipliers however.
10:47.21slapinhno: about NAND - can you please make your opinion on reading stuff?
10:47.54slapinhno: my eSATA "raid" box is really multiplier.
10:48.07slapinhno: is it hardware or software issue?
10:48.45hnoI don't have much idea on what is going on with the NAND read commands. But don't see that the controller should make much difference.
10:49.03slapinhno: what requirements are to work with multipliers? I use dreamplug, where multipliers work, and don't see there any special support.
10:49.23slapinhno: do you have an oscilloscope or logic analyser?
10:49.56slapinhno: I'd like to see what happens on NAND's pins...
10:50.07slapinthis is all too weird
10:51.01slapinso if NAND controller is considered not that intelligent, then why there is nothing in SRAM after read command?
10:51.18hnoslapin, I do have an OLS. But SUMP Java client is not playing well with my kernel.
10:51.47slapinhno: no other clients?
10:52.39hnothere is a python client, but it is very basic and do not support compression so it's hard to capture high frequency signals.
10:53.41hnotrace buffer spase of OLS is very limited.
10:53.48slapinhno: :(
10:54.09slapinactually only <20 bytes needed
10:54.16*** join/#arm-netbook tzafrir (~tzafrir@local.xorcom.com)
10:59.44hnoI will try connecting up the OlinuXIno A13 with SUMP later. I can make it run with the help of GDB.
11:02.05hnoOr I think I remember how. Was a couple of months ago.
11:02.51slapinread ML... how do they connect SATA to STM32F I wonder...
11:06.10hnoWhat?
11:07.45hnoDon't remember any discussion about STM32F SATA. Ony SDCARD.
11:07.59slapinhno: EOMA board...
11:08.05hnoYes
11:08.15hnoEOMA have SATA.
11:08.52hnoEOMA CPU module -> IO Board -> SATA device. Not touching the microcontroller.
11:08.54slapinhno: [Arm-netbook] EOMA-68 tablet/laptop/engineering-board PCB schematics design underway
11:09.07slapinhno: SATA: 100%
11:09.22slapinhno: how?
11:09.28hnoWhat how?
11:09.34hnoit's wires.
11:09.56hnoand some capacitors.
11:09.58hnoand connector
11:10.30slapinneeds HOWTO on connecting SATA to STM32F which will allow to finish his SCSI-to-everything target project
11:11.57hnoSTM is not involved in SATA for EOMA.
11:13.38slapinah, oops
11:13.57hnoMore annoyed why NAND fails with PLL5 @480MHz but works with PLL5 @408MHz.
11:14.15oliv3rdont overclock it! jk
11:14.31hnoFrom what I can tell the NAND clock is the same.
11:15.04slapinhno: does original sunxi_nand works with such clock?
11:15.33slapinhno: doesn increasing dividers help?
11:15.48mnemocthe linux nand driver has an #ifdef for choosing clock iirc
11:15.59slapinewwwww
11:16.25slapinprobably can be solved at run time
11:16.30hnoNAND CLock: PLL5=480MHz, divid_ratio=3, clock=29491200MHz
11:16.39lundmanyou guys know anything about scatterlists?
11:16.49slapinby using different divider settings
11:16.53hnoNAND CLock: PLL5=408MHz, divid_ratio=3, clock=29491200MHz
11:17.17hnohmm.. that math is screwed up somewhere. 480 / 3 != 408 / 3.
11:17.35hnolundman, what about them?
11:18.57lundmanwhen I set my scatterlist->length to something large, like 131072, scatterwalk will often panic
11:19.26lundmanif I keep it small, like 512, it does not
11:19.41*** join/#arm-netbook Almamuetya12 (~almamuety@186.134.31.189)
11:22.18slapinhno: I think math there is more comlicated than that
11:25.48slapin<PROTECTED>
11:25.48slapin<PROTECTED>
11:25.48slapin<PROTECTED>
11:25.48slapin<PROTECTED>
11:26.34slapinhno: what the f*ck is edo_clk? it is hardcoded 10 in nand_sunxi.
11:26.35hnoslapin, have redone that already.
11:26.49*** join/#arm-netbook tinti (~tinti@189.3.225.5)
11:26.54slapinhno: where?
11:27.07hnomy git repo.
11:27.26slapinhno: is sunxi-current "stable" now?
11:28.36slapinhno: I want to rebase my work branch on latest yours
11:28.57hnosunxi-current works.
11:29.15hnoAh, see the error now.
11:29.30slapinhno: does it have NAND stuff?
11:30.18hnonot in -current. There is also an mtd branch which is my playground for testing what you have done.
11:31.14slapinhno: could you please post your changes somewhere for me to pick up?
11:31.36hnoIt's all there.
11:32.10hnohttps://github.com/hno/uboot-allwinner/commits/mtd
11:32.56slapinhno: have you changed registers to structure from defines?
11:33.28hnonot the nand ones.
11:33.55hnobut there is no defines for ccm any more
11:42.12*** join/#arm-netbook jeremb (uid2617@gateway/web/irccloud.com/x-pmsmljnbqhshtouf)
11:44.07*** join/#arm-netbook mSquare (~selvan@122.172.252.247)
11:44.08slapinhno: ok, then I will make it as soon as something works.
11:45.37hnothe nand controller struct?
11:47.44slapinhno: yes
11:48.49slapinhno: after your fix to clock display, what clock is displayed with 480/408 MHZ PLL5?
11:50.09hnoyes.
11:50.35slapinhno: what clock?
11:50.40hnoPLL5
11:51.12slapinhno: I mean what numbers displayed (clock rate) for 480 and 408 MHz?
11:51.24hnoor you mean the NAND cklock?
11:51.40hnocalculated clock rate is 3 in both.
11:52.21hnowhich is a little odd.
11:52.44hnonot that it's the same, but that it is3
11:54.41hnoNAND Clock: PLL5=480MHz, divid_ratio=15, clock=3MHz
11:56.32hnohm..
11:56.40hnoNAND Clock: PLL5=408MHz, divid_ratio=15, clock=3MHz
11:56.45hnoodd
11:57.16hnorounding error. clearly not the same
12:02.22hnoNAND Clock: PLL5=408000000Hz, divid_ratio=15, clock=3187500Hz
12:03.35slapinvery strange
12:04.32hnoNAND Clock: PLL5=480000000Hz, divid_ratio=15, clock=3750000Hz
12:05.45hnomath do not quite add upp. Commens say prescaler N = 0, but sets it to 1<<3.
12:06.56oliv3rPLL5 you say?
12:07.03hnoNo NAND clock.
12:07.11hno<PROTECTED>
12:07.21hnoAh, no right.
12:07.51hnoOuch..
12:08.16oliv3rNand clock is sourced either directly from the 24MHz clock, PLL5 OR PLL6
12:09.07hnoNAND Clock: PLL5=480000000Hz, divid_ratio=15, clock=30000000Hz
12:09.23oliv3rand N is either 1, 2, 4 or 8 when being set from 0x01 through 0x03
12:10.21hnooliv3r, we know.
12:11.03*** join/#arm-netbook RITRedbeard_ (~redbeard@68.37.165.37)
12:12.27hnoNAND Clock: PLL5=408000000Hz, divid_ratio=15, clock=25500000Hz
12:15.52*** join/#arm-netbook pawel5870 (~pkarpins@pc.193147149.ip.amg.net.pl)
12:19.21*** join/#arm-netbook alcides (~alcides@187.23.196.11)
12:19.21*** join/#arm-netbook alcides (~alcides@unaffiliated/alcides)
12:23.22*** join/#arm-netbook gzamboni (~gzamboni@71.154.200.77.rev.sfr.net)
12:23.54*** join/#arm-netbook RITRedbeard_ (~redbeard@68.37.165.37)
12:24.44*** join/#arm-netbook RITRedbeard_ (~redbeard@c-68-37-165-37.hsd1.nj.comcast.net)
12:26.08hnoNAND Clock: PLL5=480000000Hz, divid_ratio=24, n=1 m=11, clock=20000000Hz
12:26.10hnobut still fails
12:28.31hnoNAND Clock: PLL5=408000000Hz, divid_ratio=21, n=1 m=9, clock=20400000Hz
12:28.32hnoworks.
12:31.32*** join/#arm-netbook kaspter (~Instantbi@222.65.218.232)
12:32.13lundmancool, thanks for the zfs fix
12:32.50slapinhno: they had some magic re ++/-- dor divider, try to ++ it
12:38.45slapinhno: #define NAND_MAX_CLOCK 10 and its usage is still here
12:42.48slapinhno: what if just set nand_clk_divid_ratio = 15; and pll5 to 480MHz and test?
12:43.17hnoslapin, confused. I understand the math, but fail to express it in C. More importantly the NAND chip still fails with reasonable clock.
12:43.52slapinhno: probably it finally gets too high
12:44.17slapin<PROTECTED>
12:44.18slapin<PROTECTED>
12:44.30slapinhno: what this does?
12:44.46hnoThat's to round down the final clock.
12:44.55hnoso it's not above target goal.
12:45.08hno<PROTECTED>
12:45.10hno<PROTECTED>
12:45.20hnoif div_m == 21, how come it's not 22 after this?
12:46.07hnoAh, %2
12:46.28hnoDamn math,.
12:47.35hnoBut still clueless why PLL5=480MHz makes it fail now.
12:48.20slapinhno: probably DIV_N is needed?
12:48.36hnoIt's set.
12:48.50slapinhno: to zero
12:49.03slapinhno: might try 1 or 2
12:49.05hnono.<hno> NAND Clock: PLL5=480000000Hz, divid_ratio=24, n=1 m=11, clock=20000000Hz
12:49.18jerembslapin: did you get your hdmi -> vga cable converter?
12:49.21hnofails.
12:49.22slapinhno: ah
12:49.30slapinjeremb: no
12:49.35hno<hno> NAND Clock: PLL5=408000000Hz, divid_ratio=21, n=1 m=9, clock=20400000Hz
12:49.36hno<hno> works.
12:49.47hnoeven if it's rounded wrongly.
12:49.51slapinhno: any other values?
12:50.01hnolike what?
12:50.16slapinhno: probably it bugs on certain divisor/clock settings
12:50.17hnopushed the changes. Need to leave for some hours.
12:50.42hnoI suspect there is something else.
12:51.00slapinhno: try setting PLL5 to something in-between.
12:52.12slapinhno: I will be able to do anything in 5 hours or so, if nobody shows me where to solder serial to mk802ii-styled mk802
12:53.55*** join/#arm-netbook gzamboni (~gzamboni@186.204.139.112)
13:00.25*** join/#arm-netbook hipboi (~hipboi@123.89.122.84)
13:00.36lundmanthanks for the zfs fix
13:20.22vgrade_I saw a couple of people had this error "libEGL.so: undefined reference to `DRI2SwapBuffers'" was there a resolution?
13:28.56*** join/#arm-netbook gzamboni (~gzamboni@71.154.200.77.rev.sfr.net)
13:33.11slapindo anybody knows of some more cheap PCB prototyping services like http://imall.iteadstudio.com/open-pcb/pcb-prototyping.html ? I need to make 6-8 layers board in small amounts...
13:44.16oliv3rseeedstudio
13:44.36oliv3rhipboi: did you talk to your friend yet about the a1000g?
13:46.08*** join/#arm-netbook slash_random (~david@host188.181-1-116.telecom.net.ar)
13:51.48slapinoliv3r: seeedstudio?
13:56.16*** join/#arm-netbook arete74 (~arete74@net-93-64-241-175.cust.dsl.vodafone.it)
13:59.49slapinoliv3r: they don't make even 4-layer boards.
14:00.31rmhttp://hardware.slashdot.org/story/12/11/14/1324251/fully-open-a13-olinuxino-single-board-linux-computer
14:00.42slapinoliv3r: I can make 1-2 layer boards at home with hot iron na laser printer, when I need them
14:14.04oliv3rslapin: are you sure? i'm pretty sure you can 'choose' your layers
14:14.27oliv3rthey shoul doffer the same options as iteadstudio, as they use the same manufacturer :p
14:14.39oliv3rrm: lies. it is not FULLY open
14:15.07oliv3rslapin: theres always dorkbox or whatever the purple service was called; dangerous prototypes has a list of 'options' somewhere
14:17.37mnemocoliv3r: it is open hardware, and above that it's as open as any sunxi device
14:19.21hipboioliv3r: yes, check out the aliexpress shop later
14:20.38hipboioliv3r: it's on store backgroud, but it takes some time to show in foreground
14:22.51L84Supperslapin: where are you located?
14:23.00slapinL84Supper: .ru
14:23.04oliv3rthe new google nexus 10 is supposed to be 'open' execpt the videocore
14:23.14oliv3rhipboi: awesome :) will order today then :D
14:24.03oliv3rhipboi: nice cleanup on the shop btw
14:24.15mnemochipboi: do you know if the it has the same connectors inside as the old?
14:24.30hipboinot sure
14:24.38hipboii need to open one
14:24.53slapinany links on the store?
14:25.03mnemocoliv3r offers his own to be taken apart :p
14:25.10oliv3rgoogle for 'the Cubies hacker shop :)
14:25.23mnemocslapin: http://www.aliexpress.com/store/all-wholesale-products/511685.html
14:25.25oliv3rmnemoc: if it arrives soon, i will take foto's for the wiki for sure
14:25.36mnemocoliv3r: I mean, before shipping :)
14:25.41oliv3rhipboi: booked your ticket to the bahama's yet? indiegogo only 42 hours left! :p
14:26.05oliv3rbefore shipping?! now you scare me :p if tom 'tests' it afterwards to ensure everything is 100% in working order, sure
14:26.07hipboibahama's?
14:26.13oliv3ras long as i still have the warranty :p
14:26.25oliv3rhipboi: or wherever you wanna retire with your new weatlh :p
14:26.36oliv3ri was kidding :)
14:26.39mnemochipboi: an island where people who steals other's money goes to hide and enjoy life
14:27.06hipboiok : )
14:27.16hipboisounds good idea
14:27.20oliv3rlol
14:27.39mnemocwait for the second campaign, it will be more juicy :)
14:27.41oliv3rthough I don't think 80k will get you that far there, pretty expensive to live there
14:27.54oliv3rcubieboard 2 with an A40? :p
14:27.57L84Supperit's very difficult to move money out of China, they make it very easy for it to come in though  :)
14:28.16oliv3rto more techincal stuff; what does AHB clock gating' do? or clock gating in general?
14:28.23oliv3rsimply 'enable/disable' the clock to a device?
14:28.31slapinoliv3r: yes
14:28.44slapinoliv3r: actually disabling/enabling clock passing
14:28.46oliv3rso the 'missing' clock gates can be figured out by trying and seeing what does or does no longer work?
14:28.47mnemocoliv3r: semantically it makes more sense the cubieboard2 to have the double of extensions, and the cubieboard4 to have the quad core soc
14:29.16oliv3rslapin: so basically its a transistor that allows the clock signal to pass or not
14:29.17mnemocto give some meaning to the number
14:29.27slapinoliv3r: might be so
14:29.29oliv3rmnemoc: cubebieboard++
14:29.37oliv3rslapin: in 'laymans terms' i ment :)
14:29.59oliv3ri just ask, because there's no clock gating defined for things like AC97, SPDIF, keyboard etc
14:30.11slapinoliv3r: it is usually several components, but yes
14:30.13oliv3rand some spots where they could very well be hiding in the gating register
14:30.36slapinhmmmmm
14:30.54oliv3rhmm, the doc is quite specifc, anyway, what triggerd me, is there are timer registers for said components, but no gating entries in the gateing registers, BUT there are holes in the gating registers
14:31.03oliv3r(page 47 and 48)
14:31.31oliv3rso by disabling/enabling certain gates, the ac97/spdif etc gates should be 'findable'
14:31.59slapinoliv3r: or not
14:32.11slapinoliv3r: depends if there are any gates
14:32.12oliv3rslapin: :(
14:32.33oliv3rwell there's some 'reserved holes' e.g. 'we don't want you to see this' in the docs and some aren't even in the src
14:32.41oliv3rwell not in ccmu_regs
14:33.09slapinoliv3r: they omitted lots of peripherals in the doc, no wonder
14:33.35slapinwhich of these meles is a2000g?
14:33.48oliv3rslapin: yeah most of it is in the source, but some isn't in the source either, so they are just 'hiding' it?
14:34.02oliv3rslapin: there is only an a1000g i belive, and hipboi said it's not visible in the front yet
14:34.09oliv3rprobably has to replicate across the frontend mirrors first
14:34.13oliv3ri am guessing
14:34.32hnoslapin, need a picture of the board to be able to help locating serial.
14:35.15mnemocslapin: aliexpress moderates new products, the a2000g is not just published on the catalog
14:35.56stefanrohno: might be that i can find some time for the sr32 cleanup - which branch is the one i should use?
14:36.29slapinmnemoc: any direct links?
14:36.42mnemocslapin: only after it passes moderation
14:36.48slapin:(
14:37.06slapinI will spend all my money by then :(
14:37.10oliv3ri wanna buy now!
14:37.19hnooliv3r, ther is schematics, full board layout CAD drawings and component supply available for nexus 10?
14:37.31mnemoc"it for your own safety" (tm)
14:38.01oliv3rhno: of course not, they where talking software! the statement up above claimed 'full' meaning software too
14:38.14oliv3rsafety? pff! safety is for wussies!
14:38.34mnemocoliv3r: if you ignore the gpu and vpu, software is 100% free/open
14:39.05mnemocand those two are on the road of been REed
14:39.27slapingot a cruel plan building A13 "stick" using components from balcony, olimex, and building board at iteadstudio.com
14:39.48hnooliv3r, what missing AHB gates?
14:39.49mnemocslapin: the a13 is awful for an stick
14:40.04slapinthis is far cheaper than building S3C24xx boxes
14:40.26slapinmnemoc: I solder large BGA packages very badly
14:40.35mnemocS3C24xx is so 4ya
14:40.40*** join/#arm-netbook cheng (~cheng@124.13.188.160)
14:41.12hnooliv3r, see clock diagram in the datasheet (short version with pinout)
14:43.19hnostefanro, always sunxi-current if you want a sane life with git. sunxi-patchqueue also works but is continously rebased.
14:43.37slapinmnemoc: A13 is TQFP, and I can solder RAM chips
14:43.40stefanrohno: okay, thats what i thought
14:45.34hnois not entirely comfortable with TQFP of the spacing & size of A13, but could probably do it.
14:46.08oliv3rhno: ac97 clock gates
14:47.00oliv3rhno even the short datasheet has things like  'NC-CLK' under the nand-clk which I think was sata clk iirc (see linux-sunxi.org/A10/CCM top section)
14:47.12oliv3ror the IIS-clk combined with a nother 'NC' clock
14:48.10oliv3rslapin: good plan, I've solderd a GDDR ram module too, solderd the pads, put chip on, used hot air blowdryer to 'melt' it in place :)
14:49.16oliv3rhno: and finally, KEYPAD-CLK shows up in the diagram, but is 'missing' from CCM_AHBCLK_GATE[01] in source
14:52.04L84Suppermnemoc: so what I think you are saying is that is other than all the closed stuff it's all open
14:52.13hnooliv3r, KEYPAD & AC97 is on APB
14:52.57mnemocL84Supper: only that all closed stuff in the a13-olinuxino is optional
14:53.48mnemocL84Supper: and that eventually those will be open too
14:54.05oliv3rhno: ah! (Wasn't that far yet :p)
14:54.26oliv3rmnemoc: eventually :( Faster! Faster! :) sorry, i'll get back to work
14:54.59hnooliv3r, there is several different logic busses depending on the speed of the pheriperal.
14:55.07puckogah... I lost the URL for the Mele Debian armhf image... anyone remembers?
14:55.34hnooliv3r, most peripherals also have a function clock.
14:56.10hnoboth clocks are needed for operation. The bus clock controls the CPU facing side (registers etc) and the function clock the operation of the device.
14:57.03oliv3rah, dual facing I didn't know
14:57.42hnothe bus clock is only gated. function clocks have divisors
14:58.01L84Supperis somebody working on reversing the video decoder/accel in the a10/13? is that part of Lima?
14:58.15hnoand some pheripherals have additional clocks derived by th
14:58.29hnotheir own.
14:59.24oliv3rso you enable/disable the clock (gate) on the CPU facing side; and you setup devisors for the perp. facing side, check. I may write a little abbout that on the wiki
14:59.31hnoi.e. UART have a baud rate clock divisor dividing the UART function clock to a sensible baud rate.
14:59.43oliv3rL84Supper: ian ... i forgot, he posted on the ML and on g+
15:00.08L84Supperhttp://linux-sunxi.org/CedarX#Reverse_Engineering
15:00.58oliv3rthat
15:01.10L84Supperso allwinner is shy when it comes to sharing any of this source
15:01.38hnoshu of sharing any source currently :(
15:02.08L84Suppernothing like building trust  :)
15:02.25L84Suppermaybe Luke just heard them wrong last year  :)
15:03.33hnoL84Supper, no, lkcl knows where they stand.
15:03.45L84Supper"sure we will share all the source with you in exchange for community support..... except for big chunks of it"
15:04.27hnofor the A10 the situation is reasonable. The SDK have full kernel & u-boot sources.
15:04.30oliv3ri think once linux-sunxi work becomes more known and more used, it may trigger allwinner into seeing that what is happening here is a good thing (for them)
15:05.35L84Supperoliv3r: maybe, I haven't met any of them or checked into their backgrounds. I wonder what their track record was like with their management before.
15:05.58L84Supperis it the same team as Boxchip?
15:05.59hnooliv3r, maybe. But it's too late for any serious effect. Allwinner already had their boom with A10 sales. Now focus is on next generation.
15:06.07hnoL84Supper, should be.
15:07.05hnowith some adjustments from being several companies merged together.
15:07.20L84Supperhno: I agree, they should be giving all the source away for the A10 now that it's old. What's left to control? .... unless you have issues with control
15:07.53oliv3rhno: that may be true, but A40 may be very close related so could get a jump start
15:08.13oliv3rsad but true, linux-sunxi will just follow after the facts and nothing exciting will happen in the industry
15:08.16mnemocL84Supper: lichee2/2.6.36 was released once totally obsoleted by lichee3/3.0.8
15:08.20hnoL84Supper, they already have given away as much source as they can realistically do.
15:08.31oliv3rlibcedarx!
15:09.15mnemocTurl: did you decide to take vaapi or REing cedarx as univ. project?
15:09.17L84Supperhno: since GPU and video decoder source is under NDA from ARM?
15:09.33hnocedarx is still their main IP.
15:09.48hnoThe MALI GPU is under NDA from ARM.
15:10.22L84Supperis the video decoder/accel (mpeg, h.264 etc decoder) part of mali?
15:10.33mnemocL84Supper: that's cedarx, not mali
15:10.56L84Supperwhere do they get the cedarx block from?
15:11.15hnocedarx video & audio codec is their is considered their main IP block, what sets the company apart from others.
15:11.35L84Supperdid they design it themselves?
15:11.50hnofull history is unknown, but it's been part of their whole series of CPUs, noticeably improved with each generation.
15:12.18L84Supperoh ok, and they won't share source for those blocks, got it now
15:12.25slapinI don't know how this all is related to closed drivers
15:13.03slapinI understand they don't want to share their IP blocks, but drivers are just controlling interface...
15:13.14hnoslapin, acceleration hardware and software using it goes in tandem.
15:13.17L84Supperso if someone were to reverse the cedarx it would give some of what they consider 'secrets' away to how to build the multimedia IP blocks
15:13.58slapinI don't think I will understand anything re IP blocks building from looking at driver source...
15:14.11L84Suppernow I'm starting to understand the pathology
15:14.17slapinI don't even know what NAND controller thinks now.
15:14.36hnoslapin, IP concept also covers software.
15:15.33L84Supperpart of the reasons why register specs are not shared is that it provides evidence of how the hardware works and what patents might be violated
15:15.57oliv3rmnemoc: vaapi? what happened to openmax!
15:16.08focus_wellhardly true about IP secrets - everyone knows how to build multimedia blocks - all they loose are sales if their chips are not selling
15:16.22L84Supperit could easily be covered by just moving some registers around but that's too much work for some ASIC teams
15:16.31focus_wellhttp://www.ipcores.org has lots of IP all open source
15:16.40slapinL84Supper: if you cover video you 100% know that hundreds of patents are violated, just knowing it is video decoder which is not paid to MPEG LA
15:17.11libvL84Supper: ?
15:17.25libvL84Supper: there's millions to be earned by patent cases
15:17.58libvL84Supper: it's trivial enough to RE one of these blobs, and point out to a judge if it is violating some patents, especially given the amount of money, and this REing time available
15:18.13focus_wellThe best way around mpeg is to create your own alternative video formats and support one for sure and edge out the closed ones
15:18.37libvfocus_well: and now for the real world...
15:19.04focus_wellthat means a bit of VHDL to add into the cores and then some software to use it
15:19.12slapinfocus_well: many patents are not algorithm or format related, they cover whole process of video decoding and encoding
15:19.13L84Supperyeah, they aren't going to support a proprietary standard
15:19.54libvagain, the availability of code does not help with IP issues
15:20.10focus_welllibv: we all make money eventually doing our own open source projects - so all it needs is one or more persons to invest in this in organized way to phase out locked systems
15:20.27libvfocus_well: go at it. now.
15:21.11focus_welllibv: I sure will - just starting out on freeing up the KiCAD designs for modular SO-DIMM PCBs and after that who knows
15:22.06focus_wellthe money is mine but designs are of no use to me after they are built so I give them away
15:22.47slapinany available design on 72-pin SIMM module for KiCAD, and is DRAM chips are available? my AXPpci board is collecting dust without memory :(
15:23.43focus_wellnot that I know of - I'm just starting out - I don't know where it take me
15:23.44oliv3rthere, lots of stuff up on the wiki. so much my fingers hurt now! More tomorrow maybe :)
15:23.45mnemoche is designing SoMs, not DRAMs
15:23.47L84Supperthe a10 was successful because of its features at a low price....
15:24.25libvoliv3r: :)
15:24.32focus_wellmnemoc: interchangeable SoMs so if one manufacturer falls over then switch to another one
15:24.53L84Supperthe main cost of developing an ARM SOC is the ARM cpu + GPU license + the other IP blocks you buy (and the masks)
15:24.55focus_wellthat way those who can't open source their drivers will sooner fade
15:25.10oliv3rwell until the a40 comes out, the a10 will remain successful. if the a40 has the same pinout as the a10; it will be an instant success imo
15:25.37focus_wellL84Supper: there is new CPU + Linux all running on open VHDL code at opencores.org - no need for arm
15:26.06oliv3rproblem with opencores, you need to be able to manufacture said CPU's
15:26.10mnemocfocus_well: are you designing also some boards where to put these SoMs?
15:26.23L84Supperfocus_well: I don't think people are interested in supporting those cores
15:26.25oliv3rand that requires quite a lot of money (and quite some expertise). BUT I agree, in the far future, aboslutly
15:26.45oliv3rL84Supper: they will be, once you can actually buy hardware with those cores
15:26.46slapinhno: http://ossfans.org/mk802_1G/
15:27.09mnemocoh, a real antenna
15:27.15focus_welloliv3r: they run on fpga - and if you got about $30,000 to $250,000 you can have your own chip
15:27.20L84Supperoliv3r: which core?
15:27.32slapinmnemoc: where?
15:27.39slapinmnemoc: antenna?
15:27.43mnemocslapin: in your pictures
15:27.46L84SupperMIPS?
15:27.48oliv3rL84Supper: cores -> soc  and then ... win!
15:27.58oliv3rL84Supper: Isn't the sparc II design open?
15:28.39oliv3rOh! Nand clock, for tomorrow! exciting stuffs :) hoemtime now :)
15:28.40slapinmnemoc: I seen better antennas in my practice. I have the same in A7HD, had to fix it to work...
15:28.45focus_wellmnemoc: I got a mboard that can take the SoM and break out to LCD, SD, some breadboard area, and power supplies
15:29.03L84SupperChina went with a MIPS variant for their supercomputer CPU core
15:29.18slapinL84Supper: MIPS is dead now
15:29.31L84Suppernot it China
15:29.36focus_wellL84Supper: I rather the existing cores and then win but if they be stubborn, then yes cores > soc > win
15:29.39slapinL84Supper: hope so
15:29.45L84Supperhttp://en.wikipedia.org/wiki/ShenWei#ShenWei_SW1600_Microprocessor
15:30.30L84Supperhow to crowd source $5M USD for masks?
15:30.49slapinwell, some of Chinese hw vendors use open cores, like OpenRisc in their products. e.g Jennic old "Zigbee" modules
15:30.51focus_wellits not $5M for masks
15:30.59L84Supperlets say you wanted to use all open cores IP, who could you get to fund the fab?
15:31.18slapinwell, you can start with FPGA
15:31.22L84Supperslow
15:31.27L84Supperexpensive
15:31.33focus_wellabout 9months of funding for about 5 people and about $250,000
15:31.40L84Supperor would lots of people want that?
15:31.47slapinif you need FPGA anyway, then you can use open cores for development speedup
15:31.54focus_wellcorrect
15:32.04focus_welleverything is normally done in fpga first
15:32.12L84Supperthat not my point
15:32.16focus_wellthen it goes  to chip maker
15:32.30focus_wellchip maker takes 9 months and about $30,000 to make wafer
15:32.43L84Supperwhat geometry?
15:32.48focus_wellneed the rest for staff of about 5 for 9 months to 1 year
15:33.11L84Supperyou're talking about FPGA to asic
15:33.16L84Suppernevermind
15:33.21L84Supperyou're new to this
15:33.22slapinthere are mask asics which are cheaper, but limited.
15:34.04L84Supperif you really want the performance and price of an FPGA then there's nothing stopping you
15:34.06focus_wellor you go to fabless houses and just give money
15:34.40focus_wellthey have experts but you may end up paying a little more
15:34.41slapinmany companies who make instruments (expensive hw, low quantities), use FPGAs for functionality, and use open cores.
15:35.20focus_wellsay $300,000 for a fabless house
15:35.25L84Suppermy point was trying to build an SOC at 28nm
15:35.39slapinhno: about serlal on mk802
15:36.00focus_well28nm only if building low power
15:36.07L84SupperI don't think that you'll get lots of support for a FPGA soc
15:36.30focus_wellFPGA SoC exists on opencores.org they sell it
15:36.38L84Supperfocus_well: who is going to want one that isn't?
15:36.46focus_wellI bought one!
15:36.48focus_well:-)
15:36.52L84Suppervery few
15:37.26focus_wellIts working so I bought one - but expensive and FPGA so much more involved
15:37.45slapinthere are lots of cheap FPGAs
15:37.58slapinfor $5-$10
15:38.07focus_wellbut nothing stopping anyone taking that to a fabless house and turning it into some dice and getting it bonded to a PCB and selling it
15:38.14slapinand they can run OpenRisc and some video cards
15:38.22L84Suppersure, some even have a hard M3 core, so whats the problem?  :)
15:39.00L84Supper100 MHz M3 core should be fast enough for anyone  :)
15:39.33focus_wellBut if you got the sources for the VHDL you can put down 10 on same chip
15:39.43slapinL84Supper: put 10 of them into 1 FPGA and make cluster?
15:39.49focus_wellyup
15:40.09L84Supperlets say I had all the VHDL or could write more
15:40.30L84Supperwho would fund the mask?
15:40.32focus_wellsome guy is doing a $99 cluster of 60+ CPUs - kickstarter project - got $700,000+ funding
15:40.58focus_welldon't know which cpu
15:41.00hnoslapin, http://ossfans.org/mk802_1G/20121114_001.jpg the two pads below the CPU are almost certain UART0 RX&TX.
15:41.28slapinI think crosdfinding some SoC would be interesting experience
15:42.07slapinhno: the ones near USB?
15:42.18focus_wellthat what I think, one of us make it big, don't forget your roots, and fund an open CPU with open VHDL and Linux
15:42.19slapinI mean wifi usb
15:42.59focus_wellif you make money, you can't take it with you, so spread it around on open sourced projects :-)
15:43.38hno<PROTECTED>
15:43.41L84Supperfocus_well: I wish there were enough people interested in purchasing such devices
15:43.55slapinfocus_well: you can spend all money on vodka and girls, unlimited amounts of money.
15:44.11focus_welli'd be bored i tell ya!
15:44.23L84Supperwhat most people seem to want is either a status symbol or cheapest that works even if it's closed
15:45.10hnoslapin, yes those two. You need to find GND elsewhere, preferably not the same spot you wire the wireless module..
15:45.34slapinL84Supper: enough people buy mk802, and its usefulness is questionable, so there will be enough people for open CPU, of properly adverticed.
15:46.28L84Supperslapin: have any references I could show to a bank, investors, venture cap. etc etc?
15:46.40slapinL84Supper: you can say in your ad, that successful people use only open SoCs/CPUs and it will become status symbol.
15:46.41L84SupperI just don't see the numbers adding up
15:47.16focus_wellwhats missing is a linux + LCD module that runs gambas (a VB like program). That can go into any machine. I got MK802 with Gambas working.
15:47.18L84Supperheh, I'm all behind you trying that
15:48.12focus_wellSo all I need to do is put it into SoM and make available drivers for 3", 4", 5", 7", 10" LCDs
15:48.35slapinL84Supper: if you don't see a numbers, make fake ones.
15:48.49L84Supperif the RaspberryPi has to fab their own device they would't be breaking even yet
15:49.03L84Supperhas/had
15:49.16slapinfocus_well: don't forget of quite popular 1.5" and 2", 2.2"
15:50.00slapinL84Supper: RaspberryPi has good sponsors, no?
15:50.01focus_wellThe MK802 image is here (not for public release) http://www.gplsquared.com/mk802/mk802.html with gambas3 working and a sample program that boots up. The sample program can even talk!
15:50.21hnoL84Supper, Infrant used an open core in their CPU which was used in ReadyNAS. Later bought by Netgear. They switched to an off the shelf ARM cpu & X86 models nowdays however, mostly because there now is suitable and not too expensive ARM CPUs for their market.
15:50.22traeakhehe
15:50.29slapinfeels bad about talking programs/computers
15:50.30focus_wellto make it talk - just type into the box below the talk button and press the button - it comes out the HDMI speakers
15:51.01traeaki wish the fpgas were cheaper
15:51.19focus_wellThe program is serial port communications - so if you send it RS232 data, it logs it to a file. If you send the data with <s> text </s>, it will parse it and talk that bit
15:51.24*** join/#arm-netbook vanner (~vanner@vanner.me)
15:51.33focus_wellgood for RS232 terminal that talks!
15:51.42focus_wellThat is kind of application I think people will buy
15:52.08slapinis sick of kid's talking toys :(
15:52.16L84Supperorganize the community, show a vendor that they will make $$ by making open hardware, if its real they will do it
15:52.28slapinthinks machines should not talk - that's human's privilege
15:52.30focus_welltraeak: fpgas will never be cheap - because inside is a lot of waste and redundancy
15:52.45L84Supperget 1M devs to put up $10 ea
15:52.51traeakfocus_well: point taken, it's a technology thing
15:52.55traeakwell things are changing
15:53.04traeak10 years ago the options were pretty bleak
15:54.27focus_wellL84Supper: I intend to release the SoM KiCAD, and that will allow anyone to put their chip to a SoM and get it talking to LCD - instant winner
15:55.09focus_wellWith gambas running on it, they can use like VB and design their applications very quickly and get it on to the SoM and make money
15:55.22hnofocus_well, FPGAs are very cheap compared to not having FPGAs
15:55.40focus_wellOf course, if other chip makers want in, they need to their SoMs
15:55.44focus_welland Linux
15:55.48focus_welland LCD :-)
15:56.35slapinmy old OR project FPGA board costs $10
15:56.36focus_welland if their stuff is closed, their Lunux and SoMs will not work or be cheap
15:58.18slapinfocus_well: and how to hide trade secrets? :)
15:59.02L84Supperhttp://www.kickstarter.com/projects/ouya/ouya-a-new-kind-of-video-game-console/posts/283782
15:59.05focus_wellmake own product and sell asap - buy the time the guy next door catches up, you moved on
15:59.22L84Supper$8,596,474  raised for that game console
15:59.32focus_wellpeople respect you if you got decent product anyway
15:59.48L84Suppera project like that with an open SOC in mind
16:00.55focus_wellslapin: the open sourced KiCAD will just be infrastructure - you make own products by modifying the files
16:00.55traeakugh, handheld pls!  i don't want to be anchored to a TV screen :(
16:01.02L84Supperhttp://en.wikipedia.org/wiki/Ouya   and they go with nvidia!!
16:02.17traeakconsidering they are sticking with android i suspect nvidia isnt' so bad a choice
16:02.24traeakits when you want to deviate from android
16:02.30traeakthat's when trouble strikes
16:02.31L84Supperthey could have at least chosen Samsung since they at least supply docs to many devices
16:03.03slapinL84Supper: many is keyword
16:03.04traeakjust a quick glance the biggest problem with ouya is storage
16:03.30L84Supperslapin:  vs nidia being none or 0
16:04.18hnoThe Tegra TRM isn't that bad.
16:04.41slapinL84Supper: and Samsung docs are sometimes very sparse and you have nobody to ask if you're just developer
16:04.53*** join/#arm-netbook mikey_w (~mike@c-71-63-115-202.hsd1.va.comcast.net)
16:04.59*** join/#arm-netbook n6pfk (~mike@71.63.115.202)
16:05.44slapinand s3c24xx are badly supported in Linux by samsung
16:06.22slapinhno: tegra drivers are
16:06.28L84Supperno, samsung isn't exactly open, far from it, it's just that they chose the most closed vendor next to Broadcon
16:06.58*** join/#arm-netbook RITRedbeard (~redbeard@c-68-37-165-37.hsd1.nj.comcast.net)
16:07.34hnoslapin, can't be much worse than Allwinner drivers.
16:08.51slapinthe stuff with all these vendors is that they don't respect individual developers, getting any support is very hard, they just don't care
16:09.13*** join/#arm-netbook n6pfk (~mike@71.63.115.202)
16:09.39L84Supperslapin: then how do we get the community together to present a united front to vendors?
16:10.02slapinL84Supper: join linaro? :)
16:10.50L84Supperwhat if community devs could join? is that what they are really about?
16:11.01slapinregister non-commercial org, crowdfund 1M, profit
16:11.20libvcrowdfund to join linaro?
16:11.22libv?
16:11.31slapinlibv: yeah
16:11.36libvgood luck
16:11.41rz2klol
16:11.42L84Supperwhat they say about themselves and what they really are are probably 2 different things
16:11.47rz2k1M crowdfund is impossible
16:12.05*** join/#arm-netbook mikey_w (~mike@c-71-63-115-202.hsd1.va.comcast.net)
16:12.38slapinrz2k: well, campign length could be set to e.g. 12 months
16:13.03L84Suppermanaged by a trust
16:13.05slapin100K/mo
16:13.07libvslapin: and gain what from it?
16:13.19slapinthe remains are for bribes.
16:13.23libvslapin: what do you gain by joining the canonical gang?
16:13.28slapinlibv: vendor access
16:13.35libvslapin: define vendor access.
16:13.42RaYmAnpeople rarely want to contribute without getting anything specific out of it.
16:13.58L84Supperexactly what are you allowed to share?
16:14.01hnoLinaro is part of the community, and know the issues well. But this do not make the vendors listen much yet.'
16:14.34libvslapin: and specifically, define how this helps us hackers.
16:14.42slapinhno: Linaro communicates a lot with  vendors and gets jobs for them done
16:14.49libv...
16:15.07libvslapin: linaro, for you, is something magical, right?
16:15.17slapinlibv: access to datasheets, contact persons in hw vendors, etc.
16:15.41hnoslapin, with access to datasheets comes NDA agreements.
16:15.42libvslapin: feel free to talk to vendors directly
16:15.53rz2k[20:05:44] <slapin> and s3c24xx are badly supported in Linux by samsung - zing! https://github.com/linux-sunxi/linux-sunxi/blob/sunxi-3.0/arch/arm/mach-sun4i/include/mach/dma.h#L601
16:16.04slapinlibv: yeah, they make something magical like some toolchain bundles, and their site looks cool, too
16:16.09libvslapin: linaro has not, to my knowledge, made any hw documentation available
16:16.28libvor pushed vendors to do so
16:16.41libvslapin: please go do something real
16:17.07slapinlibv: but they really get docs and can do things.
16:17.35jinzothat doesen't help him (libv)
16:17.39libvslapin: i really got docs out of ATI
16:17.48libvslapin: and i didn't have to join linaro for that
16:17.54hnorz2k, that was funny
16:18.34slapinrz2k: OMG!
16:18.53libvslapin: there's a lot of allwinner docs about, and noone had to join linaro for those
16:19.11hnolinaro don't have those.
16:19.17*** join/#arm-netbook RITRedbeard (~redbeard@c-68-37-165-37.hsd1.nj.comcast.net)
16:19.27libvhno: seems like we should keep that crowdfunded 1M then
16:19.52hnoand linaro can't give anyone access to the hardware docs their people have access to.
16:20.01slapinlibv: I had access to various docs too, but it always were either illegal, or very hard to talk vendors into.
16:20.34slapinlibv: I had friend in one of big chip supplier shop, which could ask vendors for me
16:20.38libvslapin: head for indiegog with your big plan
16:20.45libvslapin: do it.
16:20.47libvnow.
16:21.00libvbut stop cluttering up things with useless chatter.
16:21.12jinzolinaro isn't all bad - but 1M for Allwinner is... ridicule.
16:21.22rz2kindiegogo is fail for Russia, we cant recieve international bank transfers, thanks to our awesome laws.
16:21.40jinzoThey do quite some work and support, but the 1M fee is a bit high.
16:21.45slapinlibv is evil
16:21.50libvslapin: libv does shit
16:22.10mnemocrz2k: indiegogo over payapl maybe?
16:22.19jinzolibv, and this still doesen't make anyone entitled to shit on other people.
16:22.19rz2kjinzo: look how many A10 devices are selling, 1M for aw is 1/10 of month income, if they really wanted to join, they could do it.
16:22.23hnojinzo, and linaro knows. It's just that they have not had a flexible membership model that suits vendors like Allwinner.
16:22.26*** join/#arm-netbook Simon___ (5dcf18d1@gateway/web/freenode/ip.93.207.24.209)
16:22.29rz2kmnemoc: paypal doesnt refund money here.
16:22.39rz2kyou can send the money, but cant withdraw
16:22.43L84Suppersorry to have disturbed the force, but this comes up so often that it needed some clearing up  :)
16:22.44jinzorz2k, if they wanted to work with open source community, there are easier efforts.
16:22.57libvjinzo: i am just annoyed by the amount of useless bs being spewed here from time to time
16:23.11libvpeople should spend their time doing useful stuff or shouldn't bother.
16:23.20rz2kjinzo: yeah, and now they just post "go to linux-sunxi for linux support"
16:23.26*** join/#arm-netbook vinifm (~vini@177.19.132.23)
16:23.34jinzolibv, it's the same everywhere.
16:23.52libvnot to the same degree.
16:24.10mnemocrz2k: :(
16:24.33jinzothen you're one lucky developer :D
16:24.44rz2kI'm thinking of writing on main page of wiki something like "if aw send you here - just know that they dont support us"
16:25.25libvrz2k: such a thing should be done positively.
16:25.47libvrz2k: the following companies are actively participating in our community: ...
16:25.59jinzothe list would be empty then?
16:26.00rz2k<empty list>
16:26.02rz2k:3
16:26.05jinzo:D
16:27.04jinzomaybe libv has a company? :P
16:27.09libvdoesn't hipboi have a company, rhombus tech, zareason?
16:28.01libvjinzo: quite the opposite
16:28.47rz2kzareason is here, but they have their own repos and everything
16:28.48jinzozareason is supporting linux-sunxi? That's good. Because when I saw their A10 tablet I didn't know if it's in some weird currency or what.
16:29.07rz2kallwinner-dev-team @ github, afaik
16:29.21mnemochipboi's cubietech gets us the mali and cedarx libs
16:29.34mnemocolimex got the SDKs and datasheets
16:29.42libv4 companies already
16:29.47mnemoczareason a couple of drivers
16:29.49jinzouh olimex indeed, how did we forget about that :/
16:30.29slapinsolders UART nos, so can't say anything useful, hno, thanks for help, it works on oscilloscope
16:30.43rz2kalso we need to fix our main page to something like this http://www.ps3devwiki.com/wiki/Main_Page
16:30.45jinzoAnyone from pengupod (or what's it called again) around?
16:31.04mnemoche left
16:31.10rz2kjinzo: drachensun is here
16:31.19mnemocah, missed the r
16:31.28mnemocyes, drachensun == pengpod
16:31.46mnemocda<tab> wasn't giving any match :(
16:32.24jinzothat'll be interesting to see how it pans out
16:34.27Simon___is there somebody who knows how to get usb gadget drivers for sun4i?
16:34.59mnemocSimon___: in the 3.0 tree, using android's defconfig
16:35.47Simon___ok - got to try that
16:40.02*** join/#arm-netbook rsalveti (~rsalveti@linaro/rsalveti)
16:46.26mnemochttp://dx.com/p/jesurun-xplus-cell-phone-control-android-4-0-google-tv-player-w-wi-fi-1gb-ram-4gb-rom-black-165602 <--- A10S
16:47.17slapinhno: are you here yet?
16:49.13traeakwoah wth is this?  where's the phone buttons?
16:49.29*** join/#arm-netbook mikey_w (~mike@c-71-63-115-202.hsd1.va.comcast.net)
16:49.39slapinlibv: does your A7HD have shitty wifi which works only after repositioning of antenna?
16:50.02libvslapin: the previous owner already did so apparently
16:50.06traeakdoes the hdmi jack double as a speaker?
16:50.07traeakhehe
16:51.18jinzois there any A10s specifications? Somewhere between A10 and A13?
16:51.46slapininteresting stick, never seen such HDMI connector layout
16:52.05mnemocthere is a short datasheet flying around
16:53.18*** join/#arm-netbook RITRedbeard (~redbeard@c-68-37-165-37.hsd1.nj.comcast.net)
16:53.26mnemocjinzo: if you volunteer to make a page about it in the wiki, and a comparison table, I can find it for you
16:53.56jinzoyeah, why not.
16:56.19jinzolooks like they're aiming at dongles with it.
16:56.26jinzono SATA as it looks like
16:56.42traeakshame it's a missing feature on the quad a9's out there for now
16:56.57traeakhpoefully someone releases an arm64 with sata
16:57.17jinzobut HDMI - that A13 lacks as it looks like
16:58.25jinzoanyone knows what IIS would mean (in the context of a A10s chip)
16:59.18mnemocjinzo: /q
17:00.41jinzothanks
17:04.06slapinjinzo: i2s?
17:05.22hnoslapin, I am here kind of.
17:07.23L84Suppermnemoc:   http://d2oadd98wnjs7n.cloudfront.net/individuals/1658415/pictures/thumbnail/20121023112703-scissorhands-140x140.png?1351016826  just wake up there?  :)
17:08.13mnemoc:)
17:15.33*** join/#arm-netbook cat_x301 (~cat@gprs-internet-ffabee00-244.dhcp.inet.fi)
17:16.40Turlmnemoc ran out of coffee that day
17:16.50slapinhno: have you looked at clock trouble already?
17:21.25*** join/#arm-netbook techn (~quassel@a91-152-35-60.elisa-laajakaista.fi)
17:33.33*** join/#arm-netbook techn (~quassel@a91-152-35-60.elisa-laajakaista.fi)
17:45.49hnoslapin, no. A bit at loss there.
17:47.22hnoplan to stare a bit at what Allwinner is doing to figure out where the difference is.
17:49.08hnoslapin, does not seem to be the NAND clock, unless I am setting it completely wrong.
17:49.58slapinhno: can you do register dump on original u-boot?
17:50.40hnonot @480MHz. Need to reflash first.
17:50.56hno@408MHz both works.
17:51.22slapinlooks for some automatic mmc card inserter/remover/writer
17:51.50slapinI can't do this stuff at work, and at home I have too little time :(
17:53.13Turllundman: why is rm so slow on zfs? :/
17:53.21hnoslapin, there is loady command in u-boot.
17:53.52rmactually I prefer btrfs
17:53.55rmmaybe that's why :p
17:54.06Turlrm :P
17:54.52rmand for the record I think porting of ZFS to Android (by lundman ) while an impressive feat
17:55.16rmusing ZFS on Android to me seems compeletely insane
17:55.26rmlike using rocket fuel in your lawnmower
17:55.42slapinhno: it is cool, but I need clean boots to test u-boot
17:55.53jinzoDamn, even the Allwinners datasheets are inconsistent.
17:56.52slapinhno: jtag might help, probably, but I still don't understand how it is generally attached to Allwinner devices...
17:56.57hnoslapin, seems we are missing something in the initialization. Works if I first let Allwinner nand driver access the NAND and then ours. Still @480MHz.
17:57.29slapinhno: well, probably before NAND initialization then
17:58.09slapinplease dump registers to compare...
17:58.43hnoslapin, it's still loaded by SPL.
17:58.54hnoslapin, I will. But need to put the kids to bed first.
17:59.32slapinhno: ok, I'm going home, afk for 1-2 hours.
18:17.22*** join/#arm-netbook NIN11 (9f5aa981@gateway/web/freenode/ip.159.90.169.129)
18:23.44*** join/#arm-netbook vinifm (~vini@177.19.132.23)
18:27.26zoobabhi
18:27.33zoobabjust getting my Chromebook now
18:32.59*** join/#arm-netbook ZaEarl (~malmrose@66.host-182-48-149.compassnet.co.nz)
19:16.38Svawesome zoobab
19:16.48Svthe ARM ones with 2gb of ram?
19:22.33mnemocthe exynos 5 chromebook is the only relevant one for this channel :)
19:23.21*** join/#arm-netbook pawel5870 (~pkarpins@staticline54070.toya.net.pl)
19:26.39drachensunjinzo I'm around now
19:26.59Turldrachensun: hey
19:27.06Turldrachensun: did you get android running yet? :)
19:28.04drachensunturl: It built for the zatab, still hanging on my new tree, I have to figure out some settings and play with the defconfig for the kernel
19:28.35drachensunturl: but yeah, its looking good
19:29.16drachensunturl: is there any guide or anything for how to boot cm from an SD?
19:37.05drachensunoh never mind, everything in the zip is pretty clear
19:39.36*** join/#arm-netbook Mehhh (adabd66c@gateway/web/freenode/ip.173.171.214.108)
19:40.59*** join/#arm-netbook Mehhh_ (adabd66c@gateway/web/freenode/ip.173.171.214.108)
19:41.48WorkbootIs journalling really appropriate for flash storage?
19:42.18specingno
19:44.32*** join/#arm-netbook pawel5870 (~pkarpins@pc.1931463.ip.amg.net.pl)
19:52.42*** join/#arm-netbook slash_random (~david@host188.181-1-116.telecom.net.ar)
19:57.34*** join/#arm-netbook Sternennebel (~martin@p5494BE7A.dip.t-dialin.net)
20:02.49jelly-homebut a fully logging file system is like journaling forever!
20:04.13*** join/#arm-netbook techn (~quassel@a91-152-35-60.elisa-laajakaista.fi)
20:11.29hnojelly-home, there is very big differences between journaling and log-structured.
20:11.41*** join/#arm-netbook merbzt (~benjamin@c-94-255-220-30.cust.bredband2.com)
20:15.58hnoslapin, it's still a mystery. But it is not any clock setting. Leaning more towards a timing issue in reset (0xff).
20:17.51*** join/#arm-netbook rellla (~yaaic@tmo-103-71.customers.d1-online.com)
20:18.24*** join/#arm-netbook ibrah (~chatzilla@41.223.57.78)
20:25.46*** join/#arm-netbook bsdfox (~Bob@unaffiliated/bsdfox)
20:39.42mnemochno: the kernel nfd driver has a #define called USE_SYS_CLOCK (or similar), if enabled we don't see the nand .... it came enabled
20:41.45mnemocUSE_SYS_CLK
20:50.09Turlfuu, directfb website down :(
20:51.47slapinhno: timing issue in reset command? but how?
20:53.45vgrademer and nemo up on mele
20:55.33RaYmAnvgrade: about time! ;)
20:56.05*** join/#arm-netbook freakazoid0223 (~matt@pool-173-75-233-172.phlapa.fios.verizon.net)
20:56.49slapinis back
20:57.29vgradehttp://www.youtube.com/watch?v=TWFvkZniHZc
20:59.33TurlWarheadsSE: ping
21:04.34*** join/#arm-netbook focus_it (~focus_it@cpc2-dals6-0-0-cust1005.hari.cable.virginmedia.com)
21:04.54WarheadsSETurl: pong
21:05.28TurlWarheadsSE: any general hints on how to get X with fbdev working on ALARM? :)
21:05.41WarheadsSEhmm
21:05.49WarheadsSEfairly straight forward
21:05.56WarheadsSEassuming pure fbdev
21:07.15slapinhno: have you tried insering udelay at reset handler?
21:14.16WarheadsSETurl:
21:14.57slapindamn uSD slot is b0rked :(
21:15.03*** join/#arm-netbook rzk (~rzk@95-25-40-141.broadband.corbina.ru)
21:15.27TurlWarheadsSE: yeah, pure fbdev, no mali driver on X
21:16.33rzkTurl: it works out of the box
21:17.02WarheadsSEK
21:17.14Turlbut what do I need to install? :P
21:17.24WarheadsSEthen you'd need xorg-server & xf86-video-fbdev
21:17.30rzkpacman -Ss fbdev
21:17.36WarheadsSEplus whatever X you wanted
21:17.54Turlthanks :)
21:18.57*** join/#arm-netbook Mehhh (adabd66c@gateway/web/freenode/ip.173.171.214.108)
21:19.11slapinhno: trying to read 512 bytes from 0 page, nothing in SRAM
21:19.31slapinhno: anything from logic analyser?
21:24.41*** join/#arm-netbook Marex (~Marex@2a01:430:d:0:2cc:6ff:fefc:db16)
21:25.45libvoh man, how can slashdot be so perpendicular to the truth
21:28.34*** join/#arm-netbook Thomas42 (~Thomas42@static.105.236.9.5.clients.your-server.de)
21:29.09Turllibv: talking about http://hardware.slashdot.org/story/12/11/14/1324251/fully-open-a13-olinuxino-single-board-linux-computer ?
21:29.15WarheadsSEanyone ever get a clean updated kernel build for me?
21:29.16libvyes.
21:29.35libvwhere i just added "Have you tried looking for linux binaries for mali-400, or are you just making baseless statements?"
21:30.07WarheadsSEclaps for Arch linux ARM being called "ArchlinnuxARM"
21:30.10MehhhDoes the vfat have to be an exact size for adding script.bin in this: http://rhombus-tech.net/allwinner_a10/a10_image/
21:30.10libvi already did s/talking out of your .../making baseless statements/ in case that wasn't clear
21:30.25MehhhArmchair Linux has a better ring to it
21:30.39WarheadsSEheh
21:30.39traeakWarheadsSE: so the a10 kernel is still the old one eh? :-p
21:31.05WarheadsSEtraeak: yeah, I tried to get one of the newer sunxi-3.0 tree to build. . github hated me.
21:32.34slapinhno: never ever see IO_DATA work - always reads zeroes, and writes are ignored...
21:36.16*** join/#arm-netbook tuliom (~tuliom@186.214.73.48)
21:37.21drachensunlibv: Some guys are going on and on about no XBMC support either, gotta spread some knowledge in there
21:37.34*** join/#arm-netbook rellla (~Thunderbi@p4FE562DB.dip0.t-ipconnect.de)
21:37.46lundmanturl: it has to send a copy to cia
21:38.00WarheadsSElol @ uninformed, but such as is
21:39.22Turllundman: lol
21:39.33Turlremoving ~8GB takes *ages* :(
21:40.33*** join/#arm-netbook rzk|3 (~rz2k@37-144-46-232.broadband.corbina.ru)
21:41.50slapinaha, I see something works sometimes...
21:42.41rmTurl, try "eatmydata"
21:42.43hnoslapin, it is obviously used by the Allwinner driver.
21:43.09Turlrm eamydata rm? :P
21:43.23rmyes
21:43.39hnothere is a "DMA" flag that may be relevant. And also a flag controlling if SRAM is used by DMA.
21:43.39slapinhno: it READ0S!!! it READ0S!!!!
21:43.45hno!!!
21:44.14slapinhno: it is now the question what it reads and why
21:44.35hnoHeh.
21:44.39slapinhno: it seems it have to be in portions of < 1024 bytes
21:44.47hnoYes.
21:45.05hnobuffer is only 1K
21:45.25Turlrm on my desktop with SATA3 disks? :P
21:46.11slapinhno: http://paste.ubuntu.com/1358985/ - reading something (512 bytes)
21:46.48slapinhno: so partial reads are to be implemeted and my ONFI spec is not so clear about this...
21:47.17slapinhno: it reads starting 512 bytes of some page
21:47.48lundmannever thought of rm as slow, but not tried it on linux
21:47.49slapinhno: when I choose different pages it reads different things
21:48.08lundmanNAME     SIZE  ALLOC   FREE    CAP  HEALTH  ALTROOT
21:48.09lundmanzpool1  81.2T   252K  81.2T     0%  ONLINE  -
21:48.12lundmanwoo
21:48.29lundmanshame its for work
21:48.34slapinhno: when same pages, it reads same things
21:49.13slapinlundman: that's what you pay for zfs nifty features
21:49.21rmTurl, what
21:49.31rmwho cares desktop or whatever
21:49.39rmprefix "eatmydata" to your rm command
21:49.46libvdrachensun: how dare olimex label this thing an open platform
21:49.54slapinlundman: when zfs will be in legally-feasible state to include in Linux kernel?
21:49.54traeaknot very usefulwhen empty
21:50.03rmit NOPs fsync, which rm might do a bit too often; in any case this seemed to help on btrfs
21:50.12libvin some sense, yes, but at least they picked the SoC which currently comes closest
21:50.26drachensunmy thoughts exactly, sure its not perfect
21:50.34libvbut really, /., pffff
21:50.40libvwhat are these guys smoking
21:50.42traeaklundman: what kind of stuff is going on the storage?
21:50.56libvand now on to real work :)
21:50.57drachensunbut when I looked at all the other SOC's this has the best community support and most available source
21:51.14traeakdrachensun: that's a pretty sad state of affairs
21:51.25libvdrachensun: yeah, and then notice all the RPi fanboys on /.
21:51.39libvthey still do not want to own up to the fact that the videocore runs the whole show
21:51.47drachensuntraek: No argument :)
21:52.07slapinTI SoCs are a bit better supported, but these are a bit harder to get...
21:52.11hnowell, 2K in total, but the upper half seems to be mostly used for collecting spare data.
21:52.14traeaki dumped my rpi off to some sucker, got almost what i paid for it.
21:52.20traeaks/to/on/
21:52.31drachensunyup, similar state for the video drivers, its much slower and you cant get it in tablets or netbooks as far as I know
21:52.37drachensunwithout hacking your own device together
21:52.40hnoslapin, Allwinner uses a randomizer in all written data I think.
21:52.51Turlpretty much the only way to get an OMAP is with pandaboard/beagleboard
21:53.03Turl(in board format that is, you could buy a phone too)
21:53.04drachensunslapin:  The sad thing is TI wont even sell you there current gen stuff
21:53.13slapinhno: is randomizer predictable?
21:53.24drachensunand sitara processors are VERY expensive in comparison to the chinese ones
21:53.27hnoIt's seeded in the ECC register.
21:53.57hnoslapin, with a static seed per page.
21:54.18drachensunthey are pretty capable though, but one processor is almost as much as a MK802 from the cheapest sources
21:54.54hnoslapin, disabled only when checking for erased or bad pages I think.
21:56.08slapinhno: can you play with it? I think we can make command to disable or enable compatibility for testing. I want to concentrate on making it work properly (partial reads).
21:56.27hnoslapin, use of the randomizer is optional, but increases NAND lifetime and reliability.
21:56.55hnohave you pushed your read code?
21:57.03slapinI will push now
21:58.15hnoStill fighting with rhe initialization issue. But quite clueless on what it really is about.
21:59.42slapinhno: pushed to work branch
21:59.59slapinhno: it was rebased to your mtd branch
22:00.34slapinhno: why so little NAND controllers out there implement randomizers?
22:01.23slapinhno: and what mechanics for randomizer to prolong NAND lifetime if seeds are fixed?
22:02.16hnoIt reduces the chances that large areas have the same cell charge.
22:05.06hnoif I remember right.
22:08.07slapinhno: where can I read about it?
22:15.57*** join/#arm-netbook gzamboni (~gzamboni@186.204.139.112)
22:16.33lundmanphew
22:20.00slapinthinking is hard :(
22:22.38lundmanI conquer :)
22:24.50hnoslapin, merged your changes. You may want to update.
22:26.09slapinhno: ?
22:27.30slapinhno: interesting, is it possible to make u-boot NAND stuff to output 0x05 command and read page in parts... can't see example of that anywhere...
22:28.32hnoslapin, no idea. Further Allwinner code do not read in parts, they do a large DMA transfer, but with nand controller byte count set to 1K.
22:28.54hnosome magic of some kind there.
22:30.44hnoslapin, I have some other changes in my repo.
22:31.22hnoand github is down..
22:31.56hnono it's not. my git is confused.
22:32.22Turl[    3.170000] [DISP] alloc_pages fail!
22:32.22Turl<1>Unable to handle kernel NULL pointer dereference at virtual address 00000000
22:32.30Turllibv: any idea? ^ :P
22:33.28hnoTurl, the second is poor error checking.
22:33.38ZaEarlthat reminds me of the fun that was MacOS 8. They stored the system interrupt tablet at 0, without any memory protection. Any write to a null pointer would overwrite the system interrupt tablet. Boom.
22:34.07TurlCONFIG_FB_SUNXI=y
22:34.07Turl# CONFIG_FB_SUNXI_RESERVED_MEM is not set
22:34.07TurlCONFIG_FB_SUNXI_LCD=y
22:34.08TurlCONFIG_FB_SUNXI_HDMI=y
22:34.20Turlmaybe I need to enable the reserved mem for it?
22:34.23hnoZaEarl, there is several systems doign that stupidiy with their interrupt table.
22:39.11slapinhno: does u-boot's mtd struct contains buffer of page size?
22:40.38slapinalso somebody needs to set proper page size in controller
22:42.26hnoslapin, I seem to get the same non-random data in every page. lots of 0x30, lots of 0xff, lots of 0x00, lots of 0x30.
22:42.37focus_itJust noticed - cubieboard has raised $86,000 - $36,000 more than the $50,000 they were seeking. May be with some of the profit cubie should think about start making own SoC
22:42.54focus_it:-)
22:43.35libvTurl: sounds like a plan
22:43.44libvbut poor checking indeed, file an issue
22:44.04focus_itIts about $30,000 to make a SoC, but if you don't have the infrastructure its about $250,000 to $300,000 to make it happen
22:44.38rz2kmali license is $1M
22:44.39focus_ithttp://www.indiegogo.com/cubieboard?a=1758902
22:44.46rz2kmali ddk is $400K
22:44.58rz2kdont question me where I did get this numbers.
22:45.32libvi am way cheaper than that :p
22:45.58focus_itopencores has many of the subsystems - just fund a few guys there to make the 3D accelerators and graphics acceleration
22:46.55slapinhno: it reads first 512 bytes, the rest is crap
22:47.08Turllibv: works with the allocation enabled
22:47.11SvZaEarl, those were fun days on macos 8
22:48.06hnoslapin, i used nand read.raw. Did not get even the first 512. nand dump works.
22:48.44slapinhno: nand raw reads something in weird ways, I use nand dump to test
22:49.01slapinit needs a lot of work
22:49.15*** join/#arm-netbook gzamboni (~gzamboni@71.154.200.77.rev.sfr.net)
22:49.35slapinhno: if mtd struct has a buffer for page, implemeting proper reading is easy
22:50.23slapinhno: else chip->ecc.read_page have to be written for ECC_SOFT, which frustrates me
22:50.35hnoif not you can add a private buffer.
22:50.55slapinhno: and waste 8KB of data
22:51.10slapinhno: page size programming comes first
22:51.34slapinhno: if controller cares for page size at all in this mode... it seems it is not...
22:51.37hnothere is lots of bss memory available.
22:52.06slapinah, well then...
22:52.21slapinand read_buf rewrite it seems... again...
22:52.57*** join/#arm-netbook gx260 (~AndChat62@doc-209-33-36-90.sv.oh.cebridge.net)
22:53.00hnohave you tried setting the DMA bit and reading from IO_DATA?
22:53.11Gumbootlibv: It doesn't matter what <blah> the <blah> <blah>.  It's for education!
22:53.58Gumboot(it really doesn't matter what you have to say, the defence for the pi is always the same)
22:55.24hnoGumboot, yea sure. Some hundreds boards was sold for education of how many thousands?
22:55.40GumbootIt doesn't matter if nobody for them for education.  It's for education!
22:55.55GumbootGet with th programme!
22:55.58libvi do not know what chemicals broadcom coated the rpi with
22:56.05libvbut they seem quite potent
22:56.37hnopotent as will eat your lungs?
22:58.04Turlstartx ran, good :)
22:58.56libvhttp://www.engadget.com/2012/11/14/texas-instruments-to-cut-1-700-jobs-as-part-of-shift-from-mobile/ :(
23:00.30Gumbootlibv: It's a cult with all the negative connotations.  It doesn't surprise me all that much, though.
23:03.12GumbootActually, I know someone we used to tease about being in a cult.  I bet he's got one!
23:04.41rz2klinux-sunxi spam detect is on rampage today
23:04.57rz2kfourth hit
23:05.08libvrz2k: stop spamming
23:05.22rz2kand all false positive
23:05.31libvsure :p
23:06.22rz2klibv: only after I will see xf86-video-lima :p
23:08.52*** join/#arm-netbook gx260 (~AndChat62@doc-209-33-36-90.sv.oh.cebridge.net)
23:09.59*** part/#arm-netbook gx260 (~AndChat62@doc-209-33-36-90.sv.oh.cebridge.net)
23:20.45hnoslapin, Hmm.. I wonder.. how to fit the randomizer in u-boot.
23:21.08*** join/#arm-netbook vgrade (~root@static.43.45.47.78.clients.your-server.de)
23:21.52*** join/#arm-netbook juandie (~Adium@186.19.159.120)
23:22.47*** join/#arm-netbook nemik (~cyanact@c-67-162-60-211.hsd1.il.comcast.net)
23:23.03Turlis http://www.directfb.org/ down for everybody?
23:23.43TurlI wanted to try directfb with G2D but without sources I cannot do much >.<
23:26.37slapinhno: as special ECC, I think.
23:26.42ZaEarlturl, website works for me
23:26.57Turlworks now too, weird
23:27.03Turlit was down all day :P
23:27.32slapinhno: just as in omap3 nandecc {hw, soft, hwrandom. softrandom}
23:27.40slapinsomething like that
23:28.17slapinhno: and write appropriate read_page/write_page functions
23:30.36*** join/#arm-netbook Hexxeh (u1532@gateway/web/irccloud.com/x-scoucxdqtyyduuun)
23:44.09ZaEarlugh, no official android 4.2 for my nexus s
23:45.18slapinhno: made it read full page, but it works strange, it seems something is wrong with page numbers/offsets
23:45.44hnoslapin, where is that omap3 nandecc?
23:47.09hnoslapin, wrong in what sense?
23:49.42slapinhno: I need to read NAND spec again, RNDOUT is wrong or something
23:50.57slapinhno: ./arch/arm/cpu/armv7/omap3/board.c:
23:51.19slapinhno: there is nandecc command
23:55.51slapinhno: ah, I messed up column vs page_addr
23:55.55slapindamn
23:56.14hnoshit happens

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