Custom kernel under RPI
Loïc BLOT
loic.blot at unix-experience.fr
Sat Mar 16 17:06:30 UTC 2013
Hmm
now when i run make buildkernel TARGET_ARCH=armv6 KERNCONF=RPI-B
WITH_FDT=yes i got this error:
warning: no previous prototype for 'yyparse'
--
Best regards,
Loïc BLOT,
UNIX systems, security and network expert
http://www.unix-experience.fr
Le samedi 16 mars 2013 à 18:05 +0200, Aleksandr Rybalko a écrit :
> On Sat, 16 Mar 2013 16:48:48 +0100
> Loïc BLOT <loic.blot at unix-experience.fr> wrote:
>
> > 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=RPI-B WITH_FDT=yes TARGET_ARCH=arm is good ?)
> >
> > --
> > Best regards,
> > Loïc BLOT,
> > UNIX systems, security and network expert
> > http://www.unix-experience.fr
> >
> >
> >
> >
> > Le samedi 16 mars 2013 à 17:38 +0200, Aleksandr Rybalko a écrit :
> >
> > > On Sat, 16 Mar 2013 12:34:33 +0100
> > > Loïc BLOT <loic.blot at unix-experience.fr> wrote:
> > >
> > > > Hi Ian,
> > > > i'm sorry but fdt addr is already on my loader.rc
> > > > loader.rc:
> > > >
> > > > fdt addr 0x100
> > > > set console=comconsole,vidconsole
> > > >
> > > > Is there any specific options when i do "make buildkernel
> > > > KERNCONF=RPI-B" (from the raspberry) ? (in src.conf for example)
> > > >
> > > > Best regards,
> > > > Loïc BLOT,
> > > > UNIX systems, security and network expert
> > > > http://www.unix-experience.fr
> > > >
> > > >
> > > >
> > >
> > > Hello,
> > >
> > > 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.
> > >
> > > WBW
>
> Hi Loïc,
>
> same way, but remove:
> makeoptions MODULES_OVERRIDE=""
>
> 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="modules to disable"
>
> Good luck!
>
> WBW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20130316/6e4d9b6e/attachment.sig>
More information about the freebsd-arm
mailing list