From owner-freebsd-arm@FreeBSD.ORG Wed Nov 22 16:50:56 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 D9BD616A412 for ; Wed, 22 Nov 2006 16:50:56 +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 779C843D5A for ; Wed, 22 Nov 2006 16:50:26 +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 kAMGmc2i001464; Wed, 22 Nov 2006 09:48:38 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Wed, 22 Nov 2006 09:49:21 -0700 (MST) Message-Id: <20061122.094921.-2076632274.imp@bsdimp.com> To: Danovitsch@vitsch.net From: "M. Warner Losh" In-Reply-To: <200611221504.51893.Danovitsch@vitsch.net> References: <200611211817.23949.Danovitsch@vitsch.net> <20061121.103700.1152757768.imp@bsdimp.com> <200611221504.51893.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]); Wed, 22 Nov 2006 09:48:39 -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: Wed, 22 Nov 2006 16:50:56 -0000 In message: <200611221504.51893.Danovitsch@vitsch.net> "Daan Vreeken [PA4DAN]" writes: : On Tuesday 21 November 2006 18:37, you wrote: : > 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 : : Changing the boot loader indeed solved the problems I was seeing. It's also : nice to have a progress indicator while downloading and to actually see : errors when things go wrong :) Glad to see you are enjoying my handiwork. I spent a lot of time on that.. Warner