Packages(*) for Rasberry Pi(**)

January 11, 2013 — 20 Comments

I finally got around to setting up experimental pkgng repo for ARM in order to share packages with other ARM developers and users who feel adventurous. And man, was it simple. I have pandaboard that is super-fast comparing to Raspberri Pi so I use it for building ports. There were several installed so I just had to generate packages for them using

pkg create -a

command. Then I uploaded all newly generated files to the server, grabbed packages built and shared by Stephen Hurd, removed duplicates with older versions and generated repo.txz by issuing

pkg repo

command.

Then on a raspberry pi I created pkg.conf in which I pointed to my newly created “repo”, updated metada and installed git:

# echo 'PACKAGESITE: http://people.freebsd.org/~gonzo/arm/pkg/' > /usr/local/etc/pkg.conf
# pkg update
# pkg install git

Pi took some time to push files back and forth over NFS (I use NFS root on my devices) but eventually I got git with all dependencies up and running.

!!! Please note that packages are not officially provided by FreeBSD Project. They’re only for experimental purpose so install them at your own discretion !!!

Thanks to bapt@ for working on this great tool.

* – some
** – And for other ARM devices

gonzo

Posts

20 responses to Packages(*) for Rasberry Pi(**)

  1. I’m wondering how to use java on FreeBSD Arm

  2. Hello,

    Is the graphic chipset supported to run Xorg on the Raspberry PI ?

    • Not yet. I’m not sure if there is hardware accelerated driver for xorg though. I had preliminary port of OpenGL stuff three or four months ago but it’s rotten since then and now I’m working on new port. Hope to get it finished next week.

      ray@ is also working on generic framebuffer xorg driver.

  3. Glad to see how the necessary building blocks start to appear and the whole ecosystem takes shape! Good work!

  4. David Quattlebaum January 22, 2013 at 8:39 am

    How can we add packages that we’ve built on the Pi to this repo? Is there a place to ftp them?

  5. David Quattlebaum January 26, 2013 at 8:52 am

    # mkdir /usr/local/etc
    # echo ” PACKAGESITE: http://people.freebsd.org/~gonzo/arm/pkg/” > /usr/local/etc/pkg.conf
    # pkg update
    The package management tool is not yet installed on your system.
    Do you want to fetch and install it now? [y/N]: y
    Bootstrapping pkg please wait
    _http._tcp.pkg.FreeBSD.org
    pkg: Error fetching http://pkg.FreeBSD.org/freebsd:10:arm:32:el:oabi:softfp/latest/Latest/pkg.txz: Not Found

    Is this supposed to work when running pkg the first time?

  6. You mentioned running via NFSroot here. Would love to get a little more info on how you’re doing that. I’m following the guide: http://www.freebsd.org/doc/handbook/network-pxe-nfs.html, and adjusting for the Pi, but which files need to go in /tftpboot/get FreeBSD/install/boot/ ?

  7. If you would like to try hiawatha web-server
    http://www.freebsdarm.org/pkg/

  8. Hello, is there eabi packages is?

  9. It’s been impossible to use java on FreeBSD Arm – I was also looking to solve that issue lately.

  10. I installed pkg and used the updated config scheme by placing the following into /etc/pkg/FreeBSD.conf:

    FreeBSD: {
    url: “pkg+http://people.freebsd.org/~gonzo/arm/pkg/”,
    mirror_type: “srv”,
    enabled: yes
    }

    Unfortunately, when trying to update the catalogue, it fails as no digests.txz file is available at that repo any more:

    pkg: http://people.freebsd.org/~gonzo/arm/pkg//digests.txz: Not Found

    I realise this post was back in 2013. However, are there any other and/or official repos available for armv6 packages?

Trackbacks and Pingbacks:

  1. Packages(*) for Rasberry Pi(**) Para FreeBSD - January 12, 2013

    [...] Este es una traducción de un post original que se puede encontrar en esta liga: http://kernelnomicon.org/?p=261 [...]

  2. FreeBSD ARM Tools ← Daveish - February 26, 2013

    [...] according to instructions noted by David Quattlebaum’s comment on Gonzos post Packages(*) for Rasberry Pi(**). This handy tool will allow you to bootstrap the pkg system for FreeBSD as in the example below, [...]

Leave a Reply

*

Text formatting is available via select HTML. <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>