From owner-freebsd-arm@FreeBSD.ORG Sat Jun 17 18:59:03 2006 Return-Path: X-Original-To: freebsd-arm@freebsd.org Delivered-To: freebsd-arm@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1554F16A47A for ; Sat, 17 Jun 2006 18:59:03 +0000 (UTC) (envelope-from mlfbsd@dong.ci0.org) Received: from dong.ci0.org (cognet.ci0.org [80.65.224.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57B1A43D6A for ; Sat, 17 Jun 2006 18:58:58 +0000 (GMT) (envelope-from mlfbsd@dong.ci0.org) Received: from dong.ci0.org (localhost.ci0.org [127.0.0.1]) by dong.ci0.org (8.13.6/8.13.4) with ESMTP id k5HJWI9T002842; Sat, 17 Jun 2006 21:32:18 +0200 (CEST) (envelope-from mlfbsd@dong.ci0.org) Received: (from mlfbsd@localhost) by dong.ci0.org (8.13.6/8.13.4/Submit) id k5HJWIZF002841; Sat, 17 Jun 2006 21:32:18 +0200 (CEST) (envelope-from mlfbsd) Date: Sat, 17 Jun 2006 21:32:18 +0200 From: mlfbsd To: "Daan Vreeken [PA4DAN]" Message-ID: <20060617193217.GA2793@ci0.org> References: <20060617004355.GA99313@mail.secure.net> <200606172054.09689.Danovitsch@vitsch.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200606172054.09689.Danovitsch@vitsch.net> User-Agent: Mutt/1.4.1i Cc: freebsd-arm@freebsd.org Subject: Re: KB9202 booting large kernels 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: Sat, 17 Jun 2006 18:59:03 -0000 On Sat, Jun 17, 2006 at 08:54:09PM +0200, Daan Vreeken [PA4DAN] wrote: > On Saturday 17 June 2006 02:43, David Sharp wrote: > > i have been succesful with smaller nfs-root kernels booting on the > > KB9202. however, when i try larger MD_ROOT kernels it does not work. the > > break point is around 2.6MB total kernel size. as the size approaches > > that number there will be some error messages about elf linker not finding > > a symbol, or no error and just garbage on the console. after passing the > > 2.6M mark by more than 10kB it silently hangs. > > > > does anyone have an idea what might be going wrong? > > I don't have a clue to what is causing it, but I have a KB9202 here since a > couple of weeks, and I have noticed the same problem. > As it was my first experience with FreeBSD on anything not i386 and not Sparc > I assumed I was doing something wrong :) > I boot my board over TFTP, but I have yet to check wether the entire kernel > gets downloaded, or if it's the TFTP client that only reads the first +/- 2.6 > MByte. > > grtz, > Daan Hi, There have been some none issues with large kernel, but it was for kernels > 8MB. If you're not using the gzipped kernel stuff, then the best suspect would be the TFTP client from the bootloader, which is known to be dodgy. Warner worked on this, and you may try your luck in flashing what's in sys/boot/arm/at91 (make sure to replace any occurence of -DBOOT_TSC with -DBOOT_KB9202). Cheers, Olivier