Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Mar 2013 01:38:37 +0800
From:      Ganbold Tsagaankhuu <ganbold@gmail.com>
To:        loic.blot@unix-experience.fr
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Custom kernel under RPI
Message-ID:  <CAGtf9xPj6gfgmeXrd6icAzD6ry%2BD9SGZ7SP3vAcbhnSaYgO8ew@mail.gmail.com>
In-Reply-To: <1363455598.2403.11.camel@Nerz-PC.home>
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> <1363453851.2403.5.camel@Nerz-PC.home> <D5C4D8AE-757B-42E1-9BDF-51D7B84CAD78@kientzle.com> <1363455598.2403.11.camel@Nerz-PC.home>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Mar 17, 2013 at 1:39 AM, Lo=EFc BLOT <loic.blot@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=3D"comconsole"

and try to see where it stops.

Ganbold

>
> --
> Best regards,
> Lo=EFc BLOT,
> UNIX systems, security and network expert
> http://www.unix-experience.fr
>
>
>
>
> Le samedi 16 mars 2013 =E0 10:20 -0700, Tim Kientzle a =E9crit :
>
>> On Mar 16, 2013, at 10:10 AM, Lo=EFc BLOT wrote:
>>
>> > Hmm
>> > now when i run  make buildkernel TARGET_ARCH=3Darmv6 KERNCONF=3DRPI-B
>> > WITH_FDT=3Dyes 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=3DRPI-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=3Darmv6 kernel-toolchain
>>    make TARGET_ARCH=3Darmv6 KERNCONF=3DRPI-B buildkernel
>>
>> If you just want one extra module, you don't have to recompile the kerne=
l at all.  All FreeBSD kernels are modular; but not all configurations buil=
d extra modules.  You can just build and load the single module you need di=
rectly on the RPi:
>>
>>   cd /usr/src/sys/modules/runfw
>>   make
>>   make load
>>
>>
>> Cheers,
>>
>> Tim
>>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGtf9xPj6gfgmeXrd6icAzD6ry%2BD9SGZ7SP3vAcbhnSaYgO8ew>