[Buildroot] [PATCH 4/4] linux: config.in: add comment for Arm Cortex-M

Christophe PRIOUZEAU christophe.priouzeau at st.com
Thu May 31 12:02:02 UTC 2018


Hello,

On 05/31/2018 01:39 PM, Arnout Vandecappelle wrote:



On 31-05-18 12:17, Christophe PRIOUZEAU wrote:


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: https://bugs.busybox.net/show_bug.cgi?id=11051

Signed-off-by: Christophe Priouzeau <christophe.priouzeau at st.com><mailto:christophe.priouzeau at st.com>
---
 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



 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?


After, new test:
$> grep BINUTILS_VERSION_2_29 .config
BR2_BINUTILS_VERSION_2_29_X=y
The depends must be
        depends on !BR2_ARMV7M
        depends on !BR2_BINUTILS_VERSION_2_28_X
I will update the patch.


 Regards,
 Arnout



+
 # Packages that need to have a kernel with support for loadable modules,
 # but do not use the kernel-modules infrastructure, should select that
 # option.






Regards
Christophe
--


Best regards / Cordialement,

[cid:part1.979821E0.7643D799 at st.com]
Christophe Priouzeau | TINA: 166 7320 | Tel: +33 244027320

STMicroelectronics
ST oneline: www.st.com<http://www.st.com>







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180531/95304a4a/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: st_mail.png
Type: image/png
Size: 9916 bytes
Desc: st_mail.png
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180531/95304a4a/attachment-0002.png>


More information about the buildroot mailing list