IRC log for #arm-netbook on 20120915

00:46.45*** join/#arm-netbook ejstacey (~ejstacey@milkman.joyrex.net)
00:47.19*** join/#arm-netbook zenitraM (~zenitraM@2607:f358:1:fed5:11:0:1018:14)
01:35.32*** join/#arm-netbook ssalevan (~Adium@pool-108-41-34-56.nycmny.fios.verizon.net)
01:44.32*** join/#arm-netbook kaspter (~Instantbi@222.65.46.186)
01:55.41*** join/#arm-netbook kaspter (~Instantbi@222.65.46.186)
01:58.10*** join/#arm-netbook kaspter (~Instantbi@222.65.46.186)
02:04.26*** join/#arm-netbook kaspter (~Instantbi@222.65.46.186)
02:07.18*** join/#arm-netbook kaspter (~Instantbi@222.65.46.186)
02:23.34*** join/#arm-netbook kaspter (~Instantbi@222.65.46.186)
02:30.04*** join/#arm-netbook kaspter (~Instantbi@108.171.248.180)
03:14.33*** join/#arm-netbook kaspter (~Instantbi@222.65.46.186)
05:27.40*** join/#arm-netbook Quarx (~Quarx@178.74.85.93)
05:45.26*** join/#arm-netbook gimli (~gimli@178.73.212.241)
05:48.20*** join/#arm-netbook Quarx (~Quarx@178.74.85.93)
05:50.38*** join/#arm-netbook gimli (~gimli@178.73.212.241)
05:53.20*** join/#arm-netbook Quarx (~Quarx@178.74.85.93)
05:54.10*** join/#arm-netbook Quarx (~Quarx@178.74.85.93)
06:22.29*** join/#arm-netbook Quarx|2 (~Quarx@178.74.85.93)
06:55.03*** join/#arm-netbook rellla (~Thunderbi@p4FE561BE.dip0.t-ipconnect.de)
07:20.59*** join/#arm-netbook gimli (~gimli@178.73.212.241)
07:29.47CIA-17rhombus-tech: helloo123 master * rede1672818fb /allwinner_a10/orders/media1.mdwn:
07:57.26*** join/#arm-netbook gimli (~gimli@178.73.212.241)
08:05.57*** join/#arm-netbook cat1 (~cat_x301@a91-152-66-200.elisa-laajakaista.fi)
08:07.13*** join/#arm-netbook kaspter (~Instantbi@222.65.46.186)
08:08.42*** join/#arm-netbook gimli (~gimli@xbmc/staff/gimli)
08:23.58lundmanhttp://www.engadget.com/2012/09/14/intels-core-i3-nuc-mini-system-bares-it-all-for-idf-hands-on-v/
08:54.55*** join/#arm-netbook kaspter (~Instantbi@222.65.46.186)
08:58.34*** join/#arm-netbook kaspter (~Instantbi@222.65.46.186)
09:02.29*** join/#arm-netbook pawel5870 (~pkarpins@staticline54070.toya.net.pl)
09:05.02pawel5870is it possible to run modules for webcam gspca_zc3xx on android? I want to use logitech webcam with my mele a2000.
09:11.19*** join/#arm-netbook Mazon (~Mazon@95.166.104.217)
09:12.27*** join/#arm-netbook sspiff (~quassel@d8D862466.access.telenet.be)
09:12.28*** join/#arm-netbook sspiff (~quassel@unaffiliated/yukito)
09:17.54*** join/#arm-netbook projectgus (~gus@spork.chainxor.org)
09:21.39*** join/#arm-netbook ceo16 (~asus@host175-245-dynamic.9-87-r.retail.telecomitalia.it)
09:22.24*** join/#arm-netbook itamarjp (~itamar@177.106.215.177)
09:22.25*** join/#arm-netbook itamarjp (~itamar@fedora/itamarjp)
09:47.20technhmm.. slave mode doesn't work at all?
09:47.21technhttps://github.com/amery/linux-allwinner/issues/76
09:49.45*** join/#arm-netbook ibrah (~ibrah@212.49.88.107)
10:03.55mnemoctechn: afaik it works when android stuff is enabled...
10:04.26mnemoctechn: but integration needs to be moved to a neutral (not-android) place
10:13.50*** join/#arm-netbook kaspter (~Instantbi@222.65.46.186)
10:16.44*** join/#arm-netbook ibrah (~ibrah@212.49.88.107)
10:29.04*** join/#arm-netbook kaspter (~Instantbi@222.65.46.186)
10:32.38*** join/#arm-netbook cat_n9__ (~communi@a91-152-66-200.elisa-laajakaista.fi)
10:39.27*** join/#arm-netbook ibrah (~ibrah@212.49.88.107)
10:43.52*** join/#arm-netbook mysteryname (~mysteryna@14-202-9-167.tpgi.com.au)
11:08.10*** join/#arm-netbook MMlosh (~MMlosh@2001:470:6f:23:7118:4331:709b:b146)
11:13.28*** join/#arm-netbook cat_n9 (~communi@84-231-75-246.elisa-mobile.fi)
11:14.19*** join/#arm-netbook madmalkav (~Hamlet@188.86.253.69)
11:43.58*** join/#arm-netbook avernos (~avernos@221.223.239.42)
11:43.59*** join/#arm-netbook avernos (~avernos@unaffiliated/avernos)
12:13.00*** join/#arm-netbook penguin42 (~dg@tu006.demon.co.uk)
12:34.49*** join/#arm-netbook gimli (~gimli@xbmc/staff/gimli)
12:49.17mnemoctechn: got earlyprintk working?
13:08.51rmfor some reason my U-host only sees a known-good USB 2.0 hub as 12Mbit
13:09.30*** join/#arm-netbook ibrah (~ibrah@212.49.88.98)
13:09.45*** join/#arm-netbook eh2scqw (~eh2scqw@ip-80-226-24-6.vodafone-net.de)
13:09.46*** join/#arm-netbook Assid (~assid@unaffiliated/assid)
13:10.39technI followed your guide and atleast it won't crash. but still no output to fbcon
13:11.50technCONFIG_SW_DEBUG_UART to uart_debug_port defined in script.bin
13:16.16eh2scqwsomebody here who uses a hno uboot-allwinner with a  uEnv.txt file?
13:22.13*** join/#arm-netbook ibrah (~ibrah@212.49.88.98)
13:25.20rmwhy is wiki yellow ._.
13:25.48rmalso the U-host does not ship a MiniUSB-to-USBfemale converter
13:26.11rmwhich means it only has 1 full USB port
13:35.38hnoeh2scqw, i have only briefly tested it. Is there a problem?
13:36.58eh2scqwhno: it seems, that my u-boot.bin ignores a uEnv.txt file
13:37.27eh2scqwwhere should i place the file?
13:37.42hnoeh2scqw, maybe you have a saved environment?
13:38.02eh2scqwsorry .. down't know what that means
13:38.58eh2scqwsaved  environment = hard configured in the kernel?
13:39.21hnono, that you have used saveenv in u-boot before.
13:40.22hnothe uenv lookup is in the default environment, but if you have a saved environment on your boot media then that is used instead.
13:41.06hnowhat is said on the console?
13:42.11eh2scqwhno: I have a mk802 without a serial console ... I'm blind
13:43.26eh2scqwlet me see what google can tell me about "saveenv" and whow I use it
13:44.12RaYmAnyou can just solder in a serial console ;)
13:46.03eh2scqwRaYmAn: you are right .. it is really hard to work with u-boot without the console
13:47.05hnoeh2scqw, then I don't think you have a saved console.
13:47.24hnos/console/environment/
13:47.59hnowhat do your uenv.txt file contain?
13:47.59eh2scqwso it should work
13:48.31eh2scqwI will paste it in pastebin ... one moment please
13:50.41eh2scqwmy uentv.txt      http://pastebin.com/hAzyMMvV
13:51.27eh2scqwI set "loglevel=0" but dmesg shows:
13:51.29eh2scqwKernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 init=/init loglevel=8 rootfstype=ext4 rootwait
13:52.00eh2scqwthe loglevel is 8  ... but it should be 0
13:52.19mnemoctechn: CONFIG_SW_DEBUG_UART is for the serial console, unrelated to fbcon
13:52.39mnemoctechn: you might want to pass two console= args to the kernel
13:52.51mnemoctechn: ttyS0 and tty0
13:53.18technI'm already passing ttyS0,115200
13:53.42technhow I can add that second one?
13:54.27mnemoctechn: like any kernel arg. just adding a second console=tty0
13:54.45technah :)
13:58.18technmnemoc: Got it working!! :)
14:00.28technand found problem. "coulnd't mount because of unsupported optional features (.. "
14:00.49techneverything is not fitting to screen ;)
14:02.42technoh.. It seems to be able to mount but somehow it outputs "init:hwclock main process (47) terminated with status 1"
14:03.14technand after that "init: ureadahead main process (48) terminated with status 5"
14:07.35mnemoctechn: you can pass rootfstype=foo to avoid trial-and-error autodetection
14:08.05technbut why it can't jump to initfs? :/
14:08.06mnemoctechn: those are userspace errors, try with init=/bin/sh
14:08.16technor what ever it should do next?
14:08.32mnemocfix your userspace
14:08.52mnemocbut try init=/bin/sh first
14:09.14*** join/#arm-netbook eflatun (~eflatun@46.1.139.37)
14:10.34*** join/#arm-netbook ssalevan (~Adium@pool-108-41-34-56.nycmny.fios.verizon.net)
14:11.38*** join/#arm-netbook rz2k (~rzk@93-80-167-173.broadband.corbina.ru)
14:14.09technmnemoc: it didn't help
14:14.19technand userspace looks fine :/
14:14.59technhttp://releases.linaro.org/12.08/ubuntu/precise-images/alip
14:16.31technhmm.. I'll try this linaro-precise-alip-20120724-274, which is working atleast for minix
14:16.58mnemocyou have output on ttyS0 and on fbcon, and init got started. so the ball is on userspace's side
14:18.16mnemocubuntu's init can be very frustrating
14:18.17*** join/#arm-netbook XenGi (~XenGi@46.115.67.23)
14:19.02technany place where to get debian hf userspace? :)
14:19.14mnemocwhat is "alip" ?
14:19.40mnemoctechn: debootstrap --foreign --arch armhf ....
14:20.04technmnemoc: distro ment for tablets :/
14:26.21mnemoctry adding a getty explicitly pointing to the serial port
14:27.32mnemoctechn: but... did you try init=/bin/sh ?
14:27.39mnemocgot a prompt?
14:28.10technno prompt
14:28.18mnemocuhm
14:29.44mnemoctechn: try with console=ttyS1 ... maybe your script.bin doesn't point the first uart to uart1
14:29.55technwith older userspace there is no hwclock or ureadahead errors
14:30.14technbut still no userspace
14:30.19mnemocgetting those errors means your init is running and doing things
14:31.06mnemocjust not the things you want it to do
14:35.41technno help.
14:39.18*** join/#arm-netbook hp_ (~kvirc@188.188.5.53)
14:39.34technhmm.. I removed ttySx and got can't access tty; job control turned off
14:41.28mnemocthat's common when not using getty
14:42.23technand there is cursor blinking.. I don't have cable to connect keyboard :(
14:45.07mnemocso you do have a prompt
14:45.25mnemoccan you show your script.fex?
14:47.15technhttp://pastebin.com/ZuJBV9qN
14:49.44mnemoc[uart_para0] and [uart_para1]
14:51.16mnemoc.oO
14:51.50technwot? :)
14:52.03mnemoccan you boot the stock system and echo something to /dev/ttyS0 ?
14:52.12mnemocand see if you can see it on your uart?
14:52.25*** join/#arm-netbook itamarjp (~itamar@177.106.215.177)
14:52.25*** join/#arm-netbook itamarjp (~itamar@fedora/itamarjp)
14:52.27mnemocs/it/if/
14:52.28technI dont have uart :D
14:52.38mnemocdoh
14:52.59mnemocthen don't console=ttyS0
14:53.07mnemoconly console=tty1
14:53.24mnemocand init=/bin/sh
14:53.36technyes. yes. :)
14:53.56mnemocand get a keyboard
14:54.23technand I'm having bin/sh.. but init.d is not somewhy progressing
14:56.18mnemocinit=/bin/sh bypasses all the normal init process
14:56.37technah :)
14:56.38mnemocbut you should be able to mount and edit files
14:57.07mnemocto get the init of your distro working
15:10.05*** part/#arm-netbook eh2scqw (~eh2scqw@ip-80-226-24-6.vodafone-net.de)
15:20.53technok.. I removed that init=/bin/sh, and got the real errors.. "mount: wrong fs type, bad option, bad superblock on none, missing codepage or helper program, or other error " ..
15:21.44techncompared to a10 device which has same userspace, EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
15:27.51technhmm..  I'm propably missing some debian/ubuntu kernel settings :/
15:30.39mnemocrunning the same version on both?
15:38.21technyep
15:38.23*** join/#arm-netbook pawel5870 (~pkarpins@staticline54070.toya.net.pl)
15:40.09technhmm.. I enabled couple fs types and now it boots to X :)
15:40.29technpropably tmpfs was the problem? :/
15:42.36technNow.. I'll need to findout how to enable goodix_touch_811 module
15:46.33mnemoctechn: eh? defconfig lacked of tmpfs?
15:47.21techn-# CONFIG_TMPFS is not set
15:47.21techn+CONFIG_TMPFS=y
15:47.21techn+CONFIG_TMPFS_POSIX_ACL=y
15:47.21techn+CONFIG_TMPFS_XATTR=y
15:47.31mnemocouch
15:48.01mnemoccan you make a commit to make a13_defconfig closer to sun4i_defconfig (and functional)?
15:49.09technI'll evening latest.. currently trying findout what's working and not :p
15:49.33technalso should we have separate crane config?
15:50.49*** join/#arm-netbook cat_n9 (~communi@a91-152-66-200.elisa-laajakaista.fi)
15:55.06*** join/#arm-netbook pawel5870 (~pkarpins@public-gprs323962.centertel.pl)
16:09.16mnemoctechn: yes, but I think it's called "nuclear" for A13
16:09.28mnemoc(nickname of the devkit)
16:16.36*** join/#arm-netbook cat_n9 (~communi@80-186-175-24.elisa-mobile.fi)
16:22.44*** join/#arm-netbook ibrah (~ibrah@212.49.88.98)
16:27.57*** join/#arm-netbook pawel5870 (~pkarpins@staticline54070.toya.net.pl)
16:31.49*** join/#arm-netbook ssalevan (~Adium@pool-108-41-34-56.nycmny.fios.verizon.net)
16:33.21*** join/#arm-netbook merbzt (~benjamin@c-94-255-220-30.cust.bredband2.com)
16:37.36rz2kI confirm that, my a13 tablet has nuclear or nuclear-pfdq88 in places where sun4i crane where
16:39.21merbztis there some faq where I can ready about the issues with the cedarx chip and it's support libs, right now I don't understand why things are at a standstill
16:44.29merbztthe only real issue I heard is that the decoder isn't fast enough and that people get memleaks when using the decoder
16:46.49rz2kmerbzt: please write to arm-netbook mailing list, there was a guy who worked on h264 decode with cedarx and he had same issues.
16:47.37merbztwell maybe I have to
16:48.42merbztI was hoping someone here could enlighten me
16:49.14rz2kalso couple days ago hipnoi said that he passed info about mem leaks to guy who worked on this libs.
16:49.27rz2kmaybe fixes are coming, maybe not.
16:50.00merbztI saw someone working on RE'ing the libcedarxalloc.a lib
16:50.33rz2kthis guy https://github.com/iainb/CedarXWrapper
16:51.15rz2kwrong repo, https://github.com/iainb/open_cdxalloc
16:52.46technmnemoc: should I enable NO_HZ also?
16:52.50merbztok, thanks
16:57.57mnemoctechn: uhm... not yet
16:58.11mnemoctechn: it seems to cause troubles in sun4i at least
16:58.44mnemocmerbzt: please add the knowledge you gain to http://linux-sunxi.org/CedarX
17:02.22*** join/#arm-netbook eflatun (~eflatun@95.173.233.234)
17:10.10hnoI think a large contributing factor to the cedarx issues is that Allwinner never released sources to  aworking reference player, only a binary player, partial example sources, libs and some documentation.
18:01.43L84SupperAny idea why the player for A10 has only been released as a binary? Does the VPU violate patents and keeping the register spec private helps keep them out of the courts or is it only shared with paying customers to give those manufacturers an advantage?
18:02.01rz2komg
18:02.06rz2k[  3458.633] drmOpenDevice: node name is /dev/dri/card0 [  3458.633] drmOpenDevice: open result is 7, (OK)
18:02.11rz2kmali400 dri2 working
18:02.26RaYmAnooh
18:02.26rz2ktons of UMP<1>: No handler for IOCTL. cmd: 0x400c9007, arg: 0xbeb95e28
18:02.37mnemocL84Supper: usually fear for competition
18:02.47mnemocrz2k: a10 or a13?
18:02.56rz2kand [  3458.838] GET_UMP_SECURE_ID_BUF2 returned 0xffffffff offset: 3145728 virt address: (nil) fb_virt: 0x40648000 is clearly not OK
18:02.59rz2kA10
18:03.05rz2kmele a2000
18:03.12mnemocrz2k: a13 doesn't have ump integration yet. A10 needs the disp drivers to be built as 'm'
18:03.17rz2kI know
18:03.24rz2kits 'm'
18:03.34mnemocso we miss an ioctl
18:03.36mnemoc:)
18:03.49rz2kI think I need to integrate something to mali_exa about this ioctl, readme says that
18:03.58rz2kbut mali_drm actually works
18:04.04mnemocrz2k: please on the mali_next branch
18:04.16rz2kok
18:04.29*** join/#arm-netbook ceo16 (~asus@host175-245-dynamic.9-87-r.retail.telecomitalia.it)
18:04.47rz2kI've stolen driver from igloocommunity and it has two fb's, this needs to be fixed to one.
18:04.51rz2kor a10 can do two?
18:05.05RaYmAnIt should theoretically be able to, I'd think
18:05.14rz2kI'm keeping it, so.
18:05.33rz2kping techn
18:05.42technrz2k:
18:06.20rz2kyou said that dri2 with igloocommunity drivers didnt work for you
18:07.03technyes.. I didn't get gles2 stuff working
18:07.29rz2kI thought it never did boot up, lol.
18:08.04rz2ksorry for confusing everyone. but it is one step closer now.
18:08.24mnemocmali_next is waiting for you :)
18:09.21technrz2k: X startup was complaining about missing dri2_mali.so or something :/
18:10.03technso after that it fallbacked to sw :/
18:10.20rz2khttp://pastebin.com/fgTRRgL4
18:10.39mnemochno: still confortable with https://github.com/hno/linux-allwinner/commit/bbb907a7648437965c8a304c22ed4dd49790c58a ?
18:10.52mnemocrz2k: related ---^
18:11.21rz2kyeah, I confused everyone. I have same error
18:11.52rz2kinteresting, where that lib comes from.
18:11.52mnemocthat commit is to let us have fb as built-in without killing ump support
18:12.26mnemocx11/mali driver?
18:12.40rz2kdri/Mali DRI2_dri.so
18:12.49rz2kline 216 http://pastebin.com/fgTRRgL4
18:13.30technrz2k: it could be that aixgl should even used with non opengl devices :/
18:13.59technI have so bad knowledge of that area so I gave up then
18:14.09hnomnemoc, haven't tried it yet. Any obvious reason why I should not be comfortable?
18:14.56mnemochno: looks pretty good to me... I was just wondering if you had changed your mind about something
18:15.23hnoNo, but there probably is better way doing it.
18:18.07RaYmAnrather random but: http://igloocommunity.org/pipermail/users/2012-March/000598.html
18:18.17RaYmAnthey seem to indicate you shouldn't use DRI
18:27.00mnemochno: better way can wait :) ... I'll fix some typos to get it compiled and then try to mimic the sun4i integration in sun5i
18:35.25penguin42lkcl: Hmm those DM9000's look nice; how much can you actually get out of them on an ARM bus?
18:40.50mnemochno: is it ok to use -EINVAL in place of your -EUNSUPPORTED ?
18:41.57*** join/#arm-netbook eflatun (~eflatun@109.228.222.196)
18:42.08hnoThere is an error code for not supported.
18:42.27hnoEINVAL is invalid arguments.
18:42.28hno<PROTECTED>
18:42.34hnobut it's not important.
18:45.40mnemocfound, ENOTSUPP
18:46.39hnoyep.
18:55.32*** join/#arm-netbook eflatun (~eflatun@95.173.235.202)
19:08.08mnemochno: had to make some tiny fixes, http://dpaste.com/801441/plain/, but: ERROR: "g_fbi" [drivers/video/sunxi/disp/disp_ump.ko] undefined!
19:08.24mnemocon both, sun4i and sun5i
19:11.45mnemocpretty disturbing considering that extern is broadly used
19:13.14mnemocfound
19:13.41*** join/#arm-netbook eflatun (~eflatun@46.1.27.168)
19:33.30*** join/#arm-netbook tzafrir_laptop (~tzafrir@bzq-84-111-20-159.red.bezeqint.net)
19:45.23hnomnemoc, paste link broken.
19:45.45hnoErr. a . too manu.
19:47.42mnemochno: https://github.com/amery/linux-allwinner/commit/e5d8f028cfb5fe041d1319e68769776fccd9c5ef
19:47.47mnemoc(next_mali branch)
19:48.38mnemocbut I have them commited in allwinner-v3.0-android-v2 locally too
19:51.35hnoWhy did you need to export g_fbi? It's not a good symbol name to export.
19:51.53mnemocit's used in disp-ump
19:51.58mnemoc.c
19:52.07mnemocand yes, very ugly name
19:52.21hnoIn my glue module?
19:52.24mnemocyes
19:52.57mnemochttps://github.com/amery/linux-allwinner/blob/e5d8f028cfb5fe041d1319e68769776fccd9c5ef/drivers/video/sunxi/disp/disp_ump.c#L29
19:54.01hnoBetter to pass that as an argument I think.
19:55.03mnemocok
19:55.35hnostatic int _disp_get_ump_dd_secure_id(struct fb_info *info, fb_info_t *g_fbi, unsigned long arg)
19:55.57hnoconfusingly similar names on those two types.
19:56.12mnemocone is a typedef of the other
19:56.30mnemoc_disp_get_ump_dd_secure_id vs. disp_get_ump_secure_id is also confusing :p
19:56.43mnemoc(the _dd extra part)
19:58.18*** join/#arm-netbook eflatun (~eflatun@46.1.119.66)
20:00.01hnofb_info_t is not a typedef of fb_info.
20:00.10*** join/#arm-netbook lerc (~quassel@121-74-253-76.telstraclear.net)
20:00.20mnemocuhm... now that is confusing
20:00.25hnofb_info_t contains fb_info as an array member.
20:00.58hnofb_info_t is the global Allwinner disp state. struct fb_info is the generic kernel framebuffer type.
20:01.27mnemoci see
20:04.45*** join/#arm-netbook eflatun_ (~eflatun@46.1.27.81)
20:11.13*** join/#arm-netbook eflatun_ (~eflatun@46.1.230.65)
20:15.32mnemocrz2k: works? :)
20:16.13rz2kwe still miss aiglx lib, but DRI2 init and everything else is working
20:16.29mnemocnice
20:20.39RaYmAnrz2k: everything else = ? egl/gles2 works?
20:20.49RaYmAnI doubt aiglx makes sense on anything but x86 tbh
20:21.26rz2keverything else = mali400 x11 doesnt throw any other errors expect aiglx and UMP ioctl
20:21.43rz2kbefore that we had "failed to be master of DRM"
20:21.51RaYmAncool
20:21.58RaYmAnbut aiglx is desktop graphics
20:22.03RaYmAnyou need to use EGL on embedded.
20:22.20RaYmAnI'm 97% sure :P
20:22.34rz2kmaybe I've failed adding some libs in my linaro rootfs, need somebody more skilled in x11 stack here.
20:23.16*** join/#arm-netbook eflatun__ (~eflatun@46.1.158.200)
20:25.34technrz2k: did you test gles2 - benchmark stuff?
20:26.42technfor me it gave 0,2 fps or something then :(
20:26.57rz2kthat is mesa sw render
20:27.14rz2kwhich is need to be deleted and replaced with our libs for r3p0 from hipnoi
20:27.25technnice :)
20:27.33technnever tried that
20:28.18rz2kI'm trying it now, deleted mesa with mali400 package in linaro repo, now replacing ST-Ericsson libs with ours
20:29.44*** join/#arm-netbook eflatun__ (~eflatun@95.173.234.78)
20:31.30rz2kyep, now glmark fails with "cant open UMP memory system"
20:31.46rz2kwhich signs that it atleast tries to use mali
20:35.09*** join/#arm-netbook eflatun__ (~eflatun@46.1.158.68)
20:44.33*** join/#arm-netbook eflatun__ (~eflatun@46.1.185.73)
20:57.36*** join/#arm-netbook eflatun (~eflatun@46.1.25.1)
21:02.48mnemocfbcon at 800x600 in a 24" display looks confortable :p
21:02.53mnemoccomfortable*
21:03.23*** join/#arm-netbook itamarjp (~itamar@177.106.215.177)
21:03.24*** join/#arm-netbook itamarjp (~itamar@fedora/itamarjp)
21:05.10*** join/#arm-netbook eflatun (~eflatun@46.1.231.28)
21:11.33*** join/#arm-netbook eflatun (~eflatun@46.1.184.149)
21:14.43rvallesthese sun5i and such names are so disturbingly confusing with sparc stuff.
21:17.15mnemocsparc is dead, who cares :p
21:18.08mnemochno: http://dpaste.com/801483/plain/
21:21.52*** join/#arm-netbook eflatun (~eflatun@109.228.213.65)
21:23.11mnemochno: or you want the _dd ?
21:24.00mnemocthis is the squashed version http://dpaste.com/801484/plain
21:31.25*** join/#arm-netbook eflatun (~eflatun@46.1.230.120)
21:38.53*** join/#arm-netbook eflatun (~eflatun@46.1.231.34)
21:47.19*** join/#arm-netbook cat_n9 (~communi@a91-152-66-200.elisa-laajakaista.fi)
21:47.39*** join/#arm-netbook eflatun (~eflatun@46.1.185.43)
21:49.53technmnemoc: ump_dd_handle ump_dd_handle_create_from_phys_blocks, EXPORT_SYMBOL(disp_get_ump_secure_id), could these be introduced in disp_ump.c
21:50.46techn+ other under CONFIG_FB_SUNXI_UMP, if possiple
21:55.08mnemoctechn: but if disp_get_ump_secure_id lives in disp_ump.c, disp will depend in disp_ump
21:55.17mnemocand we are trying to reverse the dependency
21:55.27mnemocso disp can be built-in
21:56.39*** join/#arm-netbook eflatun (~eflatun@46.1.138.232)
21:56.55technoh.. thats true
21:57.12hnomnemoc, i don't care.
21:57.51hnowhatever you feel comfortable with.
21:59.31mnemochno: i could have also added _dd to the other var.... my point was only to make them differ in the initial _
22:00.08mnemoctechn: I'll move the extern ... within the .c
22:02.00technthanks.. I'm not familiar with whole UMP-stuff but it would be nice if as much as possiple could be moved to that specific place
22:03.00mnemochttp://dpaste.com/801495/
22:03.39*** join/#arm-netbook tuliom (~tuliom@186.214.91.190)
22:04.22mnemoctechn: ----^
22:04.26hnoWhy this? extern ump_dd_handle ump_dd_handle_create_from_phys_blocks(ump_dd_physical_block * blocks, unsigned long num_blocks);
22:04.35hnoIt's in an ump header.
22:05.38mnemocnot in the one we include at least
22:05.41mnemocgrepping
22:06.08mnemocump/ump_kernel_interface_ref_drv.h
22:06.11*** join/#arm-netbook eflatun (~eflatun@46.1.187.184)
22:06.19hnoyes, that one.
22:06.40hnohaving extern functions in .c is wrong.
22:06.57hnos/functons/function prototypes/
22:08.37*** join/#arm-netbook ssalevan (~Adium@pool-108-41-34-56.nycmny.fios.verizon.net)
22:09.56mnemochttp://dpaste.com/801498/plain/ ?
22:11.06techndev_fb.c, remove this  #include <ump/ump_kernel_interface.h> ;)
22:13.28mnemocinstalling xubuntu-desktop on a class 4 card is not fun
22:14.55mnemochttp://dpaste.com/801500/ .... now? :)
22:15.30technmnemoc: btw.. we dont have exactly for MID A13 designed touchpanel codes.. atleast android-v2 is missing them
22:15.57technsun5i-import could have something near
22:16.22mnemoci2s touch panels are our weakest point
22:16.56*** join/#arm-netbook eflatun (~eflatun@95.173.234.26)
22:16.58mnemocevery device seems to have a different one :|
22:17.39mnemocsome people mangles the gpl violating .ko to be loadable...
22:17.57mnemocbut that's not something we can carry long
22:18.13technI'll try to cherry-pick driver from sun5i-import tomorrow.. today I'm a bit too drunk ;)
22:19.24technhttps://github.com/amery/linux-allwinner/blob/wip/lichee3-sunxi/import-sun5i/drivers/input/touchscreen/gt818_ts.c, no copyright?
22:19.31technwhat it means?
22:20.01technI mean.. no copyright header
22:23.06mnemocthat code comes from the SDK... but we can fairly assume the same license of the drivers in 3.0-v2 where Tom fixed the lack of header by instruction of Allwinner
22:23.31mnemocand so we just copy their standard gpl header
22:25.47*** join/#arm-netbook eflatun (~eflatun@46.1.158.232)
22:33.00technmnemoc: is someone merging this commit 200a6a9b00900b880726a1b4c69a3afc5a5ebcfb
22:33.46mnemoctechn: not as bulk at least
22:36.10*** join/#arm-netbook mysteryname (~mysteryna@14-202-9-167.tpgi.com.au)
22:36.28*** join/#arm-netbook eflatun (~eflatun@46.1.139.200)
22:37.14mnemoctechn: I made those based on what I found in the A13 SDK and the rest of the branch has fixes to let it compile
22:38.13mnemoceventually
22:38.26mnemocit should be merged into 3.0-v2
22:38.54mnemocbut we need to implement a real sw_get_chip_id()
22:39.21hnoonly A10 needs it.
22:40.53mnemocthere are sun5i drivers in that branch using it
22:41.23mnemocbut I guess that's the best tool we will have to unifity sun4i/sun5i
22:41.43hnoyes
22:41.53mnemocunify*
22:43.51mnemocit's probably not more complex than https://github.com/amery/linux-allwinner/commit/88852bd45b3daaca6b58bd072e609acba2f86b4c
22:43.55mnemocusing the right base
22:45.05technwhat you mean? cherry-pickin 200a6a9b00900b880726a1b4c69a3afc5a5ebcfb directly was waste of time
22:45.27mnemoctechn: worked?
22:45.47technfast-forward wasn't working, it suggested every file to be merged by hand
22:46.22mnemoc:)
22:47.28*** join/#arm-netbook eflatun (~eflatun@46.1.186.110)
22:48.40mnemocgit diff 7ea850073ec6c1f91047676723d21677bce82eba..origin/wip/lichee3-sunxi/import-sun5i > blob.diff might be simpler
22:49.02mnemocnot sure
22:49.11mnemocvery tired
22:49.49technhmm.. that diff includes whole kernel :D
22:50.23mnemoc693 files changed, 305292 insertions(+), 11004 deletions(-)
22:50.45mnemocimporting it in bulk seems unlikely
22:50.50technmaybe it should be patched to main baseline
22:50.54mnemocbut we can take parts of it
22:51.44mnemocthat git diff gives you the diff against the base we used to construct 3.0-v2
22:52.25mnemocalready rebased, reencoded and sanitized
22:53.52mnemocalso removing the destructive parts
22:54.02mnemocit was a pain to make :|
22:55.05*** join/#arm-netbook eflatun_ (~eflatun@46.1.139.215)
23:10.06*** join/#arm-netbook eflatun_ (~eflatun@46.1.158.137)
23:14.36merbztoh neat, the CedarX sdk contains code that I wrote
23:15.07mnemoco.o
23:20.42*** join/#arm-netbook eflatun_ (~eflatun@46.1.137.141)
23:21.23mysterynameThe Ax are almost un-brickable right? I've recently got a Mele A2000 and about to dive into all of this for the first time, I read somewhere that the rhombus site does not have the latest information, Is there somewhere that has all the information?
23:24.45hnoYes the Mele is quite unbrickable.
23:25.24hnorhombus-tech is reasonably up to date in most areas. But there is no single place that have all information.
23:25.47lundmanits more of a National Treasure of clues and quests
23:26.09mysterynameAh brilliant, Clues and quests.. This could be quite interesting.
23:28.32mnemoclinux-sunxi.org tries to be more structured, but still lacks of tons of info which is available in other sites
23:28.33hnomerbzt, you worked on CedarX, or they used code you wrote for something else?
23:28.33*** join/#arm-netbook qubits (~nul@68.68.22.151.customer.bluemilenetworks.com)
23:28.34*** join/#arm-netbook qubits (~nul@unaffiliated/qubits)
23:28.53mnemocffmpeg code I guess
23:29.01mysterynamemnemoc: Ah cheers.
23:29.36merbzthno:  A10-MEDIA-SDK-2012-04.tar.bz2 contains lots of ffmpeg/libav code
23:30.28merbztI think it is the code that forms the Android player
23:30.33*** join/#arm-netbook eflatun_ (~eflatun@46.1.186.211)
23:30.33hnomerbzt, ok. kind of expected.
23:30.38lundmanandnow I have a copy of it too
23:31.31hnolundman?
23:36.29technis allwinner on ffmpeg's blacklist now? :p
23:37.06lundmanhno?
23:37.18technI noticed also that there is very familiar object in libav
23:37.44hnocopy of what?
23:37.53lundmanA10-MEDIA-SDK-2012-04.tar.bz2
23:38.01lundmanbah tar file drops all files in root
23:38.06lundmanthought we stopped that in 19934
23:38.09lundman-4
23:39.48technhttp://libav.org/shame.html
23:40.35mnemochaving code in the SDK doesn't imply they also have code within the closed libs...
23:42.03*** join/#arm-netbook eflatun_ (~eflatun@46.1.138.119)
23:42.40hnoWell.. chances are very high as it implies a lack of understanding of license boundaries.
23:43.10mnemocthat is already confirmed :)
23:43.54lundmanand that they are willing to fix their problems, and make license be open has also been demosntrated :)
23:44.54merbztmnemoc: the code I found was binary code
23:44.59lundmanthis SDK looks pretty straight forward, what is the problem with it wrt to xbmc?
23:45.04mnemocmerbzt: :'(
23:46.03mnemoclundman: main problem is a memory leak which the developer within allwinner refuses to admit
23:46.04merbzthttp://linux-sunxi.org/CedarX
23:46.05hnomnemoc, strings CedarXPlayerTest: "libavformat license: GPL version 2 or later"
23:46.38lundmanhmm nothing in here about the audio hardware, shame
23:46.51merbztmy guess is there is non
23:46.56merbztnone
23:47.27hnolundman, what are you looking for wrt the audio hardware?
23:47.51mnemoclundman: there is a pdf document about the api of the lib and refers as "CedarA" the hardware audio decoder
23:47.56merbztthe A8 with neon is fast enough for any kind of audio codec
23:48.59lundmanI want to extend android kernel to all multichannel audio, ie, bitstreaming
23:49.10lundmancurrent mele firmware will only decode/2ch

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