From owner-freebsd-arm@FreeBSD.ORG Fri Dec 27 03:08:31 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5A95FEE for ; Fri, 27 Dec 2013 03:08:31 +0000 (UTC) Received: from mail-ie0-f171.google.com (mail-ie0-f171.google.com [209.85.223.171]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1FE4718E4 for ; Fri, 27 Dec 2013 03:08:30 +0000 (UTC) Received: by mail-ie0-f171.google.com with SMTP id ar20so9321063iec.2 for ; Thu, 26 Dec 2013 19:08:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=N5OCt8eIHm8OpYtR8N2btOOl08eqm+71jnLp7nnbQl0=; b=g8SCLOrLckeS0/WVQi8TD7Ce06IPU6Z5CjjsLMH8mEsgQZbpy/yPTtBjbLwcXjWKbY dSVYc9msp8VimEFZhFPid+16Ui7hCaoz/xDXUKmVi7SDTvo57XNZdlG0kfvQOXjKmPAY i488AsY1ZNNEYrAG0Vqw8TkZPog8mgmt8GSze8B5ZRHoAdg4P5OSyxELLA/Bouqm5/5H 8HFBhxwDvoEbt2r7etQ2yUch33x4BR8Nzlt7jiVQNVUFq2CeXG9/ir2YPc/NhAlQkoXr hxLkpkmqPNApPyTRJl80czhW0X30REpE75YBaedw2Lm66BlrqHN7387s6OcdsN5s62HL +avA== X-Gm-Message-State: ALoCoQmqd+C/CKmnsit3T4kpfdfUMoLsoR1oBqWAx+ZLuWhL5Q0vxKbt23ftIlhts2rdqrjcekn0 X-Received: by 10.51.15.130 with SMTP id fo2mr37852279igd.28.1388113704488; Thu, 26 Dec 2013 19:08:24 -0800 (PST) Received: from fusion-mac.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPSA id j3sm41072047igj.9.2013.12.26.19.08.22 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Dec 2013 19:08:23 -0800 (PST) Sender: Warner Losh Subject: Re: FreeBSD 10.0-RC3 Now Available Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=windows-1252 From: Warner Losh In-Reply-To: <20131227025814.GQ13109@glenbarber.us> Date: Thu, 26 Dec 2013 20:08:20 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <074F95A9-CA48-41A0-A222-D84CEB7FF863@bsdimp.com> References: <20131226162521.GK2009@glenbarber.us> <2B79BF2A-1798-40F5-AD6E-D560E9C6C1E7@freebsd.org> <20131226194830.4f6e5b13@bender.Home> <7684A21C-4451-44ED-A11A-C03EF7850F01@freebsd.org> <20131227025814.GQ13109@glenbarber.us> To: Glen Barber X-Mailer: Apple Mail (2.1085) Cc: freebsd-arm ml , FreeBSD Release Engineering Team X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Dec 2013 03:08:31 -0000 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 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