Date: Thu, 28 Dec 2017 13:50:58 -0700 From: Ross Alexander <rwa@athabascau.ca> To: <freebsd-arm@freebsd.org> Subject: crochet rpi2 boot won't play nice for me... Message-ID: <alpine.BSF.2.21.1712281350350.40444@autopsy.pc.athabascau.ca>
next in thread | raw e-mail | index | archive | help
Folks, I'm sure this is not a head scratcher for the sharp guys, but it's got me stopped: augur2:/u0/crochet # date Tue Dec 26 11:51:38 MST 2017 augur2:/u0/crochet # uname -a FreeBSD augur2.bogons 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r327165M: \ Sun Dec 24 11:00:21 MST 2017 \ toor@augur2.bogons:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64 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 # git status On branch master Your branch is up to date with 'origin/master'. Untracked files: (use "git add <file>..." to include in what will be committed) rpi2.sh rpi3.sh work-rpi3/ nothing added to commit but untracked files present (use "git add" to = track) and my rpi2.sh is pretty minimal: augur2:/u0/crochet # cat rpi2.sh board_setup RaspberryPi2 option ImageSize 7000mb # for 8 gb card option Growfs option User rwa # option UsrPorts /usr/ports option UsrSrc #KERNCONF=3DMYCONF KERNCONF=3DGENERIC-NODEBUG FREEBSD_SRC=3D/u0/cr-src However, crochet craps out at the boot install step: augur2:/u0/crochet # sh ./crochet.sh -c rpi2.sh Starting at Tue Dec 26 11:12:14 MST 2017 Loading configuration from rpi2.sh Board: RaspberryPi2 Option: ImageSize 7000mb Option: Growfs Option: User rwa Option: UsrSrc Source version is: 327181M Building FreeBSD version: 12.0 Image name is: /u0/crochet/work/FreeBSD-armv6-12.0-GENERIC-NODEBUG-327181M-Raspber= ryPi2.img Building FreeBSD version: 12.0 [Creating objdir /u0/crochet/work/obj/u0/cr-src/amd64.amd64...] [Creating objdir /u0/crochet/work/obj/u0/cr-src/arm.armv6...] Object files are at: /u0/crochet/work/obj/u0/cr-src Found suitable FreeBSD source tree in: /u0/cr-src Found U-Boot port in: /usr/local/share/u-boot/u-boot-rpi2 Building FreeBSD armv6 world at Tue Dec 26 11:12:14 MST 2017 (Logging to /u0/crochet/work/_.buildworld.armv6.log) Building FreeBSD armv6-GENERIC-NODEBUG kernel at Tue Dec 26 11:30:53 M= ST 2017 (Logging to /u0/crochet/work/_.buildkernel.armv6-GENERIC-NODEBUG.lo= g) Building FreeBSD armv6-GENERIC-NODEBUG ubldr at Tue Dec 26 11:33:04 MS= T 2017 (Logging to /u0/crochet/work/ubldr-armv6-GENERIC-NODEBUG/_.ubldr.armv6-GENERIC-NODEBUG.= build.log) Creating a 7000MB raw disk image in: /u0/crochet/work/FreeBSD-armv6-12.0-GENERIC-NODEBUG-327181M-Raspber= ryPi2.img Partitioning the raw disk image with MBR at Tue Dec 26 11:33:24 MST 20= 17 gpart create -s MBR md0 md0 created Creating a 50m FAT partition at Tue Dec 26 11:33:24 MST 2017 with star= t block 63 and label BOOT active set on md0s1 Creating an auto-sized UFS partition at Tue Dec 26 11:33:24 MST 2017 md0s2 created /dev/md0s2a: 6625.0MB (13568000 sectors) block size 32768, fragment si= ze 4096 using 11 cylinder groups of 626.09MB, 20035 blks, 80256 inodes. super-block backups (for fsck_ffs -b #) at: 192, 1282432, 2564672, 3846912, 5129152, 6411392, 7693632, 8975872, 10258112, 11540352, 12822592 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 /u0/crochet/work/_.mount.boot 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 There are some WARNING level diagnostics in /u0/crochet/work/ubldr-armv6-GENERIC-NODEBUG/_.ubldr.armv6-GENERIC-NODEBUG.= build.log but nothing that looks like a showstopper. What the heck have I failed to do, or done wrong? FWIW, rpi3 builds run just fine. regards, Ross ---------------------------------------------------------------------------= - Ross Alexander, (780) 675-6823 desk / (780) 689-0749 cell, rwa@athabascau.c= a It is not of the essence of mathematics to be conversant with the ideas of number and quantity. -- George Boole -- This communication is intended for the use of the recipient to whom it is a= ddressed, and may contain confidential, personal, and or privileged informa= tion. Please contact us immediately if you are not the intended recipient o= f this communication, and do not copy, distribute, or take action relying o= n it. Any communications received in error, or subsequent reply, should be = deleted or destroyed. ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.21.1712281350350.40444>