From owner-freebsd-arm@freebsd.org Sat Nov 7 19:01:58 2020 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E95A646798C for ; Sat, 7 Nov 2020 19:01:58 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx.blih.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CT67T5zVQz3RJK for ; Sat, 7 Nov 2020 19:01:57 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1604775710; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=tFcQYGjfDNvuf0TtcSjUK8NtuBlE9U4nD3etjDWljgw=; b=Ic4hAMd2R8Qu3Lu2sYH9ghrLLvJsT4lzBy7ponZAAjrr2bGcvhZi44kI1tMCMhMwpEjZGR PdgTORXVjLthTvJ/ZBDYQsTGOnLKHYHr8ByqvqaT8lsdVjYQC8+tYEF8hPjimZRqP2K5fd LcaFgA06agyBUI6tB/HYaUjZ72ApZ+g= Received: from skull.home.blih.net (lfbn-idf2-1-288-247.w82-123.abo.wanadoo.fr [82.123.126.247]) by mx.blih.net (OpenSMTPD) with ESMTPSA id 6aee6f19 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 7 Nov 2020 19:01:50 +0000 (UTC) Date: Sat, 7 Nov 2020 20:01:49 +0100 From: Emmanuel Vadot To: Guy Yur Cc: freebsd-arm@freebsd.org Subject: Re: u-boot 2020.07 fails to see BOOTARM.EFI on fat partition with custom installation Message-Id: <20201107200149.09adb38e8b29687e4e012074@bidouilliste.com> In-Reply-To: <20201101214254.149936656f5cea099c85eb9c@bidouilliste.com> References: <18d7b209-959e-7c4b-1d5e-1c7b9506783c@gmail.com> <20201101214254.149936656f5cea099c85eb9c@bidouilliste.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4CT67T5zVQz3RJK X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mx header.b=Ic4hAMd2; dmarc=pass (policy=none) header.from=bidouilliste.com; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.155.74 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; DKIM_TRACE(0.00)[bidouilliste.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[bidouilliste.com,none]; NEURAL_HAM_SHORT(-1.00)[-0.999]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[212.83.155.74:from]; ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mx]; FREEFALL_USER(0.00)[manu]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[212.83.155.74:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2020 19:01:59 -0000 On Sun, 1 Nov 2020 21:42:54 +0100 Emmanuel Vadot wrote: > On Sun, 1 Nov 2020 21:25:12 +0200 > Guy Yur wrote: >=20 > > Hi, > >=20 > > u-boot 2020.01 through 2020.07 have a regression where u-boot only sees > > shortname files on the fat filesystem if they have the archive attribut= e=20 > > set. > >=20 > > The issue was fixed in u-boot 2020.10: > > https://github.com/u-boot/u-boot/commit/1788a9697f51aebb25623e6216c0930= 4756748ff > >=20 > > Are there plans to update u-boot-master port to 2020.10? >=20 > Yes, I have the update ready but this broke a few things in the > rockpro64 port. I'll backport the fix next week if I didn't find time > to fix everything else needed for the 2020.10 update. >=20 > Thanks for the report. >=20 > > The issue doesn't affect images created by makefs which sets the flag. > > When doing custom steps (newfs_msdos, mount, copy loader.efi to > > EFI/BOOT/BOOTARM.EFI and umount),if the source file is on UFS, > > the target file will not have UF_ARCHIVE set. > > u-boot will fail to see BOOTARM.EFI and the system will not boot. > >=20 > > Specifically, this happened to me with u-boot-orangepi-pc. > >=20 > > 0040c440=A0 42 4f 4f 54 41 52 4d 20=A0 45 46 49 00 00 83 d3 9e |BOOTARM= =20 > > EFI.....| > > 0040c450=A0 5f 51 5f 51 00 00 d3 9e=A0 5f 51 8f 00 a8 a7 08 00=A0=20 > > |_Q_Q...._Q......| > >=20 > > Thanks, > > Guy Yur > >=20 > > _______________________________________________ > > freebsd-arm@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" Just commited 2020.10, let me know if you have any problems. Thanks, --=20 Emmanuel Vadot