From owner-freebsd-arm@freebsd.org Tue Mar 17 17:35:09 2020 Return-Path: Delivered-To: freebsd-arm@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 07DA126CACB for ; Tue, 17 Mar 2020 17:35:08 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48hgKl0nBWz4BRt for ; Tue, 17 Mar 2020 17:35:06 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id 02HHZG6W066286 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 17 Mar 2020 10:35:17 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id 02HHZFrw066285; Tue, 17 Mar 2020 10:35:15 -0700 (PDT) (envelope-from fbsd) Date: Tue, 17 Mar 2020 10:35:15 -0700 From: bob prohaska To: Mark Millard Cc: Ross Alexander , freebsd-arm , bob prohaska Subject: Re: freebsd-arm Digest, Vol 724, Issue 3 (Answer: sysutils/u-boot-rpi3 and sysutils/u-boot-rpi4 have been updated) Message-ID: <20200317173515.GA65926@www.zefox.net> References: <4DB90158-B77E-4D65-8E94-B6941D7D76DE@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DB90158-B77E-4D65-8E94-B6941D7D76DE@yahoo.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Rspamd-Queue-Id: 48hgKl0nBWz4BRt 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 [3.16 / 15.00]; ARC_NA(0.00)[]; WWW_DOT_DOMAIN(0.50)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; IP_SCORE(0.06)[ip: (0.24), ipnet: 50.1.16.0/20(0.12), asn: 7065(-0.03), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zefox.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(1.00)[0.996,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_SPAM_LONG(0.21)[0.212,0]; R_SPF_NA(0.00)[]; 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]; MID_RHS_MATCH_FROM(0.00)[]; MID_RHS_WWW(0.50)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2020 17:35:09 -0000 On Mon, Mar 16, 2020 at 06:25:01PM -0700, Mark Millard wrote: > > sysutils/u-boot-rpi3 and sysutils/u-boot-rpi4 have > been updated to pick up patches and to configure > the reserved RAM for armstub8*.bin correctly: > > Author: kevans > Date: Mon Mar 16 21:32:55 2020 > New Revision: 528547 > URL: > https://svnweb.freebsd.org/changeset/ports/528547 > > > Log: > sysutils/u-boot-rpi{3,4}: Add patch to fix PSCI stub reservation > > For the traditional spin table setup, only the lowest page needs > to be reserved. However, our PSCI stubs are slightly bigger and occupy > a little over one page. These patches, already sent upstream, allow a > variable number of initial pages to be reserved for the SMP stubs. We > then set the values for these in our fragment to '2' to reserve the first > and second page. > > Approved by: koobs (mentor) > Approved by: manu (uboot, maintainer) > MFH: 2020Q1 > Differential Revision: > https://reviews.freebsd.org/D24085 > > > Modified: > head/sysutils/u-boot-master/distinfo > head/sysutils/u-boot-rpi3/Makefile > head/sysutils/u-boot-rpi3/files/rpi3_fragment > head/sysutils/u-boot-rpi4/Makefile > head/sysutils/u-boot-rpi4/files/rpi4_fragment It looks like sysutils/u-boot-rpi3 builds and installs without error on a Pi3 reporting root@www:/boot/uboot # uname -KU 1300045 1300045 with /usr/ports at Revision: 528581 However, the make install clearly didn't touch /boot/msdos and I couldn't find any obvious instructions on what has to be done by hand (ISTR some brief directions from make install previously). Make install claims to build man pages, but man can't find them. In /usr/ports/sysutils/u-boot-rpi3/work/u-boot-2019.10 are found, among many other things, a series of files: -rwxr-xr-x 1 root wheel 4794232 Mar 17 10:07 u-boot -rwxr-xr-x 1 root wheel 500440 Mar 17 10:07 u-boot-nodtb.bin -rwxr-xr-x 1 root wheel 500440 Mar 17 10:07 u-boot.bin -rw-r--r-- 1 root wheel 9167 Mar 17 09:58 u-boot.cfg -rw-r--r-- 1 root wheel 5605 Mar 17 10:07 u-boot.cfg.configs -rw-r--r-- 1 root wheel 1348 Mar 17 09:59 u-boot.lds -rw-r--r-- 1 root wheel 480139 Mar 17 10:07 u-boot.map -rwxr-xr-x 1 root wheel 1438904 Mar 17 10:07 u-boot.srec -rw-r--r-- 1 root wheel 195715 Mar 17 10:07 u-boot.sym Any hints as to what goes where would be most helpful. Thanks for reading, and apologies for all the dumb questions! bob prohaska