Date: Thu, 28 Dec 2017 20:54:43 -0800 From: Mark Millard <markmi@dsl-only.net> To: rwa@athabascau.ca, Freebsd-arm <freebsd-arm@freebsd.org> Subject: Re: crochet rpi2 boot won't play nice for me... Message-ID: <D8C429DF-B6FB-4A80-BA63-9027FCBB5ABF@dsl-only.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D8C429DF-B6FB-4A80-BA63-9027FCBB5ABF>