From owner-freebsd-mips@FreeBSD.ORG Tue Jan 26 14:55:43 2010 Return-Path: Delivered-To: freebsd-mips@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 480E31065670 for ; Tue, 26 Jan 2010 14:55:43 +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 07F878FC15 for ; Tue, 26 Jan 2010 14:55:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id o0QEkgVA071703; Tue, 26 Jan 2010 07:46:42 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 26 Jan 2010 07:47:32 -0700 (MST) Message-Id: <20100126.074732.321689434066232630.imp@bsdimp.com> To: aduane@juniper.net From: "M. Warner Losh" In-Reply-To: References: <20100121.163312.886429907199307448.imp@bsdimp.com> <290865fd1001252225pfc56fd8y53db1865d8512080@mail.gmail.com> X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-mips@FreeBSD.org Subject: Re: Cavium port X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jan 2010 14:55:43 -0000 In message: Andrew Duane writes: : owner-freebsd-mips@freebsd.org wrote: : > hi, Warner, : > : > I got things setup to load kernel, but encountered the following, : > wonder what should I provide next that people could help shed some : > light on work around: kernel version, repository used,...or where to : > start looking at things ... : > : > many thanks! : > : > ---- : > : > U-Boot 1.1.1 (U-boot build #: 176) (SDK version: 1.7.1-240) (Build : > time: Feb 1) : > : > EBT5800 board revision major:2, minor:0, serial #: 2008-2.0-00251 : > OCTEON CN5860-NSP pass 1.1, Core clock: 600 MHz, DDR clock: 400 MHz : > (800 Mhz da) DRAM: 2048 MB : > Flash: 8 MB : > Clearing DRAM........ done : > BIST check passed. : > Net: octeth0, octeth1, octeth2, octeth3 : > Bus 0 (CF Card): OK : > : > ide 0: Model: 1024MB CompactFlash Card Firm: CF_A408J Ser#: : > A181109948O0040368 Type: Hard Disk : > Capacity: 977.4 MB = 0.9 GB (2001888 x 512) : > Octeon ebt5800# fatload ide 0 0 kernel : > reading kernel : > : > 4045856 bytes read : > Octeon ebt5800# bootoctlinux mem=0 numcores=1 : > argv[2]: numcores=1 : > ELF file is 64 bit : > Error allocating memory for elf image! : > ## Loading Linux kernel with entry point: 0x20000000 ... : > Bootloader: Done loading app on coremask: 0x1 : > _______________________________________________ : > freebsd-mips@freebsd.org mailing list : > http://lists.freebsd.org/mailman/listinfo/freebsd-mips : > To unsubscribe, send any mail to : > "freebsd-mips-unsubscribe@freebsd.org" : : IIRC, you do not load at address 0 (fatload ide 0 >>>0<<< kernel), isn't the default address 0x100000? : It's been too long since I used the eval boards, but I think I remember that. I load the kernel at a800000 on my CN3800 board. Warner