Comment 8 for bug 2069059

Revision history for this message
Anton Troyanov (troyanov) wrote : Re: [Bug 2069059] Re: Ubuntu 24.04 doesn't deploy on any ARM64 machine

I think there is a limit.

> The number of kernel parameters is not limited, but the length of the
complete command line (parameters including spaces etc.) is limited to a
fixed number of characters.
> This limit depends on the architecture and is between 256 and 4096
characters. It is defined in the file ./include/asm/setup.h as
COMMAND_LINE_SIZE. [1]

Each platform has its own COMMAND_LINE_SIZE. For arm64 it will be 2048 [2]

[1]:
https://www.kernel.org/doc/html/v4.14/admin-guide/kernel-parameters.html
[2]:
https://github.com/torvalds/linux/blob/2ccbdf43d5e758f8493a95252073cf9078a5fea5/arch/arm64/include/uapi/asm/setup.h#L25C9-L25C26