From nobody Thu Aug 19 19:23:11 2021 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D48F6175F26B for ; Thu, 19 Aug 2021 19:23:20 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mail.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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GrF6b4QyDz3jVN for ; Thu, 19 Aug 2021 19:23:19 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1629400992; 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=ihMbuvzeyBXNZl+4bmD33mqWbOPQdlVkVh2I6HODnR0=; b=sQZip/KUHB7urBCRsXn+A1GuHxEsmEqjJl9KEXw8xAKdDDVNE7Cel10jZfTNEEk4Dyv0S3 xCeKUGqJ8gxVvJAZ2FEHJKrPJwTQStM3/XJwFhzfnn7JE/o/TzmtwAM2XVjbIt+g8qj8wr yE9FCWhHMf1BuhC+pfNsOpqCgKo39Lk= Received: from amy (lfbn-idf2-1-644-4.w86-247.abo.wanadoo.fr [86.247.100.4]) by mx.blih.net (OpenSMTPD) with ESMTPSA id a24e15d2 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 19 Aug 2021 19:23:12 +0000 (UTC) Date: Thu, 19 Aug 2021 21:23:11 +0200 From: Emmanuel Vadot To: "Herbert J. Skuhra" Cc: freebsd-arm@freebsd.org Subject: Re: git: 1dec3639fd0c - main - sysutils/u-boot: Update to 2021.07 Message-Id: <20210819212311.e880b3e4f0667da3afab5f93@bidouilliste.com> In-Reply-To: <87k0lnybp4.wl-herbert@gojira.at> References: <202107071618.167GIvXd048504@gitrepo.freebsd.org> <874kd3390q.wl-herbert@gojira.at> <87o8b8n1rf.wl-herbert@gojira.at> <87mtqsn0we.wl-herbert@gojira.at> <20210712115010.a405a8f5e313ec75142fa544@bidouilliste.com> <87k0lnybp4.wl-herbert@gojira.at> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4GrF6b4QyDz3jVN X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mx header.b="sQZip/KU"; 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)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mx]; FREEFALL_USER(0.00)[manu]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+ip4:212.83.155.74/32]; NEURAL_HAM_LONG(-1.00)[-1.000]; TO_MATCH_ENVRCPT_SOME(0.00)[]; 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)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Sun, 18 Jul 2021 15:48:55 +0200 "Herbert J. Skuhra" wrote: > On Mon, 12 Jul 2021 13:44:43 +0200, "Herbert J. Skuhra" wrote: > > > This happens even with the official builds! > > > > FreeBSD-13.0-STABLE-arm64-aarch64-RPI-20210701-6aee7855180-246143.img.xz > > ==> OK (U-Boot 2021.04) > > FreeBSD-13.0-STABLE-arm64-aarch64-RPI-20210708-f6d448caf69-246212.img.xz > > ==> Not OK. (U-Boot 2021.07) > > > > I am using U-Boot 2021.04 again because I still don't know how to boot > > from mmc device 2 automatically. > > With the below patch my RPI 3 Model B (0xa02082) boots again: > > --- include/configs/rpi.h.orig 2021-07-18 15:37:55.743031000 +0200 > +++ include/configs/rpi.h 2021-07-18 15:38:51.159286000 +0200 > @@ -173,7 +173,8 @@ > #if CONFIG_IS_ENABLED(CMD_MMC) > #define BOOT_TARGET_MMC(func) \ > func(MMC, mmc, 0) \ > - func(MMC, mmc, 1) > + func(MMC, mmc, 1) \ > + func(MMC, mmc, 2) > #else > > > (sysutils/u-boot-rpi3 / U-Boot 2021.07) > Can you submit that upstream ? We've tried over the past years to have no local patches for u-boot. Also can you try removing the overlays loaded by the firmware (in config.txt), I think that the mmc overlays might renumber the mmc device and upstream u-boot might not be happy about this. Thanks, -- Emmanuel Vadot