<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 05/31/2018 01:39 PM, Arnout Vandecappelle wrote:<br>
</div>
<blockquote type="cite" cite="mid:9e5294e5-7d60-109a-b96e-0704f0092b7e@mind.be">
<pre wrap="">

On 31-05-18 12:17, Christophe PRIOUZEAU wrote:
</pre>
<blockquote type="cite">
<pre wrap="">When binutils > 2.28 are selected on Arm Cortex-M cpu,
linux kernel does not boot due to a new implementation
of 'adr pseudo instruction' on binutils.

Bugzilla thread: <a class="moz-txt-link-freetext" href="https://bugs.busybox.net/show_bug.cgi?id=11051">https://bugs.busybox.net/show_bug.cgi?id=11051</a>

Signed-off-by: Christophe Priouzeau <a class="moz-txt-link-rfc2396E" href="mailto:christophe.priouzeau@st.com"><christophe.priouzeau@st.com></a>
---
 linux/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/linux/Config.in b/linux/Config.in
index 73a3299..fbd886c 100644
--- a/linux/Config.in
+++ b/linux/Config.in
@@ -8,6 +8,10 @@ config BR2_LINUX_KERNEL
 
 if BR2_LINUX_KERNEL
 
+comment "Linux kernel will not boot with binutils >= 2.29"
+   depends on !BR2_ARMV7M
+   depends on BR2_BINUTILS_VERSION_2_28_X
</pre>
</blockquote>
<pre wrap="">
 The logic is inverted here: it should be

        depends on BR2_ARMV7M
        depends on !BR2_BINUTILS_VERSION_2_28_X

 I guess you didn't test it?</pre>
</blockquote>
Sorry, I have made the test with the patch on binutils/config.in, and I have inverted the value.<br>
It's my fault.<br>
<br>
<blockquote type="cite" cite="mid:9e5294e5-7d60-109a-b96e-0704f0092b7e@mind.be">
<pre wrap="">
 Regards,
 Arnout

</pre>
<blockquote type="cite">
<pre wrap="">+
 # Packages that need to have a kernel with support for loadable modules,
 # but do not use the kernel-modules infrastructure, should select that
 # option.

</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
Regards<br>
Christophe<br>
<div class="moz-signature">-- <br>
<title></title>
<br>
<div class="moz-signature">
<pre>Best regards / Cordialement,

<img alt="" src="cid:part1.6C50213D.8A91E88A@st.com" height="54" width="202">
Christophe Priouzeau | TINA: 166 7320 | Tel: +33 244027320

STMicroelectronics 
ST oneline: <a href="http://www.st.com">www.st.com</a> 
</pre>
<p class="MsoNormal"><span style="font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<pre><http: www.st.com="">
<http: twitter.com#!st_world="">

</http:></http:></pre>
</div>
</div>
</body>
</html>