From owner-freebsd-arm@FreeBSD.ORG Sun Jun 24 01:21:14 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8243B1065673 for ; Sun, 24 Jun 2012 01:21:14 +0000 (UTC) (envelope-from r.neese@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 36B0D8FC0C for ; Sun, 24 Jun 2012 01:21:14 +0000 (UTC) Received: by yenl8 with SMTP id l8so2651283yen.13 for ; Sat, 23 Jun 2012 18:21:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=nWaMui7qcs6kmNtQCo6pbqJpCFBW2Dde4FfqWZ6Hldk=; b=g0g2ZHq4fsIGtgYODiRxg0M7kVKf9z5hKH4YfUHlzdgMJRQMH82bUoJ5xzrtx4HKY7 Bo5dE+h+3Whwo82AvPF90nPnTkK9Ca2WKecFv0edpYCqPDKOPsrxVThh7n0NQbREKVdS Qi1sHpiEd+bTJbhKvCdZndejfC63pT1hbUT8OIE7J0HvaX1IA66D6x90A8AIvMaeNqrM v43f4SaahEAoxf2OtWT/IGRYz6nuqkg9DPW/Cg3jvSDa5MoNn3wefw6GiGJ/sDECtqZh qtb18fns5vmxqj5s3gR/PpB/nx32oYm6BBmHz2upUmyyluUpxTlns3nk88KbZttfL8BT 3IAw== Received: by 10.236.136.3 with SMTP id v3mr8000205yhi.68.1340500873429; Sat, 23 Jun 2012 18:21:13 -0700 (PDT) Received: from [127.0.0.1] ([70.127.108.139]) by mx.google.com with ESMTPS id n37sm53231365anq.0.2012.06.23.18.21.12 (version=SSLv3 cipher=OTHER); Sat, 23 Jun 2012 18:21:12 -0700 (PDT) Message-ID: <4FE66B88.1050607@gmail.com> Date: Sat, 23 Jun 2012 21:21:12 -0400 From: Rich Neese User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: Kate F References: <4FE5D495.6020605@zoho.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org Subject: Re: PHYSMEM_SIZE and a hang on boot for kirkwood X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 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, 24 Jun 2012 01:21:14 -0000 On 6/23/2012 12:29 PM, Kate F wrote: > On 23 June 2012 15:37, Lukasz Wojcik wrote: >> On 06/23/12 15:45, Kate F wrote: >>> I believe this is the same problem. Is there a way I can hardcode the >>> physical memory size which would be equivalent to 8.3's PHYSMEM_SIZE >>> option? >>> >>> Is is there a better way to solve this, and have the memory size found >>> automatically? >> I believe 9.0 is FDT-ized already. Take a look at: >> sys/boot/fdt/dts/db88f6281.dts, especially '/memory' node. >> >> also: >> >> http://wiki.freebsd.org/FlattenedDeviceTree > > Whoops. I meant I'm using -CURRENT, of course - because I'm interested in > the recent NAND work. > > The db88f6281.dts tree is exactly what I was looking for. The memory node > was indeed set for 512M, as PHYSMEM_SIZE was before FDT. > So I set that accordingly: > > memory { > device_type = "memory"; > reg = <0x0 0x10000000>; // 256M at 0x0 > }; > > and now 10.0-CURRENT boots just fine, as did 8.3 with the equivalent change. > > Thank you! > > please send me the url to this device so I can add it to the list of supported devices...