IRC log of #cubox of Thu 13 Mar 2014. All times are in CET < Back to index

03:11 _dab_ when using iperf on my i4pro, is there any special parameters to use or just take the defaults
03:18 _dab_ With defaults I get 380/130 MBits/sec
04:24 _dab_ so we seem have overruns. anyone know anything about this?
05:39 Juggie _dab_, i dont belive true gbit is possible
05:40 _dab_ Juggie: I know that. It is the overruns I want to stop
08:06 dtroy Hi guys, I just wanted to know if anyone had an experience steaming widevine content on these boxes ?
08:13 jnettlet dtroy, there is an Freescale distributed binary libwidevine.so for android around. I am not sure if anyone has tested it.
08:14 dtroy The only thing I could find was this post: https://community.freescale.com/thread/318115
08:14 jnettlet it was my understanding from looking at other widevine implementations for Android that you need to have secure-boot with authorized keys installed on your platform.
08:15 jnettlet I know that when I dev unlocked my Transformer Prime it cleaned out the cryptokeys and my widevine apps like HBO nordic stopped working.
08:16 jnettlet dtroy, well Google owns widevine now. There is a libwidvine plugin that comes with Google Chrome on linux.
08:16 dtroy * BTWI am widevine certified
08:16 jnettlet however, there are two versions. The old API and the new API. most content still uses the old API which is not compatible with the Linux plugin in google chrome
08:17 jnettlet oh then you know all of this.
08:17 dtroy So... rooting your android doesn't necessarily mean you can't play widevine content. But the provider can block it as a policy
08:18 dtroy widevine provides Soc manufacturer keybox which are loaded on to the device at manufacturing time. Which I believe Marvel does
08:18 jnettlet with widevine version 1, pre google buyout, rooting you android does not necessarily destroy the keys. it depends what you need to do to root it
08:18 jnettlet yes but they will only provide those if the hardware is bootlocked
08:19 jnettlet and when it is unlocked they keybox is destroyed.
08:19 jnettlet With version 2, the new api I don't think this is necessary any longer. That is what is supported on Chromebooks etc.
08:19 dtroy With android 4+ (or maybe 4.1) widevine drm became part of the OS. So theoretically, it's supposed to work out of the box
08:19 jnettlet yes
08:20 jnettlet that is how I understand it as well
08:20 dtroy The other question is: Is there a way to play widevine content without android
08:20 jnettlet but I believe that is only protocol 2
08:20 jnettlet let me find the page about it.
08:22 dtroy Thanks @jnettlet
08:25 jnettlet dtroy, can't dig up the link right now. I think it was on an mplayer/ffmpeg or xbmc list that there was a long discussion about it.
08:27 dtroy oh I read the xmbc and ffmpeg thread
08:27 dtroy but there was nothing there to suggest it's possible
08:29 jnettlet are you interested in widevine on android or linux?
09:02 purch_ is it possible to do ubuntu trusty for cubox-i with debootstrap on intel machine?
09:03 rabeeh purch_: yes
09:04 rabeeh getting the user space installed is doable
09:04 rabeeh you need static qemu-system-arm and chroot to it and install things
09:17 jnettlet purch_, if you plan on using accelerated Xorg you will need to install an older version than ships with trusty, as the Vivante libs provide an older Mesa abi.
09:21 purch_ jnettlet: just headless server
09:26 rabeeh i suggest you start with the minimal rootfs, install on it qemu-system-arm and chroot to it
09:30 purch_ have to test that
09:30 purch_ never used debootstrap before
09:42 rabeeh purch_: you don't need to debootstrap
09:43 rabeeh http://imx.solid-run.com/forums/viewtopic.php?t=769&p=5383
09:47 purch_ aaa, untar only
09:48 purch_ nice
11:03 purch_ rabeeh: cubox-i is missing @ http://ports.ubuntu.com/dists/trusty/main/installer-armhf/current/images/generic/netboot/
11:42 coinsen can i do a "make menuconfig" after make imx6_cubox-i_hummingboard_defconfig - or will that overwrite some important defaults?
11:57 rabeeh coinsen: you can
11:57 rabeeh actually the defconfig is a very basic one that doesn't cover lots of configurations required
11:58 rabeeh i think the xbmc distros might need to change and beef the config up to support lots of mouses, keyboards, usb dvb devices etc...
11:58 coinsen rabeeh: i see, thank you. basically, i'm using the default arch linux kernel right now, but it misses support for lirc and lvm
11:58 rabeeh purch_: cubox-i is not there
11:58 coinsen so thats all i want to add
12:00 coinsen rabeeh: btw, one thing i dont understand is, under network drivers, there is only a driver selected in the 10/100 MBits adapters area. however, the cubox has gigabit ethernet?
12:00 coinsen but there is no driver selected under 1000 MBits
12:01 rabeeh consen: look at CONFIG_FEC which defines the gig mac inside the i.mx6
14:19 _dab_ rabeeh: I sent you more mail.
14:19 rabeeh _dab_: you changed your nick?
14:19 _dab_ yes
14:20 _dab_ patch had zero effect
14:22 rabeeh http://pastebin.com/c7gc8prY
14:22 rabeeh _dab_ this should improve RX performance (rmk patch)
14:23 rabeeh _dab_: and please turn off DMA API debug -
14:23 rabeeh CONFIG_HAVE_DMA_API_DEBUG=y
14:23 rabeeh that can be quite costly
14:24 _dab_ will do, 10 minutes and I will report back
14:25 rabeeh great.
14:25 _dab_ should I undo the prior patch?
14:25 rabeeh yes.
14:37 _dab_ rabeeh: Sorry no (signifcant change) change
14:37 _dab_ suprised because ring size usually fixes overruns
14:38 rabeeh which switch is that?
14:41 _dab_ same FVS318N
14:41 _dab_ I only have one switch
14:42 _dab_ I recall using ethtool to expand ring size to fix overruns on intel ethernet
14:43 _dab_ https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Performance_Tuning_Guide/s-network-common-queue-issues.html
14:44 _dab_ I can try a new device wight, if you give me a number to try
14:45 _dab_ weight
18:03 MarcusVinter Does anyone know how I might get bluetooth working. Ive tried using the rampatch to write the firmware onto the chip, but it wont load hci. Do I have to do something to the kernel to get hci working?
18:09 davorin what does "dmesg | grep power" tell you?
18:09 davorin http://imx.solid-run.com/forums/viewtopic.php?f=16&t=461
18:15 MarcusVinter dmesg | grep power returns nothing :(
18:17 davorin then you need another kernel..see the thread above
18:17 davorin bt is pwoered off then
18:21 MarcusVinter :'(
20:08 purch_ pfft, cp -R rootfs mnt, lost setuid bits :/
20:08 Wizzup -a
20:09 Wizzup better yet, usr rsync or tar
20:09 Wizzup (tar with -p)
20:09 purch_ I know, but cp should warn if it finds files with +s
20:09 Wizzup no it should not
20:09 Wizzup :P
20:10 purch_ so rarely I do this anymore
20:10 purch_ it was the archlinx days many years ago