From owner-freebsd-arm@FreeBSD.ORG Tue Nov 21 17:42:31 2006 Return-Path: X-Original-To: freebsd-arm@freebsd.org 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 C20DF16B620 for ; Tue, 21 Nov 2006 17:42:31 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 295D243D68 for ; Tue, 21 Nov 2006 17:42:07 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id kALHaIo2079056; Tue, 21 Nov 2006 10:36:19 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 21 Nov 2006 10:37:00 -0700 (MST) Message-Id: <20061121.103700.1152757768.imp@bsdimp.com> To: Danovitsch@vitsch.net From: "M. Warner Losh" In-Reply-To: <200611211817.23949.Danovitsch@vitsch.net> References: <200611202312.58007.Danovitsch@vitsch.net> <20061121112926.GA87021@ci0.org> <200611211817.23949.Danovitsch@vitsch.net> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Tue, 21 Nov 2006 10:36:19 -0700 (MST) Cc: freebsd-arm@freebsd.org Subject: Re: At91rm9200 how to start with FreeBSD 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, 21 Nov 2006 17:42:31 -0000 In message: <200611211817.23949.Danovitsch@vitsch.net> "Daan Vreeken [PA4DAN]" writes: : Apart from that I have another problem with this KB9202B board. I use the : original boot loader that was provided by Kwikbyte and load the kernel using : TFTP. I would really like to keep using TFTP for it's speed, but for some : reason not all kernels I have created are bootable... : I suspect this to be a problem in the boot loader. When I change the : configuration of my kernel (add a device, or remove one) all of a sudden the : kernel won't boot. The boot loader doesn't complain during the TFTP-transfer, : but after typing "e 0x20000000" to execute, the board hangs without a single : letter being output on the serial console. : Has anyone else seen this problem? : Is there a way to fix the TFTP problems I am seeing? : (Or did I really mess up with compiling?) kwikbyte's tftp boot code sucks. I fixed a lot of bugs with it and you can find the results in bootiic :-) In fact, I started with kwikbyte's boot loader and have made the original one fit in about ~5k instead of 16k. I've also added some functionality to it and it takes up 8k or so. Warner