Wind River Support Network

HomeDefectsLIN9-9721
Fixed

LIN9-9721 : Binutils <-> Kernel incompatibilities w.r.t page alignment

Created: Mar 25, 2020    Updated: Jun 9, 2020
Resolved Date: Apr 23, 2020
Previous ID: LIN8-12242
Found In Version: 9.0.0.24
Fix Version: 9.0.0.25
Severity: Standard
Applicable for: Wind River Linux 9
Component/s: Kernel, Userspace

Description

Observe 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".

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