Wind River Support Network

HomeDefectsLIN8-12241
Fixed

LIN8-12241 : Binutils <-> Kernel incompatibilities w.r.t page alignment

Created: Mar 25, 2020    Updated: May 6, 2020
Resolved Date: Apr 20, 2020
Found In Version: 8.0.0.32
Fix Version: 8.0.0.33
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Kernel, Userspace

Description

A issues with booting WRL8 kernels build with binutils 2.31. The issues are observed when the decompressed kernel is being relocated to it's proper location in RAM. The symptoms are that the CPU halts during relocation, and the boot process is restarted infinitely in a loop.

The issue can be observed by enabling earlyprintk on the kernel command line, and observing that "Decompressing kernel ..." is printed over and over, in a "boot loop".

We found a fix upstream: [https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=e3d03598e8ae7d195af5d3d049596dec336f569f]
 Not present in WRL8

The issue occurs because binutils has changed default behavior since version 2.31, and the fix is to instruct binutils to revert back to the old behavior (by simply passing it a command line option)
Live chat
Online