Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Mar 2013 10:12:43 -0600
From:      Ian Lepore <ian@FreeBSD.org>
To:        loic.blot@unix-experience.fr
Cc:        freebsd-arm@FreeBSD.org
Subject:   Re: Custom kernel under RPI
Message-ID:  <1363450363.1157.60.camel@revolution.hippie.lan>
In-Reply-To: <1363448928.2403.4.camel@Nerz-PC.home>
References:  <1363433673.5871.2.camel@Nerz-PC.home> <20130316173850.68e8cc1e.ray@freebsd.org> <1363448928.2403.4.camel@Nerz-PC.home>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2013-03-16 at 16:48 +0100, Lo=EFc BLOT wrote:
> HI Aleksandr,
> Thanks for your reply. HAs i saw, kernel build with RPI-B make a
> monolitic kernel, whereas in x86 archs it's a modular kernel.
> How can i do for making those drivers as modules ?
> And how can i make a cross compile for my RPI-B ? (because i can't boot
> in ARM and i have lost my backup...) (make buildkernel KERNCONF=3DRPI-B
> WITH_FDT=3Dyes TARGET_ARCH=3Darm is good ?)
>=20

Use armv6 for the arch, and first do=20

  make kernel-toolchain TARGET_ARCH=3Darmv6

To make specific modules, change the MODULES_OVERRIDE option to be a
space-delimited list of the modules to build.  Or just remove it to
build all of them.

-- Ian





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1363450363.1157.60.camel>