From owner-freebsd-arm@FreeBSD.ORG Sat Mar 16 16:12:47 2013 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 17FE27D4 for ; Sat, 16 Mar 2013 16:12:47 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) by mx1.freebsd.org (Postfix) with ESMTP id E59FE3D9 for ; Sat, 16 Mar 2013 16:12:46 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1UGtiw-000IlF-14; Sat, 16 Mar 2013 16:12:46 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id r2GGChNr016617; Sat, 16 Mar 2013 10:12:43 -0600 (MDT) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/we5VPDxY0fVjLlNc7Qide Subject: Re: Custom kernel under RPI From: Ian Lepore To: loic.blot@unix-experience.fr 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> Content-Type: text/plain; charset="ISO-8859-1" Date: Sat, 16 Mar 2013 10:12:43 -0600 Message-ID: <1363450363.1157.60.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by damnhippie.dyndns.org id r2GGChNr016617 Cc: freebsd-arm@FreeBSD.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Mar 2013 16:12:47 -0000 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