From owner-freebsd-ports@freebsd.org Sun Mar 4 01:08:07 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 51A13F2795E; Sun, 4 Mar 2018 01:08:07 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EE6BA8049F; Sun, 4 Mar 2018 01:08:06 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 468FF209B0; Sat, 3 Mar 2018 20:08:00 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Sat, 03 Mar 2018 20:08:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h=cc :content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=1q3o1jKFvIWWrCAW4eOjnQQ4Ukxbjj6RXDeEbUf/R50=; b=j6mYEnP7 QVDEMEvI98VeFRxZK/9GDwKWjXx4WKcwgIEe5E+9k1Dy6HIqJGgUo+zaWsrI1Jzo yWPsR3aCc/zvv+Lc2wBWH2eI8YIlzTz+qQ4ffcSAxl5YEGGdT6TxV1mDa+g7n6c9 EYIDsGeoCrpdmY5jh+5lFLrN66tVJfJZrnKpUK/gzeW1d9jsI9rfSu+rUnNfmg53 3flUxruFZqovOfYPsbvR45xRlS2SlHATZKQ5s74EfUIm8gKaJLdy6khUH5kprE6Y cIg9RcZVKrkSoEQnvuUlrkGx+Xf+Z7L5pywFLzBJe7C0GgwwnwCoTf7rE7mfG4KS zWZor09oUsxYMA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=1q3o1jKFvIWWrCAW4eOjnQQ4Ukxbj j6RXDeEbUf/R50=; b=KXWjZh54eZ/WIxOYRjvp5+ApgcbR8iQOAKz54gWTQVbtR EE3R1EGtqbmqrqB/kdxFroxjJd6/rP4CBRhiqZj334a4Bw0Cl7gZl2Z3LRjOvSs/ p+vGiLHBCn9MqHBe1McMi3woVN/CkR9EphCLSF0CWWIDUbBUx8CyRO6e07S2o9l6 mHhvCTMFK7Y7TY5jk5ibvf+Hchag4NNPw0HS+/iiYCleShm2FkMpbhI73Bz6+QLI OodeCstcYNUirFHYjTpYiMUNxe3tmwqUgZLCmnt7+OiWhyc4JrwwgYmTH7FVPzks m+CTKO3SfKjnV7+C3pXoFgXeuEjv3cpmMTXnglc+w== X-ME-Sender: Received: from desktop.local (parsley.growveg.org [82.70.91.97]) by mail.messagingengine.com (Postfix) with ESMTPA id BE4EB7E140; Sat, 3 Mar 2018 20:07:59 -0500 (EST) To: freebsd-ports@freebsd.org From: tech-lists Subject: sysutils/u-boot-rpi2 appears to be broken with freebsd/crochet from github Cc: freebsd-arm@freebsd.org Message-ID: <2bce9ec3-3c80-b986-ee8f-33cf60fe3030@zyxst.net> Date: Sun, 4 Mar 2018 01:07:58 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2018 01:08:07 -0000 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@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@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.