From owner-freebsd-arm@FreeBSD.ORG Sat Mar 16 17:06:30 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 7447A55E for ; Sat, 16 Mar 2013 17:06:30 +0000 (UTC) (envelope-from loic.blot@unix-experience.fr) Received: from smtp.smtpout.orange.fr (smtp11.smtpout.orange.fr [80.12.242.133]) by mx1.freebsd.org (Postfix) with ESMTP id C9511902 for ; Sat, 16 Mar 2013 17:06:29 +0000 (UTC) Received: from [10.42.69.150] ([82.124.160.236]) by mwinf5d21 with ME id CH6M1l00U56KMG203H6MZL; Sat, 16 Mar 2013 18:06:22 +0100 Message-ID: <1363453851.2403.5.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 18:10:51 +0100 In-Reply-To: <20130316180556.a12c6927.ray@freebsd.org> References: <1363433673.5871.2.camel@Nerz-PC.home> <20130316173850.68e8cc1e.ray@freebsd.org> <1363448928.2403.4.camel@Nerz-PC.home> <20130316180556.a12c6927.ray@freebsd.org> Organization: UNIX Experience Fr Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-EtzCgkd6zGUCoi7WqiIh" 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 17:06:30 -0000 --=-EtzCgkd6zGUCoi7WqiIh Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hmm now when i run make buildkernel TARGET_ARCH=3Darmv6 KERNCONF=3DRPI-B WITH_FDT=3Dyes i got this error: warning: no previous prototype for 'yyparse' --=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 18:05 +0200, Aleksandr Rybalko a =C3=A9crit : > On Sat, 16 Mar 2013 16:48:48 +0100 > Lo=C3=AFc BLOT wrote: >=20 > > 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 > > --=20 > > Best regards, > > Lo=C3=AFc BLOT,=20 > > UNIX systems, security and network expert > > http://www.unix-experience.fr > >=20 > >=20 > >=20 > >=20 > > Le samedi 16 mars 2013 =C3=A0 17:38 +0200, Aleksandr Rybalko a =C3=A9cr= it : > >=20 > > > 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 >=20 > Hi Lo=C3=AFc, >=20 > same way, but remove: > makeoptions MODULES_OVERRIDE=3D"" >=20 > from kernel config. it will enable modules building with kernel. > If some modules will fail to build, you can disable it with: > makeoptions WITHOUT_MODULES=3D"modules to disable" >=20 > Good luck! >=20 > WBW --=-EtzCgkd6zGUCoi7WqiIh 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) iF4EABEIAAYFAlFEp5sACgkQh290DZyz8uYMQgD7BdP6MpK5vN6RJuquH/Nweswz tzuZ3MnmFTOV5s7O1GMBAKxmb+QZmqJtu7LgiwEDULB+7BKp4p4a3l9s60oLDZDp =5DeY -----END PGP SIGNATURE----- --=-EtzCgkd6zGUCoi7WqiIh--