From owner-freebsd-arm@FreeBSD.ORG Sun Sep 15 18:19:55 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 13EC3861 for ; Sun, 15 Sep 2013 18:19:55 +0000 (UTC) (envelope-from beattidp@ieee.org) Received: from mail-pb0-f48.google.com (mail-pb0-f48.google.com [209.85.160.48]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DFB1D2E50 for ; Sun, 15 Sep 2013 18:19:54 +0000 (UTC) Received: by mail-pb0-f48.google.com with SMTP id ma3so3177545pbc.7 for ; Sun, 15 Sep 2013 11:19:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-type:date:subject:to:message-id :mime-version; bh=h/+ao0ktP8x9nh0OPvN4guZizFHFk5jiUWu0QYXeaI8=; b=JUNdYFBsTiQXKLuVkXl4/pygfcz/cTW3iYIDTCWOqJF6bSppLun3H3L4TePe5S9qm2 /6vCwvWCVJ1DJvZ14jQha5+SXVrwUlBESDHONQvkrqiG3plVl9ftWF8iiuq7Q6Eje+Jd K4EisTr2hwH95jnkp9wqkt4wcDyE28Bsoj/UHxOLfTE9eI/H8AhRp1hzw7LRpie1FZCN S+Fwuv7ZO+7g4NLHoozCYT0nCLqNI5J3L6MTA0hS4uY5ZyX0taPf5Jvqv50NyJDYBldU 2rb6zS+A6meh/s++Fmn6+K3Kv6fzV3WRuhqr7aFQ69cMAjp0fcCWMglezp5fMGi81o6p N4hA== X-Gm-Message-State: ALoCoQmF+gXXoH6hv/6YtOFQOGDddhp7lfejCVkQDD76Spg1VR86XfvIRluHlXOZoU5dF35m9dIw X-Received: by 10.66.145.132 with SMTP id su4mr27025180pab.11.1379269188084; Sun, 15 Sep 2013 11:19:48 -0700 (PDT) Received: from [192.168.0.114] (75-162-208-106.slkc.qwest.net. [75.162.208.106]) by mx.google.com with ESMTPSA id gg10sm25739765pbc.46.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 15 Sep 2013 11:19:47 -0700 (PDT) From: Douglas Beattie Date: Sun, 15 Sep 2013 12:19:45 -0600 Subject: Building core-specific ARM ports with QEMU To: freebsd-arm Message-Id: Mime-Version: 1.0 (Apple Message framework v1283) X-Mailer: Apple Mail (2.1283) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Sep 2013 18:19:55 -0000 I'm still researching the issue of an ARM ports repository, whether it's = a private one for internal use, or eventually hosted on the Internet. One question I have is: if Tinderbox is for building the kernel, what = type of automated build tools (with reporting/tracking), if any, are = available for the FreeBSD ports? Anyway, here's my thought: I have access to a dual-Xeon Proliant server, which I can provision any reasonable number of FreeBSD VMs (virtual machines) within. Many of you probably know of QEMU, the open-source processor emulator. Using the executable 'qemu-system-arm' to simulate certain ARM cores, dedicated ARM systems could run and build ports (or attempt to, and = report their result, and any failures). Taking a look at the documentation, this strategy could provide a = variety of different ARM cores for building FreeBSD ports. http://qemu.weilnetz.de/qemu-doc.html#ARM-System-emulator - ARM Integrator/CP board emulation supports cores including ARM926E, ARM1026E, ARM946E, ARM1136 or Cortex-A8 CPU - Other board emulations support cores including ARM925T, ARMv5TE, Cortex-M3, ARM11MPCore, and Cortex-A9 MPCore As I mentioned previously, I used to boot debian-arm kernel this way, = with disk, network, and optional NFS access. (More links, = http://wiki.qemu.org/Manual ) My reasoning here is that the effort to make solid ports for certain = cores and board emulations will pay for itself in the ability to build and validate = FreeBSD ports for ARM variants, built in parallel, by multiple virtual machines, in the = cloud. So, the big question I have at the moment is: which of these board = emulations (if any), and which ARM cores are currently supported to boot from? -- Douglas Beattie http://www.hytherion.com/beattidp/