From owner-freebsd-uboot@freebsd.org Fri Oct 25 08:18:42 2019 Return-Path: Delivered-To: freebsd-uboot@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 085DD169FB8 for ; Fri, 25 Oct 2019 08:18:42 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46zxp86Q8wz4CwQ for ; Fri, 25 Oct 2019 08:18:40 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id d5b1da54; Fri, 25 Oct 2019 10:18:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=ZoWR5N39jk3yvfjVSMZZfn34gy4=; b=P1uPIrjdksO38Azc3ux0o/S2raHh tWBdb2wBNyqHLE0gaFwNrn6uGevH3e6Vdc1AzQvA23BFEZWF7V2h/CiPgGnF57+c K3YM+qX2JP0RC2Bx/ZQo7l/Wcqi3JN+zZqN6DuiaSc4CCKYNf72vpOei7wiPKS0w zsFcPHClS3rpoa4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=F8XDlm9O+aL5FAMB9uA64V7Gw6VV4H8lA6EC3EI8VNS54grDvV9SXVal usFeRIfMSgK+CFfvZ9vnb7+l7v8XgxMiM21wjtI/JjEPDtkHe29n2yIUSLglegUZ Kx095LR93hCjd22/47JwDzOaAOHHdjI/b9QjHuHW7b/VW8gt264= Received: from sonic.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id bdf3ab29 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Fri, 25 Oct 2019 10:18:33 +0200 (CEST) Date: Fri, 25 Oct 2019 10:18:32 +0200 From: Emmanuel Vadot To: Gary Otten Cc: freebsd-uboot@freebsd.org Subject: Re: u-boot-a64-olinuxino difference between U-Boot SPL 2019.10 & U-Boot SPL 2019.07 Message-Id: <20191025101832.2b442ecdbf10b68edd7a78ea@bidouilliste.com> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 46zxp86Q8wz4CwQ X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mail header.b=P1uPIrjd; dmarc=none; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.177.182 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-1.43 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mail]; NEURAL_HAM_MEDIUM(-0.93)[-0.935,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.83.177.182/32]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[bidouilliste.com]; NEURAL_HAM_LONG(-0.98)[-0.982,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.39)[ip: (-0.62), ipnet: 212.83.160.0/19(2.45), asn: 12876(0.10), country: FR(-0.00)]; ASN(0.00)[asn:12876, ipnet:212.83.160.0/19, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-uboot@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of uboot with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2019 08:18:42 -0000 Hi Gary, On Thu, 24 Oct 2019 19:37:48 -0400 Gary Otten wrote: > The 2019.10 u-boot I compiled with with the a64-olinuxino_defconfig > configuration doesn't find the UFS partition the old one 2019.07 that is in > the ports pre-compiled does. Is there a configuration setting that I must > set before compiling? Or did I overlook something else? Is my SD card > layout appropriate, or causing the problem? > > *********************************************************************************** > U-Boot SPL 2019.07 (from the pre-made package) (this works) > (partial bootup txt) > > Initializing modules: ZFS UFS > Load Path: /efi\boot\bootaa64.efi > Load Device: > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,0x01,0,0x800,0x64000) > Probing 3 block devices.....* done > ZFS found no pools > UFS found 1 partition > Consoles: EFI console > FreeBSD/arm64 EFI loader, Revision 1.1 > > Command line arguments: loader.efi > EFI version: 2.70 > EFI Firmware: Das U-Boot (rev 8217.1792) > Console: efi (0) > Load Device: > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,0x01,0,0x96800,0x1c8b800) > Trying ESP: > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,0x01,0,0x96800,0x1c8b800) > Setting currdev to disk0p2: > Loading /boot/defaults/loader.conf > Loading /boot/device.hints > Loading /boot/loader.conf > Loading /boot/loader.conf.local > - > Loading kernel... > > ******************************************************************************* > > > U-Boot SPL 2019.10 (Compiled by myself) > (partial bootup txt) > > Initializing modules: ZFS UFS > Load Path: /efi\boot\bootaa64.efi > Load Device: > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,0x01,0,0x800,0x64000) > Probing 3 block devices...... done > ZFS found no pools > UFS found no partitions > Failed to load '/boot/loader.efi' > panic: No bootable partitions found! > ## Application terminated, r = 1 > EFI LOAD FAILED: continuing... > Card did not respond to voltage select! > Device 0: unknown device > ethernet@1c30000 Waiting for PHY auto negotiation to complete......... > TIMEOUT ! > BOOTP broadcast 1 > BOOTP broadcast 2 > BOOTP broadcast 3 > **************************************************************************************************** > My SD card layout. > > da2 MBR (15G) > free (993k) > 1 efi (200M) > free (100M) > 2 freebsd (active) (14G) > > > da2s2 BSD (14G) > 1 freebsd-ufs (14G) > _______________________________________________ > freebsd-uboot@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-uboot > To unsubscribe, send any mail to "freebsd-uboot-unsubscribe@freebsd.org" You are using boot1.efi as EFI/BOOT/BOOTAA64.EFI while you should use loader.efi directly. U-Boot 2019.10 changed some stuff related to alignement for IO and only loader.efi was updated to cope with this changed. boot1.efi was never really supported on aarch64. Cheers, -- Emmanuel Vadot