Date: Sat, 16 Mar 2013 18:05:56 +0200 From: Aleksandr Rybalko <ray@freebsd.org> To: loic.blot@unix-experience.fr Cc: freebsd-arm@freebsd.org Subject: Re: Custom kernel under RPI Message-ID: <20130316180556.a12c6927.ray@freebsd.org> In-Reply-To: <1363448928.2403.4.camel@Nerz-PC.home> References: <1363433673.5871.2.camel@Nerz-PC.home> <20130316173850.68e8cc1e.ray@freebsd.org> <1363448928.2403.4.camel@Nerz-PC.home>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 16 Mar 2013 16:48:48 +0100 Loïc BLOT <loic.blot@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@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 -- Aleksandr Rybalko <ray@freebsd.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130316180556.a12c6927.ray>