From owner-freebsd-mips@FreeBSD.ORG Tue Sep 14 18:02:28 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 E852A106566C for ; Tue, 14 Sep 2010 18:02:28 +0000 (UTC) (envelope-from PMahan@adaranet.com) Received: from barracuda.adaranet.com (smtp.adaranet.com [72.5.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id CF6D78FC1D for ; Tue, 14 Sep 2010 18:02:28 +0000 (UTC) X-ASG-Debug-ID: 1284486331-50610f660001-1gY7mK Received: from SJ-EXCH-1.adaranet.com ([10.10.1.29]) by barracuda.adaranet.com with ESMTP id GT55tCvFbbLcBke1 for ; Tue, 14 Sep 2010 10:45:31 -0700 (PDT) X-Barracuda-Envelope-From: PMahan@adaranet.com Received: from mycroft.adaranet.com (10.10.24.100) by SJ-EXCH-1.adaranet.com (10.10.1.29) with Microsoft SMTP Server (TLS) id 8.1.240.5; Tue, 14 Sep 2010 10:45:30 -0700 Message-ID: <4C8FB5CA.2060100@adaranet.com> X-Barracuda-BBL-IP: nil Date: Tue, 14 Sep 2010 10:50:02 -0700 From: Patrick Mahan User-Agent: Thunderbird 2.0.0.23 (X11/20091021) MIME-Version: 1.0 To: "freebsd-mips@freebsd.org" X-ASG-Orig-Subj: Booting a 64-bit kernel on Octeon 58XX eval board fails Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Barracuda-Connect: UNKNOWN[10.10.1.29] X-Barracuda-Start-Time: 1284486331 X-Barracuda-URL: http://172.16.10.203:8000/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at adaranet.com Subject: Booting a 64-bit kernel on Octeon 58XX eval board fails 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, 14 Sep 2010 18:02:29 -0000 Warner and Julie, I built and tried to boot the 64-bit kernel for the Octeon out of the HEAD sources. This board still has the Cavium SDK 1.8.1 bootloader. Here is the output on the console - Octeon ebt5800# tftp 0 mahan/kern90.64 Interface 1 has 4 ports (RGMII) Using octeth0 device TFTP from server 10.10.29.252; our IP address is 10.10.29.100 Filename 'mahan/kern90.64'. Load address: 0x20000000 Loading: ################################################################# ################################################################# ################################################################# ####################################################### done Bytes transferred = 35701417 (220c2a9 hex), 12668 Kbytes/sec Octeon ebt5800# bootoctlinux $fileaddr coremask=0x0001 argv[2]: coremask=0x0001 ELF file is 64 bit Allocated memory for ELF segment: addr: 0x100040, size 0xa8 Error allocating memory for elf image! ## Loading Linux kernel with entry point: 0x20000000 ... Bootloader: Done loading app on coremask: 0x1 Is this due to the 1.8.1 bootloader? Thanks, Patrick