From 106b888e201bea80eb6c31ce2ed851884a5e0ec7 Mon Sep 17 00:00:00 2001 From: Atish Patra Date: Thu, 4 Jun 2020 23:31:49 -0700 Subject: [PATCH] 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 Reviewed-by: Anup Patel --- docs/platform/sifive_fu540.md | 23 ----------------------- 1 file changed, 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-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=/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 -- 2.7.4