Page 1 of 1

Kernel 3.16.1 for Debian Squeeze B3 released

Posted: 29 Aug 2014, 14:32
by sakaki
Hello,

a few people have expressed interest in trying out the 3.16.1 (latest stable) kernel on a standard (Excito Debian squeeze) B3.

So, I have fired up crossdev once again, and built one for you. You can find it here (on GitHub). Full instructions (and warnings!) are provided on the GitHub page. BTW, as for the Gentoo live-USB image for B3, no U-boot flashing is necessary to boot the supplied kernel. A module set is also provided.

Early tests show that most things still seem to work (Excito web interface etc.)... but YMMV.

Have fun and let me know how you get on ^-^

sakaki

Re: Kernel 3.16.1 for Debian Squeeze B3 released

Posted: 31 Aug 2014, 10:07
by sakaki
A little more detail on LEDs etc...

On a 'stock' B3, to change the LED to green, per these instructions you would execute:

Code: Select all

stock_b3 # echo 2 > /sys/bus/platform/devices/bubbatwo/color
Whereas in the 3.16.1 kernel, you would need instead to use:

Code: Select all

3.16.1_b3 # echo -n 1 > /sys/class/leds/bubba3\:green\:programming/brightness
Or, more properly:

Code: Select all

3.16.1_b3 # cat /sys/class/leds/bubba3\:green\:programming/max_brightness > \
  /sys/class/leds/bubba3\:green\:programming/brightness
You can see the kirkwood-b3 device tree file here, from which the new paths can easily be inferred.

Of course, it's not all bad: because the LED is now a standard kernel device, some fun stuff like triggers becomes available to you. For example, you could write:

Code: Select all

3.16.1_b3 #  echo -n "heartbeat" > /sys/class/leds/bubba3\:green\:programming/trigger
As a lot of the Excito software is scripted, it should in theory be possible to patch it to work under 3.16.1. For example, /etc/init.d/led_on etc. would be easy to change. The rear button appears to be controlled by /sbin/bubba-buttond, which is compiled, so that might be a little trickier to replace...