Bug#961377: raspi3-firmware: recent stable update causes non-booting systems

2020-07-06 Thread Gunnar Wolf
tags 961377 + pending
thanks

I have uploaded the fix and mailed the Stable Release Managers, this
should be fixed soon.

Thanks!



Bug#961377: raspi3-firmware: recent stable update causes non-booting systems

2020-07-03 Thread Gunnar Wolf
Thorsten Glaser dijo [Fri, Jul 03, 2020 at 04:28:37PM +]:
> Gunnar Wolf, Sun, 24 May 2020 16:03:04 -0500:
> 
> >I will try to build+test+upload this in the next couple of days.
> 
> $ rmadison -u qa raspi3-firmware
>  raspi3-firmware | 1.20161123-2 | stretch/non-free  | source, arm64
>  raspi3-firmware | 1.20190215-1+deb10u3 | buster/non-free   | source, arm64, 
> armel, armhf
>  raspi3-firmware | 1.20200212-1 | bullseye/non-free | arm64, armel, 
> armhf
>  raspi3-firmware | 1.20200212-1 | sid/non-free  | arm64, armel, 
> armhf
> 
> *cough*

Cough indeed!

Thanks for the reminder - I am trying to get some time to fix some
not directly related issues in this package (and failed).

I will try to upload today. I am short on time, but will _surely_ do
an upload by early next week.


signature.asc
Description: PGP signature


Bug#961377: raspi3-firmware: recent stable update causes non-booting systems

2020-07-03 Thread Thorsten Glaser
Gunnar Wolf, Sun, 24 May 2020 16:03:04 -0500:

>I will try to build+test+upload this in the next couple of days.

$ rmadison -u qa raspi3-firmware
 raspi3-firmware | 1.20161123-2 | stretch/non-free  | source, arm64
 raspi3-firmware | 1.20190215-1+deb10u3 | buster/non-free   | source, arm64, 
armel, armhf
 raspi3-firmware | 1.20200212-1 | bullseye/non-free | arm64, armel, 
armhf
 raspi3-firmware | 1.20200212-1 | sid/non-free  | arm64, armel, 
armhf

*cough*

bye,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg



Bug#961377: raspi3-firmware: recent stable update causes non-booting systems

2020-05-27 Thread Thorsten Glaser
Hi Gunnar,

>VERY GOOD CATCH! Thanks a lot for this. I'm pushing it to Git right

you’re welcome.

>
> https://salsa.debian.org/debian/raspi-firmware/-/commit/2bf38f62de0514c2759f2c33d147c935e4d044bf

Note this caused unbootable RPi 3B+ systems, so it was actually a
severe regression wrt. the previous upload, not just the 0/2 ones.

bye,
//mirabilos
-- 
  "Using Lynx is like wearing a really good pair of shades: cuts out
   the glare and harmful UV (ultra-vanity), and you feel so-o-o COOL."
 -- Henry Nelson, March 1999



Bug#961377: raspi3-firmware: recent stable update causes non-booting systems

2020-05-24 Thread Gunnar Wolf
tags 961377 + confirmed,pending
thanks

Thorsten Glaser dijo [Sat, May 23, 2020 at 08:55:01PM +0200]:
> Package: raspi3-firmware
> Version: 1.20190215-1+deb10u3
> Severity: critical
> Tags: patch buster
> Justification: breaks the whole system
> 
> /etc/kernel/postinst.d/z50-raspi3-firmware in +deb10u3 contains:
> 
>67   for dtn in ${dtb_path}/bcm*.dtb; do
>68 [ -e "${dtb}" ] && cp "${dtb}" /boot/firmware/
>69   done
> 
> It’s hard to see, a typo, and not in unstable (where commit
> 165f43a6ca14d240f199e8ab8924e503ca5f427d got it right), but
> commit fc3df0e8c64c2c62a54e0efcd226e36f28ccd3a4 uses “dtn”,
> not “dtb”, as for variable, but refers to “dtb”.

VERY GOOD CATCH! Thanks a lot for this. I'm pushing it to Git right
away, and will try to push a new version soon. It slipped under my
nose :-(

I will try to build+test+upload this in the next couple of days.


https://salsa.debian.org/debian/raspi-firmware/-/commit/2bf38f62de0514c2759f2c33d147c935e4d044bf



Bug#961377: raspi3-firmware: recent stable update causes non-booting systems

2020-05-23 Thread Thorsten Glaser
Package: raspi3-firmware
Version: 1.20190215-1+deb10u3
Severity: critical
Tags: patch buster
Justification: breaks the whole system

/etc/kernel/postinst.d/z50-raspi3-firmware in +deb10u3 contains:

   67   for dtn in ${dtb_path}/bcm*.dtb; do
   68 [ -e "${dtb}" ] && cp "${dtb}" /boot/firmware/
   69   done

It’s hard to see, a typo, and not in unstable (where commit
165f43a6ca14d240f199e8ab8924e503ca5f427d got it right), but
commit fc3df0e8c64c2c62a54e0efcd226e36f28ccd3a4 uses “dtn”,
not “dtb”, as for variable, but refers to “dtb”.

This causes creation of systems that cannot boot (user error
description “[…] but when I install the SD card on the Pi and
boot it, I end up with this multicolored starting screen. It
does not go any further.”) which is really tricky to debug.

The following patch causes the four files…
-rwxr-xr-x 1 root root13593 May 23 20:53 bcm2837-rpi-3-a-plus.dtb
-rwxr-xr-x 1 root root13637 May 23 20:53 bcm2837-rpi-3-b-plus.dtb
-rwxr-xr-x 1 root root13445 May 23 20:53 bcm2837-rpi-3-b.dtb
-rwxr-xr-x 1 root root13433 May 23 20:53 bcm2837-rpi-cm3-io3.dtb
… to show up in /boot/firmware/ and should (I cannot boot-test
it currently) therefore fix this problem:


diff --git a/debian/kernel/postinst.d/z50-raspi3-firmware 
b/debian/kernel/postinst.d/z50-raspi3-firmware
index 5d3dd8e..04ebb1d 100755
--- a/debian/kernel/postinst.d/z50-raspi3-firmware
+++ b/debian/kernel/postinst.d/z50-raspi3-firmware
@@ -64,7 +64,7 @@ else
 fi
 
 if [ "$KERNEL" = "auto" ]; then
-  for dtn in ${dtb_path}/bcm*.dtb; do
+  for dtb in ${dtb_path}/bcm*.dtb; do
 [ -e "${dtb}" ] && cp "${dtb}" /boot/firmware/
   done
 


-- System Information:
Debian Release: 10.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: arm64 (aarch64)

Kernel: Linux 5.5.0-1-amd64 (SMP w/2 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 
(charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages raspi3-firmware depends on:
ii  dosfstools  4.1-2

raspi3-firmware recommends no packages.

raspi3-firmware suggests no packages.

-- Configuration Files:
/etc/default/raspi3-firmware changed:
CMA=128M


-- no debconf information