From owner-freebsd-arm@FreeBSD.ORG Sat Mar 16 15:44:24 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 DBFD213F for ; Sat, 16 Mar 2013 15:44:24 +0000 (UTC) (envelope-from loic.blot@unix-experience.fr) Received: from smtp.smtpout.orange.fr (smtp02.smtpout.orange.fr [80.12.242.124]) by mx1.freebsd.org (Postfix) with ESMTP id 4F85C2A3 for ; Sat, 16 Mar 2013 15:44:24 +0000 (UTC) Received: from [10.42.69.150] ([82.124.160.236]) by mwinf5d56 with ME id CFkN1l00N56KMG203FkNn9; Sat, 16 Mar 2013 16:44:23 +0100 Message-ID: <1363448928.2403.4.camel@Nerz-PC.home> Subject: Re: Custom kernel under RPI From: =?ISO-8859-1?Q?Lo=EFc?= BLOT To: Aleksandr Rybalko Date: Sat, 16 Mar 2013 16:48:48 +0100 In-Reply-To: <20130316173850.68e8cc1e.ray@freebsd.org> References: <1363433673.5871.2.camel@Nerz-PC.home> <20130316173850.68e8cc1e.ray@freebsd.org> Organization: UNIX Experience Fr Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-PSpxIcMl7c9/d1pP+8n7" X-Mailer: Evolution 3.6.4 Mime-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: loic.blot@unix-experience.fr 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 15:44:24 -0000 --=-PSpxIcMl7c9/d1pP+8n7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 Best regards, Lo=C3=AFc BLOT,=20 UNIX systems, security and network expert http://www.unix-experience.fr Le samedi 16 mars 2013 =C3=A0 17:38 +0200, Aleksandr Rybalko a =C3=A9crit : > On Sat, 16 Mar 2013 12:34:33 +0100 > Lo=C3=AFc BLOT wrote: >=20 > > Hi Ian, > > i'm sorry but fdt addr is already on my loader.rc > > loader.rc: > >=20 > > fdt addr 0x100 > > set console=3Dcomconsole,vidconsole > >=20 > > Is there any specific options when i do "make buildkernel > > KERNCONF=3DRPI-B" (from the raspberry) ? (in src.conf for example) > >=20 > > Best regards, > > Lo=C3=AFc BLOT,=20 > > UNIX systems, security and network expert > > http://www.unix-experience.fr > >=20 > >=20 > >=20 >=20 > Hello, >=20 > I'm don't know why it won't boot, but I can hint you to use if_run and > runfw as modules. Not resolved why, but I see it's won't work if it > built in kernel. As module, even loaded automatically by devd, it's > works fine.=20 >=20 > WBW --=-PSpxIcMl7c9/d1pP+8n7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iF4EABEIAAYFAlFElGYACgkQh290DZyz8ubiywD/ZQpnOnz26JrvN+c0eoCdNgIF WUSfccgNg+8sBYb+2C4A/28DQ2qYBVMytnaWTAMwxI7KmHf/jd1x84dRdXur8Bq7 =0Wo6 -----END PGP SIGNATURE----- --=-PSpxIcMl7c9/d1pP+8n7--