IRC log for #arm-netbook on 20120718

00:06.02Turlfuran: CONFIG_MALI option generates the ump module too
00:06.46furanI see. I set it to 'y'
00:06.52lundmanwhat did I miss
00:07.11furanme failing at bringup :)
00:07.16*** join/#arm-netbook nibb (~jyuyu@254.225.218.87.dynamic.jazztel.es)
00:07.53djdonkeyTurl and ZaEarl, we have loaded the official image from manufacturer on both tablets now, and we must confess, the gt801 is not identified on one of them, which just so happens to be the one we have been developing with! So we are about to load our android image onto the tablet with working gt801 to eliminate the possibility of a HW fault
00:08.07djdonkeyI'll be in touch but it will take time, because have to take kids to school :(
00:08.12djdonkeydamn life chores...
00:09.04ZaEarlyeah, never trust that two devices are identical until you verify it.
00:09.14djdonkeyZaEarl and Turl, I want to thank you for your support, i'm very impressed with your help...
00:09.32djdonkeymight have to join the newsgroup
00:12.22Turlyou're welcome :)
00:13.43furanI need to get recovery working on here. the way I flash roms right now is so evil. I've been just dd'ing recovery to nandc, booting from it, and then flashing from there
00:14.29WarheadsSEAnyone have an idea why when I set screen0 to HDMI, 1080i I get a ~ 800/600 screen to the left side of my TV ?
00:15.02WarheadsSEshrug
00:17.37Turlhno: do you have any kind of 'roadmap' regarding FEL?
00:22.34furanwell that's interesting
00:22.37furanI got touch to work
00:22.43furanI have to use two fingers at the same time
00:22.54furanand it performs as one
00:23.21Turlyou're probably missing the screen calibration file then
00:23.49furanis that required for capacitive?
00:24.28Turlyeah
00:24.30Turlit's a .cal file
00:24.35furanwhere does it live?
00:25.11Turlsystem/usr/idc/
00:25.14Turlsorry, .idc, not .cal
00:25.20furanhm ok
00:25.36Turlhttps://github.com/allwinner-dev-team/android_device_allwinner_zatab/blob/ics/config/Goodix-TS-board-3.idc this is mine for example
00:27.12furanhow is the file referred to? or does the driver know the filename
00:31.24Turlit's named after the input device, look at logcat and you'll see it
00:31.56furanok
00:52.29furanthat fixed it :)
00:52.32furanI am up and running
01:02.05furanwhere do buttons live?
01:02.13furanI need to unmap vol+/-
01:02.35furanit's hooked to an analog stick that is really noisy and in its rest position keeps sending 'down'
01:02.42furan(cheap)
01:02.50furanthey fix in the stock rom by filtering it through a driver
01:05.58WarheadsSElol
01:07.57*** join/#arm-netbook Graffiti (~androirc@117.192.224.241)
01:09.55rz2kEMS suddenly got greedy http://imgur.com/etPki
01:11.42lundmanheh
01:12.56DonkeyHoteithat's hilarious. which region?
01:13.08lundmanrussia!
01:13.18DonkeyHoteii'm guessing you'll be choosing china post
01:13.38DonkeyHoteilundman: that's a country, not a region of a country
01:13.42lundmanits been 20 days and my package is about to be delivered
01:13.46lundmannot sure china post is worth it :)
01:13.56lundmandonkey: its a way of life
01:14.10DonkeyHoteiwas born in the USSR
01:14.41lundmani should pop over to russia, vladivostok is a stone throw away.. not sure what to do though
01:15.43furanlooks like sun4i_keyboard
01:17.14Turlrz2k: even DHLing to my country is cheaper heh :)
01:17.46lundmanthe wife did her uni degree in russian, so she is always keen to go
01:18.45rz2kweird thing is, you cant DHL or UPS anything to Russia now
01:19.03DonkeyHoteiDHL won't do it?
01:19.06DonkeyHoteiodd
01:19.11rz2kbecause DHL and UPS dont accept any parcels for non-companies
01:19.14lundman$500us tokyo to Vladivostok, not too shabby
01:19.26rz2kthey claim it like theres something with our customs
01:19.37DonkeyHoteilundman: is that round trip?
01:19.41lundmanyep
01:19.55lundmanprobably a boat cruise option too, i wonder
01:20.21rz2kprobably it is, but companies like Amazon just place some random stuff in company field when printing UPS label and it goes ok
01:20.32lundmanheh also $500
01:20.43Turlrz2k: here DHL, UPS, Fedex & the like work under a different customs system
01:20.44lundmanbut 2 nights, meals included
01:21.01Turlthere's the 'couriers' system and the mail system
01:21.11Turlmail is EMS & stuff like USPS or china post
01:21.13lundman"Don't count on many amenities, though; a ship might show a swimming pool on the deck plan, for example, but you'll find it drained to store motorcycles once you're aboard. "
01:21.25rz2krecently I got package from Digi-Key, they didnt want to send it till I posted my workplace as company name.
01:23.45rz2klundman: I cant really recommend something in Vladivostok, but I'm sure you will find someone who can. I'm in Moscow, which is in famous 7 days of train from Vladivostok.
01:24.27rz2kI have a friend in Vladivostok tho, he works at some chinese distributor, goes to China on bus every week
01:27.52steevTurl: external_cedarx has a jb branch? how did you pull that off?
01:29.08lundmanyeah, its more than it really close, and only 1.5hr flight. the train journey is indeed famous and would be tempting
01:29.18lundmankids love trains and we've done quite a number of sleepers now
01:30.16Turlsteev: I did a jb branch to try to get it building again
01:30.28Turland fixed the trivial stuff
01:30.29Turlbut it doesn't build still
01:31.51steevah
01:34.09lundmanflying to moscow is $600
01:34.13steevugh
01:34.21steevi really wanna slap the android peeps around a bit
01:34.32steevlinux-x86 != x86_64 (and wtf, why is there a linux-x86_64 if you're dumping x86_64 binaries in linux-x86)
01:34.38lundman9 hours flight, so no mini-breaks
01:35.17*** join/#arm-netbook Mazon|M (~AndChat39@94.191.187.120.mobile.3.dk)
01:39.52*** join/#arm-netbook ctyler (~chris@global.proximity.on.ca)
01:39.59*** join/#arm-netbook Byan (byan@gateway/shell/mtu-lug/x-vlfnyzyanecgqacv)
01:40.44*** join/#arm-netbook Gujs (~Gujs@cpe-92-37-65-160.dynamic.amis.net)
01:41.42*** join/#arm-netbook hipboi_ (~hipboi@221.4.213.95)
01:42.06*** join/#arm-netbook DonkeyHotei (~danielg4@50-0-149-2.dsl.dynamic.sonic.net)
01:45.07*** join/#arm-netbook nibb (~jyuyu@254.225.218.87.dynamic.jazztel.es)
01:45.55*** join/#arm-netbook _whitelogger (~whitelogg@kaunan.whitequark.org)
01:45.55*** join/#arm-netbook Mazon (~Mazon@95.166.104.217)
01:45.55*** join/#arm-netbook gsilvis (~almostsix@50.12.163.241)
01:45.55*** join/#arm-netbook arisel (mdkuser@flipper.arisel.de)
01:45.55*** join/#arm-netbook Triffid_Hunter (~Triffid_H@songsfortheotherkind.com)
01:45.55*** join/#arm-netbook uwe_ (~uwe_@dslb-088-064-209-125.pools.arcor-ip.net)
01:57.32furanis thre any way to just follow the kprint log
01:57.37furaninstead of running dmesg over and ver
01:58.31WarheadsSEok.. all those with Mele stuff
01:58.45WarheadsSEanyone seen random as *** stoppings during boot?
01:58.54WarheadsSE. bluetooth . _dead
01:59.00WarheadsSE.... RTC _dead
01:59.53DonkeyHoteii have not seen that so far, but i haven't paid that much attention to it
02:00.09WarheadsSEOh, you'd know. boot stops before the rootfs
02:04.14WarheadsSEhmm
02:04.24WarheadsSEseems to have been *very* pissy extra mmc endabled.
02:05.50WarheadsSEnvm..
02:05.53WarheadsSEstill doing it.
02:19.25steevnexus is here
02:19.32steevguess it be time to take apart the ly-f1
02:19.52steevspecing will be happy about that
02:30.01furanok I'm a little surprised there is no header containing defines and macros for hardware registers
02:30.06furaneverything hardcodes register addresses
02:30.17furanbaby jesus crying etc
02:34.29lundmanpretty much what going through the nic driver was like
02:34.45lundmanvbase+0x78 = 4|8<<2
02:34.48lundmanI mean, what?
02:35.25lundmanalso, who makes bits, or, then shift up? very odd
02:42.41furannevermind I found the header
02:42.52furanso this driver I am reversing accesses an address between 2 known register values
02:42.59furan0xf1c20000
02:43.03furansorry
02:43.07furan0xf1c22000
02:43.21furanthat's between ir1_base and iis_base
02:44.04furanI guess it's square inside the ir1 range
02:45.03*** join/#arm-netbook fullofSheds (~nosheds@58.32.233.104)
02:45.03*** join/#arm-netbook fullofSheds (~nosheds@unaffiliated/l84supper)
03:16.11*** join/#arm-netbook ajmitch (ajmitch@ubuntu/member/ajmitch)
03:30.17furanis there anything special at 0x02c00000?
03:30.41furanthis driver derefs 0x2c00049, and it isn't a known address in the module
03:30.51furan(it's just a tiny .ko)
04:10.53Turlfuran: maybe http://rhombus-tech.net/allwinner_a10/A10_register_guide/ ?
04:29.18furanyeah I've been hunting there
04:29.19furanthanks
05:20.04*** join/#arm-netbook gimli (~gimli@xbmc/staff/gimli)
05:22.08*** join/#arm-netbook kaspter (~kaspter@180.168.145.234)
05:52.12*** join/#arm-netbook wladislaw (~wladislaw@dslb-088-068-203-158.pools.arcor-ip.net)
06:00.00*** join/#arm-netbook nibb (~jyuyu@142.182.218.87.dynamic.jazztel.es)
06:16.11*** join/#arm-netbook rellla (~chatzilla@p5B078CC2.dip0.t-ipconnect.de)
06:35.12*** join/#arm-netbook Quarx (~Quarx@109.120.32.112)
06:51.37*** join/#arm-netbook t0dbld|work (~t0dbld@97-86-81-246.static.aldl.mi.charter.com)
06:51.37*** join/#arm-netbook t0dbld|work (~t0dbld@unaffiliated/t0dbld)
07:02.21*** join/#arm-netbook Mazon|M (~AndChat39@94.191.187.120.mobile.3.dk)
07:14.06*** join/#arm-netbook arete74 (~arete74@95.225.66.160)
07:39.16*** join/#arm-netbook hipboi__ (~hipboi@221.4.213.95)
07:42.29specingsteev: It would be cool if you did all the Gentoo work for me, too
07:42.36specingwaits for a stage4
08:02.39*** join/#arm-netbook fullofSheds (~nosheds@58.32.233.104)
08:02.39*** join/#arm-netbook fullofSheds (~nosheds@unaffiliated/l84supper)
08:19.19markvandenborreis looking for the easiest way to get a kernel somewhere with usb hid support
08:19.47markvandenborreand if I can make another wish... debian packaged :)
08:20.14markvandenborreseriously, I'm prepared to build the thing myself obviously
08:20.38markvandenborrebut if anything is floating around that allows me to skip that step
08:24.07markvandenborreI'm running lkcl's minimal debian image right now with the provided 3.0.8+ armhf kernel
08:24.35markvandenborreI guess there's been a lot of progress since april....
08:28.01*** join/#arm-netbook eebrah (~chatzilla@41-139-199-130.safaricombusiness.co.ke)
08:28.57rmI haven't found a good usable .deb-packaged kernel for GUI usage
08:29.18rmI have to build my own (likely 3.4), but too lazy to do that for now
08:32.28lundmanaborre
08:32.38markvandenborrelundman: aborre?
08:33.55lundmanyour name reminded me of aborre :)
08:34.11markvandenborreah, heh, sorry, not me
08:34.53lundmanswedish name for the fish "perch"
08:35.17*** join/#arm-netbook Mazon|M2 (~AndChat39@80-62-117-234-mobile.dk.customer.tdc.net)
08:35.19lundmanwell, two b's, anyhoo
08:35.29lundmanso whats happening now
08:36.38markvandenborrehow feasible is compiling a kernel on the thing itself performance wise?
08:37.08markvandenborrehow much time can I expect it to take?
08:37.23markvandenborre(for something rahter minimal)
08:40.44rmentirely possible
08:40.54rmbut you should not compile on the SD card
08:41.08rmI mount a CIFS share and compile there
08:41.19rmor you could use an HDD
08:41.24lundmani compiled my mele kernels on the cubox
08:42.22lundmantakes about an hour for a full kernel
08:42.45lundmanused ssd on sata.. at first it was on usb stick, but that was painful
08:44.18markvandenborrehm, thx for the hint
08:44.32markvandenborrewill have to go out and get a sata drive then
08:45.13lundmannfs mount something would work too
08:45.34lundmansmb should not really be considered, no caching and abhorrent
08:45.54rmI couldn't get NFS to work on a 3.0.8 kernel
08:46.00rmandroidized (ugh)
08:46.04markvandenborreright....
08:46.18lundmanI will confirm tomorrow then, its a must!
08:46.18rmdespite adding NFS users to aid_inet and whatnot
08:46.21markvandenborreand what source should I be compiling from, preferably?
08:46.32lundmanthe source for which you want a kernel?
08:46.40lundmanfrom
08:46.46markvandenborrehttps://github.com/amery/linux-allwinner/wiki looks a little confusing
08:47.03lundmanok, what do you want to get?
08:47.36markvandenborrewired networking, usb hid device support, armhf obvously; that's mostly it
08:47.50lundmanto boot linux, or android, on your a10?
08:48.00markvandenborreI have debian running right now
08:48.03rmgit clone https://github.com/amery/linux-allwinner/  . && git checkout v3.4.4
08:48.05rmsomething like that
08:48.20markvandenborrethx rm
08:48.24lundmanuse sun4i_defconfig for linux (_crane_ for android)
08:48.35rmmh, there was a branch
08:50.23rmI don't know if you still need to switch to a branch
08:50.33rmgit is annoying, I hate it
08:50.36rmask mnemoc
08:51.18markvandenborreit's nice to see so much activity round here, pity it's still a bit confusing to navigate without your help
08:51.21markvandenborrethx all
08:58.18*** join/#arm-netbook Mazon|M (~AndChat39@94.191.184.97.mobile.3.dk)
08:59.18mnemocit's linux-sunxi-3.4 (not wip/)
08:59.46mnemocv3.4.4 tag is mainline's
09:02.33mnemocbut it's only recommended if you want to do kernel development, 3.4 is not yet ready for been "just used"
09:02.55mnemocactually it's not even recommended
09:02.58mnemocfor that
09:05.58markvandenborreok, so which branch do I use?
09:06.32markvandenborrelinux-3.3-sun4i? lichee-3.0.8-sun4i?
09:07.39mnemocthe default
09:07.44mnemocjust clone and use
09:08.20markvandenborreso just git clone https://github.com/amery/linux-allwinner.git you mean?
09:08.23markvandenborreok
09:08.26mnemocyes
09:08.36mnemocit's also the first entry in https://github.com/amery/linux-allwinner/wiki with a bold preferred on it
09:08.45*** join/#arm-netbook NZBBoSS (~nzbsrus@02d818ed.bb.sky.com)
09:09.12markvandenborrebelieve it or not, I read that
09:09.24mnemoc:)
09:09.34markvandenborreit was just the -android that confused me
09:09.48mnemocthe kernel is androidized
09:09.50markvandenborrethinking that that was more a kind of anroidish kernel
09:10.23mnemocthe source tree is androidized, same for 3.4
09:10.23markvandenborreI thought we had a cleanish vanilla linux kernel running underneath our Debian
09:10.41markvandenborre(I'm a classical guitarist by trade, so not really an android expert)
09:11.08markvandenborrethx for the help
09:11.19mnemocpicking sun4i_defconfig you shouldn't notice the android bits
09:11.43markvandenborreperfect
09:12.11*** join/#arm-netbook zerosheds (~nosheds@unaffiliated/l84supper)
09:12.32mnemocbecause of that common confusion the 3.4 branch doesn't say "android" even when it is androidized too
09:12.49markvandenborregood to know
09:15.54NZBBoSSanyone here have the Mele A1/2000 ?
09:16.05mnemocmany people
09:16.38NZBBoSSjust wondering if anyone has managed to get a bluetooth dongle / gamepad connected tot he unit?
09:17.00mnemoctried the host ports on the back?
09:17.11mnemocthe host port on the side doesn't like dongles
09:17.41NZBBoSSim still waiting for mine to arrive, any day now! purchased a couple as i like the openess of them
09:17.49lundmani didnt see any diff with which usb port
09:17.55lundmanbut not tried bluetoth
09:18.14mnemocthe black cover doesn't let short dongles connect properly
09:18.21lundmanah
09:18.45mnemocbut BT doesn't care about been on the back
09:18.46NZBBoSSbut just thinking ahead, if they are capable of this, as I would like to hopefully modify the likes of mame4droid to turn it into a mini console
09:19.29markvandenborreNZBBoSS: they seem to be awesome little devices
09:19.52markvandenborrejust make sure to order a usbttl thingie with it
09:19.55NZBBoSSyeah, if they had bluetooth built in they would be the icing on the cake :P
09:20.10markvandenborreit might save you a lot of trouble for the $3 it costs you
09:20.42NZBBoSSActually I was just looking where I can order one from, anyone know if there is a UK place for them?
09:20.53NZBBoSSthe usbttl thing
09:21.02markvandenborredo it directly from China, in the same package
09:21.26NZBBoSSI already ordered 5 of the boxes (from a different seller)
09:22.12mnemocany random usb/ttl dongle you buy will come with 0.1" jumper wires. for the mele you'll need 2mm ones, so better it's easier if you buy it from Tom together with the mele
09:22.34mnemocs/better //
09:22.36markvandenborrehe probably hasn't shipped it yet (he's rather slow at htat)
09:22.47markvandenborres/htat/that
09:22.58mnemocmarkvandenborre: trailing /
09:23.07*** join/#arm-netbook gimli_ (~gimli@xbmc/staff/gimli)
09:23.10markvandenborres/htat.that/ :)
09:23.19markvandenborreawww, another typo
09:24.03markvandenborreanyway, you might still be able to get your seller (T C?) to include the thing
09:24.22mnemoche bought them from a different seller
09:24.27NZBBoSSill have a quick look, if not ill order from toms ali page and just wait ;)
09:24.45mnemocTom posts on sundays only
09:25.12NZBBoSSassume i can still modify the unit to a degree without ot
09:25.14NZBBoSSit*
09:25.35mnemocyou can buy 2.54-2.00 wire jumpers on ebay too... but they are pretty expensive
09:25.59mnemocNZBBoSS: sure, unless you bought an A100, which needs you to solder the sata connector
09:26.56NZBBoSSnah bought the a2000
09:27.02NZBBoSSwith F10 air mouse
09:27.30markvandenborremnemoc: you have an a100?
09:28.00mnemocnope, a1k and a2k
09:28.28markvandenborrehm, k
09:28.38markvandenborreI'll have to ask hipboi__ then
09:28.48markvandenborreabout the number of usb ports on this thing
09:29.03markvandenborreI need something running debian with at least 3...
09:29.55NZBBoSSany of you running ICS? as notcied that was not long released
09:31.46mnemocmarkvandenborre: it has 3 normal host ports
09:32.12mnemochttp://www.ebay.com/itm/130730286439 <--- wire jumpers for mele's uart
09:32.51mnemocNZBBoSS: ICS on one, ubuntu on the other
09:37.06NZBBoSSmnemoc, seems that no fucker in the UK sells them lol - slow-boat it is!
09:37.12mnemocmarkvandenborre: the only difference between A100's pcb and a1k/a2k is the sata connector
09:37.41mnemocNZBBoSS: patience is a virtue ;-)
09:37.59lundmanhuh flymouse works surprisingly well
09:38.43NZBBoSSyou guys been following the OUYA?
09:38.56lundmansure
09:39.08specingyou mean the "ewww nvidia-- yuck" thingie?
09:39.15NZBBoSSyeah lol
09:39.19specingno.
09:39.27lundmanor the vapour with another console controller
09:39.29mnemocthe armdevices guy decided it was scam :p
09:39.47specingpro scam
09:39.47lundmanno, high chance of being vapourware
09:40.34mnemocafter his visits to shenzehn he find absurd the amounts of money they claim to need to make the device
09:41.03NZBBoSSI pledged $150 so will see If i actually get a console next year, however will 99% if kickstart campaigns they usually dont come to light!
09:41.29NZBBoSSwith*
09:42.19mnemochttps://plus.google.com/106075758531242552855/posts/disST75MTaq
09:42.33specingNZBBoSS: shame, you could have bought a quad core exynos and save $20
09:46.40lundmannot proved itself either
09:46.59RaYmAnthe sad thing about ouya, is that in all likelyhood, there'll be Cortex A15 devices out at that time :P
09:47.50mnemocRaYmAn: JB for Adam? :(
09:48.02RaYmAnmnemoc: mrdeadlocked is working on it, kinda :P
09:48.10mnemocnarf
09:48.19mnemoc:)
09:48.31hnofuran, 1c22000 is not IR1. No idea what's there. What driver is it you are looking at again?
09:48.33RaYmAnIt's not hard
09:48.41RaYmAnIt just annoys me to hell with those last issues in the kernel
09:48.41NZBBoSSI was actually looking for a board that already has a quad core processor, the needed connections and built-in bluetooth
09:48.51NZBBoSSbut could not find one that already had bluetooth in.
09:49.13RaYmAnmnemoc: have you ever noticed a high-pitch squeak coming from the screen (I think) on >= .36 kernels?
09:49.27mnemocRaYmAn: yes
09:49.57RaYmAndamn :P Was hoping it was just me ;)
09:50.01mnemocwhen powering up to read during the night
09:50.18RaYmAnthose kind of issues kind of annoy me
09:50.24mnemocinitially I thought it was a power brick
09:50.36mnemocbut no, it's my beloved adam
09:50.40RaYmAnin particular, because I have nfi why it happens (well, clearly it's driving the LCD "wrong" in some way)
09:52.01hnoRaYmAn, more likely from the PWM that drives the backlight.
09:52.17mnemocI can live with it, but bothers me most is that everything halts when "play" decides to update something
09:52.34mnemochi hno
09:52.38hnohi hi
09:53.09RaYmAnhno: hm, quite possible, but how the heck does one debug such an issue? :P
09:53.14*** join/#arm-netbook Mazon|M (~AndChat39@94.191.184.97.mobile.3.dk)
09:53.17hnoheavy reainfall, thunder an ligning here today. Hopefully network stays up,
09:53.58hnoRaYmAn, a good start is to isolate if it's the backlight or the LCD. Physically disconnecting one or the other is one way, blocking in software another.
09:54.19RaYmAnhm
09:54.44hnoan osciloscope also helps when debugging analog hardware.
10:04.01lundmanok mele flymouse works very well with xbmc
10:04.03CIA-122rhombus-tech: Alexandr master * r162fc99ea1d7 /allwinner_a10/orders/AlexM.mdwn:
10:05.16*** join/#arm-netbook hno (~hno@squid/developer/hno)
10:07.09hnosparks flying out from the DSL modem but seems to have surived after a reboot.
10:08.56mnemocouch
10:11.10*** join/#arm-netbook fullofsheds (~nosheds@unaffiliated/l84supper)
10:17.06mnemocMali<1>: Failed to request memory region Mali Sdram (0x5C000000 - 0x5FFFFFFF)
10:17.09mnemocaha!
10:17.44mnemocwhy the f* don't they say that when DEBUG is not defined??!
10:26.14hnomnemoc, because they are designing for an embedded market where only a handful people integrate stuff the rest just runs what is already proven without caring what they run?
10:27.37mnemoc:)
10:28.21lundmancucumber!
10:31.31hnoUgh.. stallman now also dislikes CPU microcode. http://bytesmedia.co.uk/2012/07/17/richard-stallman-uefi/
10:32.03rmlinux-libre removed microcode loading since forever
10:32.15rmnothing to ugh at, just being consistent
10:39.14mnemocas long as proprietary code doesn't obstacle the userspace freedom, I don't care
10:40.26mnemoci.e. closed firmware and microcode = ok, closed libraries = bad
10:41.10mnemoc(firmware as in /lib/firmware/)
10:42.46hnoperhaps he is consistent, but I still don't agree with it. Loadable microcode is there to work around hardware bugs making the hardware comply with it's own specifications.
10:46.17rmI am not so convinced on the "firmware=bad" position
10:46.51rmand that if the same firmware is burned into a small ROM on the device instead, it's ok
10:46.54hnoI also accept FPGA firmware as hardware. And have the view that loadable firmware is much more free than ROM:ed firmware. With loadable firmware there is always the option to liberate the hardware, such as is done in Rockbox for example.
10:54.45markvandenborremnemoc: good to know about the 3 usb ports on the a100, thx
10:55.03mnemocmarkvandenborre: because it's the exact same PCB
10:55.05markvandenborreright, off to grab my usb hdd now
10:55.37mnemocmarkvandenborre: the only difference with a1k/a2k is taht the sata connector is not soldered
10:55.47markvandenborreperfect for my purpose
10:55.49hnoManoftheSea, there should be 3+2 USB ports on a100 (3 external, 2 internal)
10:56.26markvandenborreerr, like, more on the a100 than on the a1k/2k?
10:56.33mnemochno: any idea how to reserve the 64M for mali without making the in-driver request_mem_region() fail?
10:56.59hnomnemoc, the same reservation as done for ve did not work?
10:57.36mnemochno: nope, the mali driver requests the region too... and fails, and panics
10:59.13mnemoci guess I can just ignore it and pray no one gets it assigned before the mali driver does... but sounds risky
10:59.57RaYmAnis the mali driver customized for allwinner?
11:00.12RaYmAnIf so, wouldn't it be possible to just pass it the memory through e.g. platform device?
11:00.24RaYmAnSo it doesn't have to request anything, it just gets it, ready for ioremap?
11:00.25hnothat would be best indeed.
11:00.57RaYmAnthat's how it's done on tegra at least
11:03.08mnemochttps://github.com/amery/linux-allwinner/blob/linux-sunxi-3.4/drivers/gpu/mali/mali/arch-ca8-virtex820-m400-1/config.h <-- this is how they define the resources
11:04.05mnemocand https://github.com/amery/linux-allwinner/blob/linux-sunxi-3.4/drivers/gpu/mali/mali/platform/mali400-pmu/mali_platform.c the integration
11:05.34rmmarkvandenborre, I don't think A100 is attractive at its price
11:07.02CIA-122rhombus-tech: Matthias master * r49eb9bb751ed /allwinner_a10/orders/Aell.mdwn:
11:10.15hnomnemoc, yes... mali is onviously not a well behaved Linux citizen. egrep -R 'request_mem_region|_mali_osk_mem_reqregion' gpu/
11:11.06hno(the osk one is just a simple wrapper, same thing)
11:12.32mnemocsuggestions?
11:12.59mnemocI'm trying to find how make it use platform_device resources, but getting really puzzled :|
11:13.43mnemochttp://www.igloocommunity.org/gitweb/?p=android/platform/vendor/st-ericsson/multimedia/linux/mali400ko.git;a=commitdiff;h=b6c511c474488fa4c39e1726c2d22eac41bab1cb
11:13.44hnomnemoc, making it plaform_device resources is not hard. The ugly part is fixing the driver to use the platform_device instead of hardcoded memory references.
11:13.59mnemocyes, that's what I meant
11:15.58mnemocbut it seems the driver support it too.... maybe
11:16.50hnomnemoc, that patch only touches the drm dummy which don't do any memory reservation.
11:18.26*** join/#arm-netbook penguin42 (~dg@tu006.demon.co.uk)
11:34.09hnoalso notice how mali is the only one doing this in gpu/
11:36.36mnemocit's easy to understand why allwinner chose to cut the chunk directly out of the meminfo
11:36.53hnobut might be a coincidence from mali being the only one having memory separate from the framebuffer?
11:38.20mnemocbut they have a reference to the fb memory in the resources struct too
11:42.19mnemochttp://dpaste.com/772138/plain solves the panic on load
11:42.49mnemocTurl: ping!
11:44.19mnemocanyone *using* mali in 3.0.36+?
11:58.54lundmanhipboi: F10 arrived works well, any idea if I can make windows resume with it?
12:02.29xenoxaosi know WarheadsSE was working on it
12:11.33mnemocWarheadsSE: hi, are you using mali on 3.0.36+? can you help me testing a patch?
12:22.11mnemocuhm, no. won't work
12:27.19xenoxaosunfortuantely, WarheadsSE's mali box is at home, and he should be at work around now
12:27.59mnemocno problem. the patch was buggy anyway
12:28.12mnemocneed to keep trying to understand the resource allocation of this driver
12:28.45xenoxaosi just got an A100 over to him last weekend
12:31.07mnemocTurl, WarheadsSE: nevermind, got overexcited without reason
12:36.12*** join/#arm-netbook Pere_ (~chatzilla@109.98.19.95.dynamic.jazztel.es)
12:40.22zoobab_hi
13:11.14*** join/#arm-netbook kaspter (~kaspter@108.171.248.180)
13:17.25markvandenborrehi zoobab!
13:21.11WarheadsSEmnemoc: Yes
13:21.54WarheadsSEMay not be using it 100%, but i've gotten X11 up on it, hdmi & vga, w/ mesa-demos & alsa output via hdmi
13:31.57*** join/#arm-netbook kaspter (~kaspter@116.237.59.189)
13:35.04*** join/#arm-netbook fullofSheds (~nosheds@58.32.233.104)
13:35.05*** join/#arm-netbook fullofSheds (~nosheds@unaffiliated/l84supper)
13:35.16mnemocWarheadsSE: great. then I'll bother you if I manage to find a way to let the mali driver coexist with the wip/3.0/mem branch
13:37.51WarheadsSEK
13:38.05WarheadsSEOf course, without cedar, video SUCKS
13:42.24markvandenborrecan I do a menuconfig in the allwinner git checkout without overwriting anything important?
13:42.58markvandenborre(need to make sure I have the usbhid and related modules compiled or compiled in...)
13:42.59mnemocby default nothing bad will happen
13:43.21WarheadsSE^
13:43.40WarheadsSEmake sun4i_defconfig, then make menuconfig
13:43.44WarheadsSEall good :)
13:44.24markvandenborrewhere should I have read this before asking here?
13:44.44WarheadsSEThats just how you make a kernel ..
13:44.53markvandenborreah http://rhombus-tech.net/allwinner_a10/kernel_compile/
13:46.03markvandenborrethe last time I compiled a kernel (except an x86 kernel build in a debian source package) was probably in 2006 or so
13:46.22markvandenborreand I can't remember devconfig from there ...
13:46.28WarheadsSEthat much hasnt really changed in terms of the process
13:46.56WarheadsSEIf you have no existing config, then make ARCH_defconfig, make menuconfig
13:47.11WarheadsSEif you Do have an existing config cp my.config .config, make menuconfig
13:48.22mnemocdon't forget to add ARCH=arm CROSS_COMPILE=whatever- to those
13:48.35mnemocunless you are actually building on the device
13:49.01WarheadsSEyeah, thats important too
13:49.41WarheadsSEas well as CFLAGS for armv7-a, hard float, vfpv3-d16, neon blah
13:49.56WarheadsSEsome of those might default in from the defconfig though.
13:50.37*** join/#arm-netbook kaspter (~kaspter@108.171.248.180)
13:51.42markvandenborremnemoc: building on the device
13:52.03markvandenborreI guess the CFLAGS stuff is set correctly already in the devconfig...
13:52.25markvandenborres/guess/hope/
13:53.07mnemocthe default cflags in linaro's toolchain work fine for me
13:54.10markvandenborreoh well, building on a mele a2000 with armhf kernel...
13:54.23mnemocsteev is a gentoo boy, he probably adds a couple dozen extra flags :)
13:56.39WarheadsSElol
13:56.50WarheadsSEin arch we're building with these:
13:57.15WarheadsSE-march=armv7-a -meabi=hard -mvfp=vfpv3-d16
13:57.24WarheadsSEhaven't actually done the neon flags..
14:41.18*** join/#arm-netbook Mazon|M2 (~AndChat39@94.191.186.82.mobile.3.dk)
14:42.38WarheadsSE.buf2
14:42.39*** join/#arm-netbook ssvb (~ssvb@a88-114-220-213.elisa-laajakaista.fi)
14:43.29traeakricers!
14:53.54*** join/#arm-netbook thefrog (~thefrog@92.f6bccf.client.atlantech.net)
14:58.46*** join/#arm-netbook Graffiti (~androirc@122.167.8.92)
15:19.57traeakahh 3.4.5 now
15:23.47mnemoc3.0.37 too
15:24.33mnemocbut unless there is a good reason to upgrade I prefer to hold it until the mali integration is fixed
15:34.26*** join/#arm-netbook hackandfab (~iker@206.85-86-81.dynamic.clientes.euskaltel.es)
15:35.12CIA-122rhombus-tech: Jose_Antonio master * r70860734f4dd /allwinner_a10/orders/jantoni.mdwn:
15:35.29hackandfabHELP!, I think I messed up and now the meleA2000 starts but it gets stuck at BOOT1
15:37.03markvandenborrecan I use the generic uboot-mkimage when building the a10 kernel?
15:37.26markvandenborre(the generic one from debian, that is, and the generic u-boot-tools?
15:37.56mnemocmarkvandenborre: `make uImage` uses the generic uboot-mkimage...
15:38.00mnemocnothing fancy there
15:38.18markvandenborreI guessed so, but it's always nice to know... thank you
15:39.04mnemochackandfab: you can always reflash it with an stock phoenixcard SD
15:39.24mnemochackandfab: wait until the leds stop blinking
15:40.07mnemocA10 devices are unbrickable
15:40.28markvandenborreabout the only thing I knew about arm boot before starting to fiddle with this was that it almost always uses uboot, and that uboot is often mutilated in several ways depending on the device in question...
15:41.49markvandenborretakes quite a bit of time when building on the device itself...
15:41.53hackandfabmnemoc, thx I'll try (I did a very stupid mistake. I thought rhombustech RESET pin was to reset the device and it seems is to RESET the flash :S)
15:42.50mnemochackandfab: I believe you are refering to the FEL pin... which sets your device into FEL (usb recovery) mode
15:43.06mnemocthere is no pin to blank the flash
15:43.15hackandfabno, not the FEL pin, another pin more at the right
15:43.16markvandenborreis there a straightforward way to have debian boot from the nand flash?
15:43.40hackandfabat the middle of the 3 circles
15:44.04mnemocmarkvandenborre: the nanda has a capable uboot, just abuse that one
15:44.57mnemochackandfab: that powercycles the mele
15:45.05markvandenborreis still reading up on uboot
15:45.33hackandfabthats what I thought but now boot gets stuck at boot1 (I can read boot text from the UART)
15:45.52mnemocmarkvandenborre: but beware, the nand driver is AWFUL and it's performance sticks. you are far better working from SD
15:46.10mnemocassuming a fast SD card obviusly
15:46.49mnemochackandfab: you may have corrupted the vfat partition
15:47.56hackandfabmnemoc, using phoenixcard SD would fix the problem?
15:48.56traeakcrap...what video recording application for linux?
15:50.13markvandenborreoh, thx for the hint
16:01.10CIA-122rhombus-tech: Krali master * r5a6fa9c496f3 /allwinner_a10/orders/marco.mdwn:
16:01.58mnemochackandfab: it will reformat/rewrite the whole nand.... including the corrupted stuff
16:02.21markvandenborrehm, so I've recompiled my kernel and it discovers my usbhid device just fine now
16:03.02markvandenborreI wonder what else I'd still have to do before it actually does something with the keypresses
16:03.24markvandenborrethat's not strictly debian-arm related at all, so I wonder where I should ask that question
16:03.24hackandfabok thx, I'm configuring virtualbox since I've no installed windows here...
16:03.50mnemochackandfab: there are `dd` briendly images available
16:03.58mnemocfriendly*
16:04.24mnemocmarkvandenborre: get X running
16:04.49mnemocmarkvandenborre: there is no fbcon for sun4i
16:06.12markvandenborre?
16:06.33mnemocallwinner A10 = sun4i
16:07.12mnemocfbcon = a terminal on your LCD/HDMI without running X
16:07.18markvandenborreI have this self built kernel running fine, and I don't need X really
16:07.34mnemocmarkvandenborre: no X, no display output
16:07.34markvandenborreI'm just a little confused on where to go from here
16:07.48*** join/#arm-netbook gimli__ (~gimli@xbmc/staff/gimli)
16:08.16mnemocyou can use it networked too... but no use for usbhid in that case
16:08.33markvandenborrehm, sorry, I think I'm starting to see part of my thinko here
16:08.47markvandenborreso what I want is to run a simple shell script in loop mode
16:08.50markvandenborreon the mele
16:08.55markvandenborrewithout anything else fancy
16:09.01mnemoccron ?
16:09.04markvandenborreand the script should react to
16:09.15markvandenborrea single key usbhid device
16:09.23mnemocah, ok
16:09.34markvandenborrethat runs out of the box on any other linux machine I've tried
16:09.47markvandenborrenow with the minimal kernel that came from lkcl
16:10.00markvandenborrethat usbhid device didn't show up in /dev
16:10.05markvandenborreso I recompiled a kernel
16:10.33markvandenborrenow it shows up, but I'm not sure how to get any input from it
16:10.35mnemocdidn't know lkcl was making sun4i kernel images, or any A10 related image at all
16:11.01markvandenborreerr... something from a long time ago, maybe I just credited someone wrongly
16:11.18markvandenborresorry if that would have been the case
16:12.09markvandenborremnemoc: this one, but with the uImage replaced: http://rhombus-tech.net/allwinner_a10/a10_image/
16:12.34markvandenborreso now I have this usbhid thingie recognised on the kernel level
16:14.33markvandenborrehttp://pastebin.com/PvXWkqQP is what it says when I connect it
16:14.58mnemocwithout X you won't have anyone accessing that input device
16:15.21markvandenborrewhy does it show up on my tty1 on my ubuntu laptop then?
16:15.27mnemocnormally fbcon would, but we don't have fbcon (yet)
16:15.30markvandenborrebecause I have X running on 7?
16:15.45mnemocbecause your tty1 is connected to a framebuffer console
16:15.56mnemocaka fbcon
16:15.59markvandenborreok, and we don't have that one yet
16:16.08mnemocright
16:16.16markvandenborreso I need to have X running to get this thingie to work?
16:16.18mnemochopefully our arch friends will get that working
16:16.27mnemocyes
16:16.30markvandenborreor is there a less bloated way?
16:16.51markvandenborreis ducking away and a little afraid...
16:19.16markvandenborreit's a 1 key thing. was hoping to have something simple and stable
16:19.53mnemocyou can read the scan codes out of the node, yes
16:20.31mnemocbut that is raw
16:21.17markvandenborrewell if there's an easy way to do that from bash, I suppose that's the way I'll have to go then
16:21.41traeakhmm?
16:21.45markvandenborreif X isn't very stable yet and fb is not really there yet either...
16:21.50traeakX11 works just fine in framebuffer mode
16:21.58mnemoche doesn't want X
16:22.02traeakahh
16:22.12traeakoverscan issues
16:22.23markvandenborreoh, if it's stable and doesn't take too much resources, I would be fine
16:22.37mnemoche wants to read the dev/input/... from a shell script
16:22.57*** join/#arm-netbook tom_say (~will@cpe-72-178-202-3.stx.res.rr.com)
16:23.06traeakmarkvandenborre: you have arch running ?
16:23.14markvandenborreno, debian
16:23.39mnemocmarkvandenborre: http://code.google.com/p/logkeys/ might help you
16:24.35traeakokay had to go read a bunch
16:24.36traeakstill not exactly sure
16:24.49traeakbasically /dev/input being mouse?
16:25.53mnemockeyboard..
16:27.39markvandenborrehm, seems as if I'm running into a wall here
16:28.06markvandenborreI guess I'll need something framebufferish
16:28.25markvandenborrewhich means another kernel compile
16:29.25markvandenborremnemoc: thanks for the help, I'm really starting to understand some of the issues more thoroughly now
16:29.30Turlohai all o/
16:29.58*** join/#arm-netbook rm (rm@fsf/member/rm)
16:37.39steevmnemoc: actually i don't particularly do so, at least, not most of the time, most upstreams (hopefully) have tested and know what works best these days
16:39.40mnemoc:)
16:40.15*** join/#arm-netbook Mazon|M (~AndChat39@94.191.186.82.mobile.3.dk)
17:04.58*** join/#arm-netbook Mazon|M (~AndChat39@94.191.186.82.mobile.3.dk)
17:10.59*** join/#arm-netbook zerosheds (~nosheds@58.32.233.104)
17:10.59*** join/#arm-netbook zerosheds (~nosheds@unaffiliated/l84supper)
17:11.43*** join/#arm-netbook hackandfab (~iker@206.85-86-81.dynamic.clientes.euskaltel.es)
17:19.16hackandfablundman: you've an error on your wiki, line  "sudo dd if=homlet_4.0_v1.0_20120609_dd.img.lzma of=/dev/sdX bs=1M" should't have lzma on it
17:21.22*** join/#arm-netbook wladislaw (~wladislaw@dslb-088-068-203-158.pools.arcor-ip.net)
17:22.03traeakheh
17:24.21*** join/#arm-netbook nibb_ (~jyuyu@142.182.218.87.dynamic.jazztel.es)
17:25.04WarheadsSEyeah, that wont work lundman  :)
17:25.17WarheadsSEi didnt notice that onces, was like wtf with my sdcard
17:30.21traeaki think he was expecting the end user to figure out the lzma part
17:32.44hackandfabI do the dd and it gets stuck at "[SCAN_DBG]    Nand Chip ID:         0x0x4a04682c 0x0xffffffff" The led no longer blinks
17:34.45traeaki used a different image, there's the newer ICS from mele
17:35.06xenoxaosand actually.....if i rememeber correctly 7z when it extracts....doesnt remove the trailing .lzma
17:35.16*** join/#arm-netbook mpthompson (~IceChat77@c-50-131-39-81.hsd1.ca.comcast.net)
17:36.03hackandfabI removed the lzma
17:36.17hackandfaband extracted before
17:37.53xenoxaosremoving something from a filename doesnt do anythign to the contents of the file....i was just saying that if you follow the instructions....the line in the wiki is right
17:49.54traeakxenoxaos: hehe, had customers do that before.  some image format wouldjn't load so he renamed it to "tif" and it still didn't load
17:50.02traeakheh
17:50.34xenoxaosworked at geek squad...
17:50.44xenoxaosi know the expanse of derptitude
17:51.18hackandfabOEOEOEOE! it worked with another SD card
17:51.49*** join/#arm-netbook Mazon|M (~AndChat39@94.191.186.82.mobile.3.dk)
17:51.52mnemocthe other card booted a lzma compressed image???
17:53.09mnemoc(j/k)
17:54.12traeakthis was someone doing image processing
17:54.16traeaktrying to make an image mosaic
17:54.17traeakanyways
17:54.38traeakhackandfab: not surprised.  when in doubt blame the sd card
17:54.42traeakhave more than one around
18:00.57*** join/#arm-netbook Kraln (~kraln@69.169.90.239)
18:04.15*** join/#arm-netbook hipboi_ (~hipboi@221.4.213.95)
18:07.23*** join/#arm-netbook madmalkav (~Hamlet@188.86.253.69)
18:18.54mnemocf* mali
18:19.27madmalkavamen
18:19.38mnemoc:)
18:26.39CIA-122rhombus-tech: Matthias master * r522a3bbb1f29 /allwinner_a10/orders/Aell.mdwn:
18:28.25xenoxaosi think i could use a few more words than "f*"
18:30.32Kralnwhy hating on mali?
18:31.03traeakmnemoc: you prefer powervr? :-p
18:31.21*** join/#arm-netbook nibb_ (~jyuyu@142.182.218.87.dynamic.jazztel.es)
18:32.24CIA-122rhombus-tech: Matthias master * r93c5d03117dc /allwinner_a10/orders/Aell.mdwn:
18:33.26*** join/#arm-netbook fullofSheds (~nosheds@58.32.233.104)
18:33.26*** join/#arm-netbook fullofSheds (~nosheds@unaffiliated/l84supper)
18:34.01mnemoctraeak: no way :)
18:34.19mnemocbut hate his driver anyway
18:36.39traeaklooks like no activity on lima now for a couple of weeks
18:36.50traeakeither the finished it or the manpower disappeared
18:37.04RaYmAnor it's holiday :P
18:37.06mnemoclima is userspace, I'm ranting against the kernel driver
18:37.06traeakokay more than a week
18:37.15traeakahh okay
18:38.54CIA-122rhombus-tech: Matthias master * rf7e8b7ae9c78 /allwinner_a10/orders/Aell.mdwn:
18:43.17Kralnbetter than gma500
18:43.26traeakheh
18:43.29traeakgot one of those as well
19:02.18CIA-122rhombus-tech: Matthias master * rc83e7a39048e /allwinner_a10/orders/Aell.mdwn:
19:04.01CIA-122rhombus-tech: Dejan master * rf85da2e99149 /allwinner_a10/orders/deki.mdwn:
19:07.24CIA-122rhombus-tech: Dejan master * rf9a0c95a6383 /allwinner_a10/orders/deki.mdwn:
19:10.45*** join/#arm-netbook von_fritz (~fritz@host221-175-dynamic.5-87-r.retail.telecomitalia.it)
19:16.01*** join/#arm-netbook Tsvetan (5e488b19@gateway/web/freenode/ip.94.72.139.25)
19:29.18*** join/#arm-netbook Manofthe1ea (~ManoftheS@64.150.161.184)
19:29.30*** join/#arm-netbook arete74_ (~arete74@host160-66-static.225-95-b.business.telecomitalia.it)
19:37.08*** join/#arm-netbook xxiao (~xxiao@li41-126.members.linode.com)
19:41.42*** join/#arm-netbook arokux (~arokux@merkur178.inf.uni-konstanz.de)
19:43.49*** join/#arm-netbook penguin42 (~dg@tu006.demon.co.uk)
19:47.14*** join/#arm-netbook hackandfab (~iker@55.85-86-81.dynamic.clientes.euskaltel.es)
19:55.21mnemoclibv: ping
20:07.48*** join/#arm-netbook Mazon|M (~AndChat39@94.191.186.82.mobile.3.dk)
20:28.17*** join/#arm-netbook nibb_ (~jyuyu@142.182.218.87.dynamic.jazztel.es)
21:14.08*** join/#arm-netbook Mazon|M (~AndChat39@94.191.186.82.mobile.3.dk)
21:22.23*** join/#arm-netbook gsilvis (~almostsix@50.12.163.241)
21:34.34*** join/#arm-netbook gsilvis (~almostsix@50.12.163.241)
22:04.46*** join/#arm-netbook gsilvis (~almostsix@50.12.163.241)
22:20.25hackandfabmnemoc, everyone else is sleeping?
22:25.15hnostill awake, but should be asleep.
22:35.56hackandfabhno, the usb232 image on you aliexpress was confusing. It's connected to USB port intead of UART
22:40.53hnohackandfab, what?
22:42.34hnoyou mean hipboi_?
22:42.55hackandfabemmm, my mistake, yes :P
22:42.57hnohipboi_ http://www.aliexpress.com/store/product/TTL-to-USB-debug-board/511685_542914515.html is clearly wrongly connected.
22:43.24hackandfabyes, It was meant to hipboi
22:46.06traeaki got a 6 prong one from fleaby for 3usd shipped
22:46.16traeaks/fleaby/fleabay
22:46.24traeakopos trailing
22:46.33*** join/#arm-netbook polvo_ (~chatzilla@109.98.19.95.dynamic.jazztel.es)
22:47.08hnohopefully he will notice and correct. You can also try sending him an email. Tom Cubie <mr.hipboi@gmail.com>
22:47.25hnotraeak, UART?
22:50.10lundmanmornig
23:30.57*** join/#arm-netbook zerosheds (~nosheds@58.32.233.104)
23:30.57*** join/#arm-netbook zerosheds (~nosheds@unaffiliated/l84supper)

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