From owner-freebsd-cloud@freebsd.org Thu Apr 4 15:19:51 2019 Return-Path: Delivered-To: freebsd-cloud@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B05181573F5E; Thu, 4 Apr 2019 15:19:51 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A31EC76702; Thu, 4 Apr 2019 15:19:49 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp.greenhost.nl ([213.108.110.112]) by smarthost1.greenhost.nl with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1hC49U-0004UB-9d; Thu, 04 Apr 2019 17:19:41 +0200 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: "freebsd-cloud@freebsd.org" , freebsd-arm@freebsd.org, "Colin Percival" Subject: Re: EC2 ARM64 AMIs References: <201904032154.x33LslFs013075@repo.freebsd.org> <01000169e6d2b1ad-38391cf5-5f11-4a6a-9dea-55c2de04ee45-000000@email.amazonses.com> Date: Thu, 04 Apr 2019 17:19:40 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: In-Reply-To: <01000169e6d2b1ad-38391cf5-5f11-4a6a-9dea-55c2de04ee45-000000@email.amazonses.com> User-Agent: Opera Mail/1.0 (Win32) X-Authenticated-As-Hash: bdb49c4ff80bd276e321aade33e76e02752072e2 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: -0.2 X-Spam-Status: No, score=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 autolearn=disabled version=3.4.2 X-Scan-Signature: 246115766b56dba7f675551df821dbd2 X-Rspamd-Queue-Id: A31EC76702 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of ronald-lists@klop.ws designates 195.190.28.88 as permitted sender) smtp.mailfrom=ronald-lists@klop.ws X-Spamd-Result: default: False [-2.83 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:195.190.28.64/27]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[klop.ws]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[mx2.greenhost.nl,mx1.greenhost.nl]; NEURAL_HAM_SHORT(-0.38)[-0.376,0]; IP_SCORE(-0.64)[ip: (-2.20), ipnet: 195.190.28.0/24(-0.58), asn: 47172(-0.44), country: NL(0.01)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:47172, ipnet:195.190.28.0/24, country:NL]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-cloud@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "FreeBSD on cloud platforms \(EC2, GCE, Azure, etc.\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Apr 2019 15:19:51 -0000 Really cool stuff! I hope it can give a boost to arm64 package building also. Ronald. On Thu, 04 Apr 2019 07:29:21 +0200, Colin Percival wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi cloudy and army people, > > With this commit it became possible to build EC2 ARM64 AMIs straight > out of a clean HEAD source tree: > > # make TARGET=arm64 TARGET_ARCH=aarch64 buildworld buildkernel > # make -C release WITH_CLOUDWARE=YES AWSKEYFILE=... AWSREGION=... > AWSBUCKET=... TARGET=arm64 TARGET_ARCH=aarch64 ec2ami > > If all goes well, gjb@ will be building these as part of the weekly > FreeBSD snapshots; but in case anyone doesn't want to wait for those > I've built a round of AMIs: > > ap-northeast-1: ami-0acf717e884761a19 > ap-northeast-2: ami-06d3076e861fa7993 > ap-south-1: ami-034d652acc6b0f378 > ap-southeast-1: ami-00e6244ba84b97b4a > ap-southeast-2: ami-0158b3ed5ffb72d63 > ca-central-1: ami-0e57c2206fd35e008 > eu-central-1: ami-084c50de545dc70b5 > eu-north-1: ami-026634d6aff5e1ce2 > eu-west-1: ami-09e7f14514dcf9d94 > eu-west-2: ami-03224a0fa11ad5d60 > eu-west-3: ami-0102b4b677e86aeb8 > sa-east-1: ami-05051a63643cdcd17 > us-east-1: ami-0ff7fa1d1acce3d38 > us-east-2: ami-08475ffa7e3586891 > us-west-1: ami-0de79ee79009d8a45 > us-west-2: ami-074dde074e60ebf62 > > I hope to have this and related commits MFCed in time for the upcoming > FreeBSD 11.3-RELEASE. > > Many thanks Greg V, who did most of the "heavy lifting" of figuring out > what was needed in order to get FreeBSD working on ARM64 EC2 instances. > > Colin Percival > > - -------- Forwarded Message -------- > Subject: svn commit: r345858 - in head/release: . tools > Date: Wed, 3 Apr 2019 21:54:47 +0000 (UTC) > From: Colin Percival > To: src-committers@freebsd.org, svn-src-all@freebsd.org, > svn-src-head@freebsd.org > > Author: cperciva > Date: Wed Apr 3 21:54:47 2019 > New Revision: 345858 > URL: https://svnweb.freebsd.org/changeset/base/345858 > > Log: > Add support for cross-building cloudware images. > > If MACHINE_ARCH doesn't match TARGET_ARCH, and we're not in the special > case of building i386 images on an amd64 host, we need to pull in the > qemu-user-static package; this allows us to run some commands inside > the VM disk image chroot, most notably to install packages. > > Reviewed by: gjb > MFC after: 2 weeks > Sponsored by: FreeBSD/EC2 patreon (https://www.patreon.com/cperciva) > > Modified: > head/release/Makefile.vm > head/release/tools/ec2.conf > head/release/tools/vmimage.subr > > -----BEGIN PGP SIGNATURE----- > > iF0EARECAB0WIQTq9Iu6fMd6MP78Dak4zsppDGpqbgUCXKWWXgAKCRA4zsppDGpq > bkgHAJ9Xwoamqr0l5dRQALnpVMHvJv4duwCeJnAXhtVN+RLigu8hrBKvhE1NC5Q= > =HecA > -----END PGP SIGNATURE----- > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"