From owner-freebsd-arm@FreeBSD.ORG Sun Mar 22 16:10:36 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 05EA4A9D for ; Sun, 22 Mar 2015 16:10:36 +0000 (UTC) Received: from relay.mailchannels.net (aso-006-i440.relay.mailchannels.net [23.91.64.121]) by mx1.freebsd.org (Postfix) with ESMTP id 5CF8C172 for ; Sun, 22 Mar 2015 16:10:34 +0000 (UTC) X-Sender-Id: duocircle|x-authuser|hippie Received: from smtp5.ore.mailhop.org (ip-10-229-11-165.us-west-2.compute.internal [10.229.11.165]) by relay.mailchannels.net (Postfix) with ESMTPA id 46A63120670; Sun, 22 Mar 2015 15:50:46 +0000 (UTC) X-Sender-Id: duocircle|x-authuser|hippie Received: from smtp5.ore.mailhop.org (smtp5.ore.mailhop.org [10.83.15.107]) (using TLSv1 with cipher DHE-RSA-AES256-SHA) by 0.0.0.0:2500 (trex/5.4.8); Sun, 22 Mar 2015 15:50:46 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: duocircle|x-authuser|hippie X-MailChannels-Auth-Id: duocircle X-MC-Loop-Signature: 1427039446355:404264774 X-MC-Ingress-Time: 1427039446354 Received: from c-73-34-117-227.hsd1.co.comcast.net ([73.34.117.227] helo=ilsoft.org) by smtp5.ore.mailhop.org with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.82) (envelope-from ) id 1YZi9F-0003EP-BW; Sun, 22 Mar 2015 15:50:45 +0000 Received: from revolution.hippie.lan (revolution.hippie.lan [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id t2MFohEb037248; Sun, 22 Mar 2015 09:50:43 -0600 (MDT) (envelope-from ian@freebsd.org) X-Mail-Handler: DuoCircle Outbound SMTP X-Originating-IP: 73.34.117.227 X-Report-Abuse-To: abuse@duocircle.com (see https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information for abuse reporting information) X-MHO-User: U2FsdGVkX1/9UXykAMRkqUGhVM1Yqr/D Message-ID: <1427039443.49126.2.camel@freebsd.org> Subject: Re: Booting < 4 SMP cores on Wandboard-Quad? From: Ian Lepore To: Sven Brehmer Date: Sun, 22 Mar 2015 09:50:43 -0600 In-Reply-To: <000001d0642f$56f59540$04e0bfc0$@polycoresoftware.com> References: <000001d0642f$56f59540$04e0bfc0$@polycoresoftware.com> Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.12.10 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-AuthUser: hippie Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Mar 2015 16:10:36 -0000 On Sat, 2015-03-21 at 16:32 -0700, Sven Brehmer wrote: > Hello, > > > > We are working with FreeBSD on the Wandboard and we are trying to boot less > than 4 cores in SMP mode. We have tried a number of way's with settings in > sysctl.conf, loader.conf and customizing the kernel build with "options > MAXCPU=2", but without success. > > > > Any advice would be appreciated. Set the hw.ncpu tunable to the number you want. If you have forth enabled add to loader.conf: hw.ncpu=2 otherwise (no forth) add to loader.rc: set hw.ncpu=2 I'm not sure there's good error checking, so don't set it to more cores than you actually have. :) -- Ian