Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

9.3 Command-Line Parameter Merging

After retrieving the supplemental command-line parameters and initialization variables, these additional parameters and variables must be merged with the command-line parameters and variables passed by U-Boot, eventually being globally provided to the kernel and the init() process. The function setup_command_line() merges the string within extra_command_line with the string within boot_command_line and the string within extra_init_args, and subsequently saves the combined result into the variable saved_command_line. Concurrently, it merges the string stored within command_line with the string within extra_command_line, saving the resulting combination into the variable static_command_line.

Copyright © 2026 Guangzhou eSmart Information Technology Co., Ltd. All Rights Reserved.
All content in this book is copyrighted by the author. For personal learning and exchange only. Commercial use without authorization is strictly prohibited. Email:

✉ 3348194517@qq.com | hai616878@gmail.com