From owner-freebsd-arm@freebsd.org Fri Dec 29 04:54:48 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C0B16EA9B35 for ; Fri, 29 Dec 2017 04:54:48 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-128.reflexion.net [208.70.210.128]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 689977BDCD for ; Fri, 29 Dec 2017 04:54:47 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 20885 invoked from network); 29 Dec 2017 04:54:45 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 29 Dec 2017 04:54:45 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Thu, 28 Dec 2017 23:54:45 -0500 (EST) Received: (qmail 5549 invoked from network); 29 Dec 2017 04:54:45 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 29 Dec 2017 04:54:45 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 0B63DEC8171; Thu, 28 Dec 2017 20:54:45 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: crochet rpi2 boot won't play nice for me... Message-Id: Date: Thu, 28 Dec 2017 20:54:43 -0800 To: rwa@athabascau.ca, Freebsd-arm X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Dec 2017 04:54:48 -0000 Ross Alexander rwa at athabascau.ca wrote on Thu Dec 28 20:51:03 UTC 2017 : > I'm sure this is not a head scratcher for the sharp guys, but it's got > me stopped: > > . . . > > augur2:/u0/crochet # pkg info -l u-boot-rpi2-2017.09.00_1 > u-boot-rpi2-2017.09.00_1: > /usr/local/share/licenses/u-boot-rpi2-2017.09.00_1/GPLv2 > /usr/local/share/licenses/u-boot-rpi2-2017.09.00_1/LICENSE > /usr/local/share/licenses/u-boot-rpi2-2017.09.00_1/catalog.mk > /usr/local/share/u-boot/u-boot-rpi2/README > /usr/local/share/u-boot/u-boot-rpi2/u-boot.bin > . . . > augur2:/u0/crochet # sh ./crochet.sh -c rpi2.sh > Starting at Tue Dec 26 11:12:14 MST 2017 > . . . > Mounting UFS partition 1 at /u0/crochet/work/_.mount.freebsd > cp: /usr/local/share/u-boot/u-boot-rpi2/bootcode.bin: No such file or > directory Comparing side-by-side: /usr/local/share/u-boot/u-boot-rpi2/u-boot.bin /usr/local/share/u-boot/u-boot-rpi2/bootcode.bin Someplace crochet is coming up with the name bootcode.bin instead of u-boot-bin . You could look around with something like: grep -r bootcode.bin /u0/crochet/ I'll note that (for reference): # more /usr/local/share/u-boot/u-boot-rpi2/README U-Boot loader for Raspberry Pi 2 To install this bootloader, copy u-boot.bin in the share/u-boot/u-boot-rpi directory to the first partition, formatted as FAT16 or FAT32, on an SD card. You will also need the firmware files from the rpi-firmware package. This version is patched so that: * ELF and API features are enabled. * The distroboot command knows how to load FreeBSD loader(8) * By default, it loads ubldr.bin (PIE) from file ubldr.bin on the FAT partition to address ${kernel_addr_r}, and launches it. If ubldr.bin is not found, it falls back on ubldr . . . === Mark Millard markmi at dsl-only.net