From owner-freebsd-arm@FreeBSD.ORG Sat Jun 23 13:45:13 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B70DF106566B for ; Sat, 23 Jun 2012 13:45:13 +0000 (UTC) (envelope-from kate@elide.org) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7344D8FC08 for ; Sat, 23 Jun 2012 13:45:13 +0000 (UTC) Received: by yenl8 with SMTP id l8so2505396yen.13 for ; Sat, 23 Jun 2012 06:45:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=SAmypIDmesXk3fFKgX3547e1JYRJ46Q725E83z3wMTM=; b=iNMlp/HaF2c+CzKJlaCRcpSudvjc65dtl/uOasJdnibGEIcMUtSnf1zYWTJqTY+btb JAhbik5qdM2I7kTgpaZAYbPDvbFxI/+KwxgKoK5/xP8Ev50/WGh8BtNh3YudYEwhJ32G 4Nv9BtpTA2OJDd7FF5AgN0vkIZOe3wdsFhQOTZxJpstUcYyPmrZFxTp4JzVrKfe0UlcH jwqGC/w598+igCvm//FfGiYdBRoMB3xV9C39ReRR9rBaBsBpw7tkKl06tsIdRuqAaowo FBwGzNFBsCHO9gsMBBs+5V6nRdEgcuNkfnHUNX9TbJf9ABa2kz46hTQUnvwJrn5Czy5F M6YA== MIME-Version: 1.0 Received: by 10.42.90.5 with SMTP id i5mr2195672icm.44.1340459112240; Sat, 23 Jun 2012 06:45:12 -0700 (PDT) Received: by 10.50.156.165 with HTTP; Sat, 23 Jun 2012 06:45:12 -0700 (PDT) X-Originating-IP: [46.64.33.102] Date: Sat, 23 Jun 2012 14:45:12 +0100 Message-ID: From: Kate F To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQngu/agYQyYgKUyB2OYOpW9UYfXZz2S+12jBXaCZyjbJet7vz8kF1MS30NWGIIPmvpPWcef Subject: 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: Sat, 23 Jun 2012 13:45:13 -0000 Hi, I have a Marvell Kirkwood 88F6281 device, which I'm trying to get running with FreeBSD. It's in a D-link model "DNS 325", which has 256MB RAM. With FreeBSD 8.3, I found a hang on boot using the default DB-88F6XXX config. I found PHYSMEM_SIZE=0x20000000 hardcoded in sys/arm/mv/kirkwood/std.db88f6xxx which I presume means 512MB RAM - so I changed this to 0x10000000 and then 8.3 booted fine. Now I'm trying 9.0 (primarily because I'm interested in the recent NAND work) and I see the PHYSMEM_SIZE option was removed by commit [210249]: http://lists.freebsd.org/pipermail/svn-src-head/2010-July/018727.html The default 9.0 DB-88F6XXX kernel hangs in exactly the same way as 8.3's did for me: ## Starting application at 0x00900000 ... dtbp = 0xc0c04408 Copyright (c) 1992-2012 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 10.0-CURRENT #0 r237466: Sat Jun 23 03:08:08 BST 2012 root@freebsd83.lan:/usr/obj/arm.arm/usr/src/sys/DB-88F6XXX-DNS325 arm [silence] 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? Thank you, -- Kate