Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Mar 2013 18:10:51 +0100
From:      =?ISO-8859-1?Q?Lo=EFc?= BLOT <loic.blot@unix-experience.fr>
To:        Aleksandr Rybalko <ray@freebsd.org>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Custom kernel under RPI
Message-ID:  <1363453851.2403.5.camel@Nerz-PC.home>
In-Reply-To: <20130316180556.a12c6927.ray@freebsd.org>
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>

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

--=-EtzCgkd6zGUCoi7WqiIh
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hmm
now when i run  make buildkernel TARGET_ARCH=3Darmv6 KERNCONF=3DRPI-B
WITH_FDT=3Dyes i got this error:
warning: no previous prototype for 'yyparse'

--=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 18:05 +0200, Aleksandr Rybalko a =C3=A9crit :

> On Sat, 16 Mar 2013 16:48:48 +0100
> Lo=C3=AFc BLOT <loic.blot@unix-experience.fr> wrote:
>=20
> > HI Aleksandr,
> > Thanks for your reply. HAs i saw, kernel build with RPI-B make a
> > monolitic kernel, whereas in x86 archs it's a modular kernel.
> > How can i do for making those drivers as modules ?
> > And how can i make a cross compile for my RPI-B ? (because i can't
> > boot in ARM and i have lost my backup...) (make buildkernel
> > KERNCONF=3DRPI-B WITH_FDT=3Dyes TARGET_ARCH=3Darm is good ?)
> >=20
> > --=20
> > Best regards,
> > Lo=C3=AFc BLOT,=20
> > UNIX systems, security and network expert
> > http://www.unix-experience.fr
> >=20
> >=20
> >=20
> >=20
> > Le samedi 16 mars 2013 =C3=A0 17:38 +0200, Aleksandr Rybalko a =C3=A9cr=
it :
> >=20
> > > On Sat, 16 Mar 2013 12:34:33 +0100
> > > Lo=C3=AFc BLOT <loic.blot@unix-experience.fr> wrote:
> > >=20
> > > > Hi Ian,
> > > > i'm sorry but fdt addr is already on my loader.rc
> > > > loader.rc:
> > > >=20
> > > > fdt addr 0x100
> > > > set console=3Dcomconsole,vidconsole
> > > >=20
> > > > Is there any specific options when i do "make buildkernel
> > > > KERNCONF=3DRPI-B" (from the raspberry) ? (in src.conf for example)
> > > >=20
> > > > Best regards,
> > > > Lo=C3=AFc BLOT,=20
> > > > UNIX systems, security and network expert
> > > > http://www.unix-experience.fr
> > > >=20
> > > >=20
> > > >=20
> > >=20
> > > Hello,
> > >=20
> > > I'm don't know why it won't boot, but I can hint you to use if_run
> > > and runfw as modules. Not resolved why, but I see it's won't work
> > > if it built in kernel. As module, even loaded automatically by
> > > devd, it's works fine.=20
> > >=20
> > > WBW
>=20
> Hi Lo=C3=AFc,
>=20
> same way, but remove:
> makeoptions     MODULES_OVERRIDE=3D""
>=20
> from kernel config. it will enable modules building with kernel.
> If some modules will fail to build, you can disable it with:
> makeoptions     WITHOUT_MODULES=3D"modules to disable"
>=20
> Good luck!
>=20
> WBW

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

iF4EABEIAAYFAlFEp5sACgkQh290DZyz8uYMQgD7BdP6MpK5vN6RJuquH/Nweswz
tzuZ3MnmFTOV5s7O1GMBAKxmb+QZmqJtu7LgiwEDULB+7BKp4p4a3l9s60oLDZDp
=5DeY
-----END PGP SIGNATURE-----

--=-EtzCgkd6zGUCoi7WqiIh--




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