From owner-freebsd-embedded@FreeBSD.ORG Tue May 5 19:52:53 2009 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 865F91065672; Tue, 5 May 2009 19:52:53 +0000 (UTC) (envelope-from rickvanderzwet@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id CF18C8FC13; Tue, 5 May 2009 19:52:52 +0000 (UTC) (envelope-from rickvanderzwet@gmail.com) Received: by bwz9 with SMTP id 9so4802452bwz.43 for ; Tue, 05 May 2009 12:52:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=Ps5+/um7yGuWG67l29W3Z/CnH+D+EUgG3iPMapYdM74=; b=q7/X450wMioLFYa1pAU13xNfB3el4K338hdXVhB5d6YHUqMqwQ3rb+ErjQ5zF81jnc VM5H7qo5RxDhJisf2pL9drMhxwyXbBYXV1hAtzvy4ygkrDcLxSQsk1JcOXyxIxua4CHp +cNKHnlOYjW1vfZ06Yr4PpV70CUyYcHapB7H0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=wjRGKJp9AkAgdf1pjke/MsJaTN+WbLiaYHq1y+QMniGiiV4dV1hUpaNvDagCxEQ8f8 Aw3BoGo6eXeg0rzDbJnXaTh39321JMnkuxsTHnsZiGYgfraRLxpk6V4z1E5wZDqwetj9 1u7Z7H2E2n8FVotYE/z18k8zqHa/n5usURHVo= MIME-Version: 1.0 Sender: rickvanderzwet@gmail.com Received: by 10.223.127.4 with SMTP id e4mr542232fas.100.1241553171350; Tue, 05 May 2009 12:52:51 -0700 (PDT) In-Reply-To: <20090505104419.GA12107@onelab2.iet.unipi.it> References: <5aaae08a0905050258t5ca6a84ep2b7d1a47bcca6d8c@mail.gmail.com> <20090505104419.GA12107@onelab2.iet.unipi.it> Date: Tue, 5 May 2009 21:52:51 +0200 X-Google-Sender-Auth: b92bbd5a6bfd1c41 Message-ID: <5aaae08a0905051252l7d3cd0a0m7149d7421a4af20c@mail.gmail.com> From: Rick van der Zwet To: Luigi Rizzo Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: luigi@freebsd.org, freebsd-embedded@freebsd.org Subject: Re: Boot0 testing (WAS: Re: nanobsd image boot issues) X-BeenThere: freebsd-embedded@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: Tue, 05 May 2009 19:52:53 -0000 2009/5/5 Luigi Rizzo : > On Tue, May 05, 2009 at 11:58:35AM +0200, Rick van der Zwet wrote: >> Down below a thread currently running at freebsd-embedded@ regarding >> the boot0 loader and it's weirdness. I don't seems to find a proper >> way of getting the boot0 loader to work on various (old) hardware, >> like Pentium I PC's with awardBios, which I need to get nanobsd to >> work properly on various types of hardware. Turned out to be an issue with packet 'mode', as not all old PC's bios did not have the support included, sigh :-( > One problem I had with some old hardware was that the BIOS > could not read more than one sector at a time, and eventually > (but it was really long ago so i do not remember > the details well) I had to patch some code so that > reading would occur one sector at a time instead of > using track-long blocks. D=E9j=E0 vu, that's fellow W(ireless)L(eiden) hacker Dw: http://lists.freebsd.org/pipermail/freebsd-hackers/2003-May/000636.htm= l >> Looking at the source code it seems to be 3 points of failure, ranging >> from invalid input to unreadable sectors, but all ends with the same >> generic warning (read: one 'beep'). I know space is limited, but how >> about a different beep sequence for all warning, will that be >> possible? FYI: during debugging I wrote it to aid me. (thanks to the wonderful SAVE_MEMORY and SAVE_MORE_MEMORY flags for making coding easy). http://www.freebsd.org/cgi/query-pr.cgi?pr=3D134242 /Rick --=20 http://rickvanderzwet.nl