From owner-freebsd-arm@FreeBSD.ORG Tue Mar 5 04:30:06 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 3522D9EC for ; Tue, 5 Mar 2013 04:30:06 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ia0-x22b.google.com (mail-ia0-x22b.google.com [IPv6:2607:f8b0:4001:c02::22b]) by mx1.freebsd.org (Postfix) with ESMTP id 0666EE78 for ; Tue, 5 Mar 2013 04:30:05 +0000 (UTC) Received: by mail-ia0-f171.google.com with SMTP id z13so5607776iaz.2 for ; Mon, 04 Mar 2013 20:30:05 -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=ms8njQ0tXSJaScQGfLsvd98utjLMc6PQ0M07TWIpUx0=; b=jpkuT+GLl/dIHiqHJfAyKW5bhHJh0ghRvFF/HonBO0QKqPdKWPilF6Ewgxz9H+aiYl Xw6H5d9OeZk1neepT1T+3dOWOcOsyTm191k+4hsBb5EM+TaoXMHCMJ2bb3at8rvCAbQL C34kMBMzhXCVfhdewe/8Pz0IqgyWh8fAEJSbamzboubiNfP2jkK3wg3sI2EpeC13kpng iDeQx+sjvXfe2jEB2HzuGxxZ/jPoiVC9N0A/74bu8P0LEwWclrjkYKkCR4CuJW22icwb 6hAQYPtb35CB+rt2hDmFHc404c9o3tov0M06GaKALRMpdQiySEtjkgDOQQToMU+Z+kt/ YeAg== X-Received: by 10.50.185.234 with SMTP id ff10mr4890948igc.25.1362457805324; Mon, 04 Mar 2013 20:30:05 -0800 (PST) Received: from 53.imp.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPS id ur12sm14991790igb.8.2013.03.04.20.30.02 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 Mar 2013 20:30:03 -0800 (PST) Sender: Warner Losh Subject: Re: GENERIC kernel issues Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <1362445777.1195.299.camel@revolution.hippie.lan> Date: Mon, 4 Mar 2013 21:30:01 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <3DFABC9A-876A-4F34-9E15-E4C630D7B077@bsdimp.com> References: <1362445777.1195.299.camel@revolution.hippie.lan> To: Ian Lepore X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQkGJUkJqzo+O0NOdasAopOiSA6W1Fns09+znvOVbuORuwJ4Gdmq8W+X6X9o92qV9nQtcFef Cc: freebsd-arm@FreeBSD.org 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: Tue, 05 Mar 2013 04:30:06 -0000 On Mar 4, 2013, at 6:09 PM, Ian Lepore wrote: > On Sun, 2013-03-03 at 11:43 -0800, Tim Kientzle wrote: >>=20 >> ** PHYSADDR/KERNPHYSADDR hardwiring. Ian has made a >> lot of progress and I'm working on some related changes to >> address this. I think we understand how to eliminate these >> constants and replace them with run-time detection of the >> load address. I'm still not sure what changes might be needed >> to the loader to make this work.=20 >=20 > I don't think anything more needs to be done to the loader to be able = to > load a kernel built with the ldscript changes, beyond the change I did = a > week or two ago to make it work right with elf headers that contain > physical addresses. >=20 > On the other hand, I haven't got anything to offer on the problem of = the > loader needing to be linked differently for each board or SoC, since > they all have physical memory in differing address ranges. Well, the Phyiscal memory load address is just a hint after all. Any way = to leave it blank and have ubldr cope by putting it in the first = available phyiscal memory slot from the FDT? Warner