From owner-freebsd-embedded@FreeBSD.ORG Wed Mar 12 16:00:27 2008 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6EBC1065671 for ; Wed, 12 Mar 2008 16:00:27 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from semihalf.com (semihalf.com [206.130.101.55]) by mx1.freebsd.org (Postfix) with ESMTP id 41D888FC33 for ; Wed, 12 Mar 2008 16:00:22 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from mail.semihalf.com (mail.semihalf.com [83.15.139.206]) by semihalf.com (8.13.1/8.13.1) with ESMTP id m2CFi34T008842; Wed, 12 Mar 2008 09:44:09 -0600 Received: from localhost (unknown [127.0.0.1]) by mail.semihalf.com (Postfix) with ESMTP id E76EE143A1; Wed, 12 Mar 2008 16:54:25 +0100 (CET) Received: from mail.semihalf.com ([127.0.0.1]) by localhost (mail.semihalf.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29137-08; Wed, 12 Mar 2008 16:54:24 +0100 (CET) Message-ID: <47D7FA35.30204@semihalf.com> Date: Wed, 12 Mar 2008 16:43:49 +0100 From: Rafal Jaworowski MIME-Version: 1.0 To: Jacques Fourie References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at semihalf.com Cc: freebsd-embedded@freebsd.org Subject: Re: Booting FreeBSD on MPC8540 eval board X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Mar 2008 16:00:27 -0000 Jacques Fourie wrote: > > I'm trying to get FreeBSD current (checked out the sources yesterday) > to boot on a Freescale MPC8540 evaluation board. After installing a > u-boot snapshot that has the u-boot API used by FreeBSD's ubldr I can > load a FreeBSD kernel but the last message I see on the console is > "Kernel entry at 0x1000100 ...". I have used the default MPC85XX > kernel configuration file when compiling the FreeBSD kernel. For > u-boot I added CONFIG_API and CFG_CMD_ELF to > include/configs/MPC8540EVAL.h > > Unfortunately my debugging setup is not as complete as I would like it > to be - struggling to get the CodeWarrior USB Tap working - so > debugging this problem is a bit difficult at the moment. Is the kernel > console support working for this platform? > Before booting the kernel you need to set your console address in FreeBSD loader. I'm not sure which UART port is actually used on the MC8540EVAL, but one of the following should work: set hw.uart.console=mm:0xfef04500 set hw.uart.console=mm:0xfef04600 Rafal