From owner-freebsd-arm@freebsd.org Thu Dec 15 11:11:59 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 58BE3C80EA5 for ; Thu, 15 Dec 2016 11:11:59 +0000 (UTC) (envelope-from meka@tilda.center) Received: from mail.tilda.center (mail.tilda.center [188.226.130.133]) by mx1.freebsd.org (Postfix) with ESMTP id 24B1A17B9 for ; Thu, 15 Dec 2016 11:11:58 +0000 (UTC) (envelope-from meka@tilda.center) Received: from hal9000.meka.no-ip.org (unknown [87.116.180.51]) by mail.tilda.center (Postfix) with ESMTPSA id 0D28F61702; Thu, 15 Dec 2016 12:11:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=tilda.center; s=mail; t=1481800311; bh=JLF77n6DyK3KQ/oShfAtw8V9VhCNrQl3Q6zvwn4yvLs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Gdk12FXXi89BUTQTUWpfBA1CDys6EDoqWtv9JRYDtoD5YclBpgSuQdWWlX2gYEqJ+ +mJYKzJypKL3wlFllrFQ1pQZuTPo+TZRIj4CKKPb5CUi4vFd4fGK+ixwVz1ZnbspIz Z6uj2UBvCbccwU+TShwYys1tN8c8NwBoh8yAzUQA= Date: Thu, 15 Dec 2016 12:11:51 +0100 From: Goran =?utf-8?B?TWVracSH?= To: Boris Samorodov Cc: freebsd-arm@freebsd.org Subject: Re: Arduino Due Message-ID: <20161215111151.geyecaxakyn6feau@hal9000.meka.no-ip.org> References: <20161211034602.3fylwnxfbgl4ehgx@hal9000.meka.no-ip.org> <1752cc8d-fad7-141d-4950-37bb5dde9561@passap.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="y2df6tgsaandfenn" Content-Disposition: inline In-Reply-To: <1752cc8d-fad7-141d-4950-37bb5dde9561@passap.ru> User-Agent: NeoMutt/20161126 (1.7.1) 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: Thu, 15 Dec 2016 11:11:59 -0000 --y2df6tgsaandfenn Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Hello, So I did a little checks and I think it's the cross compiling that's faulty. I generated blink led .bin file on Linux and FreeBSD. I can flash any of them from FreeBSD using bossac, and Linux .bin file works, FreeBSD one doesn't (the led is always lit). I checked the commands Arduino IDE is using on Linux and FreeBSD, and they are the same. I tried this with arm-none-eabi-gcc versions 4.9, 5.3 and 6.2. As all those versions are failing, maybe it's not GCC but binutils or something like that (just a wild guess). I would be really grateful if someone could tell me how to pinpoint the error even more. Thank you! Just for reference, on Arduino Due the MCU is Cortex M3. Regards, meka --y2df6tgsaandfenn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE1WIFkXy2ZeMKjjKEWj1TknovrLYFAlhSenMACgkQWj1Tknov rLbv4BAAgqG0YgXUrcmfWNrFSadJoIeXYX0H33fdMzko2SJgkjg8fw99f+Bol+SL H1UlgmOHczqHpxotZxgtKr6SC6XOZ7KkWlVj1sdphiJhxrrafQuwSwMdWzxR7T7h KDy12F2dCHcN3vqjbkGquOZgiegV9de51wWLjMDGcSY/LhDgzTEjx15y4ImXMFaC Aduyk6F4hgkKdLjEfSQ67ygkveOVWAzCQfroelSQgVaYlPxOBv0YWH25BRqvj7Zc kPNf8ZDzFShzXF9uPsnE+KoY+MS3QJLXzQG//QQOdvQ6zPgvOm5y7R6Pn6EQcfMh 8drjcFA0P1Eb00sutaPi9BxY/JGpVJdIpMnjf9OYxgCD1TnxddQze/j7KDkcgpKN +LRmc4lc6EyvSz1miTsx1D/d8Gwcb2JgmjMDscHzwcbl8kh5xvjY3NeBcUhOnI5T RyGdfqe43Bcv/G422jcmZLogGcgGz3zUb5wohd8bONv4JTl1aV0wMID+0TrPV7kh jMhtRdDgEnYYhQnCMJRvrE6Q9PCjJeFERdcSFFMFXIElvVM0MgU8jaiu1d5CG8jU 1Au6lUPL+eHsMNEVVtjRHx5bTAwfwDLXJyOR5NbwNBe4j/nLUMthLyJDwGFtaB1z Ek9n+q7c1JBeZ7ccL4TVUKJijq5+i2UECIgMSmuK2ovYAaPAFkE= =L9qm -----END PGP SIGNATURE----- --y2df6tgsaandfenn--