sysutils/u-boot-rpi2 appears to be broken with freebsd/crochet from github
tech-lists
tech-lists at zyxst.net
Sun Mar 4 01:08:07 UTC 2018
Hello ports@
I don't know whether this is a freebsd/crochet
(https://github.com/freebsd/crochet) problem or a
/usr/ports/sysutils/u-boot-rpi2 problem.
When I use crochet to build for rpi2 it never completes writing the
image because it looks for things in /usr/local/share/u-boot/u-boot-rpi2
and doesn't find for example LICENCE.broadcom. There's just two files
there:
root at desktop:/usr/local/share/u-boot/u-boot-rpi2 # ls -lah
total 295
drwxr-xr-x 2 root wheel 4B Mar 3 20:26 .
drwxr-xr-x 4 root wheel 4B Mar 4 00:58 ..
-rw-r--r-- 1 root wheel 765B Mar 3 20:23 README
-rw-r--r-- 1 root wheel 371K Mar 3 20:23 u-boot.bin
The build fails with the following:
[...]
Creating a 50m FAT partition at Sun Mar 4 00:56:08 UTC 2018 with start
block 63 and label BOOT
active set on md0s1
Creating an auto-sized UFS partition at Sun Mar 4 00:56:08 UTC 2018
md0s2 created
/dev/md0s2a: 3668.5MB (7513088 sectors) block size 32768, fragment size 4096
using 6 cylinder groups of 626.09MB, 20035 blks, 80256 inodes.
super-block backups (for fsck_ffs -b #) at:
192, 1282432, 2564672, 3846912, 5129152, 6411392
tunefs: soft updates set
Using inode 4 in cg 0 for 4194304 byte journal
tunefs: soft updates journaling set
tunefs: NFSv4 ACLs set
Mounting all file systems:
Mounting FAT partition 1 at /root/crochet/work/_.mount.boot
Mounting UFS partition 1 at /root/crochet/work/_.mount.freebsd
cp: /usr/local/share/u-boot/u-boot-rpi2/LICENCE.broadcom: No such file
or directory
In contrast, /usr/ports/sysutils/u-boot-rpi3 installs the following into
/usr/local/share/u-boot/u-boot-rpi3:
root at desktop:/usr/local/share/u-boot/u-boot-rpi3 # ls -lah
total 9078
drwxr-xr-x 2 root wheel 16B Mar 4 00:58 .
drwxr-xr-x 4 root wheel 4B Mar 4 00:58 ..
-rw-r--r-- 1 root wheel 1.5K Mar 4 00:58 LICENCE.broadcom
-rw-r--r-- 1 root wheel 123B Mar 4 00:58 README
-rw-r--r-- 1 root wheel 6.0K Mar 4 00:58 armstub8.bin
-rw-r--r-- 1 root wheel 18K Mar 4 00:58 bootcode.bin
-rw-r--r-- 1 root wheel 136B Mar 4 00:58 config.txt
-rw-r--r-- 1 root wheel 6.3K Mar 4 00:58 fixup.dat
-rw-r--r-- 1 root wheel 2.4K Mar 4 00:58 fixup_cd.dat
-rw-r--r-- 1 root wheel 9.5K Mar 4 00:58 fixup_db.dat
-rw-r--r-- 1 root wheel 9.5K Mar 4 00:58 fixup_x.dat
-rw-r--r-- 1 root wheel 2.6M Mar 4 00:58 start.elf
-rw-r--r-- 1 root wheel 604K Mar 4 00:58 start_cd.elf
-rw-r--r-- 1 root wheel 4.7M Mar 4 00:58 start_db.elf
-rw-r--r-- 1 root wheel 3.7M Mar 4 00:58 start_x.elf
-rw-r--r-- 1 root wheel 361K Mar 4 00:58 u-boot.bin
and it builds fine, which leads me to think the problem isn't with
crochet. Both u-boot-rpi2 and u-boot-rpi3 build and install cleanly from
ports.
--
J.
More information about the freebsd-arm
mailing list