From owner-freebsd-small@FreeBSD.ORG Mon May 1 06:59:05 2006 Return-Path: X-Original-To: freebsd-small@freebsd.org Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE86D16A404 for ; Mon, 1 May 2006 06:59:05 +0000 (UTC) (envelope-from rolf.sommerhalder@gmail.com) Received: from pproxy.gmail.com (pproxy.gmail.com [64.233.166.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0FDB43D55 for ; Mon, 1 May 2006 06:59:04 +0000 (GMT) (envelope-from rolf.sommerhalder@gmail.com) Received: by pproxy.gmail.com with SMTP id t32so2736605pyc for ; Sun, 30 Apr 2006 23:59:04 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=RPHyBzB4/7hB6xBd2ZDE8LLyiAoULNS2LyDh5xU1/h31zxqytM3J3J/dErt9KB5uigwXE+a0L+/bTlQCEo4vFUclFRDwB3szhnPv6rfukIuiDGY0MspkL2dcg7aocdzJA1qggNTJffidG9NNjZfJxc3v68VqdfpLgs5XOZB5k0w= Received: by 10.35.8.1 with SMTP id l1mr29207pyi; Sun, 30 Apr 2006 23:58:59 -0700 (PDT) Received: by 10.35.30.15 with HTTP; Sun, 30 Apr 2006 23:58:59 -0700 (PDT) Message-ID: <9893390f0604302358k6ebc5187n534d94b5edf53ad1@mail.gmail.com> Date: Mon, 1 May 2006 08:58:59 +0200 From: "Rolf Sommerhalder" Sender: rolf.sommerhalder@gmail.com To: freebsd-small@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Google-Sender-Auth: 14aba48de9d64c6f Cc: flz@FreeBSD.org Subject: NanoBSD on PC Engines WRAP does not boot X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 May 2006 06:59:05 -0000 Hello list, after successfully building and booting latest NanoBSD by phk (FreeBSD RELENG6_0) on a GENERIC PC, I so far failed to repeat it for PC Engines WRAP plattform. It appears that the boot loading process get stuck already in boot0sio which loops infinitely while wating for keyboard/console input for the partition/slice to boot, and outputing a BELL character to the serial console after every timeout: PC Engines WRAP.1C/1D/1E v1.11 640 KB Base Memory 130048 KB Extended Memory 01F0 Master 848A SanDisk SDCFB-128 Phys C/H/S 980/8/32 Log C/H/S 124/32/63 1 FreeBSD 2 FreeBSD Even after looking at the boot0sio loader's source http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/boot/i386/boot0/boot0.S I could not figure out why it loops, although it appears that it identifies the two partitions with the two images correctly. The console does not accept any input, e.g. neither "1", "2" nor "Enter" to boot default. Anyway, after timing out, it should boot the default "1" partition. Obvisouly boot0sio correctly detects the two bootable partioions, but then fails to proceed boot loading. I tried several combinations of Flash disk paramters, although I use a 128 MB Sandisk which is natively supported by NanoBSD. Also tried with a 64 MB Hyperstone/Biwin, same result. Chaning the WRAP BIOS's parameter from LBA addressing to CHS does not help. Further, the image from phk's site for Soekris run on a WRAP http://people.freebsd.org/~phk/nanobsd/soekris_4x26/ exhibits the same problem when written to a Hyperstone/Biwin 64MB flash. Which hints that the problem is not related to my build process. Did anyone succeed in booting NanoBSD on WRAP, and if so, would not mind to make available the configuration files? (It appears that Florent Thoumie succeeded: http://blog.xbsd.org/2006/02/03/nanobsd-upgrade/ ) Thanks, Rolf P.S. On a sideline, I noted that the script nanobsd.sh should probably not use /boot/boot0sio but /boot/boot0 if generating an image for GENERIC PCs which have keyboard and video, not just a serial console (sio).