/srv/irclogs.ubuntu.com/2015/10/12/#ubuntu-arm.txt

=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
flexiondotorgogra_, I was at a Rasspberry Jam yesterday.07:36
flexiondotorgI have a preview or Ubuntu MATE 15.10 and we also played with Ubuntu Snappy.07:36
flexiondotorgogra_, The feedback about Ubuntu Snappy is that without firmware and VideoCore drivers/utilities it is limited.07:37
flexiondotorgogra_, I have this issue with Ubuntu MATE 15.10 right now too.07:37
flexiondotorgBecause the 15.10 kernel is 4.2 and Rpi2 firmware is only available for kernel 4.1 and 3.18.07:38
ogra_flexiondotorg, well, there are plans to make the KMS/DRM driver work07:39
flexiondotorgI'd like to work on getting the Pi2 better supported on Ubuntu.07:39
ogra_but that wont get you the same features the closed driver will07:39
flexiondotorgflexiondotorg, Are you referring to the accelerate DDX?07:39
ogra_no, i'm referring to the opensource one07:40
flexiondotorgogra_, Just want to clarify what you mean.07:40
flexiondotorgDo you mean fbturbo?07:40
ogra_i dont know how it is called, afaik there is an opensource KMS capable driver, but that only does 2D accel07:41
flexiondotorgOr this - https://github.com/Factoid/xf86-video-rpi07:41
ogra_it should work with the KMS xorg driver07:41
flexiondotorgogra_, So the issue is this.07:41
flexiondotorgThe pi2 without firmware, much of the hardware is simply not enabled.07:42
flexiondotorgSome missing i2c, sound and accessible to video acceleration.07:42
ogra_do you use the right DTB overlays in your install ?07:42
flexiondotorgogra_, Well, this is an interesting question.07:42
ogra_i2c is definitely enabled by default in our snappy install07:42
flexiondotorgogra_, My understanding is that the Rpi2 firmware is required to enable those devices though.07:43
flexiondotorgWhich DTB are you using and how have you enabled it?07:43
ogra_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.txt07:45
ogra_and we ship a set of overlays you can use to en/disable the other devices http://paste.ubuntu.com/12761947/07:46
flexiondotorgogra_, OK. So what "installs" those overlays for Snappy?07:47
flexiondotorgAre you are using uboot in Snappy?07:47
ogra_the kernel package07:47
ogra_we chainload uboot from the binary bootloader07:47
flexiondotorgAh, right.07:47
ogra_the DT config has to happen in the binary bootloader config.txt though07:48
flexiondotorgYes.07:48
ogra_uboot can only read it from ram, it cant apply it to the kernel during boot (sadly a limitation of the rpi port)07:48
ogra_the dtbs come with your kernel packae under /lib/firmware07:49
ogra_copy them to the overlays directory in your bootloader setup and config.txt can see them07:49
flexiondotorgogra_, OK, that is interesting.07:50
flexiondotorgI'll take a look at the linux-rpi2 source packages to better understand the above.07:50
ogra_you dont need the "firmware" (whatever people mean when saying that) to bring up devices ...07:51
flexiondotorgI was thinking of making a PPA with some packages to provide the firmware but that maynot be required.07:51
flexiondotorgHah ^^^ :-)07:51
flexiondotorgBut I do need the VideoCore device to be available, which currently it is not.07:52
ogra_the onlly "firmware" is the binary blob (start.elf, fixup.dat) ... everything past this is kernel07:52
ogra_and shits firmware is the binary blob for the graphics driver, with some bootloader code added07:53
ogra_s/hits/this/ ... tsk07:53
ogra_(freudian slip :P )07:53
flexiondotorgOK, so I need to figure out why the VideoCore device is not acceeible then.07:53
flexiondotorgOK, thanks for the pointers.07:54
flexiondotorgI'll see what I can figure out.07:54
flexiondotorgogra_, Which source package is providing the firmware for the rpi2?07:55
ogra_the pi2.snap from the store07:56
flexiondotorgogra_, Ah.07:57
flexiondotorgThat firmware is not in the Debian packages/07:57
flexiondotorg?07:57
ogra_http://people.canonical.com/~platform/snappy/raspberrypi2/ has a copy ... (you can unpack snaps with "dpkg-deb -x  /path/to/snap ./unpack")07:57
ogra_no, the oem snaps usually dont have a deb equivalent07:57
ogra_(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 )07:58
flexiondotorgogra_, Understood.08:00
flexiondotorgWe were talking a cross purposes. My mistake.08:00
flexiondotorgUbuntu MATE 15.10 is not snap based.08:00
ogra_i know08:00
flexiondotorgI'm using the linux-raspi2 package.08:00
flexiondotorgIn a traditional Debian setup.08:00
ogra_right08:01
ogra_so you need to find a bootloader setup that works08:01
ogra_and integrates properly with the kernel bits ... i.e. your installer shoudl copy the overlay bits into the right place08:01
flexiondotorgSo, I have a bootable image.08:02
flexiondotorgWith X and Ubuntu MATE working.08:02
flexiondotorgJust missing something for some devices.08:02
flexiondotorgI'm pulling down that snap and having a look.08:03
ogra_well, you are most likely using the dtb from the bootloaer that you got "somewhere" ...08:03
ogra_which means nearly no devices will work at all because the dtb is kernel specific08:03
flexiondotorgThis is where I run out of rope.08:04
ogra_(RaspberryPi2)ubuntu@localhost:~$ ls /lib/firmware/4.2.0-1008-raspi2/device-tree/08:04
ogra_bcm2709-rpi-2-b.dtb  overlays08:04
flexiondotorgI'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.08:04
ogra_you want to have the content of this sitting in the dir of your bootloader (likely some vfat partition on your SD)08:05
flexiondotorgPerfect!08:05
flexiondotorgI'll give that a shot.08:05
ogra_just replace the stuff08:05
flexiondotorgIs 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?08:07
flexiondotorg*the same as?08:07
flexiondotorgBecause if so, I'll integrate that snap into my build.08:07
flexiondotorgI'd like to align with the snappy stuff as much as possible.08:08
flexiondotorgogra_, 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=12097708:23
flexiondotorgogra_, And this ;-)08:29
flexiondotorghttps://bugs.launchpad.net/snappy/+bug/150075508:29
ogra_flexiondotorg, well, thats most likely a question of enabling it in the kernel config (it seems all you need is the right module)08:32
flexiondotorgWhich is closed source :-(08:34
=== chihchun is now known as chihchun_afk
Guest47548hello 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)11:47
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
regumhello everyone21:03
regumI was wondering if anyone has had any success in installing ROS on Ubuntu 15 (arm)21:03
mijkIs it possible to stream Steam to an ARM machine?22:26

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!