Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Dec 2013 20:08:20 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Glen Barber <gjb@FreeBSD.org>
Cc:        freebsd-arm ml <freebsd-arm@freebsd.org>, FreeBSD Release Engineering Team <re@freebsd.org>
Subject:   Re: FreeBSD 10.0-RC3 Now Available
Message-ID:  <074F95A9-CA48-41A0-A222-D84CEB7FF863@bsdimp.com>
In-Reply-To: <20131227025814.GQ13109@glenbarber.us>
References:  <20131226162521.GK2009@glenbarber.us> <2B79BF2A-1798-40F5-AD6E-D560E9C6C1E7@freebsd.org> <20131226194830.4f6e5b13@bender.Home> <AB7A24B9-A7FF-4364-8257-B8DF0E75A462@bsdimp.com> <7684A21C-4451-44ED-A11A-C03EF7850F01@freebsd.org> <20131227025814.GQ13109@glenbarber.us>

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

On Dec 26, 2013, at 7:58 PM, Glen Barber wrote:

> On Thu, Dec 26, 2013 at 06:51:11PM -0800, Tim Kientzle wrote:
>> On Dec 26, 2013, at 11:59 AM, Warner Losh <imp@bsdimp.com> wrote:
>>=20
>>> Can crochet take this the userland tarball and make an image from =
it?
>>=20
>> Easy-peasy.  There are hooks for this already in lib/board.sh that =
you
>> can override in config.sh.  Something like the following (untested)
>> should do the trick:
>>=20
>> # (Optional) Don=92t build world.
>> board_default_buildworld ( ) { }
>>=20
>> # Replace default installworld with untar
>> board_default_installworld ( ) {
>> 	cd ${BOARD_FREEBSD_MOUNTPOINT}
>> 	tar xf ${WORLD_TARBALL}
>> }
>=20
> So, in theory, re@ would need to produce arm userland (using =
TARGET=3Darm
> TARGET_ARCH=3Darm), run 'make packageworld' to create the base.txz and
> 'make packagekernel' to create kernel.txz, and that should dump the
> world/kernel bits onto a dd(1)-compatible image?
>=20
> Although, if we're already doing buildworld, installworld is =
inexpensive
> at this point.

You'd need to make two. One with TARGET_ARCH=3Darm and one with =
TARGET_ARCH=3Darmv6. If I could have only one, then I'd want the =
latter...  We'll have an arm64 in the 11-ish time frame....

Unlike x86, ARM will have a standard userspace, but custom kernels for =
most boards (ideally we'd have just one, but there's a lot of work to do =
to make that happen).

Warner




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?074F95A9-CA48-41A0-A222-D84CEB7FF863>