From owner-freebsd-arm@FreeBSD.ORG Sat Mar 16 17:20:37 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 47A7894C; Sat, 16 Mar 2013 17:20:37 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id 0B2FC9B1; Sat, 16 Mar 2013 17:20:36 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id r2GHKTmt055050; Sat, 16 Mar 2013 17:20:29 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id xhkeiucfuisjt73uc8393a7hus; Sat, 16 Mar 2013 17:20:29 +0000 (UTC) (envelope-from tim@kientzle.com) Subject: Re: Custom kernel under RPI Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: multipart/signed; boundary="Apple-Mail=_19F323C9-831B-41DF-AFB7-81773DDB5A33"; protocol="application/pgp-signature"; micalg=pgp-sha1 From: Tim Kientzle In-Reply-To: <1363453851.2403.5.camel@Nerz-PC.home> Date: Sat, 16 Mar 2013 10:20:27 -0700 Message-Id: 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> To: loic.blot@unix-experience.fr X-Mailer: Apple Mail (2.1283) Cc: Aleksandr Rybalko , 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 17:20:37 -0000 --Apple-Mail=_19F323C9-831B-41DF-AFB7-81773DDB5A33 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 On Mar 16, 2013, at 10:10 AM, Lo=EFc BLOT wrote: > Hmm > now when i run make buildkernel TARGET_ARCH=3Darmv6 KERNCONF=3DRPI-B > WITH_FDT=3Dyes i got this error: Without seeing more information, the error you shared is not helpful. Are you doing this on the RPi or are you cross-building? To build a kernel on the RPi, you just need to cd /usr/src make KERNCONF=3DRPI-B buildkernel (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 = cross-build tools as well: cd /usr/src make TARGET_ARCH=3Darmv6 kernel-toolchain make TARGET_ARCH=3Darmv6 KERNCONF=3DRPI-B buildkernel 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 directly on the RPi: cd /usr/src/sys/modules/runfw make make load Cheers, Tim --Apple-Mail=_19F323C9-831B-41DF-AFB7-81773DDB5A33 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) iQEcBAEBAgAGBQJRRKnbAAoJEGMNyGo0rfFBu50IAKCE+GdYe7mX6w0DqJXoOsZz 2Ah7pMs7VyWFtCBAcuI+TMnUZ2f3Y6xwDFY/2NCZHllEWpTJoGsjf79pfVr/fn64 ski/i0HoT/zRFtyl7s2a1RcQBypRCVo1/LFoASwUmc0Nt0rBZES8IuhrhimDcFU5 7EfE2l05l66k++XhzAgriblnwIshhuy9j6odijo15O7aftclcCl/jBn62dXVR7W4 V5ocyhkWIZS5qVGDBwFGJ0oQ+TSl2DB6q1mXYwyWGTEySAu6jrzw+6HpHtbZf/kJ +T0MihIN8V2esHY3tORGWnQ7S+Fzt8lylZkgv4xpbOwHwbsCx/ukIYxZaIVv5LI= =hg3F -----END PGP SIGNATURE----- --Apple-Mail=_19F323C9-831B-41DF-AFB7-81773DDB5A33--