On 2016-Nov-7, at 1:16 PM, Brad Davis <b...@freebsd.org> wrote:

> On Mon, Nov 07, 2016 at 12:19:24PM -0800, Mark Millard wrote:
>> It looks like http://pkg.freebsd.org is still back as of head being 
>> 11-CURRENT: http://pkg.freebsd.org shows only
> Correct.  I wrote up some details on how to use the 11 packages here:
> http://www.raspbsd.org/raspberrypi.html
> Regards,
> Brad Davis

Thanks. That helped me get to the next issue to figure out.

I eventually found that https://wiki.freebsd.org/arm64/rpi3 has a "Package 
Repo" section with the alternate ABI information for pkg and also how to get 
port builds going (putting an ld in place) --as if the material was RPI3 
specific. https://wiki.freebsd.org/arm64/rpi3 says:

> There is no package repo for 12-CURRENT, but the package repo for 11 can be 
> used on 12-CURRENT by telling pkg to use the FreeBSD 11 aarch64 ABI: 
> env ABI=FreeBSD:11:aarch64 pkg bootstrap
> Once pkg is bootstrapped, you can add this to /usr/local/etc/pkg.conf: 
> ABI = "FreeBSD:11:aarch64";
> If you want to build your own ports or packages, you'll need to install the 
> aarch64-binutils package and link /usr/bin/ld to 
> /usr/local/bin/aarch64-freebsd-ld: 
> # pkg install aarch64-binutils
> # ln /usr/local/bin/aarch64-freebsd-ld /usr/bin/ld
> Note that if you're building directly on the RPI3, you will definitely want 
> to use either USB storage or NFS. Building on the sdcard will likely wear the 
> sdcard out. 

(I have the root filesystem on a USB SSD.)

My context is a Pine64+ 2GB --which https://wiki.freebsd.org/arm64 does not 
even mention as covered by TARGET_ARCH=aarch64 . But crochet is set up for 
pine64's and uses TARGET_ARCH=aarch64 style builds.

Mark Millard
markmi at dsl-only.net

freebsd-current@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to