**** BEGIN LOGGING AT Mon Oct 12 02:59:59 2015 Oct 12 07:36:05 ogra_, I was at a Rasspberry Jam yesterday. Oct 12 07:36:25 I have a preview or Ubuntu MATE 15.10 and we also played with Ubuntu Snappy. Oct 12 07:37:24 ogra_, The feedback about Ubuntu Snappy is that without firmware and VideoCore drivers/utilities it is limited. Oct 12 07:37:37 ogra_, I have this issue with Ubuntu MATE 15.10 right now too. Oct 12 07:38:11 Because the 15.10 kernel is 4.2 and Rpi2 firmware is only available for kernel 4.1 and 3.18. Oct 12 07:39:14 flexiondotorg, well, there are plans to make the KMS/DRM driver work Oct 12 07:39:16 I'd like to work on getting the Pi2 better supported on Ubuntu. Oct 12 07:39:47 but that wont get you the same features the closed driver will Oct 12 07:39:48 flexiondotorg, Are you referring to the accelerate DDX? Oct 12 07:40:05 no, i'm referring to the opensource one Oct 12 07:40:22 ogra_, Just want to clarify what you mean. Oct 12 07:40:30 Do you mean fbturbo? Oct 12 07:41:14 i dont know how it is called, afaik there is an opensource KMS capable driver, but that only does 2D accel Oct 12 07:41:23 Or this - https://github.com/Factoid/xf86-video-rpi Oct 12 07:41:33 it should work with the KMS xorg driver Oct 12 07:41:37 ogra_, So the issue is this. Oct 12 07:42:03 The pi2 without firmware, much of the hardware is simply not enabled. Oct 12 07:42:23 Some missing i2c, sound and accessible to video acceleration. Oct 12 07:42:26 do you use the right DTB overlays in your install ? Oct 12 07:42:49 ogra_, Well, this is an interesting question. Oct 12 07:42:55 i2c is definitely enabled by default in our snappy install Oct 12 07:43:27 ogra_, My understanding is that the Rpi2 firmware is required to enable those devices though. Oct 12 07:43:50 Which DTB are you using and how have you enabled it? Oct 12 07:45:01 we use the default DTB only but allow enablin the overlays ... the default one includes SPI, I2C and I2S support that cou can switch on or off with a dt parameter in config.txt Oct 12 07:46:07 and we ship a set of overlays you can use to en/disable the other devices http://paste.ubuntu.com/12761947/ Oct 12 07:47:19 ogra_, OK. So what "installs" those overlays for Snappy? Oct 12 07:47:27 Are you are using uboot in Snappy? Oct 12 07:47:29 the kernel package Oct 12 07:47:42 we chainload uboot from the binary bootloader Oct 12 07:47:50 Ah, right. Oct 12 07:48:08 the DT config has to happen in the binary bootloader config.txt though Oct 12 07:48:21 Yes. Oct 12 07:48:36 uboot can only read it from ram, it cant apply it to the kernel during boot (sadly a limitation of the rpi port) Oct 12 07:49:16 the dtbs come with your kernel packae under /lib/firmware Oct 12 07:49:42 copy them to the overlays directory in your bootloader setup and config.txt can see them Oct 12 07:50:27 ogra_, OK, that is interesting. Oct 12 07:50:59 I'll take a look at the linux-rpi2 source packages to better understand the above. Oct 12 07:51:32 you dont need the "firmware" (whatever people mean when saying that) to bring up devices ... Oct 12 07:51:36 I was thinking of making a PPA with some packages to provide the firmware but that maynot be required. Oct 12 07:51:51 Hah ^^^ :-) Oct 12 07:52:16 But I do need the VideoCore device to be available, which currently it is not. Oct 12 07:52:22 the onlly "firmware" is the binary blob (start.elf, fixup.dat) ... everything past this is kernel Oct 12 07:53:02 and shits firmware is the binary blob for the graphics driver, with some bootloader code added Oct 12 07:53:19 s/hits/this/ ... tsk Oct 12 07:53:40 (freudian slip :P ) Oct 12 07:53:52 OK, so I need to figure out why the VideoCore device is not acceeible then. Oct 12 07:54:02 OK, thanks for the pointers. Oct 12 07:54:08 I'll see what I can figure out. Oct 12 07:55:47 ogra_, Which source package is providing the firmware for the rpi2? Oct 12 07:56:00 the pi2.snap from the store Oct 12 07:57:08 ogra_, Ah. Oct 12 07:57:23 That firmware is not in the Debian packages/ Oct 12 07:57:25 ? Oct 12 07:57:40 http://people.canonical.com/~platform/snappy/raspberrypi2/ has a copy ... (you can unpack snaps with "dpkg-deb -x /path/to/snap ./unpack") Oct 12 07:57:58 no, the oem snaps usually dont have a deb equivalent Oct 12 07:58:54 (and many normal snaps dont have either ... snappy can use debs but doesnt need to, in fact the expectation is that people build upstream trees directly for it ) Oct 12 08:00:03 ogra_, Understood. Oct 12 08:00:13 We were talking a cross purposes. My mistake. Oct 12 08:00:22 Ubuntu MATE 15.10 is not snap based. Oct 12 08:00:26 i know Oct 12 08:00:30 I'm using the linux-raspi2 package. Oct 12 08:00:41 In a traditional Debian setup. Oct 12 08:01:10 right Oct 12 08:01:23 so you need to find a bootloader setup that works Oct 12 08:01:58 and integrates properly with the kernel bits ... i.e. your installer shoudl copy the overlay bits into the right place Oct 12 08:02:23 So, I have a bootable image. Oct 12 08:02:37 With X and Ubuntu MATE working. Oct 12 08:02:45 Just missing something for some devices. Oct 12 08:03:04 I'm pulling down that snap and having a look. Oct 12 08:03:15 well, you are most likely using the dtb from the bootloaer that you got "somewhere" ... Oct 12 08:03:38 which means nearly no devices will work at all because the dtb is kernel specific Oct 12 08:04:04 This is where I run out of rope. Oct 12 08:04:49 (RaspberryPi2)ubuntu@localhost:~$ ls /lib/firmware/4.2.0-1008-raspi2/device-tree/ Oct 12 08:04:49 bcm2709-rpi-2-b.dtb overlays Oct 12 08:04:55 I'm not sure if the issue I am facing is because of the mismatch between Linux 4.2 (in 15.10) and the DTBs provided by Raspberry pi foundation that are for Linux 4.1. Oct 12 08:05:18 you want to have the content of this sitting in the dir of your bootloader (likely some vfat partition on your SD) Oct 12 08:05:30 Perfect! Oct 12 08:05:46 I'll give that a shot. Oct 12 08:05:53 just replace the stuff Oct 12 08:07:31 Is the content of /lib/firmware/4.2.0-1008-raspi2/device-tree/ to same as I am seeing in pi2_0.16_all.snap boot-assets? Oct 12 08:07:39 *the same as? Oct 12 08:07:55 Because if so, I'll integrate that snap into my build. Oct 12 08:08:12 I'd like to align with the snappy stuff as much as possible. Oct 12 08:23:45 ogra_, This short thread is why I thought (and am still not sure) that the Raspi firmware and kernel version mismatch affect VideoCore enablement - https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=120977 Oct 12 08:29:27 ogra_, And this ;-) Oct 12 08:29:30 https://bugs.launchpad.net/snappy/+bug/1500755 Oct 12 08:32:54 flexiondotorg, well, thats most likely a question of enabling it in the kernel config (it seems all you need is the right module) Oct 12 08:34:44 Which is closed source :-( Oct 12 11:47:13 hello everyone, could anyone please give me some help, i don't know if i broke my microsd or not, i was trying to dd write a .raw file to a microsd card then it didn't work, something went wrong and it says my 16gb card only has 8mb (unllocated) Oct 12 21:03:33 hello everyone Oct 12 21:03:45 I was wondering if anyone has had any success in installing ROS on Ubuntu 15 (arm) Oct 12 22:26:27 Is it possible to stream Steam to an ARM machine? **** ENDING LOGGING AT Tue Oct 13 02:59:59 2015