Received: by 2002:a19:690d:0:0:0:0:0 with SMTP id e13csp5513718lfc; Mon, 15 Feb 2021 02:53:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJwO8OQGHxf4qEXAVa7UlBQjh0fCX6qNWTf/QeK31vsCv/EGYybwXUyHuhucyiOCZfQzT9AO X-Received: by 2002:a25:8c5:: with SMTP id 188mr22460708ybi.18.1613386423976; Mon, 15 Feb 2021 02:53:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613386423; cv=none; d=google.com; s=arc-20160816; b=UqspiIhtMWL2wjkrKQLHXbC41W7sAgWHtrkSimK5pPo4Hm28b6ExzNS4KIxRkiih51 3ZoQeZlTDrYcsg23/9TNoDk/uc9obobEOvt/uRrIlr+jfBJHjAe7ZmtIzl6mQHBiaNGX HfosYJr208eY7QoZN8vz5Hm8Cf/Px8TQE8uMlGJuCXV1vgE3Tr9CSJGFkXGwDg3qao09 xyp4lX73oQRc04tVGJ3XuKqXYwMyunP3nfdh64QD7J1I8mW5CwkbeTW+QWw2+8g/UYOk U2vdfkw7hS7efD5YRv4fzgbKMRNVcxYKn4h1twaNvx+30i63UAxAB2eYZQQhErkghDBE xsxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject; bh=SFdlpHRANWf2vw/0FkIGtLrE9WhLqw72qbtlwcg+9lU=; b=wZsK6xbZ/tSyjZ0Y32LgcSkyqVie3foQLpDwVtogZE0lR2OcKSw6Rk3u1VnygXmI1q 9eY4aCHx2+jIYfOfLAPBz3XNuxC06WcgM0ttPOboKifnBXqf7fEUzModKTHlfTUOdM5p PTWSG8XiyTxqpPiWzhNDlPyyGhCgluX+mXhFnyUCg4OLfexnJK0y3ebzD83Yv3WPbIq1 /iTzU1S/orMGzG4zwrVhEOABLk9qSghG/0x6ZPZ9lY5klTxjox9x7HvUddA5lDzw1j7U Xw+3pLr1Qcdo3FcM4yQaP9nZ6LHl5tj8rCv7Kprk8PchD38NR08aT3oyA7Hcyoeq0eTn mypw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id p129si16901889ybc.227.2021.02.15.02.53.43 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 15 Feb 2021 02:53:43 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org" Received: from localhost ([::1]:46570 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lBbVf-0007m6-EH for alex.bennee@linaro.org; Mon, 15 Feb 2021 05:53:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55036) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBbVY-0007ly-Qc for qemu-arm@nongnu.org; Mon, 15 Feb 2021 05:53:36 -0500 Received: from mailex.trusted-objects.com ([2001:41d0:117:dd00::95ca:f4cc]:49395) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1lBbVW-0002FH-Er for qemu-arm@nongnu.org; Mon, 15 Feb 2021 05:53:36 -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; Mon, 15 Feb 2021 11:33:19 +0100 Subject: Malfunctionning qemu-system-arm ? To: References: <20210211141515.8755-1-peter.maydell@linaro.org> From: vincent Dupaquis Message-ID: <14af0670-caaf-caf1-0b90-fb10c7db13b0@trusted-objects.com> Date: Mon, 15 Feb 2021 11:33:18 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210211141515.8755-1-peter.maydell@linaro.org> Content-Type: text/plain; charset="utf-8" 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=2001:41d0:117:dd00::95ca:f4cc; 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, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-arm@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: "Qemu-arm" X-TUID: JAqacatRZ3tx     Hello,     I am using qemu-system-arm with a netduino2 target, supposingly integrating a STM32F2xx chip.     I tested using the STM HAL in order to make a simple program run, and I just failed to have it running correctly, it satyed stuck on the starting HAL_init() call.     Debugging the code, it appeared that stepping-in was making the code work while when running it it failed (stayed stuck in an infinite loop, but no obvious arm violations).     Has anyone any idea of what could be the cause for this ? I am using the latest STM32 HAL, with a qemu version 5.1.0 on a Ubuntu 20.04 machine. What is the level of support this type of target is supposed to have, and posibly which limitations should I take into account ?     Best regards,         Vincent. -- *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