Date: Thu, 24 Sep 2015 23:15:40 +0900 From: Ganbold Tsagaankhuu <ganbold@gmail.com> To: Russell Haley <russ.haley@gmail.com> Cc: freebsd-arm <freebsd-arm@freebsd.org> Subject: Re: Building Less? Message-ID: <CAGtf9xOQD66_1cNedmg2%2Bzboqfmu7PtuZWAJtBY3sGTk8o3EwA@mail.gmail.com> In-Reply-To: <CABx9NuRb5yOjrfM0i0pDmNzaEefdsTxByiggGm%2B-m0UW%2BK%2BbdA@mail.gmail.com> References: <CABx9NuRb5yOjrfM0i0pDmNzaEefdsTxByiggGm%2B-m0UW%2BK%2BbdA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 24, 2015 at 2:15 PM, Russell Haley <russ.haley@gmail.com> wrote: > Hi there, > > I've pivoted back to my ARM board again. I noticed that when I build world, > it builds all the man pages and languages and a whole bunch of other stuff. > That's not too bad because I have a decent computer, but when I run > installworld and install onto an sd card things get really slow. > > Is there a way to reduce what I am building and installing onto the sd > card? > > > Current process: > make -DNO_CLEAN TARGET=arm TARGET_ARCH=armv6 -j10 buildworld > > make -DNO_CLEAN TARGET=arm TARGET_ARCH=armv6 KERNCONF=IMX6 -j10 buildkernel > > sudo mount /dev/da2s2 /usr/jails/Jailbird/mnt/ufspart > make TARGET=arm TARGET_ARCH=armv6 DESTDIR=/mnt/ufspart installworld > distribution > > Maybe try to prepare image first and then write once to sd card? Something like: truncate -s 1024M imx6.img mdconfig -f imx6.img -u0 newfs /dev/md0 mount /dev/md0 /mnt # build kernel-toolchain if needed make -DNO_CLEAN TARGET=arm TARGET_ARCH=armv6 KERNCONF=IMX6 -j10 buildkernel make -DNO_CLEAN TARGET=arm TARGET_ARCH=armv6 -j10 buildworld make -DNO_CLEAN TARGET=arm TARGET_ARCH=armv6 DESTDIR=/mnt installworld distribution umount /mnt mdconfig -d -u0 sysctl kern.geom.debugflags=16 dd if=imx6.img of=/dev/da0 bs=4096k Ganbold > > > Thanks, > > Russ > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGtf9xOQD66_1cNedmg2%2Bzboqfmu7PtuZWAJtBY3sGTk8o3EwA>