Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Mar 2013 10:20:27 -0700
From:      Tim Kientzle <tim@kientzle.com>
To:        loic.blot@unix-experience.fr
Cc:        Aleksandr Rybalko <ray@freebsd.org>, freebsd-arm@freebsd.org
Subject:   Re: Custom kernel under RPI
Message-ID:  <D5C4D8AE-757B-42E1-9BDF-51D7B84CAD78@kientzle.com>
In-Reply-To: <1363453851.2403.5.camel@Nerz-PC.home>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D5C4D8AE-757B-42E1-9BDF-51D7B84CAD78>