summary refs log tree commit diff stats
path: root/docs/devel/secure-coding-practices.rst
diff options
context:
space:
mode:
authorBin Meng <bmeng@tinylab.org>2024-01-04 15:15:23 +0800
committerAlistair Francis <alistair.francis@wdc.com>2024-01-10 18:47:47 +1000
commite0299f71b34cb511257bcb0d2ed698b7c2a42ef4 (patch)
treed5491a8f9cd4eb3ca9a7cae42459b41f2efa3bd4 /docs/devel/secure-coding-practices.rst
parent3ca78c0689d504366d7c8dc516e7144940aa7c0c (diff)
downloadfocaccia-qemu-e0299f71b34cb511257bcb0d2ed698b7c2a42ef4.tar.gz
focaccia-qemu-e0299f71b34cb511257bcb0d2ed698b7c2a42ef4.zip
docs/system/riscv: sifive_u: Update S-mode U-Boot image build instructions
Currently, the documentation outlines the process for building the
S-mode U-Boot image using `make menuconfig` and manual actions within
the menuconfig UI. However, this approach is fragile due to Kconfig
options potentially changing across different releases. For example,
CONFIG_OF_PRIOR_STAGE has been replaced by CONFIG_BOARD since v2022.01
release, and CONFIG_TEXT_BASE has been moved to the 'General setup'
menu from the 'Boot options' menu in v2024.01 release.

This update aims to make the S-mode U-Boot image build instructions
future-proof. It leverages the 'config' script provided in the U-Boot
source tree to edit the .config file, followed by a `make olddefconfig`.

Validated with U-Boot v2024.01 release.

Signed-off-by: Bin Meng <bmeng@tinylab.org>

Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-ID: <20240104071523.273702-1-bmeng@tinylab.org>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'docs/devel/secure-coding-practices.rst')
0 files changed, 0 insertions, 0 deletions