FreeBSD 10.0-RC3 Now Available
Warner Losh
imp at bsdimp.com
Fri Dec 27 03:08:31 UTC 2013
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 at bsdimp.com> wrote:
>>
>>> Can crochet take this the userland tarball and make an image from it?
>>
>> 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:
>>
>> # (Optional) Don’t build world.
>> board_default_buildworld ( ) { }
>>
>> # Replace default installworld with untar
>> board_default_installworld ( ) {
>> cd ${BOARD_FREEBSD_MOUNTPOINT}
>> tar xf ${WORLD_TARBALL}
>> }
>
> So, in theory, re@ would need to produce arm userland (using TARGET=arm
> TARGET_ARCH=arm), 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?
>
> Although, if we're already doing buildworld, installworld is inexpensive
> at this point.
You'd need to make two. One with TARGET_ARCH=arm and one with TARGET_ARCH=armv6. 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
More information about the freebsd-arm
mailing list