Date: Sun, 10 Aug 2014 20:27:37 -0600 From: Ian Lepore <ian@FreeBSD.org> To: Tim Kientzle <tim@kientzle.com> Cc: freebsd-arm <freebsd-arm@freebsd.org> Subject: Re: What platform do you use? Message-ID: <1407724057.56408.461.camel@revolution.hippie.lan> In-Reply-To: <A6F05086-4CAB-4A1E-8818-E035FB14B7CA@kientzle.com> References: <7EC2AB25-5949-40BF-A5AA-BF4C98F3F640@bsdimp.com> <20140805182438.GP88623@funkthat.com> <53E3E2C7.9000802@hot.ee> <24403276-D738-4CB1-A3BE-BBB72D4370C6@bsdimp.com> <724D10EE-F6DF-4366-91CF-AE4419847389@gromit.dlib.vt.edu> <A6F05086-4CAB-4A1E-8818-E035FB14B7CA@kientzle.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2014-08-08 at 21:11 -0700, Tim Kientzle wrote: > On Aug 8, 2014, at 6:35 AM, Paul Mather <paul@gromit.dlib.vt.edu> wrote: > > > > > It would be handy for those of us wanting to cross-build FreeBSD/arm > > for someone who is familiar with the build process to give a quick > > example of how to update a FreeBSD/arm installation that is cross-built > > on another system. > > Personally, I use native "make buildworld buildkernel" and > let it run over the weekend. ;-) > > I know a lot of people are happy with NFS mounts, but > here are two other options that may prove attractive > to some people: > > * For systems that boot from SD card: > Cross-build a new system, mount the SD card onto the > build host, and then update the SD card image with > make ARCH=armv6 DESTDIR=/mnt/ installworld > A slight variation on this can save some time: create a dir to hold a copy of your sdcard root filesystem on your crossbuild host, and use it for the install, then rsync it to the sdcard: make TARGET_ARCH=armv6 DESTDIR=~/bbroot installworld installkernel mount /dev/da0s2a /mnt rsync -vaxH ~/bbroot/ /mnt/ umount /mnt This gets you the rsync "binary diff" speedup of only writing files that actually changed, and it's writing that's typically slow on sdcards. -- Ian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1407724057.56408.461.camel>