Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jan 2010 16:06:33 -0800
From:      Stanislav Sedov <stas@FreeBSD.org>
To:        alan yang <alancyang@gmail.com>
Cc:        freebsd-mips@freebsd.org
Subject:   Re: Cavium port
Message-ID:  <20100105160633.cf3763ed.stas@FreeBSD.org>
In-Reply-To: <290865fd1001051511t166dd628u5b6c3c9bfba352e4@mail.gmail.com>
References:  <290865fd0910201022h6bfd82cev7fac4294f1e89004@mail.gmail.com> <290865fd1001041130y4c2d59d5s3d9915a39b98397d@mail.gmail.com> <BDD254BE-B579-4E20-9D36-EB63A84C0F63@lakerest.net> <20100104.131324.858349725408038608.imp@bsdimp.com> <290865fd1001051444x124107b9x22d91c211b71b6ae@mail.gmail.com> <20100105145438.11aa7724.stas@FreeBSD.org> <290865fd1001051511t166dd628u5b6c3c9bfba352e4@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Tue__5_Jan_2010_16_06_33_-0800_woi_MVZXj+5vVRug
Content-Type: text/plain; charset=KOI8-R
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, 5 Jan 2010 15:11:11 -0800
alan yang <alancyang@gmail.com> mentioned:

> >
> > I have patches for u-boot that allows it to be compiled on FreeBSD. =9A=
I'm pretty
> > sure toolchain from devel/mips-rtems-gcc will do the trick (at least I =
always
> > used this for ARM).
> >
> > I can share patches if you're interested (I posted them several times o=
n the lists).
> > I also have unofficial patches for UFS filesystem support, and FreeBSD =
kernel
> > loading (with hints/kenv).
> >
>=20
> u-boot, UFS, and FreeBSD kernel loading patches are much interested,
> and appreciate for the sharing...!!
>=20
> Kindly advise how to get them.

Here's my tree: http://www.SpringDaemons.com/stas/uboot-atamantb.tar.bz2
It is based on the Nov 2008's uboot GIT, but I think it can be faily easy m=
erged
with usptream (there were no obtrusive changes).

To build use `gmake CROSS_COMPILE=3Darm-rtems- yourplatformname_config &
gmake CROSS_COMPILE=3Darm-rtems-` (or mips-rtems- for mips). For example
of usage of new config options we added see include/configs/atamantb.h.
E.g. for FFS support you need to add '#define CONFIG_CMD_FFS', and
'#define CONFIG_CMD_BOOTBSD' will add 'bootbsd' and 'kenv' commands.

There's history in tree (use `hg log`), so you can take out patches needed,
if you'll need to apply them to another tree.

Hope that helps.

--=20
Stanislav Sedov
ST4096-RIPE

--Signature=_Tue__5_Jan_2010_16_06_33_-0800_woi_MVZXj+5vVRug
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iQIcBAEBAgAGBQJLQ9QNAAoJEL8lojEJL9nwxZQQAIKKMxvQjHYAEA0Zau3XF0Tq
f15LIU6qDAhhIB4EZSwn4td1ukgQIXy7fB8Xf8AyFSutoJ1lzw6AZpPjJttj4Uym
vgg8sojzLXfZbmzvbnl8BWvdt/3Wf9GWMY/Znk5YUD4MG5w8zAfrL4qfXihqjPhV
X7GD7RDEIJtzUvIPbhVNSdBZan8pGJrLIWAgZjgeKx4DJH4JwaVeevE/RdwPJexc
QSX33iN2O6QcbPatJCdqLD6copCdl63m9oYM3bYQxzjSsRGNRDIX+0F0VXw8dN/Q
WmgirbDeWKhDbJ2cHADu/NC3NvLdZPFFu7oauy8nMYpe7gC9kS4GXVSbbVDBTafp
e32bSisSUMF2TNL9w1I4XfBf/JcdReFF0DrKJ0y6YkcNlPrim1EYDAYsBl2pZTvd
I0vlKu/gxlmQpCdgg1YjFeb2RrNFameMQbNfN5EJyGWREOEbAZVjGsWOY8/qzbHz
evg06c2+/+h0y0KCjXuwgc3BtJg8eX4I2ptTwBilUswEkxr0nDzzvVBObXSyiNkP
vg7GdhwcZ030YEsKjRpXoyhUTAt4d7y69TH3AWh7+AcnC2IdzepdOMwTIGiPoa8z
UZy7qjusjCsHlL8eUytH1Iskmzuv7p07DxqwQUWrqcuuaMlKa6wbpbHHzDrB9qvL
4B74ETWQOgS6Km4/HV3d
=oWVw
-----END PGP SIGNATURE-----

--Signature=_Tue__5_Jan_2010_16_06_33_-0800_woi_MVZXj+5vVRug--



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