[PATCH 1/2] doc: board: beagle: am62x_beagleplay: Delete SW_PRNG flag for OPTEE

Andrew Davis afd at ti.com
Tue Dec 5 15:46:48 CET 2023


On 12/4/23 1:29 PM, Nishanth Menon wrote:
> On 15:59-20231201, Dhruva Gole wrote:
>> Delete the flag CFG_WITH_SOFTWARE_PRNG as it's not necessary/ boot
>> requirement for this SoC
>>
>> Signed-off-by: Dhruva Gole <d-gole at ti.com>
>> ---
>>   doc/board/beagle/am62x_beagleplay.rst | 1 -
>>   1 file changed, 1 deletion(-)
>>
>> diff --git a/doc/board/beagle/am62x_beagleplay.rst b/doc/board/beagle/am62x_beagleplay.rst
>> index 7784e62b0b71..50d7d3c620d7 100644
>> --- a/doc/board/beagle/am62x_beagleplay.rst
>> +++ b/doc/board/beagle/am62x_beagleplay.rst
>> @@ -63,7 +63,6 @@ Set the variables corresponding to this platform:
>>     # we dont use any extra TFA parameters
>>     unset TFA_EXTRA_ARGS
>>     export OPTEE_PLATFORM=k3-am62x
>> -  export OPTEE_EXTRA_ARGS="CFG_WITH_SOFTWARE_PRNG=y"
>>   
>>   .. include::  ../ti/am62x_sk.rst
>>       :start-after: .. am62x_evm_rst_include_start_build_steps
>> -- 
>> 2.34.1
>>
> NAK. RNG is needed to seed standard distros.

You have this backwards, setting WITH_SOFTWARE_PRNG=y forces the SW
RNG, disabling the HW RNG. Without this line the HW RNG is the default.

Andrew


More information about the U-Boot mailing list