From owner-freebsd-arm@FreeBSD.ORG Sun Feb 10 07:47:53 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5F7EAE08 for ; Sun, 10 Feb 2013 07:47:53 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ob0-f181.google.com (mail-ob0-f181.google.com [209.85.214.181]) by mx1.freebsd.org (Postfix) with ESMTP id E6F10D3F for ; Sun, 10 Feb 2013 07:47:52 +0000 (UTC) Received: by mail-ob0-f181.google.com with SMTP id ni5so5189712obc.26 for ; Sat, 09 Feb 2013 23:47:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer:x-gm-message-state; bh=XBp1GUL7UjlKFfqAbQtQEOUE38hjO/2Y9IJUoCok2x8=; b=d2BZ4xukG+D1rKsmalMinKBnznryJiodLM0WjJvuoo3LSavVHHI24Gdp4n97FeRMDW kJDPuPSm7hWHxMWPV+WbPlyI0+50Z1U3b2Yy572vhvQoJTob52q80ms5LbY0T/MAbK1B x+k3sEl/HvN1lumEMO7CsRXrd+00TMjEnSXtr73FVje3rLOYvGUSomnOEx26khy221aJ /Mt1WlUbElrOjy690KFCnavS5xR4QViG0Om/B3otRinDlBr6eADRT7bNybJoX+KB6gfg 1fSIivyhZ0UdiTba7qQOqLIUoVG4DZH4X0TA6GU/+dGSi1dkutSuBAL1ppWFf3gikWJj Nb6g== X-Received: by 10.60.8.40 with SMTP id o8mr7965966oea.112.1360482465880; Sat, 09 Feb 2013 23:47:45 -0800 (PST) Received: from 53.imp.bsdimp.com ([209.117.142.2]) by mx.google.com with ESMTPS id 9sm20829316oeh.8.2013.02.09.23.47.42 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 09 Feb 2013 23:47:45 -0800 (PST) Sender: Warner Losh Subject: Re: building RaspPi Images Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Sun, 10 Feb 2013 00:47:38 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <8087503F-BE98-45B9-888B-044D9DA58B80@bsdimp.com> References: <5116CB50.9080303@ceetonetechnology.com> <7757848F-45C6-4DEF-A4A2-5F900EB10A06@kientzle.com> <20130210012052.4d7e1a46@ivory.local> <58DCA6BE-8C06-4F69-81A2-A3582FBB5B12@kientzle.com> To: Tim Kientzle X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQkuLQilZ52NE5ZtQ4++Y1wK+/pNBei1K0HyMjHERqpA3RzVvrkgj74lJGAWjDXzpoHYKPuX Cc: freebsd-arm@freebsd.org, Brett Wynkoop X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2013 07:47:53 -0000 On Feb 10, 2013, at 12:18 AM, Tim Kientzle wrote: > On Feb 9, 2013, at 11:07 PM, Warner Losh wrote: >=20 >>> * For RPi, this already happens: the first-stage boot >>> loads a DTB, ubldr uses "fdt addr" to access that DTB >>> in a known location and then passes it to the kernel. >>=20 >> Doesn't the RPi's boot loader give our /boot/loader enough info to = get this without the fdt addr command? >=20 > I haven't dug into this yet, but there's a mismatch somewhere > between the RPi first-stage boot loader, U-Boot, and our ubldr. >=20 > I briefly tried loading our kernel straight from the RPi > first stage boot loader (dropping U-Boot and ubldr > phases) but didn't get very far with it. Our ubldr currently ignores r2 on boot, and tries to get the FDT via a = different uboot interface, but I'm thinking that part is broken...=20 Warner=