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
I’m wondering how to use java on FreeBSD Arm
As far as I know nobody tried it yet. But I guess the way to go is to build openjdk and try running it.
Don’t use Java at all.
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.
Glad to see how the necessary building blocks start to appear and the whole ecosystem takes shape! Good work!
How can we add packages that we’ve built on the Pi to this repo? Is there a place to ftp them?
You can build your own repo
here is the good start: https://glenbarber.us/2012/06/11/Maintaining-Your-Own-pkgng-Repository.html
# 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?
After a bit of research, I found this tip:
fetch -o pkg.txz http://people.freebsd.org/~gonzo/arm/pkg/pkg-1.0.4_1.txz
tar xf //pkg.txz -s “,/.*/,,g” “*/pkg-static”
./pkg-static add //pkg.txz
This worked for me.
Thanks David,
This helped me install pkg on my Beaglebone board
You have to intsall pkg manually. I did it from ports but this package should be OK I believe: http://people.freebsd.org/~gonzo/arm/pkg/pkg-1.0.4_1.txz
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/ ?
I’ll post detailed instruction tomorrow. This instruction is not really relevant to this case 🙁
If you would like to try hiawatha web-server
http://www.freebsdarm.org/pkg/
Hello, is there eabi packages is?
It’s been impossible to use java on FreeBSD Arm – I was also looking to solve that issue lately.
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?
Maybe it isn’t too late but I began creating and maintaining an unofficial FreeBSD repository for RPI. See http://uzsolt.hu/freebsd/