<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Nov 4, 2019, at 11:11 AM, Adrian Bunk <<a href="mailto:bunk@stusta.de" class="">bunk@stusta.de</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">On Mon, Nov 04, 2019 at 10:48:57AM -0500, Steve Pavao wrote:</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br class=""><blockquote type="cite" class="">On Nov 3, 2019, at 1:25 PM, Adrian Bunk <<a href="mailto:bunk@stusta.de" class="">bunk@stusta.de</a>> wrote:<br class=""><br class="">On Sun, Nov 03, 2019 at 05:56:45PM +0000, Andrei Gherzan wrote:<br class=""><blockquote type="cite" class="">On 3 November 2019 13:18:53 GMT, Khem Raj <<a href="mailto:raj.khem@gmail.com" class="">raj.khem@gmail.com</a>> wrote:<br class=""><blockquote type="cite" class="">On Sun, Nov 3, 2019 at 2:46 AM Andrei Gherzan <<a href="mailto:andrei@gherzan.ro" class="">andrei@gherzan.ro</a>><br class="">wrote:<br class=""><blockquote type="cite" class="">I was thinking about this. The erratum seems to show that this<br class=""></blockquote>applies<br class=""><blockquote type="cite" class="">to all revisions of a53. So it sounds like we should add it in<br class="">`tune-cortexa53.inc`.<br class=""><br class=""></blockquote><br class="">Up to r0b4 only so maybe not all a53 implementations are impacted<br class=""><br class=""></blockquote><br class="">As far as I know that is the latest revision. Do you mean that newer revision might come up with this fixed?<span class="Apple-converted-space"> </span><br class=""></blockquote><br class="">It is fixed in some r0p4 implementations, indicated in REVIDR[8].<br class=""></blockquote><br class="">I am closer to understanding why I experience an error when building with the ARM errata switches.<br class=""><br class="">I believe it is related to 32-bit app support in my poky Linux 64-bit build (I add this to support vcgencmd and vcdbg 32-bit apps.)<br class=""><br class="">When I remove the 32-bit support, the build completes OK. As of now, adding the following seems to work fine to acheive this:<br class=""><br class="">TARGET_CC_ARCH_append += " -mfix-cortex-a53-843419 -mfix-cortex-a53-835769â€<br class=""><br class="">Something in the following block seems to be the culprit.:<br class=""><br class=""># for vcgencmd and vcdbg 32-bit executable support in the OS image (comment out for -c populate_sdk)<br class="">require conf/multilib.conf<br class="">MULTILIBS = "multilib:lib32"<br class="">DEFAULTTUNE_virtclass-multilib-lib32 = "armv7a"<br class="">IMAGE_INSTALL_append += " vcgencmd lib32-glibc lib32-libgcc lib32-libstdc++ vcdbg rpi-setup \<br class="">“<br class=""><br class="">I will post again when I have localized the build problem further. Maybe there’s some 64-bit vs. 32-bit build confusion going on, and the armv7a default tune switch for 32-bits is colliding with the errata switches.<br class=""></blockquote><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">The errata switches are only valid for aarch64, not for armv7a.</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">There is likely some kind of "invalid option" earlier in your build.</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""></div></blockquote><br class=""></div><div>To conitnue to be able to use the 32-bit app support, perhaps I must do this:</div><div><br class=""></div><div><div>DEFAULTTUNE_virtclass-multilib-lib32 = “armv7a -mno-fix-cortex-a53-843419 -mno-fix-cortex-a53-835769â€</div><div><br class=""></div><div>I’ll give it a try.</div><div><br class=""></div><div>- Steve Pavao</div><div>Korg R&D</div><div class=""><br class=""></div></div><br class=""></body></html>