From owner-freebsd-uboot@freebsd.org Thu Oct 24 23:46:20 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 B441815DC71 for ; Thu, 24 Oct 2019 23:46:20 +0000 (UTC) (envelope-from gdotten@gmail.com) Received: from mail-qt1-x835.google.com (mail-qt1-x835.google.com [IPv6:2607:f8b0:4864:20::835]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46zkQz6X2Nz3JMp for ; Thu, 24 Oct 2019 23:46:19 +0000 (UTC) (envelope-from gdotten@gmail.com) Received: by mail-qt1-x835.google.com with SMTP id c21so507938qtj.12 for ; Thu, 24 Oct 2019 16:46:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=697gpNyWoYFx/4UBo/966229Nlk7Jzw5ooBxhILjFnI=; b=mQtsup7NayKWzeNz0jKhr46OFvdezK/lvRC/ZT56lP8ti6dnl6pUe8/n/ioXwFmbRm ka6iKUnruM/SaGUCevH28MsyWUctIwktB04ny8tX/zTqQrhNZhtRtnb9i6dyonnwrU7O XD8/R0w467SwTuisrjJrZNXbw0/keHRLGpTAMNHv91cjxC5bR5WPiLrtHfoumzdmUxIF XKFXaEgD8T+eL8kyu1nWlWyUJLa4pqpA9J0291WBVskUBay3jJd0lLW//df4KfSCYMHb 4hx/RIWjjHcy6QMBqZ7vG53D02WHIcpYpgVm0NHb3c3OIa9ypPAC94G53f9xmovFhcbU J6Uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=697gpNyWoYFx/4UBo/966229Nlk7Jzw5ooBxhILjFnI=; b=i4Yxa7lk+KOKRZLh0SakMfbvrxADaWg0fGgrLgTo0/glocVB3pbpnfAn399/a042n7 fHnycLNXFTP3XFcP7Qm06+yiXtXUCLHbsaMEDH2zBefvCVqrSQ3cErWzkcw3fXochSdz /hBcHjGTmr3gp4bYmwjw2x88QQnN24U3BmsaMMgEjWAeTZOaFkcVwhWcZ72KeUOXcw/v JPziM3PHupwvNx3gnKqSYA1o+H5Ebp2adwZ78R959JHHvgOkov0qrRsS3w/zplVR0cwT 4jbjzWVarBAhf1xygChapmP/910RzCMz3IzAkHJUvNKzX9I1pRxkz0brjfQrTquhcG9p 7O1A== X-Gm-Message-State: APjAAAWZ9gzXYYKciGYyOc2BealgVCu5p79BUGFaGPB79GkQQQJgH5rP PHyuOGYa675gC/ZlxWUTOQli35wc2a3JrwTMT0aZEFY6 X-Google-Smtp-Source: APXvYqx5MxDS4k6bK4ouYBE+/li0yGdrtRtg0TW2VLzNyXHbm49rJZZsIVbHEUxo6lo9yEwd5zPZkWgeWlK8zrPxQpQ= X-Received: by 2002:a0c:b59b:: with SMTP id g27mr581975qve.184.1571960778265; Thu, 24 Oct 2019 16:46:18 -0700 (PDT) MIME-Version: 1.0 From: Gary Otten Date: Thu, 24 Oct 2019 19:37:48 -0400 Message-ID: Subject: u-boot-a64-olinuxino difference between U-Boot SPL 2019.10 & U-Boot SPL 2019.07 To: freebsd-uboot@freebsd.org X-Rspamd-Queue-Id: 46zkQz6X2Nz3JMp X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=mQtsup7N; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of gdotten@gmail.com designates 2607:f8b0:4864:20::835 as permitted sender) smtp.mailfrom=gdotten@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-uboot@freebsd.org]; TO_DN_NONE(0.00)[]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(0.00)[ip: (-9.38), ipnet: 2607:f8b0::/32(-2.41), asn: 15169(-2.05), country: US(-0.05)]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[5.3.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Thu, 24 Oct 2019 23:46:20 -0000 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) 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 From owner-freebsd-uboot@freebsd.org Sat Oct 26 17:39:19 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 AD1A917AE28 for ; Sat, 26 Oct 2019 17:39:19 +0000 (UTC) (envelope-from gdotten@gmail.com) Received: from mail-qk1-x742.google.com (mail-qk1-x742.google.com [IPv6:2607:f8b0:4864:20::742]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 470pBZ41x8z4Qs0 for ; Sat, 26 Oct 2019 17:39:18 +0000 (UTC) (envelope-from gdotten@gmail.com) Received: by mail-qk1-x742.google.com with SMTP id m125so828570qkd.8 for ; Sat, 26 Oct 2019 10:39:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=FNFQzp+YQmHKw8cH2SzxJQpeXdlw9skOkRDIIFwHI9A=; b=MPS1ipUh9+le0+vqZKc8k59efLCLSq9kHWkyyBPmWKr6rCM86U778l8Wig7H78YHm3 OOwh3zf/BjXAm6cfjDrHFAEEZnDBqD8lzka1WfNp7NBEG6bGOyq9vXo0MuWwPtdFDaF5 mDBju0Qg8p8MKF+KvnV9QHtUDHFa8Tw9ugh43IrbeWNZ8Cy+ORs9ly4Fm0KWBEa1hQN0 r0T6zG3Xo/ZqW/ybyQHDUo6HD3aM3qny/WDUVFPg2CYZ31b6b+XIUV3dVEtAyjbZ2kP2 aSDwmoK6Knfd/lCUtiO/ByOCP+/reuwyFJRFubknN5zN7BvkXKWiwmnO6i+wcI6bpMDi UrOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FNFQzp+YQmHKw8cH2SzxJQpeXdlw9skOkRDIIFwHI9A=; b=DlIbsaU+C8gzg8/uY0k/LfR6cg0gXuZ1wtBD01UHAGx/yAelUZ5OETLlq2atdTOgfA OvlW8nsBqtrQeI5GhDwNCihGWsgkkfdJ8QmeFE2LWDjWpuqkBUEQge5ffP5A3J3c4JpT tdurO9F2Sk8nrMyhWfAM9JuMDMs5OE068GSlaCa5WAUTz+mmXGShSFRB/sGAdzaCXBBJ 7k1zTLlybRaR5NHl3qu8P9bDf93yCpC+x7IiJIVJecG4YVx1pa/6o+8zSz+M0rZma5pw hhHwhhe43wqmSrEtm6mtorsVUVRGeLK9UAv2Miyxk2uSl4ie5N/uYrjqBr1xaZIqRSAL a3cA== X-Gm-Message-State: APjAAAUA4lw+oo2CXdE0Y36p8HPFO3mcL5htBMY1/DMbv/9dgos+xGqM RA3drvVz+vtGqVhWuuRmTzg1CVxA3pcrro/ol/igyW28 X-Google-Smtp-Source: APXvYqyQs/Q0ZRH+7z9CRb0aWefD8cUbxm4TVfeMjsEClXtuNcorYNs57u3dvEvGwsYF/Q4Bkp1JU/a+W4neDCPpO1I= X-Received: by 2002:a05:620a:648:: with SMTP id a8mr8471447qka.426.1572111556961; Sat, 26 Oct 2019 10:39:16 -0700 (PDT) MIME-Version: 1.0 References: <20191025101832.2b442ecdbf10b68edd7a78ea@bidouilliste.com> In-Reply-To: <20191025101832.2b442ecdbf10b68edd7a78ea@bidouilliste.com> From: Gary Otten Date: Sat, 26 Oct 2019 13:30:46 -0400 Message-ID: Subject: Re: u-boot-a64-olinuxino difference between U-Boot SPL 2019.10 & U-Boot SPL 2019.07 To: Emmanuel Vadot Cc: freebsd-uboot@freebsd.org X-Rspamd-Queue-Id: 470pBZ41x8z4Qs0 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=MPS1ipUh; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of gdotten@gmail.com designates 2607:f8b0:4864:20::742 as permitted sender) smtp.mailfrom=gdotten@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-uboot@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; URI_COUNT_ODD(1.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2.4.7.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; IP_SCORE(0.00)[ip: (3.05), ipnet: 2607:f8b0::/32(-2.40), asn: 15169(-2.05), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Sat, 26 Oct 2019 17:39:19 -0000 I placed the file loader.efi in the /efi/boot/ directory , uboot didn't appear to find it. I also renamed loader.efi to bootaa64.efi. Results for both attempts are below. loader.efi placed in /efi/boot/ *************************************************************** U-Boot SPL 2019.10 (Oct 22 2019 - 12:39:22 -0400) DRAM: 1024 MiB Trying to boot from MMC1 NOTICE: BL31: v2.1(release): NOTICE: BL31: Built : 10:11:05, Oct 20 2019 NOTICE: BL31: Detected Allwinner A64/H64/R18 SoC (1689) NOTICE: BL31: Found U-Boot DTB at 0x408c458, model: Olimex A64-Olinuxino NOTICE: BL31: PMIC: Detected AXP803 on RSB. U-Boot 2019.10 (Oct 22 2019 - 12:39:22 -0400) Allwinner Technology CPU: Allwinner A64 (SUN50I) Model: Olimex A64-Olinuxino DRAM: 1 GiB MMC: mmc@1c0f000: 0, mmc@1c10000: 1 Loading Environment from FAT... Card did not respond to voltage select! In: serial Out: serial Err: serial Net: phy interface7 eth0: ethernet@1c30000 starting USB... Bus usb@1c1a000: USB EHCI 1.00 Bus usb@1c1a400: USB OHCI 1.0 Bus usb@1c1b000: USB EHCI 1.00 Bus usb@1c1b400: USB OHCI 1.0 scanning bus usb@1c1a000 for devices... 1 USB Device(s) found scanning bus usb@1c1a400 for devices... 1 USB Device(s) found scanning bus usb@1c1b000 for devices... 1 USB Device(s) found scanning bus usb@1c1b400 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... 32443 bytes read in 8 ms (3.9 MiB/s) Card did not respond to voltage select! Device 0: unknown device ethernet@1c30000 Waiting for PHY auto negotiation to complete......... TIMEOUT ! BOOTP broadcast 1 I renamed loader.efi to bootaa64.efi, the result is below placed in /efi/boot/ ********************************************************************** U-Boot SPL 2019.10 (Oct 22 2019 - 12:39:22 -0400) DRAM: 1024 MiB Trying to boot from MMC1 NOTICE: BL31: v2.1(release): NOTICE: BL31: Built : 10:11:05, Oct 20 2019 NOTICE: BL31: Detected Allwinner A64/H64/R18 SoC (1689) NOTICE: BL31: Found U-Boot DTB at 0x408c458, model: Olimex A64-Olinuxino NOTICE: BL31: PMIC: Detected AXP803 on RSB. U-Boot 2019.10 (Oct 22 2019 - 12:39:22 -0400) Allwinner Technology CPU: Allwinner A64 (SUN50I) Model: Olimex A64-Olinuxino DRAM: 1 GiB MMC: mmc@1c0f000: 0, mmc@1c10000: 1 Loading Environment from FAT... Card did not respond to voltage select! In: serial Out: serial Err: serial Net: phy interface7 eth0: ethernet@1c30000 starting USB... Bus usb@1c1a000: USB EHCI 1.00 Bus usb@1c1a400: USB OHCI 1.0 Bus usb@1c1b000: USB EHCI 1.00 Bus usb@1c1b400: USB OHCI 1.0 scanning bus usb@1c1a000 for devices... 1 USB Device(s) found scanning bus usb@1c1a400 for devices... 1 USB Device(s) found scanning bus usb@1c1b000 for devices... 1 USB Device(s) found scanning bus usb@1c1b400 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... 32443 bytes read in 8 ms (3.9 MiB/s) Found EFI removable media binary efi/boot/bootaa64.efi Scanning disk mmc@1c0f000.blk... Card did not respond to voltage select! Scanning disk mmc@1c10000.blk... Disk mmc@1c10000.blk not ready Found 3 disks BootOrder not defined EFI boot manager: Cannot load any image 607648 bytes read in 34 ms (17 MiB/s) Consoles: EFI console efipart_readwrite: rw=1, blk=0 size=1 status=2 efipart_readwrite: rw=1, blk=64 size=1 status=2 efipart_readwrite: rw=1, blk=1 size=1 status=2 efipart_readwrite: rw=1, blk=30375936 size=1 status=2 efipart_readwrite: rw=1, blk=0 size=1 status=2 efipart_readwrite: rw=1, blk=64 size=1 status=2 efipart_readwrite: rw=1, blk=1 size=1 status=2 efipart_readwrite: rw=1, blk=30375936 size=1 status=2 FreeBSD/arm64 EFI loader, Revision 1.1 Command line arguments: loader.efi EFI version: 2.80 EFI Firmware: Das U-Boot (rev 8217.4096) Console: efi (0) Load Path: /efi\boot\bootaa64.efi Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,0x01,0,0x800,0x64000) Trying ESP: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,0x01,0,0x800,0x64000) Setting currdev to disk0p1: efipart_readwrite: rw=1, blk=0 size=1 status=2 efipart_readwrite: rw=1, blk=64 size=1 status=2 efipart_readwrite: rw=1, blk=1 size=1 status=2 efipart_readwrite: rw=1, blk=30375936 size=1 status=2 efipart_readwrite: rw=1, blk=0 size=1 status=2 efipart_readwrite: rw=1, blk=64 size=1 status=2 efipart_readwrite: rw=1, blk=1 size=1 status=2 efipart_readwrite: rw=1, blk=30375936 size=1 status=2 Trying: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,0x01,0,0x64800,0x1c93800) Setting currdev to disk0p2: efipart_readwrite: rw=1, blk=0 size=1 status=2 efipart_readwrite: rw=1, blk=64 size=1 status=2 efipart_readwrite: rw=1, blk=1 size=1 status=2 efipart_readwrite: rw=1, blk=30375936 size=1 status=2 efipart_readwrite: rw=1, blk=0 size=1 status=2 efipart_readwrite: rw=1, blk=64 size=1 status=2 efipart_readwrite: rw=1, blk=1 size=1 status=2 efipart_readwrite: rw=1, blk=30375936 size=1 status=2 Failed to find bootable partition ## Application terminated, r = 14 in 1 seconds EFI LOAD FAILED: continuing... Card did not respond to voltage select! Device 0: unknown device ethernet@1c30000 Waiting for PHY auto negotiation to complete....... On Fri, Oct 25, 2019 at 4:18 AM Emmanuel Vadot wrote: > > 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 > From owner-freebsd-uboot@freebsd.org Sat Oct 26 17:50:44 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 99E0217B377 for ; Sat, 26 Oct 2019 17:50:44 +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 470pRk4TPgz4RVb for ; Sat, 26 Oct 2019 17:50:42 +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 1f5927e3; Sat, 26 Oct 2019 19:50:34 +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=zv/COV8Mzs1mnYPzD/Ei0eFrY9w=; b=AEvFiSj10ZRTw2v2i9uq+7KBT20q 8fGtoL2O9IzI1zQvBxWD5/g6roQo9Mgmze1IxIwlYEXLema1G2OpTpcTYjG5jDME AMtNBDDGOB6TRbYmUmDeX1p13xfAsFaizEZdX9qQpWNTA3qdqWaY+lX6VuQY3VMZ /gZdipkw4W5pG64= 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=W1wi8hA7KBjCSpLa8GMvh8z8EZgOpRlpVnb9Xuvp4gohjjYm4XmuFvS7 8gMIVhsNBT8ljaq31A9FwU1hFFPgIM95ssgj012IT5KSGRVBE9lqQXBFdPLASuWs TBKVYqvnyNyCJFLwYPWaL2FNRTROyEM2MKMfs3E5nuC/DTl72bE= Received: from skull.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id adafb48e TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Sat, 26 Oct 2019 19:50:34 +0200 (CEST) Date: Sat, 26 Oct 2019 19:50:33 +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: <20191026195033.c76686d77b75388cadf27d63@bidouilliste.com> In-Reply-To: References: <20191025101832.2b442ecdbf10b68edd7a78ea@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=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 470pRk4TPgz4RVb X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mail header.b=AEvFiSj1; 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.38 / 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.89)[-0.890,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.979,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.61), ipnet: 212.83.160.0/19(2.44), 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: Sat, 26 Oct 2019 17:50:44 -0000 On Sat, 26 Oct 2019 13:30:46 -0400 Gary Otten wrote: > I placed the file loader.efi in the /efi/boot/ directory , uboot didn't > appear to find it. I also renamed loader.efi to bootaa64.efi. Results > for both attempts are below. > > loader.efi placed in /efi/boot/ > *************************************************************** > U-Boot SPL 2019.10 (Oct 22 2019 - 12:39:22 -0400) > DRAM: 1024 MiB > Trying to boot from MMC1 > NOTICE: BL31: v2.1(release): > NOTICE: BL31: Built : 10:11:05, Oct 20 2019 > NOTICE: BL31: Detected Allwinner A64/H64/R18 SoC (1689) > NOTICE: BL31: Found U-Boot DTB at 0x408c458, model: Olimex A64-Olinuxino > NOTICE: BL31: PMIC: Detected AXP803 on RSB. > > > U-Boot 2019.10 (Oct 22 2019 - 12:39:22 -0400) Allwinner Technology > > CPU: Allwinner A64 (SUN50I) > Model: Olimex A64-Olinuxino > DRAM: 1 GiB > MMC: mmc@1c0f000: 0, mmc@1c10000: 1 > Loading Environment from FAT... Card did not respond to voltage select! > In: serial > Out: serial > Err: serial > Net: phy interface7 > eth0: ethernet@1c30000 > starting USB... > Bus usb@1c1a000: USB EHCI 1.00 > Bus usb@1c1a400: USB OHCI 1.0 > Bus usb@1c1b000: USB EHCI 1.00 > Bus usb@1c1b400: USB OHCI 1.0 > scanning bus usb@1c1a000 for devices... 1 USB Device(s) found > scanning bus usb@1c1a400 for devices... 1 USB Device(s) found > scanning bus usb@1c1b000 for devices... 1 USB Device(s) found > scanning bus usb@1c1b400 for devices... 1 USB Device(s) found > scanning usb for storage devices... 0 Storage Device(s) found > Hit any key to stop autoboot: 0 > switch to partitions #0, OK > mmc0 is current device > Scanning mmc 0:1... > 32443 bytes read in 8 ms (3.9 MiB/s) > Card did not respond to voltage select! > > Device 0: unknown device > ethernet@1c30000 Waiting for PHY auto negotiation to complete......... > TIMEOUT ! > BOOTP broadcast 1 > > > > I renamed loader.efi to bootaa64.efi, the result is below placed in > /efi/boot/ > ********************************************************************** > > U-Boot SPL 2019.10 (Oct 22 2019 - 12:39:22 -0400) > DRAM: 1024 MiB > Trying to boot from MMC1 > NOTICE: BL31: v2.1(release): > NOTICE: BL31: Built : 10:11:05, Oct 20 2019 > NOTICE: BL31: Detected Allwinner A64/H64/R18 SoC (1689) > NOTICE: BL31: Found U-Boot DTB at 0x408c458, model: Olimex A64-Olinuxino > NOTICE: BL31: PMIC: Detected AXP803 on RSB. > > > U-Boot 2019.10 (Oct 22 2019 - 12:39:22 -0400) Allwinner Technology > > CPU: Allwinner A64 (SUN50I) > Model: Olimex A64-Olinuxino > DRAM: 1 GiB > MMC: mmc@1c0f000: 0, mmc@1c10000: 1 > Loading Environment from FAT... Card did not respond to voltage select! > In: serial > Out: serial > Err: serial > Net: phy interface7 > eth0: ethernet@1c30000 > starting USB... > Bus usb@1c1a000: USB EHCI 1.00 > Bus usb@1c1a400: USB OHCI 1.0 > Bus usb@1c1b000: USB EHCI 1.00 > Bus usb@1c1b400: USB OHCI 1.0 > scanning bus usb@1c1a000 for devices... 1 USB Device(s) found > scanning bus usb@1c1a400 for devices... 1 USB Device(s) found > scanning bus usb@1c1b000 for devices... 1 USB Device(s) found > scanning bus usb@1c1b400 for devices... 1 USB Device(s) found > scanning usb for storage devices... 0 Storage Device(s) found > Hit any key to stop autoboot: 0 > switch to partitions #0, OK > mmc0 is current device > Scanning mmc 0:1... > 32443 bytes read in 8 ms (3.9 MiB/s) > Found EFI removable media binary efi/boot/bootaa64.efi > Scanning disk mmc@1c0f000.blk... > Card did not respond to voltage select! > Scanning disk mmc@1c10000.blk... > Disk mmc@1c10000.blk not ready > Found 3 disks > BootOrder not defined > EFI boot manager: Cannot load any image > 607648 bytes read in 34 ms (17 MiB/s) > Consoles: EFI console > efipart_readwrite: rw=1, blk=0 size=1 status=2 > efipart_readwrite: rw=1, blk=64 size=1 status=2 > efipart_readwrite: rw=1, blk=1 size=1 status=2 > efipart_readwrite: rw=1, blk=30375936 size=1 status=2 > efipart_readwrite: rw=1, blk=0 size=1 status=2 > efipart_readwrite: rw=1, blk=64 size=1 status=2 > efipart_readwrite: rw=1, blk=1 size=1 status=2 > efipart_readwrite: rw=1, blk=30375936 size=1 status=2 > FreeBSD/arm64 EFI loader, Revision 1.1 > > Command line arguments: loader.efi > EFI version: 2.80 > EFI Firmware: Das U-Boot (rev 8217.4096) > Console: efi (0) > Load Path: /efi\boot\bootaa64.efi > Load Device: > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,0x01,0,0x800,0x64000) > Trying ESP: > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,0x01,0,0x800,0x64000) > Setting currdev to disk0p1: > efipart_readwrite: rw=1, blk=0 size=1 status=2 > efipart_readwrite: rw=1, blk=64 size=1 status=2 > efipart_readwrite: rw=1, blk=1 size=1 status=2 > efipart_readwrite: rw=1, blk=30375936 size=1 status=2 > efipart_readwrite: rw=1, blk=0 size=1 status=2 > efipart_readwrite: rw=1, blk=64 size=1 status=2 > efipart_readwrite: rw=1, blk=1 size=1 status=2 > efipart_readwrite: rw=1, blk=30375936 size=1 status=2 > Trying: > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,0x01,0,0x64800,0x1c93800) > Setting currdev to disk0p2: > efipart_readwrite: rw=1, blk=0 size=1 status=2 > efipart_readwrite: rw=1, blk=64 size=1 status=2 > efipart_readwrite: rw=1, blk=1 size=1 status=2 > efipart_readwrite: rw=1, blk=30375936 size=1 status=2 > efipart_readwrite: rw=1, blk=0 size=1 status=2 > efipart_readwrite: rw=1, blk=64 size=1 status=2 > efipart_readwrite: rw=1, blk=1 size=1 status=2 > efipart_readwrite: rw=1, blk=30375936 size=1 status=2 > Failed to find bootable partition > ## Application terminated, r = 14 in 1 seconds > EFI LOAD FAILED: continuing... > Card did not respond to voltage select! > > Device 0: unknown device > ethernet@1c30000 Waiting for PHY auto negotiation to complete....... When was this loader.efi built ? All the needed commits have made the 12-stable and 12.1 branch so you shouldn't have this problem. > On Fri, Oct 25, 2019 at 4:18 AM Emmanuel Vadot > wrote: > > > > > 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 > > > _______________________________________________ > 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" -- Emmanuel Vadot From owner-freebsd-uboot@freebsd.org Sat Oct 26 18:25:07 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 14B2717C9BD for ; Sat, 26 Oct 2019 18:25:07 +0000 (UTC) (envelope-from gdotten@gmail.com) Received: from mail-qk1-x743.google.com (mail-qk1-x743.google.com [IPv6:2607:f8b0:4864:20::743]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 470qCQ3Hkmz4Tgv for ; Sat, 26 Oct 2019 18:25:06 +0000 (UTC) (envelope-from gdotten@gmail.com) Received: by mail-qk1-x743.google.com with SMTP id p4so4828167qkf.5 for ; Sat, 26 Oct 2019 11:25:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BiJAiTMpsFFqyoK/l0zScbGLuK3bchBaZNTH2s9GBbo=; b=ebo3Nrjgqkg2U0q11Nz2K7kscDddFVDuBy2LwIYq3jpdhAtQu0ijRdvANB6V3oJ08O PvPfcY1R32wZGaP6hFCn2DoTSOf9MGYdZlppDqR1QrAmbvSHDBxtWKQeKJ9x+YA+Rgyn 8xOH2Hbu1TC0mNSfrGm/dQA/Zqn9KezP35rmzHNwjNuuQE1Ec7S6FCFXbOkUGP97S3UV 3ZhNy9xpdXmRVkYb+PM560cTd1QFyVxTgRkwcRjDAjglAnuQ2+p74nw1p9qlOmt9lfIB C1kOBC0MIlOTJkTYxzdUJPlUYYUMEWPUWlldzBYGXmQHOCauLzAZtlpkG4BcVwqPxIHH 2Ecw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BiJAiTMpsFFqyoK/l0zScbGLuK3bchBaZNTH2s9GBbo=; b=TCo8zqQiTzeHFf5vqjA2ZVnGNG1cXFC1m8wibLXc9f4ABDwQQelN6X7F5xk3pIp4zs VbnueVe+qXd3PbYSE18DbmCzUGVmdLYOPy7rrskMbtlmJzPIvYV5hkGDPIS/CIwdRyHh Vm2ubBEM7Wq5c30IPFeL23Txokv+R/ZVbJkPphIpDxt55OzMQYOzxt7u1lhckR/6PdnK A8150w7iv83Ud9OtaOyjBNbSqx7BbY3tF+u5IfDE45thbHsgZZbqYBGhTInB7jzklEY0 VGAHnhVPKGIvfOydZURbuC8Nh5obH5sOYVwIPtfy9vq7CQ7UT6DAuS9CmmguGn4cE4tx GeiA== X-Gm-Message-State: APjAAAXouiPQ8OxUPD2W+VmamS3Z3CM5gci8YiUmKedJRX5MYcRpFgfz 0TkXPRuakXl/+5zi4LkKukY8ANCqFlOiaT9gnAcwWO/6 X-Google-Smtp-Source: APXvYqyOs6sH7N/txz1FfzGybzgljbkhkHomGBsVmEHj19VscLJ3druBUEHvDI/UpCRY3HUkW89nJ0Gq4UyeFpA2wVo= X-Received: by 2002:a37:f70f:: with SMTP id q15mr8165857qkj.428.1572114305236; Sat, 26 Oct 2019 11:25:05 -0700 (PDT) MIME-Version: 1.0 References: <20191025101832.2b442ecdbf10b68edd7a78ea@bidouilliste.com> <20191026195033.c76686d77b75388cadf27d63@bidouilliste.com> In-Reply-To: <20191026195033.c76686d77b75388cadf27d63@bidouilliste.com> From: Gary Otten Date: Sat, 26 Oct 2019 14:16:34 -0400 Message-ID: Subject: Re: u-boot-a64-olinuxino difference between U-Boot SPL 2019.10 & U-Boot SPL 2019.07 To: Emmanuel Vadot Cc: freebsd-uboot@freebsd.org X-Rspamd-Queue-Id: 470qCQ3Hkmz4Tgv X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=ebo3Nrjg; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of gdotten@gmail.com designates 2607:f8b0:4864:20::743 as permitted sender) smtp.mailfrom=gdotten@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-uboot@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[3.4.7.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; IP_SCORE(0.00)[ip: (2.70), ipnet: 2607:f8b0::/32(-2.40), asn: 15169(-2.05), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Sat, 26 Oct 2019 18:25:07 -0000 12-stable On Sat, Oct 26, 2019 at 1:50 PM Emmanuel Vadot wrote: > On Sat, 26 Oct 2019 13:30:46 -0400 > Gary Otten wrote: > > > I placed the file loader.efi in the /efi/boot/ directory , uboot didn't > > appear to find it. I also renamed loader.efi to bootaa64.efi. Results > > for both attempts are below. > > > > loader.efi placed in /efi/boot/ > > *************************************************************** > > U-Boot SPL 2019.10 (Oct 22 2019 - 12:39:22 -0400) > > DRAM: 1024 MiB > > Trying to boot from MMC1 > > NOTICE: BL31: v2.1(release): > > NOTICE: BL31: Built : 10:11:05, Oct 20 2019 > > NOTICE: BL31: Detected Allwinner A64/H64/R18 SoC (1689) > > NOTICE: BL31: Found U-Boot DTB at 0x408c458, model: Olimex A64-Olinuxino > > NOTICE: BL31: PMIC: Detected AXP803 on RSB. > > > > > > U-Boot 2019.10 (Oct 22 2019 - 12:39:22 -0400) Allwinner Technology > > > > CPU: Allwinner A64 (SUN50I) > > Model: Olimex A64-Olinuxino > > DRAM: 1 GiB > > MMC: mmc@1c0f000: 0, mmc@1c10000: 1 > > Loading Environment from FAT... Card did not respond to voltage select! > > In: serial > > Out: serial > > Err: serial > > Net: phy interface7 > > eth0: ethernet@1c30000 > > starting USB... > > Bus usb@1c1a000: USB EHCI 1.00 > > Bus usb@1c1a400: USB OHCI 1.0 > > Bus usb@1c1b000: USB EHCI 1.00 > > Bus usb@1c1b400: USB OHCI 1.0 > > scanning bus usb@1c1a000 for devices... 1 USB Device(s) found > > scanning bus usb@1c1a400 for devices... 1 USB Device(s) found > > scanning bus usb@1c1b000 for devices... 1 USB Device(s) found > > scanning bus usb@1c1b400 for devices... 1 USB Device(s) found > > scanning usb for storage devices... 0 Storage Device(s) found > > Hit any key to stop autoboot: 0 > > switch to partitions #0, OK > > mmc0 is current device > > Scanning mmc 0:1... > > 32443 bytes read in 8 ms (3.9 MiB/s) > > Card did not respond to voltage select! > > > > Device 0: unknown device > > ethernet@1c30000 Waiting for PHY auto negotiation to complete......... > > TIMEOUT ! > > BOOTP broadcast 1 > > > > > > > > I renamed loader.efi to bootaa64.efi, the result is below placed in > > /efi/boot/ > > ********************************************************************** > > > > U-Boot SPL 2019.10 (Oct 22 2019 - 12:39:22 -0400) > > DRAM: 1024 MiB > > Trying to boot from MMC1 > > NOTICE: BL31: v2.1(release): > > NOTICE: BL31: Built : 10:11:05, Oct 20 2019 > > NOTICE: BL31: Detected Allwinner A64/H64/R18 SoC (1689) > > NOTICE: BL31: Found U-Boot DTB at 0x408c458, model: Olimex A64-Olinuxino > > NOTICE: BL31: PMIC: Detected AXP803 on RSB. > > > > > > U-Boot 2019.10 (Oct 22 2019 - 12:39:22 -0400) Allwinner Technology > > > > CPU: Allwinner A64 (SUN50I) > > Model: Olimex A64-Olinuxino > > DRAM: 1 GiB > > MMC: mmc@1c0f000: 0, mmc@1c10000: 1 > > Loading Environment from FAT... Card did not respond to voltage select! > > In: serial > > Out: serial > > Err: serial > > Net: phy interface7 > > eth0: ethernet@1c30000 > > starting USB... > > Bus usb@1c1a000: USB EHCI 1.00 > > Bus usb@1c1a400: USB OHCI 1.0 > > Bus usb@1c1b000: USB EHCI 1.00 > > Bus usb@1c1b400: USB OHCI 1.0 > > scanning bus usb@1c1a000 for devices... 1 USB Device(s) found > > scanning bus usb@1c1a400 for devices... 1 USB Device(s) found > > scanning bus usb@1c1b000 for devices... 1 USB Device(s) found > > scanning bus usb@1c1b400 for devices... 1 USB Device(s) found > > scanning usb for storage devices... 0 Storage Device(s) found > > Hit any key to stop autoboot: 0 > > switch to partitions #0, OK > > mmc0 is current device > > Scanning mmc 0:1... > > 32443 bytes read in 8 ms (3.9 MiB/s) > > Found EFI removable media binary efi/boot/bootaa64.efi > > Scanning disk mmc@1c0f000.blk... > > Card did not respond to voltage select! > > Scanning disk mmc@1c10000.blk... > > Disk mmc@1c10000.blk not ready > > Found 3 disks > > BootOrder not defined > > EFI boot manager: Cannot load any image > > 607648 bytes read in 34 ms (17 MiB/s) > > Consoles: EFI console > > efipart_readwrite: rw=1, blk=0 size=1 status=2 > > efipart_readwrite: rw=1, blk=64 size=1 status=2 > > efipart_readwrite: rw=1, blk=1 size=1 status=2 > > efipart_readwrite: rw=1, blk=30375936 size=1 status=2 > > efipart_readwrite: rw=1, blk=0 size=1 status=2 > > efipart_readwrite: rw=1, blk=64 size=1 status=2 > > efipart_readwrite: rw=1, blk=1 size=1 status=2 > > efipart_readwrite: rw=1, blk=30375936 size=1 status=2 > > FreeBSD/arm64 EFI loader, Revision 1.1 > > > > Command line arguments: loader.efi > > EFI version: 2.80 > > EFI Firmware: Das U-Boot (rev 8217.4096) > > Console: efi (0) > > Load Path: /efi\boot\bootaa64.efi > > Load Device: > > > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,0x01,0,0x800,0x64000) > > Trying ESP: > > > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,0x01,0,0x800,0x64000) > > Setting currdev to disk0p1: > > efipart_readwrite: rw=1, blk=0 size=1 status=2 > > efipart_readwrite: rw=1, blk=64 size=1 status=2 > > efipart_readwrite: rw=1, blk=1 size=1 status=2 > > efipart_readwrite: rw=1, blk=30375936 size=1 status=2 > > efipart_readwrite: rw=1, blk=0 size=1 status=2 > > efipart_readwrite: rw=1, blk=64 size=1 status=2 > > efipart_readwrite: rw=1, blk=1 size=1 status=2 > > efipart_readwrite: rw=1, blk=30375936 size=1 status=2 > > Trying: > > > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,0x01,0,0x64800,0x1c93800) > > Setting currdev to disk0p2: > > efipart_readwrite: rw=1, blk=0 size=1 status=2 > > efipart_readwrite: rw=1, blk=64 size=1 status=2 > > efipart_readwrite: rw=1, blk=1 size=1 status=2 > > efipart_readwrite: rw=1, blk=30375936 size=1 status=2 > > efipart_readwrite: rw=1, blk=0 size=1 status=2 > > efipart_readwrite: rw=1, blk=64 size=1 status=2 > > efipart_readwrite: rw=1, blk=1 size=1 status=2 > > efipart_readwrite: rw=1, blk=30375936 size=1 status=2 > > Failed to find bootable partition > > ## Application terminated, r = 14 in 1 seconds > > EFI LOAD FAILED: continuing... > > Card did not respond to voltage select! > > > > Device 0: unknown device > > ethernet@1c30000 Waiting for PHY auto negotiation to complete....... > > When was this loader.efi built ? > All the needed commits have made the 12-stable and 12.1 branch so you > shouldn't have this problem. > > > On Fri, Oct 25, 2019 at 4:18 AM Emmanuel Vadot > > wrote: > > > > > > > > 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 > > > > > _______________________________________________ > > 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" > > > -- > Emmanuel Vadot > From owner-freebsd-uboot@freebsd.org Sat Oct 26 18:35:25 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 EF55F17CEBA for ; Sat, 26 Oct 2019 18:35:25 +0000 (UTC) (envelope-from gdotten@gmail.com) Received: from mail-qt1-x842.google.com (mail-qt1-x842.google.com [IPv6:2607:f8b0:4864:20::842]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 470qRJ6gpMz4VBj for ; Sat, 26 Oct 2019 18:35:24 +0000 (UTC) (envelope-from gdotten@gmail.com) Received: by mail-qt1-x842.google.com with SMTP id o25so8428176qtr.5 for ; Sat, 26 Oct 2019 11:35:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XQR7EXJzgdnIPZpxSktAxzCUnxtyqA6+sNJbtGEh6O0=; b=fqD2303NNCn4Jwho5hiMoVbNsmSlcJQc1T3jLbDEX90Slh8VtOd4TzAc4jr++wsfKf F4ZzNeNOrgGrHDXkByc3UF+YsBet6p++AFAAg+UZ7I0QE9MK6uEKLgX0nVNhO5TlAfGu hEtU5Zoy6u/5MCKX4/MHeJKVB1JV7MG7c5wa6yLt4HXw1Uz3ahektWg+YvU5V5e90/27 mVYE0gMCZI/lApOp+4JWb/PZakxi53JLpTsJU0FLCrIOdh576X9d8epB5Dtj0zzqohW/ fzSY4/V2WG2cJjlLNexFQgjiDtYSxaigxDETQXFnI+TvZ3NLPNNN3ER9QJnHxbVp9qkR b8sA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XQR7EXJzgdnIPZpxSktAxzCUnxtyqA6+sNJbtGEh6O0=; b=QdsNHz7461gh5ghL3y6cscMVXGshPzUhQO+l+3CqOGU2wO0Elgf59JLBUgEyOWIyVD W8/vbv/eH54rraW3WCppAuBzJT065zO+O8MVaxIxah9S85NBnmc4q+gYgqTFeB6wUFi4 bRDRBXxcqns7x/TQJHCZjt6upxYfFbgIP6JZ+HXnJKh2WVqET2YinUf5VgtYFm+IIDCE zRRbSCPtwZDIedxd52LfBxXlJCV4V1G88gHNVnQ+r75gz9Ua9jwRRtOfF/R3hmm2YZ5A P0+mkax5Gn/CUgs5dnRcADiZ7epd8F1rpkdX+52N1JFaizzxY93inuip+XPW79ETOH3v LqiQ== X-Gm-Message-State: APjAAAUl74eB8vClJ+GT1Ny83NoU15SkLDh58j0BnvxxNlOr9bM0vuWq foxLH9PiLcyo+rSgzl500kw2qf+7NA5lPsNzs5ul6w== X-Google-Smtp-Source: APXvYqyHGlrIzpkcUzEtr46KuZLDMXQYoX6Jb8xks4k5EfROInfRENzbj6Q1CxOuAd1CFUPYCQb1WlK7HekDARLEIDQ= X-Received: by 2002:a0c:887a:: with SMTP id 55mr9841911qvm.137.1572114923175; Sat, 26 Oct 2019 11:35:23 -0700 (PDT) MIME-Version: 1.0 References: <20191025101832.2b442ecdbf10b68edd7a78ea@bidouilliste.com> <20191026195033.c76686d77b75388cadf27d63@bidouilliste.com> In-Reply-To: <20191026195033.c76686d77b75388cadf27d63@bidouilliste.com> From: Gary Otten Date: Sat, 26 Oct 2019 14:26:52 -0400 Message-ID: Subject: Re: u-boot-a64-olinuxino difference between U-Boot SPL 2019.10 & U-Boot SPL 2019.07 To: Emmanuel Vadot Cc: freebsd-uboot@freebsd.org X-Rspamd-Queue-Id: 470qRJ6gpMz4VBj X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=fqD2303N; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of gdotten@gmail.com designates 2607:f8b0:4864:20::842 as permitted sender) smtp.mailfrom=gdotten@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-uboot@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2.4.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; IP_SCORE(0.00)[ip: (2.14), ipnet: 2607:f8b0::/32(-2.40), asn: 15169(-2.05), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Sat, 26 Oct 2019 18:35:26 -0000 I am working on getting all the gpios on the Olimex a64 board working. You responded to that post as well, Thanks. You said I have to change the overlay to turn on a voltage regulator. So I did recently build uboot from the source. Perhaps that would be a different version, if it rebuilds loader.efi? On Sat, Oct 26, 2019 at 1:50 PM Emmanuel Vadot wrote: > On Sat, 26 Oct 2019 13:30:46 -0400 > Gary Otten wrote: > > > I placed the file loader.efi in the /efi/boot/ directory , uboot didn't > > appear to find it. I also renamed loader.efi to bootaa64.efi. Results > > for both attempts are below. > > > > loader.efi placed in /efi/boot/ > > *************************************************************** > > U-Boot SPL 2019.10 (Oct 22 2019 - 12:39:22 -0400) > > DRAM: 1024 MiB > > Trying to boot from MMC1 > > NOTICE: BL31: v2.1(release): > > NOTICE: BL31: Built : 10:11:05, Oct 20 2019 > > NOTICE: BL31: Detected Allwinner A64/H64/R18 SoC (1689) > > NOTICE: BL31: Found U-Boot DTB at 0x408c458, model: Olimex A64-Olinuxino > > NOTICE: BL31: PMIC: Detected AXP803 on RSB. > > > > > > U-Boot 2019.10 (Oct 22 2019 - 12:39:22 -0400) Allwinner Technology > > > > CPU: Allwinner A64 (SUN50I) > > Model: Olimex A64-Olinuxino > > DRAM: 1 GiB > > MMC: mmc@1c0f000: 0, mmc@1c10000: 1 > > Loading Environment from FAT... Card did not respond to voltage select! > > In: serial > > Out: serial > > Err: serial > > Net: phy interface7 > > eth0: ethernet@1c30000 > > starting USB... > > Bus usb@1c1a000: USB EHCI 1.00 > > Bus usb@1c1a400: USB OHCI 1.0 > > Bus usb@1c1b000: USB EHCI 1.00 > > Bus usb@1c1b400: USB OHCI 1.0 > > scanning bus usb@1c1a000 for devices... 1 USB Device(s) found > > scanning bus usb@1c1a400 for devices... 1 USB Device(s) found > > scanning bus usb@1c1b000 for devices... 1 USB Device(s) found > > scanning bus usb@1c1b400 for devices... 1 USB Device(s) found > > scanning usb for storage devices... 0 Storage Device(s) found > > Hit any key to stop autoboot: 0 > > switch to partitions #0, OK > > mmc0 is current device > > Scanning mmc 0:1... > > 32443 bytes read in 8 ms (3.9 MiB/s) > > Card did not respond to voltage select! > > > > Device 0: unknown device > > ethernet@1c30000 Waiting for PHY auto negotiation to complete......... > > TIMEOUT ! > > BOOTP broadcast 1 > > > > > > > > I renamed loader.efi to bootaa64.efi, the result is below placed in > > /efi/boot/ > > ********************************************************************** > > > > U-Boot SPL 2019.10 (Oct 22 2019 - 12:39:22 -0400) > > DRAM: 1024 MiB > > Trying to boot from MMC1 > > NOTICE: BL31: v2.1(release): > > NOTICE: BL31: Built : 10:11:05, Oct 20 2019 > > NOTICE: BL31: Detected Allwinner A64/H64/R18 SoC (1689) > > NOTICE: BL31: Found U-Boot DTB at 0x408c458, model: Olimex A64-Olinuxino > > NOTICE: BL31: PMIC: Detected AXP803 on RSB. > > > > > > U-Boot 2019.10 (Oct 22 2019 - 12:39:22 -0400) Allwinner Technology > > > > CPU: Allwinner A64 (SUN50I) > > Model: Olimex A64-Olinuxino > > DRAM: 1 GiB > > MMC: mmc@1c0f000: 0, mmc@1c10000: 1 > > Loading Environment from FAT... Card did not respond to voltage select! > > In: serial > > Out: serial > > Err: serial > > Net: phy interface7 > > eth0: ethernet@1c30000 > > starting USB... > > Bus usb@1c1a000: USB EHCI 1.00 > > Bus usb@1c1a400: USB OHCI 1.0 > > Bus usb@1c1b000: USB EHCI 1.00 > > Bus usb@1c1b400: USB OHCI 1.0 > > scanning bus usb@1c1a000 for devices... 1 USB Device(s) found > > scanning bus usb@1c1a400 for devices... 1 USB Device(s) found > > scanning bus usb@1c1b000 for devices... 1 USB Device(s) found > > scanning bus usb@1c1b400 for devices... 1 USB Device(s) found > > scanning usb for storage devices... 0 Storage Device(s) found > > Hit any key to stop autoboot: 0 > > switch to partitions #0, OK > > mmc0 is current device > > Scanning mmc 0:1... > > 32443 bytes read in 8 ms (3.9 MiB/s) > > Found EFI removable media binary efi/boot/bootaa64.efi > > Scanning disk mmc@1c0f000.blk... > > Card did not respond to voltage select! > > Scanning disk mmc@1c10000.blk... > > Disk mmc@1c10000.blk not ready > > Found 3 disks > > BootOrder not defined > > EFI boot manager: Cannot load any image > > 607648 bytes read in 34 ms (17 MiB/s) > > Consoles: EFI console > > efipart_readwrite: rw=1, blk=0 size=1 status=2 > > efipart_readwrite: rw=1, blk=64 size=1 status=2 > > efipart_readwrite: rw=1, blk=1 size=1 status=2 > > efipart_readwrite: rw=1, blk=30375936 size=1 status=2 > > efipart_readwrite: rw=1, blk=0 size=1 status=2 > > efipart_readwrite: rw=1, blk=64 size=1 status=2 > > efipart_readwrite: rw=1, blk=1 size=1 status=2 > > efipart_readwrite: rw=1, blk=30375936 size=1 status=2 > > FreeBSD/arm64 EFI loader, Revision 1.1 > > > > Command line arguments: loader.efi > > EFI version: 2.80 > > EFI Firmware: Das U-Boot (rev 8217.4096) > > Console: efi (0) > > Load Path: /efi\boot\bootaa64.efi > > Load Device: > > > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,0x01,0,0x800,0x64000) > > Trying ESP: > > > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,0x01,0,0x800,0x64000) > > Setting currdev to disk0p1: > > efipart_readwrite: rw=1, blk=0 size=1 status=2 > > efipart_readwrite: rw=1, blk=64 size=1 status=2 > > efipart_readwrite: rw=1, blk=1 size=1 status=2 > > efipart_readwrite: rw=1, blk=30375936 size=1 status=2 > > efipart_readwrite: rw=1, blk=0 size=1 status=2 > > efipart_readwrite: rw=1, blk=64 size=1 status=2 > > efipart_readwrite: rw=1, blk=1 size=1 status=2 > > efipart_readwrite: rw=1, blk=30375936 size=1 status=2 > > Trying: > > > /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,0x01,0,0x64800,0x1c93800) > > Setting currdev to disk0p2: > > efipart_readwrite: rw=1, blk=0 size=1 status=2 > > efipart_readwrite: rw=1, blk=64 size=1 status=2 > > efipart_readwrite: rw=1, blk=1 size=1 status=2 > > efipart_readwrite: rw=1, blk=30375936 size=1 status=2 > > efipart_readwrite: rw=1, blk=0 size=1 status=2 > > efipart_readwrite: rw=1, blk=64 size=1 status=2 > > efipart_readwrite: rw=1, blk=1 size=1 status=2 > > efipart_readwrite: rw=1, blk=30375936 size=1 status=2 > > Failed to find bootable partition > > ## Application terminated, r = 14 in 1 seconds > > EFI LOAD FAILED: continuing... > > Card did not respond to voltage select! > > > > Device 0: unknown device > > ethernet@1c30000 Waiting for PHY auto negotiation to complete....... > > When was this loader.efi built ? > All the needed commits have made the 12-stable and 12.1 branch so you > shouldn't have this problem. > > > On Fri, Oct 25, 2019 at 4:18 AM Emmanuel Vadot > > wrote: > > > > > > > > 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 > > > > > _______________________________________________ > > 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" > > > -- > Emmanuel Vadot > From owner-freebsd-uboot@freebsd.org Sat Oct 26 18:57:23 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 74B9A17D833 for ; Sat, 26 Oct 2019 18:57:23 +0000 (UTC) (envelope-from gdotten@gmail.com) Received: from mail-qt1-x844.google.com (mail-qt1-x844.google.com [IPv6:2607:f8b0:4864:20::844]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 470qwf5KvVz4WJF for ; Sat, 26 Oct 2019 18:57:22 +0000 (UTC) (envelope-from gdotten@gmail.com) Received: by mail-qt1-x844.google.com with SMTP id y39so3118752qty.0 for ; Sat, 26 Oct 2019 11:57:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hyBwFt7F/d6oVvVp4q4lZ8I5rmkm4J1MvsXCKK0C+bA=; b=KD5eV+FLwXLL4SU1hivM2gyC/rdU5Rnjc0L+OYViSnrYAqMngI5t0V/re5s40c4dCL r/x/vV3Cd3kehHreEQwcmGPaz3ZH9P93u9P4RzCHdlTjazc8pSPG8dLZgs7dBG6ZYfCz 1/KS1uz2y6zfwG4CN7At6rdFF8d/KStqTrrEj1o9wpEI8rXgIXqdG9U7dxFquuGvBNHG bqs3BPV8uRFDkqsrAi3SbaaxUV8dCbBQueIgH1WYgpp+f2U/NhI4uatpyKeIHr80qEmO hztF7Ma7OKsKoVbKspBfPRRUKu4+tyVwl23m05MpA9EA1zTmn3kzjluenkDZ6KRBvuYe /qzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hyBwFt7F/d6oVvVp4q4lZ8I5rmkm4J1MvsXCKK0C+bA=; b=WQMmL27KtMrwUMY3GPMIXePhyE7BF0satsv6h3pyIftAaDy2V3CtJNlkGVpFt0nkpf cp+ROpS+zLxcDwy1haZblwOPHrhNDC1HzrzOmrOQ72kB1bvPidKQWJiB3jD5Y6Pe25ZV 9w9zXAApK/SEkQkCB5/aaYkBLZgh/cAG1HfdM2eK2LwIbT5ICEZTqxpRJyJAna8X9is1 367ktFNtX/330A3bK1KAyHezMh+Z58uSQvWQY9kSnt8AHcQVZGWT1yFHmf9fPQebOdgp cbyzi53n37WNlk9GmDZPqhQMOor64/7QE0POoiv3Ne41bnXaACeyhKUBtSGqRhF0OnZX KXTA== X-Gm-Message-State: APjAAAV+fl2X6V1id/EwtUIQGSEdimLcprjHbD0pCh9txivJVNjpcLIo dHOGS1oeTGPVN4Dpme3MCdF5Sl1Uxl0SHUIqv5xEJg== X-Google-Smtp-Source: APXvYqzUHGTH8Kevdomc4vOeAVgMDGxrZu4gUeu66UkRWWKGQ93JCPoaupkcZu8411rPMCGaVfqpIf4gFu9RG9Sgfq8= X-Received: by 2002:ac8:70c4:: with SMTP id g4mr9789803qtp.136.1572116241304; Sat, 26 Oct 2019 11:57:21 -0700 (PDT) MIME-Version: 1.0 References: <20191025101832.2b442ecdbf10b68edd7a78ea@bidouilliste.com> <20191026195033.c76686d77b75388cadf27d63@bidouilliste.com> In-Reply-To: From: Gary Otten Date: Sat, 26 Oct 2019 14:48:50 -0400 Message-ID: Subject: Re: u-boot-a64-olinuxino difference between U-Boot SPL 2019.10 & U-Boot SPL 2019.07 To: Emmanuel Vadot Cc: freebsd-uboot@freebsd.org X-Rspamd-Queue-Id: 470qwf5KvVz4WJF X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=KD5eV+FL; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of gdotten@gmail.com designates 2607:f8b0:4864:20::844 as permitted sender) smtp.mailfrom=gdotten@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-uboot@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[4.4.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; IP_SCORE(0.00)[ip: (2.47), ipnet: 2607:f8b0::/32(-2.40), asn: 15169(-2.05), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Sat, 26 Oct 2019 18:57:23 -0000 After further consideration that wouldn't make sense, the only thing I get out of the u-boot build process is u-boot-sunxi-with-spl.bin On Sat, Oct 26, 2019 at 2:26 PM Gary Otten wrote: > I am working on getting all the gpios on the Olimex a64 board working. You > responded to that post as well, Thanks. You said I have to change the > overlay to turn on a voltage regulator. So I did recently build uboot from > the source. Perhaps that would be a different version, if it rebuilds > loader.efi? > > On Sat, Oct 26, 2019 at 1:50 PM Emmanuel Vadot > wrote: > >> On Sat, 26 Oct 2019 13:30:46 -0400 >> Gary Otten wrote: >> >> > I placed the file loader.efi in the /efi/boot/ directory , uboot didn't >> > appear to find it. I also renamed loader.efi to bootaa64.efi. Results >> > for both attempts are below. >> > >> > loader.efi placed in /efi/boot/ >> > *************************************************************** >> > U-Boot SPL 2019.10 (Oct 22 2019 - 12:39:22 -0400) >> > DRAM: 1024 MiB >> > Trying to boot from MMC1 >> > NOTICE: BL31: v2.1(release): >> > NOTICE: BL31: Built : 10:11:05, Oct 20 2019 >> > NOTICE: BL31: Detected Allwinner A64/H64/R18 SoC (1689) >> > NOTICE: BL31: Found U-Boot DTB at 0x408c458, model: Olimex >> A64-Olinuxino >> > NOTICE: BL31: PMIC: Detected AXP803 on RSB. >> > >> > >> > U-Boot 2019.10 (Oct 22 2019 - 12:39:22 -0400) Allwinner Technology >> > >> > CPU: Allwinner A64 (SUN50I) >> > Model: Olimex A64-Olinuxino >> > DRAM: 1 GiB >> > MMC: mmc@1c0f000: 0, mmc@1c10000: 1 >> > Loading Environment from FAT... Card did not respond to voltage select! >> > In: serial >> > Out: serial >> > Err: serial >> > Net: phy interface7 >> > eth0: ethernet@1c30000 >> > starting USB... >> > Bus usb@1c1a000: USB EHCI 1.00 >> > Bus usb@1c1a400: USB OHCI 1.0 >> > Bus usb@1c1b000: USB EHCI 1.00 >> > Bus usb@1c1b400: USB OHCI 1.0 >> > scanning bus usb@1c1a000 for devices... 1 USB Device(s) found >> > scanning bus usb@1c1a400 for devices... 1 USB Device(s) found >> > scanning bus usb@1c1b000 for devices... 1 USB Device(s) found >> > scanning bus usb@1c1b400 for devices... 1 USB Device(s) found >> > scanning usb for storage devices... 0 Storage Device(s) found >> > Hit any key to stop autoboot: 0 >> > switch to partitions #0, OK >> > mmc0 is current device >> > Scanning mmc 0:1... >> > 32443 bytes read in 8 ms (3.9 MiB/s) >> > Card did not respond to voltage select! >> > >> > Device 0: unknown device >> > ethernet@1c30000 Waiting for PHY auto negotiation to complete......... >> > TIMEOUT ! >> > BOOTP broadcast 1 >> > >> > >> > >> > I renamed loader.efi to bootaa64.efi, the result is below placed in >> > /efi/boot/ >> > ********************************************************************** >> > >> > U-Boot SPL 2019.10 (Oct 22 2019 - 12:39:22 -0400) >> > DRAM: 1024 MiB >> > Trying to boot from MMC1 >> > NOTICE: BL31: v2.1(release): >> > NOTICE: BL31: Built : 10:11:05, Oct 20 2019 >> > NOTICE: BL31: Detected Allwinner A64/H64/R18 SoC (1689) >> > NOTICE: BL31: Found U-Boot DTB at 0x408c458, model: Olimex >> A64-Olinuxino >> > NOTICE: BL31: PMIC: Detected AXP803 on RSB. >> > >> > >> > U-Boot 2019.10 (Oct 22 2019 - 12:39:22 -0400) Allwinner Technology >> > >> > CPU: Allwinner A64 (SUN50I) >> > Model: Olimex A64-Olinuxino >> > DRAM: 1 GiB >> > MMC: mmc@1c0f000: 0, mmc@1c10000: 1 >> > Loading Environment from FAT... Card did not respond to voltage select! >> > In: serial >> > Out: serial >> > Err: serial >> > Net: phy interface7 >> > eth0: ethernet@1c30000 >> > starting USB... >> > Bus usb@1c1a000: USB EHCI 1.00 >> > Bus usb@1c1a400: USB OHCI 1.0 >> > Bus usb@1c1b000: USB EHCI 1.00 >> > Bus usb@1c1b400: USB OHCI 1.0 >> > scanning bus usb@1c1a000 for devices... 1 USB Device(s) found >> > scanning bus usb@1c1a400 for devices... 1 USB Device(s) found >> > scanning bus usb@1c1b000 for devices... 1 USB Device(s) found >> > scanning bus usb@1c1b400 for devices... 1 USB Device(s) found >> > scanning usb for storage devices... 0 Storage Device(s) found >> > Hit any key to stop autoboot: 0 >> > switch to partitions #0, OK >> > mmc0 is current device >> > Scanning mmc 0:1... >> > 32443 bytes read in 8 ms (3.9 MiB/s) >> > Found EFI removable media binary efi/boot/bootaa64.efi >> > Scanning disk mmc@1c0f000.blk... >> > Card did not respond to voltage select! >> > Scanning disk mmc@1c10000.blk... >> > Disk mmc@1c10000.blk not ready >> > Found 3 disks >> > BootOrder not defined >> > EFI boot manager: Cannot load any image >> > 607648 bytes read in 34 ms (17 MiB/s) >> > Consoles: EFI console >> > efipart_readwrite: rw=1, blk=0 size=1 status=2 >> > efipart_readwrite: rw=1, blk=64 size=1 status=2 >> > efipart_readwrite: rw=1, blk=1 size=1 status=2 >> > efipart_readwrite: rw=1, blk=30375936 size=1 status=2 >> > efipart_readwrite: rw=1, blk=0 size=1 status=2 >> > efipart_readwrite: rw=1, blk=64 size=1 status=2 >> > efipart_readwrite: rw=1, blk=1 size=1 status=2 >> > efipart_readwrite: rw=1, blk=30375936 size=1 status=2 >> > FreeBSD/arm64 EFI loader, Revision 1.1 >> > >> > Command line arguments: loader.efi >> > EFI version: 2.80 >> > EFI Firmware: Das U-Boot (rev 8217.4096) >> > Console: efi (0) >> > Load Path: /efi\boot\bootaa64.efi >> > Load Device: >> > >> /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,0x01,0,0x800,0x64000) >> > Trying ESP: >> > >> /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,0x01,0,0x800,0x64000) >> > Setting currdev to disk0p1: >> > efipart_readwrite: rw=1, blk=0 size=1 status=2 >> > efipart_readwrite: rw=1, blk=64 size=1 status=2 >> > efipart_readwrite: rw=1, blk=1 size=1 status=2 >> > efipart_readwrite: rw=1, blk=30375936 size=1 status=2 >> > efipart_readwrite: rw=1, blk=0 size=1 status=2 >> > efipart_readwrite: rw=1, blk=64 size=1 status=2 >> > efipart_readwrite: rw=1, blk=1 size=1 status=2 >> > efipart_readwrite: rw=1, blk=30375936 size=1 status=2 >> > Trying: >> > >> /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,0x01,0,0x64800,0x1c93800) >> > Setting currdev to disk0p2: >> > efipart_readwrite: rw=1, blk=0 size=1 status=2 >> > efipart_readwrite: rw=1, blk=64 size=1 status=2 >> > efipart_readwrite: rw=1, blk=1 size=1 status=2 >> > efipart_readwrite: rw=1, blk=30375936 size=1 status=2 >> > efipart_readwrite: rw=1, blk=0 size=1 status=2 >> > efipart_readwrite: rw=1, blk=64 size=1 status=2 >> > efipart_readwrite: rw=1, blk=1 size=1 status=2 >> > efipart_readwrite: rw=1, blk=30375936 size=1 status=2 >> > Failed to find bootable partition >> > ## Application terminated, r = 14 in 1 seconds >> > EFI LOAD FAILED: continuing... >> > Card did not respond to voltage select! >> > >> > Device 0: unknown device >> > ethernet@1c30000 Waiting for PHY auto negotiation to complete....... >> >> When was this loader.efi built ? >> All the needed commits have made the 12-stable and 12.1 branch so you >> shouldn't have this problem. >> >> > On Fri, Oct 25, 2019 at 4:18 AM Emmanuel Vadot >> > wrote: >> > >> > > >> > > 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 >> > > >> > _______________________________________________ >> > 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 >> " >> >> >> -- >> Emmanuel Vadot >> >