Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jan 2010 07:18:20 -0800
From:      Patrick Mahan <mahan@mahan.org>
To:        alan yang <alancyang@gmail.com>
Cc:        freebsd-mips@freebsd.org
Subject:   Re: Cavium port
Message-ID:  <4B61AABC.1070404@mahan.org>
In-Reply-To: <290865fd1001252225pfc56fd8y53db1865d8512080@mail.gmail.com>
References:  <290865fd1001051526i73dd96d7x18a7a842b903b61d@mail.gmail.com>	 <4B4433ED.10103@mahan.org>	 <290865fd1001211445n1b469e11o2f37598c989dbaf7@mail.gmail.com>	 <20100121.163312.886429907199307448.imp@bsdimp.com> <290865fd1001252225pfc56fd8y53db1865d8512080@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Alan,

I think you should try -

   fatload ide 0 $(loadaddr) kernel
   bootoctlinux $(loadaddr)

loadaddr should be set by u-boot as the first usable memory address.
do a printenv after you bring up the eval board.

Patrick

alan yang 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
> 
> 



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