Skip to content

Instantly share code, notes, and snippets.

@christianchristensen
Created April 27, 2015 02:31
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save christianchristensen/09bc19247d96dd9b2242 to your computer and use it in GitHub Desktop.

FreeBSD pkgng for the Raspberry Pi (ARMv6)

Background (pre-req: build packages)

Make ARMv6 packages

Results

Build env:

[root@ ~]# uname -a
FreeBSD  10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
[root@ ~]# chroot /usr/local/poudriere/jails/10armv6
root@:/ # uname -a
FreeBSD  10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  arm

Raspberry Pi

[chris@raspberry-pi ~]$ uname -a
FreeBSD raspberry-pi 10.1-STABLE FreeBSD 10.1-STABLE #0 r281609: Fri Apr 17 11:16:36 UTC 2015     root@releng1.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/RPI-B  arm
[chris@raspberry-pi ~]$ cowsay "Hello ARMv6"
 _____________ 
< Hello ARMv6 >
 ------------- 
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
[chris@raspberry-pi ~]$ pkg info
bash-4.3.33                    The GNU Project's Bourne Again SHell
cowsay-3.03_2                  Configurable talking characters in ASCII art
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment