Custom kernel under RPI
Ganbold Tsagaankhuu
ganbold at gmail.com
Sat Mar 16 17:38:39 UTC 2013
On Sun, Mar 17, 2013 at 1:39 AM, Loïc BLOT <loic.blot at unix-experience.fr> wrote:
> 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)
>
Maybe you can try to set console at loader prompt like:
set console="comconsole"
and try to see where it stops.
Ganbold
>
> --
> 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
>>
More information about the freebsd-arm
mailing list