From owner-freebsd-mips@FreeBSD.ORG Wed Jan 6 00:06:55 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68727106568B; Wed, 6 Jan 2010 00:06:55 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from mx0.deglitch.com (backbone.deglitch.com [IPv6:2001:16d8:fffb:4::abba]) by mx1.freebsd.org (Postfix) with ESMTP id 0B32E8FC1A; Wed, 6 Jan 2010 00:06:55 +0000 (UTC) Received: from orion.SpringDaemons.com (adsl-99-48-191-9.dsl.snfc21.sbcglobal.net [99.48.191.9]) by mx0.deglitch.com (Postfix) with ESMTPA id 500AE8FC4E; Wed, 6 Jan 2010 03:06:52 +0300 (MSK) Received: from orion (localhost [127.0.0.1]) by orion.SpringDaemons.com (Postfix) with SMTP id C5C6739C24; Tue, 5 Jan 2010 16:06:37 -0800 (PST) Date: Tue, 5 Jan 2010 16:06:33 -0800 From: Stanislav Sedov To: alan yang Message-Id: <20100105160633.cf3763ed.stas@FreeBSD.org> In-Reply-To: <290865fd1001051511t166dd628u5b6c3c9bfba352e4@mail.gmail.com> References: <290865fd0910201022h6bfd82cev7fac4294f1e89004@mail.gmail.com> <290865fd1001041130y4c2d59d5s3d9915a39b98397d@mail.gmail.com> <20100104.131324.858349725408038608.imp@bsdimp.com> <290865fd1001051444x124107b9x22d91c211b71b6ae@mail.gmail.com> <20100105145438.11aa7724.stas@FreeBSD.org> <290865fd1001051511t166dd628u5b6c3c9bfba352e4@mail.gmail.com> Organization: The FreeBSD Project X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Tue__5_Jan_2010_16_06_33_-0800_woi_MVZXj+5vVRug" Cc: freebsd-mips@freebsd.org Subject: Re: Cavium port X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2010 00:06:55 -0000 --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 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--