From owner-freebsd-ppc@FreeBSD.ORG Thu Apr 4 19:56:53 2013 Return-Path: Delivered-To: freebsd-ppc@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 C13CBB57 for ; Thu, 4 Apr 2013 19:56:53 +0000 (UTC) (envelope-from jeclark2006@aim.com) Received: from imr-ma03.mx.aol.com (imr-ma03.mx.aol.com [64.12.206.41]) by mx1.freebsd.org (Postfix) with ESMTP id 86FD9A59 for ; Thu, 4 Apr 2013 19:56:53 +0000 (UTC) Received: from mtaout-ma05.r1000.mx.aol.com (mtaout-ma05.r1000.mx.aol.com [172.29.41.5]) by imr-ma03.mx.aol.com (Outbound Mail Relay) with ESMTP id 880EB1C00011B; Thu, 4 Apr 2013 15:56:47 -0400 (EDT) Received: from [10.0.0.201] (wsip-68-105-252-106.sd.sd.cox.net [68.105.252.106]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mtaout-ma05.r1000.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id DE5C2E000089; Thu, 4 Apr 2013 15:56:46 -0400 (EDT) Subject: Re: FreeBSD booting freescale P1020wlan eval board, via u-boot? Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: John Clark In-Reply-To: Date: Thu, 4 Apr 2013 12:56:45 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <52A23090-2C0C-413C-81CA-17ED250616C8@aim.com> References: <9C09C6C4-EBF5-4CC2-9684-8B33932579BE@aim.com> To: Aleksander X-Mailer: Apple Mail (2.1085) x-aol-global-disposition: G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20121107; t=1365105407; bh=8ajBOT1JgdA4GIj/Pw9nXWxJ9kZ6j3Nj7QT9ELH/RFo=; h=From:To:Subject:Message-Id:Date:Mime-Version:Content-Type; b=KuwAiSkvOvrGcweU0m5Wxh7V293i39+ogV8RXxzMSbDg8FERG8eLutL2DbJoBQ+SS uVOnZrDVxyIbkUfFdS+clOf3fCz1xlzJ/+bjaisQYyVR9DvjqkGyhC4o0h248zySHK rx61ahie06pmboYRR+IaCciBAzsy7Tl30husxSgY= X-AOL-SCOLL-SCORE: 0:2:453510304:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d2905515ddafe4126 X-AOL-IP: 68.105.252.106 Cc: freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Apr 2013 19:56:53 -0000 On Apr 3, 2013, at 12:04 PM, Aleksander wrote: > please attach some output, maybe I could help. >=20 > The booke_init() function has a bug, which is not yet fixed in HEAD. >=20 > Anyway, you need to use kernel image (not ubldr) either binary or elf = (if elf, you need to jump with offset to __start function I've been continuing to look into why things aren't working. I believe the diagnostic output was due to jumping into the 'wrong' = places. When I objcopy out a binary image, load that, the use the u-boot 'go' = command at 1000000, there is nothing that is output to the console. I've checked and believe a FDT file is statically linked into the code, = and it seems to match up with the p1020rdb.dts, with a few differences due to the 'wlan' version. However, the serial ports are the = same, as well as various memory and other devices. One thing that did occur to me was the default speed of the serial port = as a console. My u-boot is setup for 115200, but I did try 9600 and 19200, just in case someone took the lowest speeds (these = days...). But still no output. I did disassemble the kernel... verified that there's the some what = expected startup code, which was setting up an initial translation = table, then a call the 'booke_init'. You indicated a bug in 'head' for booke_init.c... what are the symptoms? = And where to get a fixed version? If you have other ideas I'd appreciate them as well. Thanks, John Clark.