From owner-freebsd-arm@freebsd.org Mon May 6 19:42:23 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BB0201593BE3 for ; Mon, 6 May 2019 19:42:23 +0000 (UTC) (envelope-from james@opentech.cc) Received: from NAM04-SN1-obe.outbound.protection.outlook.com (mail-eopbgr700084.outbound.protection.outlook.com [40.107.70.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 997F886738 for ; Mon, 6 May 2019 19:42:21 +0000 (UTC) (envelope-from james@opentech.cc) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=opentech.cc; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ykj0bvKeb0sLrlGRaUpjQa4myLcBLEy/WErkh6TxZrA=; b=cvzbvz92zK/k39jlTXY8RlrBXGzJk/0UbFJWYBKb2hWa8tTRJiu/xbt2f0wVU9zDxoIBvTVi0vQGI0OZG+BuLSA5/8z9RqFlJmET1Cdq7RCz3+W1u8JVfMCvKl2G9zuAX7HrS/zuQSx8LRC8anHe3A757Sih28mNOxxj/mqJFMs= Received: from BN7PR06MB5187.namprd06.prod.outlook.com (20.176.29.18) by BN7PR06MB3793.namprd06.prod.outlook.com (52.132.216.157) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1856.12; Mon, 6 May 2019 19:42:18 +0000 Received: from BN7PR06MB5187.namprd06.prod.outlook.com ([fe80::3934:1ed8:5f2e:1d6f]) by BN7PR06MB5187.namprd06.prod.outlook.com ([fe80::3934:1ed8:5f2e:1d6f%5]) with mapi id 15.20.1856.012; Mon, 6 May 2019 19:42:18 +0000 From: James Shuriff To: bob prohaska CC: "freebsd-arm@freebsd.org" Subject: RE: Compiling u-boot-rpi3 on an rpi3 Thread-Topic: Compiling u-boot-rpi3 on an rpi3 Thread-Index: AQHVA6/hKExcD8AWFEuc9fg9iSbTAKZeZdjtgAACnHCAABQsgIAAAFCg Date: Mon, 6 May 2019 19:42:18 +0000 Message-ID: References: <20190506020115.GA40421@www.zefox.net> <20190506151908.GA43714@www.zefox.net> <20190506180501.GB44000@www.zefox.net> <20190506192919.GA44506@www.zefox.net> In-Reply-To: <20190506192919.GA44506@www.zefox.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [71.251.5.193] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 75a16a82-2779-4f60-2bd4-08d6d25af31f x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(7021145)(8989299)(4534185)(7022145)(4603075)(4627221)(201702281549075)(8990200)(7048125)(7024125)(7027125)(7023125)(5600141)(711020)(4605104)(2017052603328)(7193020); SRVR:BN7PR06MB3793; x-ms-traffictypediagnostic: BN7PR06MB3793: x-ms-exchange-purlcount: 1 x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-forefront-prvs: 0029F17A3F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(136003)(346002)(366004)(376002)(39830400003)(38564003)(199004)(189003)(13464003)(66066001)(81156014)(81166006)(966005)(52536014)(508600001)(8676002)(305945005)(76116006)(74316002)(73956011)(86362001)(33656002)(64756008)(66446008)(66556008)(68736007)(66476007)(66946007)(186003)(6506007)(71190400001)(71200400001)(26005)(53546011)(55016002)(6246003)(316002)(476003)(74482002)(53936002)(6436002)(99286004)(486006)(5660300002)(229853002)(2906002)(25786009)(7736002)(76176011)(4326008)(7696005)(102836004)(6306002)(256004)(6916009)(14454004)(5024004)(8936002)(3846002)(6116002)(446003)(14444005)(9686003)(11346002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN7PR06MB3793; H:BN7PR06MB5187.namprd06.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: opentech.cc does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: JpesYGUbLq/2R8T0ycdAEQ7dqpHnw3dflQhUon+b57yd9CMGIpRg/hcajy8fjDklYy0Gn887oiQlxlkP1u06ApTRZNZUPIQWmQc2DCELxufZLLSpyWVPvvgcUxj6cG88mHDE47DVp6i/jpiWjFYynOA7ahql9hCxiaoflTkRloUmT3JiZsopc3Nd8PAYVxUo9IrPj1dFg4C3ang2WqKN08qjZ+kuLEKdjRumYAOUOM1oiznSN+ofGD1rc9h8ZvXXGEZ59ljQ8/gV+6mxlTPW8xSejBOevekJVG/OxjBddt4sHxLeZQXgsKwCwIHxkQb854dHOg5zcG/cOLEVl35/wfF6F4p6PVY0oITFBkyYWx0A61guUQCiRW9YXNIoTae4WmGo9CAffw9387vASGJFd07AVYOiZnssK17snpwtBag= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: opentech.cc X-MS-Exchange-CrossTenant-Network-Message-Id: 75a16a82-2779-4f60-2bd4-08d6d25af31f X-MS-Exchange-CrossTenant-originalarrivaltime: 06 May 2019 19:42:18.5250 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 5c5dd5ac-929c-48f6-a3f4-c0c8602c24af X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR06MB3793 X-Rspamd-Queue-Id: 997F886738 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=opentech.cc header.s=selector1 header.b=cvzbvz92; spf=pass (mx1.freebsd.org: domain of james@opentech.cc designates 40.107.70.84 as permitted sender) smtp.mailfrom=james@opentech.cc X-Spamd-Result: default: False [-3.15 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[opentech.cc:s=selector1]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:40.107.0.0/16]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[opentech.cc]; NEURAL_HAM_MEDIUM(-0.99)[-0.988,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[opentech.cc:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[84.70.107.40.list.dnswl.org : 127.0.3.0]; MX_GOOD(-0.01)[cached: opentech-cc.mail.protection.outlook.com]; NEURAL_HAM_SHORT(-0.65)[-0.652,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[] 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: Mon, 06 May 2019 19:42:24 -0000 /boot/msdos is an arbitrary location. It's not even required to mount it. I= mount my FAT partition elsewhere. Some boards don't even have u-boot in th= e filesystem they dd it directly onto the disk. Also consider you don't hav= e to build the port on the Raspberry Pi, so there would be no way to instal= l u-boot from the host system without knowing where the SD card is mounted. The rpi-firmware port also puts stuff in /usr/local/share. That's the port = that has most of the files needed for the Raspberry Pi's FAT partition. Her= e is a list of the files in the FAT partition and where you can get them fr= om: /LICENSE.broadcom: rpi-firmware port /armstub8.bin: rpi-firmware port /bcm2710-rpi-3-b.dtb: rpi-firmware port /bootcode.bin: rpi-firmware port /config.txt: rpi-firmware (config_rpi3.txt) /dtb/*: FreeBSD Build Output (/usr/obj/usr/src/arm64.aarch64/sys/$KERNCONF/= modules/usr/src/sys/modules/dtb or /boot/dtb on the Raspberry Pi) /fixup*.dat: rpi-firmware port /overlays/*: rpi-firmware port /start*.elf: rpi-firmware port /u-boot.bin: u-boot-rpi3 port - James Shuriff -----Original Message----- From: bob prohaska Sent: Monday, May 6, 2019 3:29 PM To: James Shuriff Cc: bob prohaska Subject: Re: Compiling u-boot-rpi3 on an rpi3 On Mon, May 06, 2019 at 06:18:35PM +0000, James Shuriff wrote: > Copy /usr/local/share/u-boot/u-boot-rpi3/u-boot.bin to /boot/msdos. > Ok, that did the trick. Is there some particular reason make install didn'= t perform the copy? Thank you very much! bob prohaska > - James Shuriff > > -----Original Message----- > From: owner-freebsd-arm@freebsd.org On > Behalf Of bob prohaska > Sent: Monday, May 6, 2019 2:05 PM > To: Mika??l Urankar > Cc: freebsd-arm@freebsd.org; freebsd-ports@freebsd.org > Subject: Re: Compiling u-boot-rpi3 on an rpi3 > > On Mon, May 06, 2019 at 06:20:45PM +0200, Mika??l Urankar wrote: > > Le lun. 6 mai 2019 ?? 17:19, bob prohaska a ??crit= : > > > > > > On Mon, May 06, 2019 at 03:22:31PM +0200, Mika??l Urankar wrote: > > > > > > > > It builds fine here on aarch64, do you have security/openssl* insta= lled? > > > > > > > > > > Yes, security/openssl is installed. I didn't use it by default > > > because of earlier reports of trouble. The system reminds me that > > > > Delete it and rebuild u-boot-rpi3 > > > > That certainly helped, make now runs successfully. > > But, make install didn't update anything in /boot/msdos. > There seem to be three copies of u-boot-bin floating around, with identic= al size. Should I copy one manually to /boot/msdos, and does it matter whic= h one? > > Thanks for reading and your help! > > bob prohaska > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > ________________________________ > DISCLAIMER: This message and any attachments are intended solely for the= use of the recipient and may contain confidential information. If you have= received this message in error please delete it and promptly notify the se= nder, James Shuriff (james@opentech.cc). > ________________________________ DISCLAIMER: This message and any attachments are intended solely for the u= se of the recipient and may contain confidential information. If you have r= eceived this message in error please delete it and promptly notify the send= er, James Shuriff (james@opentech.cc).