pf="YES"
pf_enable="YES"
# uname -a
FreeBSD raspberry-pi 10.0-CURRENT FreeBSD 10.0-CURRENT #66 r250580M: Sun May 12 18:08:27 EDT 2013 root@odyssey:/home/db/FreeBSD/obj/arm.armv6/home/db/svn/system/head/sys/RPI-B arm
# cat /etc/rc.conf
hostname="raspberry-pi"
ifconfig_ue0="DHCP"
sshd_enable="YES"
pf_enable="YES"
pf_rules="/etc/pf.conf"
devd_enable="YES"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
# pfctl -f /etc/pf.conf
pfctl: /dev/pf: No such file or directory
# kldstat
Id Refs Address Size Name
1 1 0xc0100000 4a256c kernel
# kldload pf
kldload: can't load pf: No such file or directory
# /etc/rc.d/pf start
kldload: can't load pf: No such file or directory
/etc/rc.d/pf: WARNING: Unable to load kernel module pf
ls /boot/kernel
? If that directory is empty, it means that the image does not contain kernel modules (or some of kernel modules) and in this case you should build your own image. @gonzo@ posted a blog entry a while ago, it contains a script to automatically generate FreeBSD images for Raspberry Pi. You need -CURRENT branch to build your image: # svn co [url=https://svn0.us-west.FreeBSD.org/base/head]https://svn0.us-west.FreeBSD.org/base/head[/url] /usr/src
[CMD]export SRCROOT=/src/FreeBSD/head[/CMD] # path to source tree
[CMD]export MAKEOBJDIRPREFIX=/src/FreeBSD/obj[/CMD] # path to obj directory
[CMD]export IMG=/src/FreeBSD/obj/bsd-pi.img[/CMD] # the image will be saved here
# ls /boot/kernel/
kernel kernel.gz.tramp kernel.symbols
root@dorothy:~ # objdump --full-contents /bin/ls | grep abi
8e78 5f5f6165 6162695f 72656164 5f747000 __aeabi_read_tp.
0000 411d0000 00616561 62690001 13000000 A....aeabi......
freesbies said:Try this:
Hope that this will help you.