From owner-freebsd-arm@FreeBSD.ORG Sat Mar 16 17:38:38 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 E3970F39 for ; Sat, 16 Mar 2013 17:38:38 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: from mail-ie0-x229.google.com (mail-ie0-x229.google.com [IPv6:2607:f8b0:4001:c03::229]) by mx1.freebsd.org (Postfix) with ESMTP id A36E5ACB for ; Sat, 16 Mar 2013 17:38:38 +0000 (UTC) Received: by mail-ie0-f169.google.com with SMTP id 13so5611520iea.14 for ; Sat, 16 Mar 2013 10:38:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=Z6Q8kWbnja9lnX2xEvHNs9ak0HyhFlCVaM2LZoRjhtI=; b=wYEOa1kqsyMqzsHo7l+H6/2EJ9A8vjsvF88K+fylmVdetA2emW4OTHWdTx/3WsKw// /WDsdkPHzbBYHs/UGkdgytNDWq4A29J3qJPWAB76WyFDfnXAG5XnkGztX+IA4cJ44PES RHHBUhift3RfHgQzXDME5QFl5hE5x1RIp9kIfCmEW/NH+j+uyom08a81zU0yCNoZA18U 5DkFHVU7+T5G9tL8ycv5Alg7ZrqrpYCEKhaH6ZUHkl0Df7DIElJhMhm7lzs8COawG7de wLpWYUtr30mfqI1+6Mw+KBR4u79KhdrTq8pQt4ADnmDMfOVoWg74T0ipZa89nHiOq9f3 468g== MIME-Version: 1.0 X-Received: by 10.43.103.195 with SMTP id dj3mr6821056icc.3.1363455517779; Sat, 16 Mar 2013 10:38:37 -0700 (PDT) Received: by 10.64.6.230 with HTTP; Sat, 16 Mar 2013 10:38:37 -0700 (PDT) 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> <1363455598.2403.11.camel@Nerz-PC.home> Date: Sun, 17 Mar 2013 01:38:37 +0800 Message-ID: Subject: Re: Custom kernel under RPI From: Ganbold Tsagaankhuu To: loic.blot@unix-experience.fr Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list 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 17:38:39 -0000 On Sun, Mar 17, 2013 at 1:39 AM, Lo=EFc 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) > 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 >>