Custom kernel under RPI
Loïc BLOT
loic.blot at unix-experience.fr
Sat Mar 16 19:25:22 UTC 2013
Hi tim,
it's a freebsd image from raspberrypi.org website (last month), but i
would have some custom kernel drivers, then i get freebsd -current and
compile all kernel sources. I have three partitions 1 MSDOS and two
bsdlabels with two slices.
--
Best regards,
Loïc BLOT,
UNIX systems, security and network expert
http://www.unix-experience.fr
Le samedi 16 mars 2013 à 12:21 -0700, Tim Kientzle a écrit :
> On Mar 16, 2013, at 10:54 AM, Ian Lepore wrote:
>
> > On Sat, 2013-03-16 at 18:39 +0100, Loïc BLOT 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)
> >>
> >>
> >
> > If it doesn't say anything about what FDT it is using before it says
> > Kernel Entry, then you aren't using the latest ubldr code.
>
> Loïc: How did you set up the MSDOS partition?
>
> The details of how we boot FreeBSD have changed some
> over the last couple of months; if you used some old
> instructions to set that up, you may not have the right
> boot loader configuration to correctly boot the current kernel.
>
>
> > If it doesn't have the device tree data, it will lock up exactly as
> > you're experiencing (without the device data the kernel doesn't have
> > enough info to even print an error message).
> >
> > A quick way to see if that's the problem is to add to the kernel config:
> >
> > options FDT_DTB_STATIC
> > makeoptions FDT_DTS_FILE=bcm2835-rpi-b.dts
>
>
> Keep in mind that Ian's advice here (to compile the FDT
> into the kernel) should only be used for debugging.
>
> On RPi, the boot loaders edit the FDT before
> handing it to the kernel. A compiled-in FDT won't
> properly reflect a few details that the boot loaders
> know about.
>
> If the boot chain is all working properly, a compiled-in
> FDT is not needed and not recommended.
>
> 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/61ab5677/attachment.sig>
More information about the freebsd-arm
mailing list