Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jan 2010 22:42:48 -0700 (MST)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        alancyang@gmail.com
Cc:        freebsd-mips@freebsd.org
Subject:   Re: Cavium port
Message-ID:  <20100126.224248.925196285497011965.imp@bsdimp.com>
In-Reply-To: <290865fd1001262130u29272ff8ve6d50a45e27a43e4@mail.gmail.com>
References:  <86068e731001260942j345d9f55i7e602a172e0838ac@mail.gmail.com> <885d28551001261347i5bb1d502p330ef8f328588796@mail.gmail.com> <290865fd1001262130u29272ff8ve6d50a45e27a43e4@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <290865fd1001262130u29272ff8ve6d50a45e27a43e4@mail.gmail.com>
            alan yang <alancyang@gmail.com> writes:
: still cannot get kernel to boot..., don't know the cause 'Error
: allocating memory for elf image' is due to my kernel... or something
: else.

I'm not sure.  Are you using the OCTEON1-32 or OCTEON1 kernel?  From
the below, it says 'ELF file is 64-bit.'   While we want the 64-bit
stuff to go, there's a fair amount of work there that we need to
do/port yet to make it go.  Try building the OCTEON1-32 kernel
instead.

: really want to get freebsd up and running.

I'd love you to get it up and running to.  There's still one or two
minor gotchas with interrupts (see my blog at bsdimp.blogpot.com for
details on the current workaround), but you can easily get to single
user today.

Warner

: thanks in advance again for people's help!!
: --
: 
: U-Boot 1.1.1 (U-boot build #: 176) (SDK version: 1.7.1-240) (Build time: Feb  )
: 
: 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 d)
: 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#: A181109948O004038
:             Type: Hard Disk
:             Capacity: 977.4 MB = 0.9 GB (2001888 x 512)
: Octeon ebt5800# fatload ide 0 21000000 kernel
: reading kernel
: 
: 4045856 bytes read
: Octeon ebt5800# bootoctlinux 21000000 coremask=0x1
: argv[2]: coremask=0x1
: ELF file is 64 bit
: Error allocating memory for elf image!
: ## Loading Linux kernel with entry point: 0x21000000 ...
: 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"
: 
: 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100126.224248.925196285497011965.imp>