From nobody Sat Apr 09 15:44:33 2022 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 936121A84BF0 for ; Sat, 9 Apr 2022 15:44:34 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (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 "www.zefox.com", Issuer "www.zefox.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KbKDd4sqbz52bl for ; Sat, 9 Apr 2022 15:44:33 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.16.1/8.15.2) with ESMTPS id 239FiYux055602 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sat, 9 Apr 2022 08:44:34 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.16.1/8.15.2/Submit) id 239FiYYh055601; Sat, 9 Apr 2022 08:44:34 -0700 (PDT) (envelope-from fbsd) Date: Sat, 9 Apr 2022 08:44:33 -0700 From: bob prohaska To: Mark Millard Cc: freebsd-arm@freebsd.org, bob prohaska Subject: Re: RPI4 panic on boot with -current Message-ID: <20220409154433.GB55458@www.zefox.net> References: <20220409015321.GA52002@www.zefox.net> 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-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4KbKDd4sqbz52bl X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net X-Spamd-Result: default: False [-1.04 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; WWW_DOT_DOMAIN(0.50)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.94)[-0.939]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zefox.net]; AUTH_NA(1.00)[]; R_SPF_NA(0.00)[no SPF record]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_MEDIUM(-1.00)[-0.997]; MLMMJ_DEST(0.00)[freebsd-arm]; FREEMAIL_TO(0.00)[yahoo.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_WWW(0.50)[] X-ThisMailContainsUnwantedMimeParts: N On Fri, Apr 08, 2022 at 07:46:57PM -0700, Mark Millard wrote: > On 2022-Apr-8, at 18:53, bob prohaska wrote: > > > Might this be related to "RPi4B's got a PMIC replacement,..." reported 4/3 ? > > No: See the later note about the RPi4B Revision. > > > A Pi4 (mechanical disk only, no microsd) trying to boot a fresh build of > > -current reports: > > > > Resetting system ... > > > > U-Boot 2020.10 (Mar 04 2021 - 04:32:31 +0000) > > This is an old U-Boot compared to sysutils/u-boot-* . > There may well be good reasons for using it, for all > I know. > Only the most universal reasons: Inertia and ignorance 8-) There are many versions of u-boot for rpi boards, some of which are rather ambiguously named; u-boot-rpi-arm64 versus u-boot-rp4 is a good example. It appears the pkg-descr files have been updated since I last looked, but the descriptions overlap and it's not obvious how to choose among them. Man pages seem passe, is there some other guidance? Even if one knows which to select and build from ports the make install command doesn't really install; the admin still has to know what files to copy where. Your instructions for the task have been noted and saved, but even then it's very easy to make mistakes that are hard to recover from. Does pkg handle u-boot and firmware updates more automatically? Alternatively, is it feasible to update u-boot and firmware with an "installboot" target, either from the port directory or /usr/src? Thanks for reading, and all your help! bob prohaska [big snip]