From owner-freebsd-arm@freebsd.org Thu Sep 24 14:15:41 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 80FE9A08855 for ; Thu, 24 Sep 2015 14:15:41 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: from mail-ob0-x233.google.com (mail-ob0-x233.google.com [IPv6:2607:f8b0:4003:c01::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 449BD151B for ; Thu, 24 Sep 2015 14:15:41 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: by obbmp4 with SMTP id mp4so58947756obb.3 for ; Thu, 24 Sep 2015 07:15:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=VyiTyECtNmDaVYQYtmG+kZtYi/jvX7DPV1tZY7wzAZ0=; b=BgwnXIElEcd/+uCTEXwE1GQJ+owjJXtcur14bNaAT9DtRCPQnitNfnvfe3GEvOxqJM dT567uABB4pjAE5k4x0/j6GXT6QA02SOudUei1YEQhyDzUSoeQd5Oja8IIIdktWXNOVK PLYm8RzImyP9T8gGdso1nT2JPTgZKjm52t/RlCu1IA0Aaq/GsHBi+urqUtRwomcpPn4D 5inhTZ55ouR60vQSOFco1wuq4OJB/eh+0v8nZBbDgluQ+hoNIcOky4xRHMPY0fRTH1xC YixkZDFVAKBXqWxuiQ/UaboQf98O1j5qfLXGQRKJ+UrCUXDiOswXpRmUwUX9r7XcFkHk MCqA== MIME-Version: 1.0 X-Received: by 10.182.131.130 with SMTP id om2mr21861235obb.8.1443104140610; Thu, 24 Sep 2015 07:15:40 -0700 (PDT) Received: by 10.182.125.42 with HTTP; Thu, 24 Sep 2015 07:15:40 -0700 (PDT) In-Reply-To: References: Date: Thu, 24 Sep 2015 23:15:40 +0900 Message-ID: Subject: Re: Building Less? From: Ganbold Tsagaankhuu To: Russell Haley Cc: freebsd-arm Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Sep 2015 14:15:41 -0000 On Thu, Sep 24, 2015 at 2:15 PM, Russell Haley 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" >