[From nobody Thu Jun 25 05:55:36 2020
Received: from mr85p00im-hyfv06011301.me.com ([17.58.23.184])
 by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux))
 id 1im0x9-0002Vs-3I
 for openwrt-devel@lists.openwrt.org; Mon, 30 Dec 2019 19:43:48 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai;
 t=1577735020; bh=bGhAfY1sTVUIvUxtSN5Fsgi8r8Kfo19M+qmkYJ9pqRw=;
 h=Content-Type:Subject:From:Date:Message-Id:To;
 b=emyKAMrTrlu6WgCUiW9n7yWxCVUgLaCK27rXEAmBrUqxfujffWH6dATTLLlby7klP
 Gr1Nafh+sDEm3tZz3CnRibWl+AOVAwnQ/xGt0/Ig8T4G2qy0GMVEukaTZ/fPsmXBHz
 oHS3ohgTjDtbSzlnaUvk39WZ8La8Wc5IPmSNpFPNLRy7eHiNr/E0yL4yNdJESJZ4Ix
 VpeuZmIV4Hua4ONYvz4yGcQcv+5u5fgJxXIEb4vSE46SxlaYFjTNGW55xKZcxMuzwD
 JXYMPymTfXL2ZimdFIR1qGerTfaYmm9I6KSdPqp2j2nolWUV+AlJMvCC4+m9Kt08F7
 5KvtPPvAsR9KQ==
Received: from [192.168.176.103] (89-24-43-124.nat.epc.tmcz.cz [89.24.43.124])
 by mr85p00im-hyfv06011301.me.com (Postfix) with ESMTPSA id
 9EF18580781; Mon, 30 Dec 2019 19:43:38 +0000 (UTC)
Content-Type: text/plain;
	charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\))
Subject: Re: [OpenWrt-Devel] Sysupgrade possibly broken in recent development
 snapshots: &quot;message&quot;: &quot;Firmware image couldn't be validated&quot;
From: =?utf-8?Q?Petr_Nov=C3=A1k?= &lt;petrn@me.com&gt;
In-Reply-To: &lt;20191230190746.GI70184@meh.true.cz&gt;
Date: Mon, 30 Dec 2019 20:43:36 +0100
Cc: Hannu Nyman &lt;hannu.nyman@welho.com&gt;,
 openwrt-devel@lists.openwrt.org
Content-Transfer-Encoding: quoted-printable
Message-Id: &lt;357266D6-1E26-4066-AFE5-746C2407B0DF@me.com&gt;
References: &lt;mailman.21094.1577616584.2486.openwrt-devel@lists.openwrt.org&gt;
 &lt;20191229222123.GH70184@meh.true.cz&gt; &lt;20191230190746.GI70184@meh.true.cz&gt;
To: =?utf-8?Q?Petr_=C5=A0tetiar?= &lt;ynezz@true.cz&gt;
X-Mailer: Apple Mail (2.3608.40.2.2.4)
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, ,
 definitions=2019-12-30_06:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0
 malwarescore=0
 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0
 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx
 scancount=1 engine=8.0.1-1908290000 definitions=main-1912300177
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 
X-CRM114-CacheID: sfid-20191230_114347_151915_87E917F3 
X-CRM114-Status: UNSURE (   8.85  )
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.184 listed in list.dnswl.org]
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (petrn[at]me.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
 -0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from
 author's domain
 0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily
 valid
 -0.1 DKIM_VALID_EF          Message has a valid DKIM or DK signature from
 envelope-from domain

Hi Petr,

thanks a lot for the effort. I will do my best to reproduce the issue =
giving more details, I will post any more details here tomorrow.

PN

&gt; On 30 Dec 2019, at 20:07, Petr =C5=A0tetiar &lt;ynezz@true.cz&gt; wrote:
&gt;=20
&gt; Petr =C5=A0tetiar &lt;ynezz@true.cz&gt; [2019-12-29 23:21:23]:
&gt;=20
&gt;&gt; So perhaps this is something Cortex-A72 related?
&gt;=20
&gt; I've just tried it under QEMU 4.2.50 with:
&gt;=20
&gt; * machine: virt
&gt; * cpu:     cortex-a72
&gt; * rootfs:  =
http://downloads.openwrt.org/snapshots/targets/armvirt/64/openwrt-armvirt-=
64-rootfs-squashfs.img.gz
&gt;            (OpenWrt SNAPSHOT, r11829-e3e939d8e6)
&gt;=20
&gt; and the result is same as on x86/64, I'm unable to reproduce the =
issue:
&gt;=20
&gt; root@OpenWrt:/# sysupgrade =
http://downloads.openwrt.org/snapshots/targets/brcm2708/bcm2711/openwrt-br=
cm2708-bcm2711-rpi-4-squashfs-sysupgrade.img.gz
&gt; Downloading =
'http://downloads.openwrt.org/snapshots/targets/brcm2708/bcm2711/openwrt-b=
rcm2708-bcm2711-rpi-4-squashfs-sysupgrade.img.gz'
&gt; Connecting to 176.9.48.73:80
&gt; Writing to '/tmp/sysupgrade.img'
&gt; /tmp/sysupgrade.img  100% |*******************************| 12067k  =
0:00:00 ETA
&gt; Download completed (12357050 bytes)
&gt; Device linux,dummy-virt not supported by this image
&gt; Supported devices: raspberrypi,4-model-b
&gt; Image check failed.
&gt;=20
&gt; root@OpenWrt:/# echo raspberrypi,4-model-b &gt; /tmp/sysinfo/board_name
&gt;=20
&gt; root@OpenWrt:/# sysupgrade /tmp/sysupgrade.img=20
&gt; Saving config files...
&gt; Commencing upgrade. Closing all shell sessions.
&gt; killall: telnetd: no process killed
&gt; Sending TERM to remaining processes ... dnsmasq netifd odhcpd ntpd =
ubusd urngd logd=20
&gt; Sending KILL to remaining processes ...=20
&gt; Switching to ramdisk...
&gt; ...snip...
&gt;=20
&gt; So I'm wondering what is going on there.
&gt;=20
&gt; -- ynezz


]