From nobody Sun Jul 25 08:01:36 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 275AB12BC065 for ; Sun, 25 Jul 2021 08:03:27 +0000 (UTC) (envelope-from herbert@gojira.at) Received: from mail.bsd4all.net (mail.bsd4all.net [94.130.200.20]) (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 (4096 bits) client-digest SHA256) (Client CN "mail.bsd4all.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GXbCd2ThKz3j6d for ; Sun, 25 Jul 2021 08:03:24 +0000 (UTC) (envelope-from herbert@gojira.at) Date: Sun, 25 Jul 2021 10:01:36 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gojira.at; s=mail202005; t=1627200196; bh=9rNe9PTmx6/aw0AmGreTa+qe7BGDa8TBUPCVmKnBU2s=; h=Date:Message-ID:From:To:Subject:MIME-Version:Content-Type; b=rJnUnkobb6iB5zlJktwc7jxO/4PqYM/H5l5EfKZaHO4EfGeJKYy9FmS0V0GDODwu+ n2yCmlh7CXUN0PfjL74/xRn24NdPzz4qk0j7KaACGyRQP+O+3Gug1okp2VtNgJ26B6 Lj/A84+pSTqHDYco1chgd8FUm0yq77Iq94U+HE/e92BtJ1XxEVHpJEsXkagMbquyC9 wAN0Btp8xyYqOpZenM7ho5yu2q229gCAj8fiLRGadl2Qf5+ShLlcXdFvs5hMd578ti kPtvTin7Vlb2oEefHGSBYr51UYMlJznKaHkeh0YJxU8WT2frKJ2WoYRIINgF3Mcuz3 F/sF0URhBrhQw== Message-ID: <87fsw2rfdr.wl-herbert@gojira.at> From: "Herbert J. Skuhra" To: freebsd-arm@freebsd.org Subject: Re: git: 1dec3639fd0c - main - sysutils/u-boot: Update to 2021.07 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> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/28.0 Mule/6.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 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 4GXbCd2ThKz3j6d X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gojira.at header.s=mail202005 header.b=rJnUnkob; dmarc=none; spf=pass (mx1.freebsd.org: domain of herbert@gojira.at designates 94.130.200.20 as permitted sender) smtp.mailfrom=herbert@gojira.at X-Spamd-Result: default: False [0.58 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gojira.at:s=mail202005]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:94.130.200.20]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[gojira.at]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_SHORT(0.08)[0.082]; DKIM_TRACE(0.00)[gojira.at:+]; MID_CONTAINS_FROM(1.00)[]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:94.130.0.0/16, country:DE]; MAILMAN_DEST(0.00)[freebsd-arm] 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) Tested also with sysutils/u-boot-(rpi-arm64|rpi2) and all my other RPis (RPi2 and RPi4) are still working. The following snapshots still don't boot: FreeBSD-13.0-STABLE-arm64-aarch64-RPI-20210722-df674da44ef-246411 FreeBSD-14.0-CURRENT-arm64-aarch64-RPI-20210722-27ea55fc655-248140 -- Herbert