From owner-freebsd-arm@FreeBSD.ORG Tue Nov 25 18:59:19 2008 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DDD61065672; Tue, 25 Nov 2008 18:59:19 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from smtp.ht-systems.ru (mr0.ht-systems.ru [78.110.50.55]) by mx1.freebsd.org (Postfix) with ESMTP id 53A608FC12; Tue, 25 Nov 2008 18:59:19 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from [85.21.245.235] (helo=orion.SpringDaemons.com) by smtp.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1L537x-0000sF-Bf; Tue, 25 Nov 2008 21:59:15 +0300 Received: from orion (localhost [127.0.0.1]) by orion.SpringDaemons.com (Postfix) with SMTP id C15C8398F3; Tue, 25 Nov 2008 22:00:40 +0300 (MSK) Date: Tue, 25 Nov 2008 22:00:40 +0300 From: Stanislav Sedov To: "M. Warner Losh" Message-Id: <20081125220040.c8996e0b.stas@FreeBSD.org> In-Reply-To: <20081125.113647.1346821827.imp@bsdimp.com> References: <20081125.104452.535842403.imp@bsdimp.com> <20081125212409.3dab8178.stas@FreeBSD.org> <20081125.113647.1346821827.imp@bsdimp.com> Organization: The FreeBSD Project X-XMPP: ssedov@jabber.ru X-Voice: +7 916 849 20 23 X-PGP-Fingerprint: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: arm@freebsd.org Subject: Re: Code review request: boards on AT91 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: Tue, 25 Nov 2008 18:59:19 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 25 Nov 2008 11:36:47 -0700 (MST) "M. Warner Losh" mentioned: > : > : I think we could pass the board type via a special kenv variable > : for now. I think it will work fine and applicable to all supported > : architectures. We could probably reuse board type constants that Linux > : kernel uses. > > Right now that's passed in from uboot and other loaders in I think r3, > but I'd have to go look at some other code to be sure. > Well, I don't think we want to follow The Linux kernel argument passing paradigm... But using a simple kenv variable would be just fine. We have a patch ready for kenv/hints support in u-boot and in our arm port, and our loader could be used on arm with Rafal's u-boot API. - -- Stanislav Sedov ST4096-RIPE -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAkksS1gACgkQK/VZk+smlYFbXgCeIjnGNdYD6bdCxCSQFR4hVrdr NxQAn20bqjk7Ln+XjScOlEiaoJ1NNBbQ =UT0L -----END PGP SIGNATURE-----