Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Mar 2013 18:39:58 +0100
From:      =?ISO-8859-1?Q?Lo=EFc?= BLOT <loic.blot@unix-experience.fr>
To:        freebsd-arm@freebsd.org
Subject:   Re: Custom kernel under RPI
Message-ID:  <1363455598.2403.11.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

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




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