From owner-freebsd-arm@FreeBSD.ORG Sat Mar 16 17:35:31 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 30657D9E for ; Sat, 16 Mar 2013 17:35:31 +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 9A244A8D for ; Sat, 16 Mar 2013 17:35:30 +0000 (UTC) Received: from [10.42.69.150] ([82.124.160.236]) by mwinf5d21 with ME id CHbV1l00456KMG203HbVz3; Sat, 16 Mar 2013 18:35:29 +0100 Message-ID: <1363455598.2403.11.camel@Nerz-PC.home> Subject: Re: Custom kernel under RPI From: =?ISO-8859-1?Q?Lo=EFc?= BLOT To: freebsd-arm@freebsd.org Date: Sat, 16 Mar 2013 18:39:58 +0100 In-Reply-To: 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> <1363453851.2403.5.camel@Nerz-PC.home> Organization: UNIX Experience Fr Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-0ITCM80ZqqCZzsfShuFC" X-Mailer: Evolution 3.6.4 Mime-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:35:31 -0000 --=-0ITCM80ZqqCZzsfShuFC Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ok, cross compile is done, i have a modular kernel, but same error appears when i boot. Kernel is blocked at those lines: Kernel entry at 0x100100 .. Kernel args: (null) --=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 10:20 -0700, Tim Kientzle a =C3=A9crit : > On Mar 16, 2013, at 10:10 AM, Lo=C3=AFc BLOT wrote: >=20 > > Hmm > > now when i run make buildkernel TARGET_ARCH=3Darmv6 KERNCONF=3DRPI-B > > WITH_FDT=3Dyes i got this error: >=20 > Without seeing more information, the error you shared is not helpful. >=20 > Are you doing this on the RPi or are you cross-building? >=20 > To build a kernel on the RPi, you just need to >=20 > cd /usr/src > make KERNCONF=3DRPI-B buildkernel >=20 > (The TARGET_ARCH options are only used when cross-compiling.) > If you are cross-compiling, you should make sure you have an up-to-date c= ross-build tools as well: >=20 > cd /usr/src > make TARGET_ARCH=3Darmv6 kernel-toolchain > make TARGET_ARCH=3Darmv6 KERNCONF=3DRPI-B buildkernel >=20 > If you just want one extra module, you don't have to recompile the kernel= at all. All FreeBSD kernels are modular; but not all configurations build= extra modules. You can just build and load the single module you need dir= ectly on the RPi: >=20 > cd /usr/src/sys/modules/runfw > make > make load >=20 >=20 > Cheers, >=20 > Tim >=20 --=-0ITCM80ZqqCZzsfShuFC 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) iF4EABEIAAYFAlFErm4ACgkQh290DZyz8ubmAgD/Y8S2ShnVzDqvcv/7Oa0I9F/S mYb8UbLKX2BIcAAaGQwBAJmW1iowBm08qFeqqypunviLDUJ2GqP07iZeYgUhi4pE =EENr -----END PGP SIGNATURE----- --=-0ITCM80ZqqCZzsfShuFC--