Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Oct 2009 10:13:40 +0800
From:      Eric <lihong@ieee.org>
To:        Andrew Thompson <thompsa@FreeBSD.org>
Cc:        gonzo@FreeBSD.org, freebsd-mips@FreeBSD.org
Subject:   Re: Add Wistron RPAA-82 board support
Message-ID:  <1256609620.31398.40.camel@localhost>
In-Reply-To: <1256535242.31398.32.camel@localhost>
References:  <1256528272.31398.28.camel@localhost> <20091026051144.GA89831@citylink.fud.org.nz> <1256535242.31398.32.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2009-10-26 at 13:34 +0800, Eric wrote:
> On Mon, 2009-10-26 at 18:11 +1300, Andrew Thompson wrote:
> > On Mon, Oct 26, 2009 at 11:37:52AM +0800, Eric wrote:
> > > Hi
> > > I added my ar7161 board support last weekend.
> > > It's flash is come from Spansion.
> > 
> > This is great. Oleksandr has also just added write support which will
> > conflict/duplicate some of your changes so have a look and merge any
> > outstanding changes you have made (s25fl128 support).
> > 
> > http://svn.freebsd.org/viewvc/base?view=revision&revision=198465
> > 
> > cheers,
> > Andrew
> 
> At first, I have my own write support, then I saw hit commit today.
> So this patch already merged his commit.
> 

It seems work well on my board.
I can put both OpenWrt and FreeBSD on the same board.
The only problem for FreeBSD is that FreeBSD kernel has no dedicated
entry address. OpenWrt put 'j kernel_entry' at load address, so it no
need to change redboot config after firmware upgrade.

===================== RedBoot ==========================
RedBoot(tm) bootstrap and debug environment [ROMRAM]
Non-certified release, version v1.0 - built 12:26:39, May 18 2009

Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.

Board: RPAA-82 
RAM: 0x80000000-0x84000000, [0x80051290-0x80fe1000] available
FLASH: 0xbf000000 - 0xbfff0000, 256 blocks of 0x00010000 bytes each.
== Executing boot script in 3.000 seconds - enter ^C to abort
^C
RedBoot> fis list
Name              FLASH addr  Mem addr    Length      Entry point
RedBoot           0xBF000000  0xBF000000  0x00040000  0x00000000
vmlinux.bin.l7    0xBF040000  0x80060000  0x00100000  0x80060000
rootfs            0xBF140000  0xBF140000  0x00400000  0x00000000
fbsd-kern         0xBF540000  0x80060000  0x00200000  0x800976C0
fbsd-root         0xBF740000  0xBF740000  0x00800000  0x00000000
fbsd-data         0xBFF40000  0xBFF40000  0x000A0000  0x00000000
FIS directory     0xBFFE0000  0xBFFE0000  0x0000F000  0x00000000
RedBoot config    0xBFFEF000  0xBFFEF000  0x00001000  0x00000000

===================== FreeBSD ==========================
Tue Oct 27 01:58:42 UTC 2009

FreeBSD/mips (ar71xx) (ttyu0)

login: root
Oct 27 01:59:09 ar71xx login: ROOT LOGIN (root) ON ttyu0
Copyright (c) 1992-2009 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights
reserved.

# df -h
Filesystem                     Size    Used   Avail Capacity  Mounted on
/dev/redboot/fbsd-root.uzip     48M     30M     14M    69%    /
devfs                          1.0K    1.0K      0B   100%    /dev
/dev/redboot/fbsd-data         528K    7.5K    478K     2%    /flash
/dev/md0                       3.6M    144K    3.2M     4%    /var
# mount
/dev/redboot/fbsd-root.uzip on / (ufs, local, noatime, read-only)
devfs on /dev (devfs, local)
/dev/redboot/fbsd-data on /flash (ufs, local, noatime)
/dev/md0 on /var (ufs, local)












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