Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Mar 2013 18:30:53 +0100
From:      =?ISO-8859-1?Q?Lo=EFc?= BLOT <loic.blot@unix-experience.fr>
To:        Tim Kientzle <tim@kientzle.com>
Cc:        Aleksandr Rybalko <ray@freebsd.org>, freebsd-arm@freebsd.org
Subject:   Re: Custom kernel under RPI
Message-ID:  <1363455053.2403.9.camel@Nerz-PC.home>
In-Reply-To: <D5C4D8AE-757B-42E1-9BDF-51D7B84CAD78@kientzle.com>
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> <D5C4D8AE-757B-42E1-9BDF-51D7B84CAD78@kientzle.com>

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

--=-jTAzvOYaWte2G+6l/kD4
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi Tim,
thanks for your reply. For the error, i have found an excellent tutorial
which explain how to build a FreeBSD from scratch for RPI.
(http://ogris.de/howtos/freebsd-raspberry.html)
As i said before, my custom kernel doesn't boot, somes said i must use
modules instead of monolitic, then i am building the kernel by cross
compile it into a FreeBSD VM.
Thanks for your help with module building. I didn't know, i will gain
many time :D
--=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

--=-jTAzvOYaWte2G+6l/kD4
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)

iF4EABEIAAYFAlFErE0ACgkQh290DZyz8ub99AD/RvTWFaEcy3WANh8uh1AulL0f
ArlVE6x4vXBWopwT/H8BAME0a9zjFFlFflSnWaT/De2gs4bOJhnl/B7OF7trwp+Y
=5+wa
-----END PGP SIGNATURE-----

--=-jTAzvOYaWte2G+6l/kD4--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1363455053.2403.9.camel>