From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 039B4C433DB for ; Tue, 9 Mar 2021 16:50:47 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 924A664FEE for ; Tue, 9 Mar 2021 16:50:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 924A664FEE Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=trusted-objects.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:57128 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJfZF-0007Wq-J4 for qemu-devel@archiver.kernel.org; Tue, 09 Mar 2021 11:50:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38494) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJel8-000376-A7; Tue, 09 Mar 2021 10:58:58 -0500 Received: from mailex.trusted-objects.com ([149.202.244.204]:34559) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1lJel6-0003Pt-Hm; Tue, 09 Mar 2021 10:58:58 -0500 Received: from [192.170.0.219] (88.127.245.42) by S76918.EX76918.lan (2001:41d0:117:dd00::95ca:f4cc) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P521) id 15.1.2176.2; Tue, 9 Mar 2021 16:58:41 +0100 Subject: Re: Malfunctionning qemu-system-arm ? To: Liviu Ionescu References: <20210211141515.8755-1-peter.maydell@linaro.org> <14af0670-caaf-caf1-0b90-fb10c7db13b0@trusted-objects.com> From: vincent Dupaquis Message-ID: <943374ff-fc7f-b0bc-0b53-0e7487cdf810@trusted-objects.com> Date: Tue, 9 Mar 2021 16:58:41 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit Content-Language: fr-FR X-Originating-IP: [88.127.245.42] X-ClientProxiedBy: S76918.EX76918.lan (2001:41d0:117:dd00::95ca:f4cc) To S76918.EX76918.lan (2001:41d0:117:dd00::95ca:f4cc) Received-SPF: none client-ip=149.202.244.204; envelope-from=v.dupaquis@trusted-objects.com; helo=mailex.trusted-objects.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-arm@nongnu.org, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Liviu, Thanks for the responses, I'll have a check on this. The issue not testing with the HAL is that as most people use it, qemu on these platforms is a bit useless for emulation. On the other hand, it would be more on ST to invest on making those emulations running ... Best regards, Vincent. Le 09/03/2021 à 15:37, Liviu Ionescu a écrit : > >> On 15 Feb 2021, at 17:09, vincent Dupaquis wrote: >> >> ... stuck on the starting HAL_init() call. > HAL requires, amongst other things, the clock registers, since it sets the PLLs for the desired frequencies. > > xPack QEMU Arm [1] implements these registers, and is able to properly run the HAL init code. > > > Regards, > > Liviu > > [1] - https://xpack.github.io/qemu-arm/ > -- *Vincent Dupaquis* Software security & Cryptography expert 06 24 58 17 05 /Europarc de Pichaury Bâtiment B8 1330 rue Guillibert Gautier de la Lauzière 13290 Aix-en-Provence/ www.trusted-objects.com