crochet rpi2 boot won't play nice for me...
Mark Millard
markmi at dsl-only.net
Fri Dec 29 04:54:48 UTC 2017
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
More information about the freebsd-arm
mailing list