From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56206) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPbZO-00015N-Pu for qemu-devel@nongnu.org; Thu, 04 Sep 2014 14:15:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPbZI-0001Qp-Th for qemu-devel@nongnu.org; Thu, 04 Sep 2014 14:15:42 -0400 Received: from smtp.codeaurora.org ([198.145.11.231]:57931) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPbZI-0001QP-O0 for qemu-devel@nongnu.org; Thu, 04 Sep 2014 14:15:36 -0400 Message-ID: <5408AC44.3000701@codeaurora.org> Date: Thu, 04 Sep 2014 14:15:32 -0400 From: Christopher Covington MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] HelloWord kernel for qemu-system-aarch64 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Semion Prihodko Cc: Peter Maydell , QEMU Developers Hi Semion, On 09/04/2014 09:40 AM, Semion Prihodko wrote: > Still don't know how to build/run a simple Hello World kernel on > qemu-system-aarch64? > > Guys, this is a very basic thing, please provide concrete steps. Thanks. Here you go. Start at the wget. http://lists.gnu.org/archive/html/qemu-devel/2014-07/msg03487.html Angel semihosting isn't implemented upstream so a text hello world won't be trivial, although given enough time it should be possible to implement Angel semihosting for A64 in QEMU, implement DCC in QEMU and Newlib/libgloss or implement PL011 UART or VirtIO-MMIO console in Newlib/libgloss. Some of the bootloaders and firmwares out there (bootwrapper, ARM trusted firmware, UEFI/Tianocore) may have examples of using the PL011 UART. Christopher -- Employee of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation.