From owner-freebsd-arm@FreeBSD.ORG Tue Nov 25 21:24:31 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 CF4F11065675; Tue, 25 Nov 2008 21:24:31 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 8FF978FC0A; Tue, 25 Nov 2008 21:24:31 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id mAPLL3wD063556; Tue, 25 Nov 2008 14:21:04 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 25 Nov 2008 14:22:32 -0700 (MST) Message-Id: <20081125.142232.-1573945294.imp@bsdimp.com> To: stas@freebsd.org From: "M. Warner Losh" In-Reply-To: <20081125234656.e1820a12.stas@FreeBSD.org> References: <20081125224528.4395ff7e.stas@FreeBSD.org> <20081125.130021.1210474290.imp@bsdimp.com> <20081125234656.e1820a12.stas@FreeBSD.org> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) 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 21:24:31 -0000 In message: <20081125234656.e1820a12.stas@FreeBSD.org> Stanislav Sedov writes: : -----BEGIN PGP SIGNED MESSAGE----- : Hash: SHA1 : : On Tue, 25 Nov 2008 13:00:21 -0700 (MST) : "M. Warner Losh" mentioned: : > : > So long as it is optional. The KB9202 boards that I have don't have : > room for uboot or redboot. You have 16kb of space, which boot2 fits : > nicely into right now (clocking in at about 9.5k). : > : : Have it got parallel or SPI flash? My board boots u-boot directly : from parallel flash on start. Not really. While the Kwikbyte board I have does, the board that was developed for my last company doesn't really have it on there. I believe it was cost reduced off the board since we didn't need it: the iic boot loader could load the kernel directly off of the SD card. : > : > but there's a fair number of different boot loaders today for : > : > FreeBSD/arm. While it would be nice to mandate all the world use : > : > uboot + /boot/loader, that's not likely going to happen. There's too : > : > many boards out there that have redboot or some custom boot loader : > : > that will be hard to replace... : > : : > : In that cases loader(8) could be used. : > : > Not always. That's the point that I keep coming back to. There's no : > easy way to make loader read things from disks, over the network, etc : > in the embedded space. Right now for some uboot based systems, this : > can be done, but for redboot systems, you are basically out of luck. : > There's no way that loader(8) can load additional sections without a : > lot of board specific code. : > : : I see your point. If there's no room for extending/replacing you : have to live with what the board has:-( Yes. Sadly, we're not in a position of saying you must have boatloader X. I wish we were... Warner