From owner-freebsd-ppc@FreeBSD.ORG Sat Jun 2 15:22:07 2012 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D535E1065670 for ; Sat, 2 Jun 2012 15:22:07 +0000 (UTC) (envelope-from marcelm@juniper.net) Received: from exprod7og111.obsmtp.com (exprod7og111.obsmtp.com [64.18.2.175]) by mx1.freebsd.org (Postfix) with ESMTP id 2C2198FC0A for ; Sat, 2 Jun 2012 15:22:05 +0000 (UTC) Received: from P-EMHUB01-HQ.jnpr.net ([66.129.224.36]) (using TLSv1) by exprod7ob111.postini.com ([64.18.6.12]) with SMTP ID DSNKT8ovloD3+QfRa+UOTlIXDgg97PgC7voq@postini.com; Sat, 02 Jun 2012 08:22:07 PDT Received: from EMBX01-HQ.jnpr.net ([fe80::c821:7c81:f21f:8bc7]) by P-EMHUB01-HQ.jnpr.net ([fe80::fc92:eb1:759:2c72%11]) with mapi; Sat, 2 Jun 2012 08:21:05 -0700 From: Marcel Moolenaar To: "powerpc@freebsd.org" Date: Sat, 2 Jun 2012 08:21:06 -0700 Thread-Topic: [P2020] FreeBSD cannot enable 2nd core. Thread-Index: Ac1A01Nv0CGznz9mQOSWv9H+qLdsUg== Message-ID: <9F7F498C-22D3-4D6D-8242-019FB36B998A@juniper.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: Subject: [P2020] FreeBSD cannot enable 2nd core. X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jun 2012 15:22:07 -0000 All, I'm running into a weird issue where the 2nd core of a P2020 SoC isn't bein= g woken up by FreeBSD. If I manually frob the EEBPCR register from the U-Boot prom= pt I see that the second core is booting U-Boot (after which things go bad obviously= ). But from FreeBSD I don't seem to be able to get a kick. The only real differen= ce I see between U-Boot and FreeBSD is that in FreeBSD we need to program the BPTR r= egister to have the boot page mapped to where the kernel is loaded. But I have no r= eason to suspect that this is in any way related to why I can't bring the 2nd core u= p. BTW: The logic in FreeBSD worked fine on a P1020. Does anyone know of any erratas I should be concerned about or have had sim= ilar experiences they can share. Thanks, --=20 Marcel Moolenaar marcelm@juniper.net