Custom kernel under RPI

Ian Lepore ian at FreeBSD.org
Sat Mar 16 16:12:47 UTC 2013


On Sat, 2013-03-16 at 16:48 +0100, Loïc 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=RPI-B
> WITH_FDT=yes TARGET_ARCH=arm is good ?)
> 

Use armv6 for the arch, and first do 

  make kernel-toolchain TARGET_ARCH=armv6

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




More information about the freebsd-arm mailing list