[U-Boot] [PATCH 01/11] cmd: crc32: Disable by default on sunXi

Jagan Teki jagannadh.teki at gmail.com
Fri Dec 22 09:16:35 UTC 2017


On Thu, Dec 21, 2017 at 8:20 PM, Andre Przywara <andre.przywara at arm.com> wrote:
> Hi,
>
> On 21/12/17 12:40, Maxime Ripard wrote:
>> The sunXi arm64 build has overflown, leading to the main U-boot binary
>> overwriting the environment when flashing the new image, or even worse,
>> overwriting itself when we're calling saveenv.
>>
>> Disable this command that is not critical until we can adress the issue
>> properly.
>>
>> Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
>> ---
>>  cmd/Kconfig | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/cmd/Kconfig b/cmd/Kconfig
>> index c0332235261f..7751001819d0 100644
>> --- a/cmd/Kconfig
>> +++ b/cmd/Kconfig
>> @@ -397,6 +397,7 @@ menu "Memory commands"
>>  config CMD_CRC32
>>       bool "crc32"
>>       select HASH
>> +     default n if ARCH_SUNXI
>
> Is that meant to solve issues with 32 bit boards as well? Or shall we
> use "ARCH_SUNXI && ARM64" here?

Agreed this, and If we go further better to have A64 and H5 check directly.


More information about the U-Boot mailing list