[PATCH RESEND 3/5] config/ast2600: Disable hash hardware accel

Cédric Le Goater clg at kaod.org
Mon Jun 27 10:46:51 CEST 2022


On 6/27/22 10:15, ChiaWei Wang wrote:
> Reviewed-by: Chia-Wei Wang <chiawei_wang at aspeedtech.com>
> 
> The QEMU emulation issue is under investigation by Steven.

Great ! I was going to open a gitlab issue under :

   https://gitlab.com/qemu-project/qemu/-/issues/

But we still have a couple of weeks before QEMU 7.1 soft freeze :

   https://wiki.qemu.org/Planning/7.1

We should open one if not solved before, as a reminder, with
some guidelines to reproduce. It

> The CRC32 and MD5 SW support will be added before we re-enabling HW crypto drivers.

Thanks,

C.

> Chiawei
> 
>> From: joel.stan at gmail.com <joel.stan at gmail.com> On Behalf Of Joel Stanley
>> Sent: Monday, June 27, 2022 3:58 PM
>>
>> The HACE driver lacks support for all the hash types, causing boot to fail with
>> the default FIT configuration which uses CRC32.
>>
>> Additionally the Qemu model or the u-boot driver is unable to correctly
>> compute the SHA256 hash used in a FIT.
>>
>> Disable HACE by default while the above issues are worked out to enable boot
>> testing in Qemu.
>>
>> Signed-off-by: Joel Stanley <joel at jms.id.au>
>> ---
>>   configs/evb-ast2600_defconfig | 3 ---
>>   1 file changed, 3 deletions(-)
>>
>> diff --git a/configs/evb-ast2600_defconfig b/configs/evb-ast2600_defconfig
>> index f3a6cb222020..160bccff48e2 100644
>> --- a/configs/evb-ast2600_defconfig
>> +++ b/configs/evb-ast2600_defconfig
>> @@ -59,9 +59,6 @@ CONFIG_REGMAP=y
>>   CONFIG_SPL_OF_TRANSLATE=y
>>   CONFIG_CLK=y
>>   CONFIG_SPL_CLK=y
>> -CONFIG_DM_HASH=y
>> -CONFIG_HASH_ASPEED=y
>> -CONFIG_ASPEED_ACRY=y
>>   CONFIG_ASPEED_GPIO=y
>>   CONFIG_DM_I2C=y
>>   CONFIG_MISC=y
>> --
>> 2.35.1
> 



More information about the U-Boot mailing list