From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:46997) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNJ9c-0003co-4c for qemu-devel@nongnu.org; Sun, 05 May 2019 11:34:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hNJ9b-0007BL-AI for qemu-devel@nongnu.org; Sun, 05 May 2019 11:34:16 -0400 Received: from mail-ot1-x343.google.com ([2607:f8b0:4864:20::343]:46210) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hNJ9b-0007Ah-5o for qemu-devel@nongnu.org; Sun, 05 May 2019 11:34:15 -0400 Received: by mail-ot1-x343.google.com with SMTP id v17so1299696otp.13 for ; Sun, 05 May 2019 08:34:14 -0700 (PDT) MIME-Version: 1.0 References: <97245929-a8b5-4b67-bfee-656db4438cd0@www.fastmail.com> In-Reply-To: From: Peter Maydell Date: Sun, 5 May 2019 16:34:03 +0100 Message-ID: Content-Type: text/plain; charset="UTF-8" Subject: Re: [Qemu-devel] [PATCH v1 5/5] hw/arm: Add the Netduino Plus 2 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alistair Francis Cc: Alistair , "qemu-devel@nongnu.org Developers" On Sat, 4 May 2019 at 06:26, Alistair Francis wrote: > Ah, it seems like -device loader doesn't work, it looks like not > setting the thumb register causes this core dump: > > qemu: fatal: Lockup: can't escalate 3 to HardFault (current priority -1) > > R00=20000000 R01=00000574 R02=200015d0 R03=200015d0 > R04=00000000 R05=00000000 R06=00000000 R07=00000000 > R08=00000000 R09=00000000 R10=00000000 R11=00000000 > R12=00000000 R13=ffffffe0 R14=fffffff9 R15=0800cba4 Is the ELF file incorrectly setting the entry point address to not be a Thumb one (ie low bit set), or is the loader device not honouring that? (I thought that we'd fixed the latter of those recently...) thanks -- PMM 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=-1.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS autolearn=ham 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 7E798C004C9 for ; Sun, 5 May 2019 15:35:12 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 455E52082F for ; Sun, 5 May 2019 15:35:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="WbOrRLSW" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 455E52082F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([127.0.0.1]:42646 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNJAV-0003wE-GS for qemu-devel@archiver.kernel.org; Sun, 05 May 2019 11:35:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46997) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNJ9c-0003co-4c for qemu-devel@nongnu.org; Sun, 05 May 2019 11:34:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hNJ9b-0007BL-AI for qemu-devel@nongnu.org; Sun, 05 May 2019 11:34:16 -0400 Received: from mail-ot1-x343.google.com ([2607:f8b0:4864:20::343]:46210) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hNJ9b-0007Ah-5o for qemu-devel@nongnu.org; Sun, 05 May 2019 11:34:15 -0400 Received: by mail-ot1-x343.google.com with SMTP id v17so1299696otp.13 for ; Sun, 05 May 2019 08:34:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CdQeSkh/iIz/fBvRxSb3cbzFfQPunOw73QRKDyNEApU=; b=WbOrRLSW6//Q6l7shx4vFMHEDwJjYj2hW9PHHwxC1I7yTQ3xfFS4bc5VyXbzM6fJ6h 9HNmlq/h7ZHMtsVkJHeY/AG7Ob//ozdhAVicQ8PtMTQu8RAu9+y+UxmrDGgYTTReoH1u lUNpYpkrXFs99BMBeHaSjKtTbUSEMACjzXAepP31fhvHfGenHkmjqEIFxLXPCVjKWdVA yT2olqXYiIHY2nmzqkru+knRNfPcN7H5Mq3XsQ2A8FodfElsUIsZdo+0ljuBJZu/ptsK lGuyFo+opaRiv+6EKGuhhb3Vvn+Tu6Of2gQzJxulB9JjF0aUoN/HwITAMTkveAYrZ0xa 4Nkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CdQeSkh/iIz/fBvRxSb3cbzFfQPunOw73QRKDyNEApU=; b=QqIlXiF+urOw5NUKxubItalSr9Tia/sy7TZ7oJiNDMmNC/FOLqtyr/xa4QzE7zd4qp xN3275q+giMXF23jXHW3JvDOpJVXsmQHnM9wZVfsS+bnSVy1x6Yr7kgvj+nSvj0dlmfU wN/9G2FI8tWE7atKn1+Sx9oZhEohunjdNaUsM0MRh7LXEhmBFNSNqd62RW/PlNh30Sg1 +P6owT5Iria+9mV6KEaFpNw4/ar6uZYLiNzcqTcS6vI9UIEcmvFebXPXpbxeAHRCiqy/ hYa3NWe3+gnM+1O4ThXrg5GfdssSrCJz8O7lCvA9KWXpT16LRvyMzcmqDYptZbI/nhPk Dkjw== X-Gm-Message-State: APjAAAWNEVH0PUb9FaiaHpDbL/IwU+SlmsP199cpEcbe4pW5dh14oFE/ /4Y9hOZSRtJWja6K/NlX16yahAlo0F0/rbewD64ulA== X-Google-Smtp-Source: APXvYqwg7/6sevHoLDzdBMV2E7pqSuRs3XDUFib1hnp3foCFJjsfFW6aGFptsid4DMKm969LAJ+hEMyz62khzlaDk+g= X-Received: by 2002:a9d:61c6:: with SMTP id h6mr13679065otk.316.1557070454016; Sun, 05 May 2019 08:34:14 -0700 (PDT) MIME-Version: 1.0 References: <97245929-a8b5-4b67-bfee-656db4438cd0@www.fastmail.com> In-Reply-To: From: Peter Maydell Date: Sun, 5 May 2019 16:34:03 +0100 Message-ID: To: Alistair Francis Content-Type: text/plain; charset="UTF-8" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::343 Subject: Re: [Qemu-devel] [PATCH v1 5/5] hw/arm: Add the Netduino Plus 2 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alistair , "qemu-devel@nongnu.org Developers" Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Message-ID: <20190505153403.GeeZBNkkyS-CLENWf_kqy33rvVNC4RuAybSAN2Kar4w@z> On Sat, 4 May 2019 at 06:26, Alistair Francis wrote: > Ah, it seems like -device loader doesn't work, it looks like not > setting the thumb register causes this core dump: > > qemu: fatal: Lockup: can't escalate 3 to HardFault (current priority -1) > > R00=20000000 R01=00000574 R02=200015d0 R03=200015d0 > R04=00000000 R05=00000000 R06=00000000 R07=00000000 > R08=00000000 R09=00000000 R10=00000000 R11=00000000 > R12=00000000 R13=ffffffe0 R14=fffffff9 R15=0800cba4 Is the ELF file incorrectly setting the entry point address to not be a Thumb one (ie low bit set), or is the loader device not honouring that? (I thought that we'd fixed the latter of those recently...) thanks -- PMM