Bug#872601: flash-kernel: Patch for Raspberry Pi 2 support

2017-08-19 Thread Petter Reinholdtsen

Control: found -1 3.35
Control: notfound -1 3.79
Control: close -1

Forgot to add a version number to this report.

While trying to apply this patch to the latest version, I discovered
that there already is a RPi entry in version 3.79, and the reason this
did not work for me was that the wrong kernel (the one from the
collabora repo) was installed and not recognized.

I thus suspect this issue is a bit besides what can and should be fixed
in a Debian package, and flag it as not found in version 3.79.

-- 
Happy hacking
Petter Reinholdtsen



Bug#872601: flash-kernel: Patch for Raspberry Pi 2 support

2017-08-18 Thread Petter Reinholdtsen

Package: flash-kernel
Severity: wishlist
Tags: patch
X-Debbugs-CC: Sjoerd Simons 

Dear Maintainer,

Please consider the attached patch which adds support for Raspberry Pi
2 Model B.

The patch was lifted from
https://repositories.collabora.co.uk/debian/pool/rpi2/f/flash-kernel/ >
found via the blog post on
http://sjoerd.luon.net/posts/2015/02/debian-jessie-on-rpi2/ >
linked to from https://wiki.debian.org/RaspberryPi2 >.

With the patched version of flash-kernel, apt is able to install a new
kernel as it should.

diff -ur flash-kernel-3.35/db/all.db flash-kernel-3.35.co1/db/all.db
--- flash-kernel-3.35/db/all.db 2015-04-06 22:19:51.0 +
+++ flash-kernel-3.35.co1/db/all.db 2015-04-26 18:47:54.0 +
@@ -594,6 +594,11 @@
 Mtd-Initrd: ramdisk
 Bootloader-Sets-Incorrect-Root: yes
 
+Machine: Raspberry pi 2 Model B
+Machine: BCM2709
+Kernel-Flavors: rpi2
+Boot-Kernel-Path: /boot/firmware/kernel7.img
+
 Machine: TI AM335x BeagleBone
 Machine: TI AM335x BeagleBone Black
 Kernel-Flavors: armmp
diff -ur flash-kernel-3.35/debian/changelog 
flash-kernel-3.35.co1/debian/changelog
--- flash-kernel-3.35/debian/changelog  2015-04-06 22:33:25.0 +
+++ flash-kernel-3.35.co1/debian/changelog  2015-04-26 18:46:42.0 
+
@@ -1,3 +1,9 @@
+flash-kernel (3.35.co1) rpi2; urgency=medium
+
+  * Add support for Raspberry pi 2 Model B
+
+ -- Sjoerd Simons   Sun, 26 Apr 2015 20:45:52 
+0200
+
 flash-kernel (3.35) unstable; urgency=medium
 
   * Team upload.

-- 
Happy hacking
Petter Reinholdtsen