From owner-freebsd-arm@FreeBSD.ORG Thu Dec 6 07:52:59 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 828DCBCA for ; Thu, 6 Dec 2012 07:52:59 +0000 (UTC) (envelope-from gonzo@id.bluezbox.com) Received: from id.bluezbox.com (id.bluezbox.com [88.198.91.248]) by mx1.freebsd.org (Postfix) with ESMTP id 2D4528FC12 for ; Thu, 6 Dec 2012 07:52:58 +0000 (UTC) Received: from [207.6.254.8] (helo=[192.168.1.67]) by id.bluezbox.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1TgWGE-00069v-TC for freebsd-arm@freebsd.org; Wed, 05 Dec 2012 23:52:52 -0800 From: Oleksandr Tymoshenko Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: FreeBSD/armv6 for QEMU Message-Id: Date: Wed, 5 Dec 2012 23:52:28 -0800 To: "" Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) X-Mailer: Apple Mail (2.1499) Sender: gonzo@id.bluezbox.com X-Spam-Level: -- X-Spam-Report: Spam detection software, running on the system "id.bluezbox.com", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: Hello, I've just finished first version of VersatilePB support for FreeBSD/armv6. QEMU uses this machine as a base for armv6 emulation. Full patch: http://people.freebsd.org/~gonzo/arm/qemu/versatilepb.diff Build/run info: http://kernelnomicon.org/?p=229 [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 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: Thu, 06 Dec 2012 07:52:59 -0000 Hello, I've just finished first version of VersatilePB support for = FreeBSD/armv6. QEMU uses this machine as a base for armv6 emulation.=20 Full patch: http://people.freebsd.org/~gonzo/arm/qemu/versatilepb.diff Build/run info: http://kernelnomicon.org/?p=3D229 Kernel supports serial console, timers, primary and secondary interrupt controllers, PCI, LCD controller, Keyboard/Mouse interface (partially, no LEDs suport, no mouse) Some patches are not versatile-pb specific so I'd like more people to = look at them: - http://people.freebsd.org/~gonzo/patches/fdt-baseaddr.diff Check for return code of fdt_get_range and if it fails assume base = address=20 is zero. Otherwise pbase was used uninitialized and causes exception - http://people.freebsd.org/~gonzo/patches/smc-interrupts.diff Disable if_smc's interrupt in filter. It is reenabled by taskqueue later - http://people.freebsd.org/~gonzo/patches/sym-barrier.diff Barrier function for ARM There is one more PL011-specific change, but Im still not sure if it's = correct Some notes taken during development: - FDT support for handling interrupt-source property is insufficient for = cascading=20 interrupt controllers. I think concept of global IRQ space, = arm_get_next_irq=20 and related functions should be reconsidered at least for FDT-enabled = kernels. - Proper PS/2 keyboard support for arch other than sparc/x86 is = inevitable code duplications. PS/2 protocol logic should be extracted from = dev/atkbd and made arch-indepedent. - Framebuffer/syscons driver is PITA. No news here=