freebsd / crochet

Build FreeBSD images for RaspberryPi, BeagleBone, PandaBoard, and others.
BSD 2-Clause "Simplified" License
608 stars 187 forks source link

u-boot/u-boot-rpi3/armstub8.bin #268

Open reida opened 5 years ago

reida commented 5 years ago

can't build RPI3CML image

uname -a FreeBSD tesla.local 11.2-RELEASE-p4 FreeBSD 11.2-RELEASE-p4 #0: Thu Sep 27 08:16:24 UTC 2018 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64

log Creating a 50m FAT partition at Пн 5 лист. 2018 17:52:53 EET with start block 63 and label BOOT active set on md1s1 Creating an auto-sized UFS partition at Пн 5 лист. 2018 17:52:53 EET md1s2 created /dev/md1s2a: 1856.5MB (3802112 sectors) block size 32768, fragment size 4096 using 4 cylinder groups of 464.16MB, 14853 blks, 59520 inodes. super-block backups (for fsck_ffs -b #) at: 192, 950784, 1901376, 2851968 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-rpi3/armstub8.bin: No such file or directory

board: rpi3cml mount /dev/md1s1 on /root/crochet/work/.mount.boot (msdosfs, local) /dev/md1s2a on /root/crochet/work/.mount.freebsd (ufs, local, journaled soft-updates, nfsv4acls)

brd commented 5 years ago

Did you install the u-boot pkg?

DianeBruce commented 5 years ago

On Tue, Nov 06, 2018 at 08:52:11AM -0800, Brad Davis wrote:

Did you install the u-boot pkg?

The firmware was moved to /usr/local/share/rpi-firmware It is no longer bundled as part of u-boot pkg armstub8.bin will be found in that directory after building rpi-firmware

--

reida commented 5 years ago

brd: yes. I have u-boot:


root@tesla:~ # pkg info | grep u-boot
u-boot-rpi3-2018.09_3          Cross-build das u-boot for model rpi3
reida commented 5 years ago

DianeBruce: yes, I have /usr/local/share/rpi-firmware/armstub8.bin so how I can fix build? just copy this file to /usr/local/share/u-boot/u-boot-rpi3/armstub8.bin or do other manipulations?

reida commented 5 years ago

Also I have another question. Is image for RPI3CML is suitable for RPI3CM?