lkml.org 
[lkml]   [2024]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 2/2] ARM: decompressor: add option to ignore MEM ATAGs
On Fri, Jan 19, 2024 at 9:14 PM Christian Marangi <ansuelsmth@gmailcom> wrote:

> Some bootloaders can pass broken MEM ATAGs that provide hardcoded
> information about mounted RAM size and physical location.
> Example booloader provide RAM of size 1.7Gb but actual mounted RAM
> size is 512Mb causing kernel panic.
>
> Add option CONFIG_ARM_ATAG_DTB_COMPAT_IGNORE_MEM to ignore these ATAG
> and not augument appended DTB memory node.
>
> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>

So you cannot just ignore all the ATAGs I guess?
If it's the command line you need, you can pass an identical one in
chosen.

But if you really need this, it should be there.
Acked-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij

\
 
 \ /
  Last update: 2024-01-20 12:52    [W:0.057 / U:2.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site