From owner-freebsd-ppc@FreeBSD.ORG Wed Apr 3 19:20:33 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 A362C9D7 for ; Wed, 3 Apr 2013 19:20:33 +0000 (UTC) (envelope-from jeclark2006@aim.com) Received: from imr-da01.mx.aol.com (imr-da01.mx.aol.com [205.188.105.143]) by mx1.freebsd.org (Postfix) with ESMTP id 69839978 for ; Wed, 3 Apr 2013 19:20:33 +0000 (UTC) Received: from mtaout-db04.r1000.mx.aol.com (mtaout-db04.r1000.mx.aol.com [172.29.51.196]) by imr-da01.mx.aol.com (Outbound Mail Relay) with ESMTP id DE54F1C0000B0; Wed, 3 Apr 2013 15:20:32 -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-db04.r1000.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id 64756E00008F; Wed, 3 Apr 2013 15:20:32 -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: Wed, 3 Apr 2013 12:20:30 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: 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=1365016832; bh=qkLqAqzYOIMdPZDBYOdl6ftGHe2CHitRMlYYwjPVgPU=; h=From:To:Subject:Message-Id:Date:Mime-Version:Content-Type; b=A7ZYa9L88QJbY01k6+mLaPAsgUY3jehtpU6xockWvHqGpmBb1PsRD+OaL7NJBaSdq UCUjv4Bokzv45Vg7Pb9xjgoZY1RP7U2QHzThbnR8VYKxZNnmsfVh85ZeFKs2BeOVfz S7IudxkY5CMjEo1Q/FfFuYP7q9ncU7DYkt5syL84= X-AOL-SCOLL-SCORE: 0:2:511884672:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d33c4515c81002b60 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: Wed, 03 Apr 2013 19:20:33 -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 objdump lists the entry point for the ELF as, C0001000. So, I used the following u-boot command tftp 1000 kernel-freebsd.bin go 1000 With the presumption that the init code uses PC relative jumps/calls = until the MMU is setup enough to resolve to the correct addresses of = C0001000, which is what NM reports as the entry point for __start. The result is 'nothing' on the serial console output... The thought there is that the kernel is not using my p1020wlan FDT file, = but I did use the following: options FDT_DTB_STATIC Which I presume would statically link the FDT file into the kernel. The Linux that I use can use an external FDT 'file' which is save in = Flash memory. However, that requires the u-boot boot command to pass the = FDT location. Anyway, any clarifying notes would be helpful. Thanks, John Clark.