Discussion:
rsync for FreeBSD 12
(too old to reply)
Doug Hardie
2018-05-17 06:45:44 UTC
Permalink
I have a Rapsberry Pi 3 running FreeBSD 12 current. I would like to be able to install rsync and a few other packages on it. However, there are no packages available. I don't have enough disk space to install the ports. Is there a way to do this?

-- Doug
Erich Dollansky
2018-05-17 10:13:46 UTC
Permalink
Hi,

On Wed, 16 May 2018 23:45:44 -0700
Post by Doug Hardie
I have a Rapsberry Pi 3 running FreeBSD 12 current. I would like to
be able to install rsync and a few other packages on it. However,
there are no packages available. I don't have enough disk space to
install the ports. Is there a way to do this?
I use NFS, alternatively, you can use binaries from 11.

Erich
Doug Hardie
2018-05-17 18:40:24 UTC
Permalink
Post by Erich Dollansky
Hi,
On Wed, 16 May 2018 23:45:44 -0700
Post by Doug Hardie
I have a Rapsberry Pi 3 running FreeBSD 12 current. I would like to
be able to install rsync and a few other packages on it. However,
there are no packages available. I don't have enough disk space to
install the ports. Is there a way to do this?
I use NFS, alternatively, you can use binaries from 11.
As best as I can tell there are no binaries for Rapsberry Pi 3 for FreeBSD 11. Support for that was introduced in 12. What I did was to bring down the source for those ports on a 11 system, do all the pre-compile work and then tar the entire directory. Copied it to the Pi and then built it there. Rsync relies on libiconv so I had to do the same for that also. Interestingly enough, rsync couldn't find the libiconv. Ktrace showed it never looked in /usr/local/bin. So I added a link for it in /usr/bin and now it works.


-- Doug
Mike via freebsd-questions
2018-05-17 14:58:29 UTC
Permalink
Post by Doug Hardie
I have a Rapsberry Pi 3 running FreeBSD 12 current. I would like to be able to install rsync and a few other packages on it. However, there are no packages available. I don't have enough disk space to install the ports. Is there a way to do this?
This is an excerpt from a script I use to setup my RPi3 environment
after a fresh install from the image. It allows FreeBSD 11 packages to
be installed using the pkg command:


======

echo " "
echo "setting up pkg"
# needed for pkg because image was built against older userland
ln -s /usr/lib/libarchive.so /usr/lib/libarchive.so.6
env ABI=FreeBSD:11:aarch64 pkg bootstrap
test ! -d /usr/local/etc && mkdir -p /usr/local/etc
echo 'ABI = "FreeBSD:11:aarch64";' >> /usr/local/etc/pkg.conf

======

I have not used it since installed the early April 2018 image, but it
worked fine for that.

Hope this helps.
sergio lenzi
2018-05-18 20:49:32 UTC
Permalink
Post by Doug Hardie
I have a Rapsberry Pi 3 running FreeBSD 12 current. I would like
to be able to install rsync and a few other packages on
it. However, there are no packages available. I don't have enough
disk space to install the ports. Is there a way to do this?
Hello!, You say that you have a RPI 3 running FreeBSD12 ?? can you
tel me if you have an HDMI monitor working ???
I have tried several images but none were able to show anything in the
HDMI port for RPI 3.
Can you please point me to the site you use to download the
RPI FreeBSD Image??
________________________
https://lists.freebsd.org/mailman/listinfo/freebsd-questions id="-x-
evo-selection-start-marker">
sd.org"
Doug Hardie
2018-05-19 05:19:04 UTC
Permalink
-- Doug
Post by sergio lenzi
Post by Doug Hardie
I have a Rapsberry Pi 3 running FreeBSD 12 current. I would like
to be able to install rsync and a few other packages on
it. However, there are no packages available. I don't have enough
disk space to install the ports. Is there a way to do this?
Hello!, You say that you have a RPI 3 running FreeBSD12 ?? can you
tel me if you have an HDMI monitor working ???
I have tried several images but none were able to show anything in the
HDMI port for RPI 3.
Can you please point me to the site you use to download the
RPI FreeBSD Image??
At this point I don't have many details. The unit is a 3-5 hour drive from me. The person who set it up does not know much about what he is doing, and remembers most of it incorrectly. He claims there is a console, but I don't know if its HDMI or USB based. I think he was able to log into the unit, but that has not been confirmed. All of my access has been through SSH. I don't know for sure which RPI board this actually is. I have heard 3 and 3B. I suspect it is an older 3 through. Ethernet, USB ethernet, and USB serial all work. Shutdown -p does a reboot like shutdown -r. Also the rc.conf method to extend the flash drive does not work. I had to run the function the rc.d script calls manually to make that happen.

rbpi% uname -a
FreeBSD rbpi 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r320146M: Tue Jun 20 09:59:03 MDT 2017 ***@hive.raspbsd.org:/usr/home/brd/rpi3/crochet/work/obj/arm64.aarch64/usr/src/sys/GENERIC arm64

I know he downloaded the image from the FreeBSD servers. I think it was an earlier version of FreeBSD-12.0-CURRENT-arm64-aarch64-PINE64-20180426-r333017.img.xz found at: https://download.freebsd.org/ftp/snapshots/arm64/aarch64/ISO-IMAGES/12.0/

Supposedly I am being sent a unit in the next week or so and will be able to try to set it up myself and see how to make it work.
Mike via freebsd-questions
2018-05-19 14:21:37 UTC
Permalink
I have a Rapsberry Pi 3 running FreeBSD 12 current. I would like to
be able to install rsync and a few other packages on it. However,
there are no packages available. I don't have enough disk space to
install the ports. Is there a way to do this?
Hello!, You say that you have a RPI 3 running FreeBSD12 ?? can you tel
me if you have an HDMI monitor working ???
I have tried several images but none were able to show anything in the
HDMI port for RPI 3.
Can you please point me to the site you use to download the RPI FreeBSD
Image??
https://download.freebsd.org/ftp/snapshots/arm64/aarch64/ISO-IMAGES/12.0/

The RPI3 images are near the bottom of the page. The images work, but
they still have some quirks.

The HDMI port works, though I use a HDMI to VGA adapter because the
monitor I use on the test bench doesn't support HDMI.

There is a mailing list for ARM processors:
https://lists.freebsd.org/mailman/listinfo/freebsd-arm

Loading...