[Skiboot] [PATCH 2/2] external/boot-tests: update boot-test.sh usage for BMC single partition flashing

Samuel Mendoza-Jonas sam.mj at au1.ibm.com
Thu Jul 30 16:10:51 AEST 2015


On 30/07/15 15:59, Andrew Donnellan wrote:
> Update boot-test.sh usage to document single partition flashing on BMC
> platforms.
> 
> Signed-off-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>
> ---
>  external/boot-tests/boot_test.sh | 11 +++++++----
>  1 file changed, 7 insertions(+), 4 deletions(-)
> 
> diff --git a/external/boot-tests/boot_test.sh b/external/boot-tests/boot_test.sh
> index 303f78e..fd6972b 100755
> --- a/external/boot-tests/boot_test.sh
> +++ b/external/boot-tests/boot_test.sh
> @@ -131,15 +131,18 @@ There are three usage modes.
>       (FSP or BMC) with the -b option.
>  
>  3) boot_test.sh [-vdp] -b bmc -t target -P pnor
> +   boot_test.sh [-vdp] -b bmc -t target [-1 PAYLOAD] [-2 BOOTKERNEL]
>     boot_test.sh [-vdp] -b fsp -t target [-1 lid1] [-2 lid2] [-3 lid3]
>  
>       Flash the given firmware before boot testing.
>  
> -     If -P is given, the file is assumed to be a PNOR for BMC based
> -     flashing.
> +     For a BMC target, -P specifies a full PNOR.
>  
> -     If -1/-2/-3 are given, the files are assumed to be lids for FSP based
> -     flashing. Any combination of lids is acceptable.
> +     For a BMC target, -1/-2 specify the PAYLOAD and BOOTKERNEL PNOR partitions
> +     respectively. Only the given partitions will be flashed.
> +
> +     For an FSP target, -1/-2/-3 specify lids. Any combination of lids is
> +     acceptable.

This is unrelated to the patch, but to whoever originally wrote this line,
(Cyril/Daniel?) what do we mean by "Any combination of lids"? It sounds like
a surefire way to getting a bug report titled "I gave it three skiboot lids
and it doesn't boot" :)

Cheers,
Sam

>  
>  Common Options:
>  
> 


-- 
-----------
LTC Ozlabs
IBM



More information about the Skiboot mailing list