From owner-freebsd-arm@freebsd.org Wed Sep 7 15:41:01 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 406C2BCF5C1 for ; Wed, 7 Sep 2016 15:41:01 +0000 (UTC) (envelope-from mst@semihalf.com) Received: from mail-it0-x22e.google.com (mail-it0-x22e.google.com [IPv6:2607:f8b0:4001:c0b::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0E54E271 for ; Wed, 7 Sep 2016 15:41:01 +0000 (UTC) (envelope-from mst@semihalf.com) Received: by mail-it0-x22e.google.com with SMTP id i184so31179223itf.1 for ; Wed, 07 Sep 2016 08:41:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=P9XiFxJYw3AlkZTQrshcu/Tid+XSqkfg38xSKfCkgpg=; b=h9HQEy+6vl67Qlvz9MH0mCwIRlwzDLHz0N5AfzEON7PTVUme15CTM+41HyUsElzqRQ 32Q8+AzuUINZ/06X37kwW0kRuhhU36RzCXMDn2AEy8MTA2Xe6U5kELuJcR8767Ke48qe O0Ehn3APCNxJnAWwc0/3C9vvOVUqJLnaQu9kzbfjHMF2gjq1eGKuAqKveHlJS3ZdmGEQ 3TD9q18hNk3EC/a6/mqLAbRHZB/PKyxsCcOhw8M8AGR1dZp7KjK4sRr026JQuVjyIqti ULkUAWX7vJ+avn8Fyctip8FYD5YjrC+hcM4vZdGX72BrccaV6j7+H6KcSgb9JOJubqSO K1vA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=P9XiFxJYw3AlkZTQrshcu/Tid+XSqkfg38xSKfCkgpg=; b=CrAC3lgzAOAup31PIpZXoWyjNh9K5fdBZ2BZNke4ZjLyqKpnZ3YSIyDlR1zqvMuhdr uCXpAsMo3uJedUIhDkVB2WpvCLSGXL2kuWlQ61l2AJqpw1MxLgO1UPSl1fjrm4B/LpCk POHJI2wFkoGeBCr9IbmpKcc1xg3ZUqoehEAi6cYrMxJomn9XOCnkOx1e2JILKHUYtgB6 FyhmWxQv4E1TvbhPV2i2BvEMCrKKy0KcEj422P3uDCUWfcAKkuL7DIme20JxZpXtGpzr 6JOpqHyQ4FEnH33g5SLnB5ONoxkqgf1SRD+hu+LZlEvgXwMQJ9UT+N0szjG+YTDnmVOy zRpQ== X-Gm-Message-State: AE9vXwO7nCYp2QNayCrh9bAgaJutdHgZPG3K9wuGVorfRlVX8eO/VxZOKSDYd5TGKEX84GE0lnRh7MmeMJFlug== X-Received: by 10.36.192.194 with SMTP id u185mr7324298itf.77.1473262860495; Wed, 07 Sep 2016 08:41:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.14.215 with HTTP; Wed, 7 Sep 2016 08:41:00 -0700 (PDT) In-Reply-To: References: From: =?UTF-8?Q?Micha=C5=82_Stanek?= Date: Wed, 7 Sep 2016 17:41:00 +0200 Message-ID: Subject: Re: Unaligned access in ubldr.bin To: Erik Moe Cc: freebsd-arm Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Sep 2016 15:41:01 -0000 Hi, Looks like you have the SCTLR.A bit enabled which triggers an exception on unaligned access. You can either disable this bit or compile the binary with -mno-unaligned-access. Regards, Michal Stanek