[From nobody Thu Jun 25 05:55:35 2020
Received: from mr85p00im-zteg06011501.me.com ([17.58.23.182])
 by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux))
 id 1ilW8l-0000ea-1r
 for openwrt-devel@lists.openwrt.org; Sun, 29 Dec 2019 10:49:44 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai;
 t=1577616579; bh=N6ZT3gXBC1aJOJq7X+6F12AZGhcqgnu8nX6T5+59C0w=;
 h=From:Content-Type:Subject:Message-Id:Date:To;
 b=fP08auExZghypL6Ygplsg7jO2fndx+5zI4ddTT17JU4eXWQxwNAGMgLD4Y1XNZ5ZY
 aV3hJVD0S9XcfKr7bmzajYSXrrky5io6B85zaPBqCeysfswo4nnMrTbFQzdWmWh6NZ
 SCObdRI75u/i+fnBPV/mWuqL7WlWkvVCWagEOYuqO77gWBS2QdwiaPSid0lyusJwR7
 jQgxGbtebyj2tOriJCWaH6+RtlOW7IJrZizG1O5/1pDmiPwHbJ/nIB7jWHNiXkGr4S
 Me3Gf+WUXAMC29kvF46TOQmU1G2/hQWIhgk5r7uPPTi6URu4YQzFVW/ux6mq6Smf6Z
 OzbO/Gt9Y26Eg==
Received: from [192.168.176.103] (89-24-43-124.nat.epc.tmcz.cz [89.24.43.124])
 by mr85p00im-zteg06011501.me.com (Postfix) with ESMTPSA id
 3D7402A0BB9
 for &lt;openwrt-devel@lists.openwrt.org&gt;; Sun, 29 Dec 2019 10:49:39 +0000 (UTC)
From: =?utf-8?Q?Petr_Nov=C3=A1k?= &lt;petrn@me.com&gt;
Content-Type: multipart/alternative;
 boundary=&quot;Apple-Mail=_A36FCA27-0A9B-455F-8A29-00DC451D2488&quot;
Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\))
Subject: Sysupgrade possibly broken in recent development snapshots:
 &quot;message&quot;: &quot;Firmware image couldn't be validated&quot; 
Message-Id: &lt;5C8E2171-198A-49B9-8306-9A025BE15575@me.com&gt;
Date: Sun, 29 Dec 2019 11:49:36 +0100
To: openwrt-devel@lists.openwrt.org
X-Mailer: Apple Mail (2.3608.40.2.2.4)
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, ,
 definitions=2019-12-29_02:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1
 malwarescore=0
 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0
 mlxlogscore=812 adultscore=0 classifier=spam adjust=0 reason=mlx
 scancount=1 engine=8.0.1-1908290000 definitions=main-1912290103
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 
X-CRM114-CacheID: sfid-20191229_024943_116353_BD299C6E 
X-CRM114-Status: UNSURE (   6.70  )
X-CRM114-Notice: Please train this message.
X-Spam-Score: -0.9 (/)
X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary:
 Content analysis details:   (-0.9 points)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/,
 low trust [17.58.23.182 listed in list.dnswl.org]
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (petrn[at]me.com)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.0 HTML_MESSAGE           BODY: HTML included in message
 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
 -0.1 DKIM_VALID_EF          Message has a valid DKIM or DK signature from
 envelope-from domain
 0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily
 valid
 -0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from
 author's domain


--Apple-Mail=_A36FCA27-0A9B-455F-8A29-00DC451D2488
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

I seem to be experiencing a problem in the recent development snapshots =
of OpenWRT (running on RPi4): the sysupgrade does fail to upgrade the =
image.

it looks like this:

# sysupgrade openwrt-brcm2708-bcm2711-rpi-4-squashfs-sysupgrade.img.gz=20=

Reading partition table from bootdisk...
Reading partition table from image...
Saving config files...
Commencing upgrade. Closing all shell sessions.
{
	&quot;error&quot;: {
		&quot;message&quot;: &quot;Firmware image couldn't be validated&quot;
	}
}
Command failed: Unknown error


The problem does not seem to be with the image - older builds upgrade to =
the same image just fine, but the recent ones seem to fail.

Example: taking the most recent rpi-4-squashfs-factory.img.gz from =
2019-12-28 and trying to upgrade to rpi-4-squashfs-sysupgrade.img.gz =
from the same date does fail as indicated above.

Thanks for any hint with a workaround or a fix.

Petr





--Apple-Mail=_A36FCA27-0A9B-455F-8A29-00DC451D2488
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

&lt;html&gt;&lt;head&gt;&lt;meta http-equiv=3D&quot;Content-Type&quot; content=3D&quot;text/html; =
charset=3Dus-ascii&quot;&gt;&lt;/head&gt;&lt;body style=3D&quot;word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;&quot; class=3D&quot;&quot;&gt;I =
seem to be experiencing a problem in the recent development snapshots of =
OpenWRT (running on RPi4): the sysupgrade does fail to upgrade the =
image.&lt;div class=3D&quot;&quot;&gt;&lt;br class=3D&quot;&quot;&gt;&lt;/div&gt;&lt;div class=3D&quot;&quot;&gt;it looks like =
this:&lt;/div&gt;&lt;div class=3D&quot;&quot;&gt;&lt;br class=3D&quot;&quot;&gt;&lt;/div&gt;&lt;div class=3D&quot;&quot;&gt;&lt;div =
class=3D&quot;&quot;&gt;&lt;font face=3D&quot;Courier New&quot; class=3D&quot;&quot;&gt;# sysupgrade =
openwrt-brcm2708-bcm2711-rpi-4-squashfs-sysupgrade.img.gz&nbsp;&lt;/font&gt;&lt;/di=
v&gt;&lt;div class=3D&quot;&quot;&gt;&lt;font face=3D&quot;Courier New&quot; class=3D&quot;&quot;&gt;Reading =
partition table from bootdisk...&lt;/font&gt;&lt;/div&gt;&lt;div class=3D&quot;&quot;&gt;&lt;font =
face=3D&quot;Courier New&quot; class=3D&quot;&quot;&gt;Reading partition table from =
image...&lt;/font&gt;&lt;/div&gt;&lt;div class=3D&quot;&quot;&gt;&lt;font face=3D&quot;Courier New&quot; =
class=3D&quot;&quot;&gt;Saving config files...&lt;/font&gt;&lt;/div&gt;&lt;div class=3D&quot;&quot;&gt;&lt;font =
face=3D&quot;Courier New&quot; class=3D&quot;&quot;&gt;Commencing upgrade. Closing all shell =
sessions.&lt;/font&gt;&lt;/div&gt;&lt;div class=3D&quot;&quot;&gt;&lt;font face=3D&quot;Courier New&quot; =
class=3D&quot;&quot;&gt;{&lt;/font&gt;&lt;/div&gt;&lt;div class=3D&quot;&quot;&gt;&lt;font face=3D&quot;Courier New&quot; =
class=3D&quot;&quot;&gt;&lt;span class=3D&quot;Apple-tab-span&quot; style=3D&quot;white-space:pre&quot;&gt;	=
&lt;/span&gt;&quot;error&quot;: {&lt;/font&gt;&lt;/div&gt;&lt;div class=3D&quot;&quot;&gt;&lt;font face=3D&quot;Courier New&quot; =
class=3D&quot;&quot;&gt;&lt;span class=3D&quot;Apple-tab-span&quot; style=3D&quot;white-space:pre&quot;&gt;		=
&lt;/span&gt;&quot;message&quot;: &quot;Firmware image couldn't be =
validated&quot;&lt;/font&gt;&lt;/div&gt;&lt;div class=3D&quot;&quot;&gt;&lt;font face=3D&quot;Courier New&quot; =
class=3D&quot;&quot;&gt;&lt;span class=3D&quot;Apple-tab-span&quot; style=3D&quot;white-space:pre&quot;&gt;	=
&lt;/span&gt;}&lt;/font&gt;&lt;/div&gt;&lt;div class=3D&quot;&quot;&gt;&lt;font face=3D&quot;Courier New&quot; =
class=3D&quot;&quot;&gt;}&lt;/font&gt;&lt;/div&gt;&lt;div class=3D&quot;&quot;&gt;&lt;font face=3D&quot;Courier New&quot; =
class=3D&quot;&quot;&gt;Command failed: Unknown error&lt;/font&gt;&lt;/div&gt;&lt;/div&gt;&lt;div =
class=3D&quot;&quot;&gt;&lt;br class=3D&quot;&quot;&gt;&lt;/div&gt;&lt;div class=3D&quot;&quot;&gt;&lt;br class=3D&quot;&quot;&gt;&lt;/div&gt;&lt;div =
class=3D&quot;&quot;&gt;The problem does not seem to be with the image - older builds =
upgrade to the same image just fine, but the recent ones seem to =
fail.&lt;/div&gt;&lt;div class=3D&quot;&quot;&gt;&lt;br class=3D&quot;&quot;&gt;&lt;/div&gt;&lt;div class=3D&quot;&quot;&gt;Example: =
taking the most recent&nbsp;rpi-4-squashfs-factory.img.gz from =
2019-12-28 and trying to upgrade =
to&nbsp;rpi-4-squashfs-sysupgrade.img.gz from the same date does fail as =
indicated above.&lt;/div&gt;&lt;div class=3D&quot;&quot;&gt;&lt;br class=3D&quot;&quot;&gt;&lt;/div&gt;&lt;div =
class=3D&quot;&quot;&gt;Thanks for any hint with a workaround or a fix.&lt;/div&gt;&lt;div =
class=3D&quot;&quot;&gt;&lt;br class=3D&quot;&quot;&gt;&lt;/div&gt;&lt;div class=3D&quot;&quot;&gt;Petr&lt;/div&gt;&lt;div =
class=3D&quot;&quot;&gt;&lt;br class=3D&quot;&quot;&gt;&lt;/div&gt;&lt;div class=3D&quot;&quot;&gt;&lt;br class=3D&quot;&quot;&gt;&lt;/div&gt;&lt;div =
class=3D&quot;&quot;&gt;&lt;br class=3D&quot;&quot;&gt;&lt;/div&gt;&lt;div class=3D&quot;&quot;&gt;&lt;br =
class=3D&quot;&quot;&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;=

--Apple-Mail=_A36FCA27-0A9B-455F-8A29-00DC451D2488--

]