Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Mar 2017 13:15:38 +0200
From:      Rasmus Liland <jensrasmus@gmail.com>
To:        Jan Sieka <jan.sieka@gmail.com>, freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: DB-88F6XXX kernel on 88F6281_A0 (GoFlex Net)
Message-ID:  <20170331111538.GB31398@jrl.uk.to>
In-Reply-To: <CAGeh=dV5ZM_rS7eYE3vSc=86rG=6=RpPqA_YSg1%2By8fLG_g02Q@mail.gmail.com>
References:  <20170330232907.GA21389@jrl.uk.to> <888745.43951.qm@web101706.mail.ssk.yahoo.co.jp> <20170331094127.GA29618@jrl.uk.to> <CAGeh=dV5ZM_rS7eYE3vSc=86rG=6=RpPqA_YSg1%2By8fLG_g02Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2017-03-31 12:45 +0200, Jan Sieka wrote:
> Hello!
> 
> The .dts file is included in the kernel config file. Look here 
> in the line 8:
> https://svnweb.freebsd.org/base/releng/10.3/sys/arm/conf/DB-88F6XXX?view=markup

Hello!

Yes, it seems the dts file is specified at line 97, and the 
std.db88f6xxx is at line 8. Perhaps these need to be modified, 
yes.

> How much memory (RAM) do you have on your board?
> 
> I'm recalling that sometimes when we tried to load FreeBSD 
> kernel under the wrong address we were overwriting the U-Boot 
> in the RAM thus we observed stalled tftp load. So the question 
> is what is the address under which the U-Boot is copied to the 
> memory on your board.

U-Boot announces the amount of DRAM to 128MiB, and 256MiB of 
NAND. Is there any U-boot command I can run to show some of the 
memory mapping to determine the new addresses?

I looked around and at least found the commands cmp, md, and 
bdinfo, perhaps they are useful:

| Marvell>> help
| bdinfo  - print Board Info structure
| cmp     - memory compare
| md      - memory display
| Marvell>> cmp    
| cmp - memory compare
| 
| Usage:
| cmp [.b, .w, .l] addr1 addr2 count
| Marvell>> md
| md - memory display
| 
| Usage:
| md [.b, .w, .l] address [# of objects]
| Marvell>> bdinfo
| arch_number = 0x00000C11
| env_t       = 0x00000000
| boot_params = 0x00000100
| DRAM bank   = 0x00000000
| -> start    = 0x00000000
| -> size     = 0x08000000
| DRAM bank   = 0x00000001
| -> start    = 0x00000000
| -> size     = 0x00000000
| DRAM bank   = 0x00000002
| -> start    = 0x00000000
| -> size     = 0x00000000
| DRAM bank   = 0x00000003
| -> start    = 0x00000000
| -> size     = 0x00000000

/Rasmus



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