Booting < 4 SMP cores on Wandboard-Quad?

Ian Lepore ian at freebsd.org
Sun Mar 22 16:10:36 UTC 2015


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




More information about the freebsd-arm mailing list