From owner-freebsd-ppc@FreeBSD.ORG Tue Jul 30 09:41:20 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CB2D4CD0 for ; Tue, 30 Jul 2013 09:41:20 +0000 (UTC) (envelope-from adutkowski@gmail.com) Received: from mail-oa0-x232.google.com (mail-oa0-x232.google.com [IPv6:2607:f8b0:4003:c02::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 94B21218D for ; Tue, 30 Jul 2013 09:41:20 +0000 (UTC) Received: by mail-oa0-f50.google.com with SMTP id i4so2792034oah.23 for ; Tue, 30 Jul 2013 02:41:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=66Fme7ulCEkVwRJ6rLfzhKtyIQBWs2FjrhIyJjcgwlo=; b=ZiC4zKd+enLUoMfjNZDrgO7KMIuNPMq+4Q/foe83jUL3qhysUkjq9k1J7uhBmPSNki pBIeCW4mSJUMLg6DZoiz3x3yKHjKv3AfG659VSNd/Cjk4sm/kssnu4Ca70Y8/snsuUcK xbQEXfnZSHJq5iXQ+ioHzbjZa91O2Fxtb5dECX4QNL6g2OuMHyr+970IGHM0xk1K2DQO fjcgrwcwlOuwWYK8sSeeUDCDVWBobc5kjL6RCwKgY9WEHI3aofeH76J7fyZp5jsR4q3t IOK4CdLxM7qyaDFduDLcNCEwIW1c7EPe6TOA5+WvNC2FnsyJ5ysOX2bFQ8ctJSRXuGUi YuoA== MIME-Version: 1.0 X-Received: by 10.60.97.200 with SMTP id ec8mr61170031oeb.33.1375177279937; Tue, 30 Jul 2013 02:41:19 -0700 (PDT) Sender: adutkowski@gmail.com Received: by 10.76.170.200 with HTTP; Tue, 30 Jul 2013 02:41:19 -0700 (PDT) In-Reply-To: <0E4E55FF-5FDC-40D5-844E-F93CB0969513@aim.com> References: <0E4E55FF-5FDC-40D5-844E-F93CB0969513@aim.com> Date: Tue, 30 Jul 2013 11:41:19 +0200 X-Google-Sender-Auth: -BaxGBErepsO-qvjyzTRfYeobew Message-ID: Subject: Re: P1020wlan REV D DTS file? From: Aleksander To: John Clark Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Tue, 30 Jul 2013 09:41:20 -0000 That reminds me, I need to send the patch, because I had the same problem. In the meantime, here is the patch for p1020rdb.dts. This works for me. diff --git a/sys/boot/fdt/dts/p1020rdb.dts b/sys/boot/fdt/dts/p1020rdb.dts index ec5118c..c95ab27 100644 --- a/sys/boot/fdt/dts/p1020rdb.dts +++ b/sys/boot/fdt/dts/p1020rdb.dts @@ -59,17 +59,20 @@ device_type =3D "cpu"; reg =3D <0x0>; next-level-cache =3D <&L2>; + bus-frequency =3D <400000000>; // Filled out by uboot. }; PowerPC,P1020@1 { device_type =3D "cpu"; reg =3D <0x1>; next-level-cache =3D <&L2>; + bus-frequency =3D <400000000>; // Filled out by uboot. }; }; memory { device_type =3D "memory"; + reg =3D < 0x0 0x0 0x0 0x20000000 >; }; localbus@ffe05000 { @@ -193,7 +196,7 @@ #address-cells =3D <1>; #size-cells =3D <1>; device_type =3D "soc"; - compatible =3D "fsl,p1020-immr", "simple-bus"; + compatible =3D "simple-bus"; ranges =3D <0x0 0x0 0xffe00000 0x100000>; bus-frequency =3D <0>; // Filled out by uboot. @@ -624,4 +627,9 @@ 0x0 0x100000>; }; }; + + chosen { + stdin =3D "serial0"; + stdout=3D "serial0"; + }; }; regards aleek On Mon, Jul 29, 2013 at 9:53 PM, John Clark wrote: > I've been working intermittently on a p1020wlan board and getting FreeBSD > up and running on it. > > I have a working Linux setup, but wanted to look at FreeBSD. > > The process has been fraught with problems. > > 1) U-Boot. The board has u-boot and despite the 'suggestive' tool titled > 'ubldr', this does not seem to work, unless the u-boot has been 'enabled' > with the U-boot API. > Did that but other than some number of diagnostics, the ubldr fails to > present a command interface or seemingly try to 'bootp' via the network > interface. > > 2) Using a DTS file that 'works' with Linux, there are a number of 'holes= ' > in the DTS structure which the boot firmware seems to be expected to 'fil= l > in the blanks'. > I've plugged many holes, an rearranged elements in the 'tree' that see= m > to allow for the kernel to be loaded, and get to the point of attempting = to > initialize the network drivers to > perform a 'bootp' NFS style root mount. > > I did get some assistance in April from someone working on a similar > board, but those 'hints' have not yielded a bootable setup. > > It would appear that this board, and perhaps most of the P1020 (and other > recent Freescale boards) do not have many people, if any, working on > getting FreeBSD up on them. > > The questions are=85 > > 1) is there anyone with a working P1020Wlan setup? > 2) Anyone with working P1020xxx boards, and using the 'as found in > sys/boot/fdt/dts' DTS files? > > > Any help would be appreciated, > > John Clark. > > _______________________________________________ > freebsd-ppc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" > --=20 regards aleek