Custom kernel under RPI
Loïc BLOT
loic.blot at unix-experience.fr
Sat Mar 16 17:35:31 UTC 2013
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)
--
Best regards,
Loïc BLOT,
UNIX systems, security and network expert
http://www.unix-experience.fr
Le samedi 16 mars 2013 à 10:20 -0700, Tim Kientzle a écrit :
> On Mar 16, 2013, at 10:10 AM, Loïc BLOT wrote:
>
> > Hmm
> > now when i run make buildkernel TARGET_ARCH=armv6 KERNCONF=RPI-B
> > WITH_FDT=yes i got this error:
>
> Without seeing more information, the error you shared is not helpful.
>
> Are you doing this on the RPi or are you cross-building?
>
> To build a kernel on the RPi, you just need to
>
> cd /usr/src
> make KERNCONF=RPI-B buildkernel
>
> (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 cross-build tools as well:
>
> cd /usr/src
> make TARGET_ARCH=armv6 kernel-toolchain
> make TARGET_ARCH=armv6 KERNCONF=RPI-B buildkernel
>
> 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 directly on the RPi:
>
> cd /usr/src/sys/modules/runfw
> make
> make load
>
>
> Cheers,
>
> Tim
>
-------------- 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/e97ae986/attachment.sig>
More information about the freebsd-arm
mailing list