From owner-freebsd-arm@FreeBSD.ORG Sat Mar 16 19:25:22 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DEF91485 for ; Sat, 16 Mar 2013 19:25:22 +0000 (UTC) (envelope-from loic.blot@unix-experience.fr) Received: from smtp.smtpout.orange.fr (smtp09.smtpout.orange.fr [80.12.242.131]) by mx1.freebsd.org (Postfix) with ESMTP id 4537AF21 for ; Sat, 16 Mar 2013 19:25:21 +0000 (UTC) Received: from [10.42.69.150] ([82.124.160.236]) by mwinf5d44 with ME id CKRJ1l00N56KMG203KRKBV; Sat, 16 Mar 2013 20:25:20 +0100 Message-ID: <1363462184.15561.26.camel@Nerz-PC.home> Subject: Re: Custom kernel under RPI From: =?ISO-8859-1?Q?Lo=EFc?= BLOT To: Tim Kientzle Date: Sat, 16 Mar 2013 20:29:44 +0100 In-Reply-To: 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> <1363455598.2403.11.camel@Nerz-PC.home> <1363456493.1157.67.camel@revolution.hippie.lan> Organization: UNIX Experience Fr Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-xjT6naND+Sef+KUL5V6R" X-Mailer: Evolution 3.6.4 Mime-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: loic.blot@unix-experience.fr List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Mar 2013 19:25:22 -0000 --=-xjT6naND+Sef+KUL5V6R Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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. --=20 Best regards, Lo=C3=AFc BLOT,=20 UNIX systems, security and network expert http://www.unix-experience.fr Le samedi 16 mars 2013 =C3=A0 12:21 -0700, Tim Kientzle a =C3=A9crit : > On Mar 16, 2013, at 10:54 AM, Ian Lepore wrote: >=20 > > On Sat, 2013-03-16 at 18:39 +0100, Lo=C3=AFc 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: > >>=20 > >> Kernel entry at 0x100100 .. > >> Kernel args: (null) > >>=20 > >>=20 > >=20 > > 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. =20 >=20 > Lo=C3=AFc: How did you set up the MSDOS partition? >=20 > 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. >=20 >=20 > > 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). > >=20 > > A quick way to see if that's the problem is to add to the kernel config= : > >=20 > > options FDT_DTB_STATIC > > makeoptions FDT_DTS_FILE=3Dbcm2835-rpi-b.dts >=20 >=20 > Keep in mind that Ian's advice here (to compile the FDT > into the kernel) should only be used for debugging. >=20 > 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. >=20 > If the boot chain is all working properly, a compiled-in > FDT is not needed and not recommended. >=20 > Tim >=20 --=-xjT6naND+Sef+KUL5V6R Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iF4EABEIAAYFAlFEyCgACgkQh290DZyz8ub3bAEAtaymhcOWS1z+i5+4iGGk2JnB rGvnplLQ5UB/t8RbmZABAKMCywU1ZoVpkXKqMWO7ZHyswXQyJQmFELwbLpg252Mp =QEoL -----END PGP SIGNATURE----- --=-xjT6naND+Sef+KUL5V6R--