From owner-freebsd-arm@FreeBSD.ORG Sun Nov 16 07:30:13 2014 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.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 681647F1 for ; Sun, 16 Nov 2014 07:30:13 +0000 (UTC) Received: from smtp.kn-bremen.de (gruenbaer.kn-bremen.de [148.251.8.79]) by mx1.freebsd.org (Postfix) with ESMTP id 29263611 for ; Sun, 16 Nov 2014 07:30:12 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 830683DE0E68; Sun, 16 Nov 2014 08:30:05 +0100 (CET) Received: from enceladus10.kn-bremen.de (noident@localhost [127.0.0.1]) by enceladus10.kn-bremen.de (8.14.5/8.14.5) with ESMTP id sAG7SNWY078229; Sun, 16 Nov 2014 08:28:23 +0100 (CET) (envelope-from nox@enceladus10.kn-bremen.de) Received: (from nox@localhost) by enceladus10.kn-bremen.de (8.14.5/8.14.5/Submit) id sAG7SNIg078228; Sun, 16 Nov 2014 08:28:23 +0100 (CET) (envelope-from nox) Date: Sun, 16 Nov 2014 08:28:23 +0100 (CET) From: Juergen Lock Message-Id: <201411160728.sAG7SNIg078228@enceladus10.kn-bremen.de> To: wilbury@gmail.com Subject: Re: VERSATILEPB image under qemu-system-arm X-Newsgroups: gmane.os.freebsd.devel.arm In-Reply-To: <546542ED.4020805@gmail.com> Organization: home Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2014 07:30:13 -0000 In article <546542ED.4020805@gmail.com> you write: >Hi, Hi! > >I want totest ARMemulator before I buy Raspberry PI and I ran into >following situation: > >- qemu 2.0.0 or 2.1.2 >- FreeBSD 11-CURRENT (r274409) >- Kernel VERSATILEPB (as per quickgoogling.) > >After I fire up a command: > >qemu-system-arm -M versatilepb -m 256M -cpu arm1176 -kernel >FreeBSD-VERSATILEPB.flash -hda FreeBSD-armv6-11.0-VERSATILEPB-r274409.img > >I got only result which you can see at the picturehere >(http://www.wilbury.sk/private/pics/qemu-fbsd11-rpi-hang.png) > >Is there anything that I've missed or am I doing it wrong "from >scratch"? It is supposed to work, at least there have been some success >stories :-) > I haven't tried this lately but I found this: http://kernelnomicon.org/?p=395 i.e. you probably need -global versatile_pci.broken-irq-mapping=1 passed to qemu. HTH, :) Juergen