IRC log of #cubox of Wed 16 Apr 2014. All times are in CEST < Back to index

04:25 dtroy Hi Guys, I've found this IRC log from 24/01/2014 saying:
04:25 dtroy davorin received access to freescale's i.mx6 widevine drm library...
04:25 dtroy Does anyone else has access to the library or knows how to get hold of it ?
04:26 dtroy Or is it already integrated into the android images ?
08:35 jnettlet dtroy, I believe you can write to Freescale and ask them for their widevine library. The provide the library but to get access to the documentation you need to purchase their "gold" support package.
08:38 dtroy Thanks @jn . if it's the android implementation isn't it supposed to implement DrmManagerClient ? http://developer.android.com/reference/android/drm/DrmManagerClient.html
08:39 jnettlet dtroy, it is android based, but I have no idea how it is implemented
08:40 jnettlet I thought that widevine clients on Android still used the old protocol that required vendor certificates.
08:52 dtroy Android clients are supposed to have keyboxes provisioned at manufacturing time
08:52 dtroy http://source.android.com/devices/drm.html#plugin
08:53 dtroy I guess the question is.... is this something that's loaded by Freescale or sold run has to request it from widevine.
08:56 dtroy From that page:
08:56 dtroy To integrate and distribute Widevine DRM on Android devices, contact your Android technical account manager to begin Widevine DRM integration. We recommend you engage early in your device development process with the Widevine team to provide the highest level of content protection on the device. Certify devices using the Widevine test player and submit results to your Android technical account manager for approval
09:01 jnettlet dtroy, the keyboxes can only be installed if secureboot is implemented. "unlocked" developer boxes can not implement keyboxes
09:01 jnettlet dtroy, this is all supposed to change with the new implementation of widevine and html5 drm, although adoption is very slow
09:04 dtroy I think these docs are still relevant for Android 4.4
09:05 jnettlet I believe they are as well. But I generally think that means without implementing secureboot you won't be provided with the keys needed to support widevine
09:06 dtroy I am pretty sure this is supported by u-boot / i.mx6
09:06 dtroy see: https://gitorious.org/u-mobo/uboot-imx/commit/ad21cbe117b2f275322be978f3d1a902b49412af
09:07 jnettlet it is only supported in the 2009 version of u-boot which we are not maintaining any longer.
09:08 dtroy Oh wow. this is going to be more complicated than I thought. Is it not a common feature to require a secure bootloader ??
09:09 jnettlet most these devices are developer boxes. secure bootloaders are generally for fully shipping products
09:11 dtroy well.... don't we want to make the cubox a product ?
09:12 jnettlet dtroy, the cubox-i is a platform that SolidRun will help partners turn into products. The customers can implement whatever they would like on top of the hardware.
09:13 jnettlet but generally no OSS developer is going to implement secureboot for fun/free, it kind of goes against the communities principles
09:13 dtroy @jnettlet: Do you work for solidrun ?
09:14 jnettlet dtroy, nope. just one of the core u-boot / kernel developers
09:14 jnettlet well trying to stop the u-boot part, and switch over to barebox.
09:14 dtroy Yeah, I know. I wouldn't want it on my own personal device. But if you want to sell a product that plays widevine content. That's a requirement.
09:15 dtroy and how hard would it be to port the changes from the 2009 u-boot to the new one ? I've never done any linux kernel programming, but maybe now's the time :)
09:16 jnettlet I am not even sure if a system that only has removable media can even pass secure-boot certification
09:18 dtroy yeah ,that's what I was wondering
09:22 jnettlet oh they use the fuses.
09:27 jnettlet yeah it looks doable even on SDHC cards.
09:29 dtroy @davorin. Just the man I was waiting for !
09:29 davorin aha? (o;
09:29 dtroy I found an old IRC log saying :
09:29 dtroy i.MX 6 Linux High Assurance Boot (HAB) User's Guide
09:29 dtroy sorry. Saying : davorin received access to freescale's i.mx6 widevine drm library...
09:29 jnettlet this is doc. http://cache.freescale.com/files/32bit/doc/app_note/AN4581.pdf
09:30 davorin yes...
09:30 jnettlet yep that was me talking wtih davorin
09:30 dtroy Can you please shed some light on where you got the widevine libraries from and whether you actually managed to get it working ?
09:31 jnettlet you would need to partner with SolidRun to produce devices that have the SRK key programmed into the SOC's of your microsoms at fabrication time.
09:31 davorin 1. contact widevine
09:31 davorin 2. nope....there are absolutely no docs with the library (o;
09:31 davorin freescale asks then for a support contract
09:32 davorin you can contact Jason David from Widevine: [email protected]
09:33 davorin and then you also need a freescale representative
09:33 davorin mine is ebv switzerland/germany
09:33 davorin they then grant access to the library
09:34 davorin i assume you have also upc in your country then? (o;
09:35 dtroy I might try and use my marvell contact to try and get a hold of those libraries
09:35 dtroy I am from Australia
09:37 davorin tell me if you have more luck with getting any documentation
09:37 dtroy BTW jnettlet and davorin thank you for the useful info
09:38 davorin ehm..you're welcome (o;
09:38 dtroy I was asking jnettlet earier : Isn't the library supposed to implement: DrmManagerClient ?
09:42 davorin i only see in a file "#include "drm/DrmManagerClient.h"
09:42 davorin "
09:42 davorin and directory "drm" is not in their library...must probably come from somewhere else
09:42 davori coffee
09:45 dtroy if it's c/cpp there must be java wrapper to implemnet: http://developer.android.com/reference/android/drm/DrmManagerClient.html
09:48 dtroy the .h is part of the android source: https://github.com/xdtianyu/android-4.2_r1/blob/master/frameworks/av/include/drm/DrmManagerClient.h
09:53 davorin java gives me the shiver (o;
10:09 dtroy so if you've got c files from them , I assume you have to bake it in while building android and then you'd be able to use the API
11:06 mk01 guys, what have I by mistake changed in kernel setup (or switched off/on via another dependency) that dhcp is not working anymore (dhclient throws error about not possible to send broadcast on failover inteface, dns requests via UDP are failing - tcpdump shows bad checksum on packets (but dns tcp is ok)). probably some other things dependent on UDP are broken too, but this is what I quickly realised
11:13 jnettlet mk01, can you post dmesg output.
11:14 jnettlet mk01, also is this with the latest u-boot? We are still sorting out working around some errata that may effect this.
11:19 mk01 yes
11:20 mk01 latest. the one we discussed (pulled) yesterday
11:21 mk01 now when you opened this - I also have BRCMF_C_SET_PROMISC on wlan0 which wasn't there before (but I have seen report on this on forum).
11:23 mk01 jnettlet: http://pastebin.com/vGhDbkqZ
11:42 jnettlet mk01, can you post your /boot directory for me somewhere so I can try it. I am wondering if I can replicate this on my hardware.
11:42 mk01 take the kernel .deb file
11:43 jnettlet if it works on mine then, my fix is back to causing other oddities on differently effected hardware
11:43 mk01 http://xbian.brantje.com/pool/devel/main/x/xbian-package-kernel-6q/xbian-package-kernel-6q_1.3.8-17_armhf.deb
11:43 jnettlet that has u-boot files as well?
11:43 mk01 yes
11:43 jnettlet okay. Well I will try later.
11:44 mk01 ok
12:54 rabeeh mk01: hi
12:55 rabeeh just talking to mal- on Skype; was the package sent to you sent back?
13:51 davorin rabeeh: if you see riki, the package goes out today to saudia arabia and she will receive automatic email notifications for the shipping
14:57 jnettlet Interesting lightweight wayland desktop for the RBPi, https://www.youtube.com/watch?v=VPu_IMj9ZBI
15:00 dv jnettlet: the demo I showed you a while ago wasnt just a wolf3d clone
15:00 dv jnettlet: it was a full wayland compositor that looked like an FPS
15:01 jnettlet dv, yep. I looked into it.
15:01 dv but in order to get it to work, qt5wayland needs imx6 adaptations first
15:01 dv perhaps someday I have time for this ... would be a cool cubox-i demo :)
15:02 rabee 15:02 * rabeeh +1
18:30 davori 18:30 * davorin updating nas ilo firmware
18:30 davorin fingers crossed (o;
18:38 davorin okay..first one succeeded (o;
18:46 davorin 2nd too..only two to go (o;
23:18 jenkins101 hi!
23:19 jenkins101 I am trying to run xbmc on a cuboxi6pro but i get frame rate drops every 10s or so...
23:19 jenkins101 i am using latest OE with latest xbmc and kernel patches
23:19 jenkins101 Cuboxi4pro