diff options
author | Atish Patra <atish.patra@wdc.com> | 2020-06-04 23:31:49 -0700 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-06-08 17:04:12 +0530 |
commit | 106b888e201bea80eb6c31ce2ed851884a5e0ec7 (patch) | |
tree | 511c823d6c0901e440367c2b575f2d2b939e6d11 /docs | |
parent | 79bfd67f9a2ed5cae966b72cc2a72f68824c4ab8 (diff) |
docs: Remove redundant documentation about combined payload use case
U-Boot now supports loading Linux kernel image via network and storage
media. Thus, we don't need to use a combined payload containing both
U-Boot & Linux kernel image to boot Linux from U-Boot prompt.
Remove the old documentation.
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/platform/sifive_fu540.md | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/docs/platform/sifive_fu540.md b/docs/platform/sifive_fu540.md index 2a06fa1..9342846 100644 --- a/docs/platform/sifive_fu540.md +++ b/docs/platform/sifive_fu540.md @@ -49,29 +49,6 @@ The detailed U-Boot booting guide is avaialble at [U-Boot]. make PLATFORM=sifive/fu540 FW_PAYLOAD_PATH=<u-boot_build_dir>/u-boot-dtb.bin ``` -**U-Boot & Linux Kernel as a single payload** - -A single monolithic image containing both U-Boot & Linux can also be used if -network boot setup is not available. - -1. Create a temporary image with u-boot-dtb.bin as the first payload. The -command-line example here assumes that U-Boot was compiled using -sifive_fu540_defconfig configuration. -``` -dd if=~/workspace/u-boot-riscv/u-boot-dtb.bin of=/tmp/temp.bin bs=1M -``` -2. Append the Linux Kernel image. -``` -dd if=<linux_build_directory>/arch/riscv/boot/Image of=/tmp/temp.bin bs=1M seek=4 -``` -3. Compile OpenSBI with temp.bin (generated in step 2) as payload. -``` -make PLATFORM=sifive/fu540 FW_PAYLOAD_PATH=/tmp/temp.bin -or -(For U-Boot which follows Linux v5.2 (or higher) DT bindings) -make PLATFORM=sifive/fu540 FW_PAYLOAD_PATH=/tmp/temp.bin -``` - Flashing the OpenSBI firmware binary to storage media: ------------------------------------------------------ The first stage boot loader ([FSBL]) expects the storage media to have a GPT |