Ubuntu Core Gets Support For Raspberry Pi 2 GPIO and I2C
An anonymous reader writes: Ubuntu Core is a tiny Ubuntu distribution aimed at the Internet of Things, using a new transactional packaging format called Snappy rather than the venerable Debian packaging format. It recently gained support for I2C and GPIO on the Raspberry Pi 2, and a quick demo is given here. Ubuntu's Core support site says that the support for Raspberry Pi 2 isn't yet official, but provides some handy tips for anyone who wants to try it out.
The raspberry hardware i2c implementation is broken. Don't try to communicate with microcontrollers, it will fail due to the broken clock stretching....
I had to do SW bitbang i2c, what a mess !!
aaaaaaa
Snappy core is a root filesystem image built from Ubuntu deb packages and with binary diff updates. Snappy packages are built the same way, and the core runs them in apparmor to provide sandboxing.