[U-Boot] Bug in saveenv handling?

U.Mutlu
2019-04-09T23:10:21Z

Tom Rini wrote on 04/09/2019 11:09 PM:
> On Tue, Apr 09, 2019 at 10:53:36PM +0200, U.Mutlu wrote:
>> Frank Wunderlich wrote on 04/09/2019 09:39 PM:
>>> this looks for me like the CONFIG_ENV_OFFSET+CONFIG_ENV_SIZE is overlapping uboots code
>>>
>>> can you post these values and position of uboot and its size for your device?
>>>
>>> which env-storage do you use (EMV_IN_MMC or ENV_FAT)?
>>
>> I looked up in the .config file:
>>
>> # U-Boot 2019.04-rc4 Configuration
>>
> So, -rc4 has a bug that the final release does not, on this platform.
> Please try the v2019.04 release first and then if you see the problem
> still, continue reporting and also make sure to Cc Jagan, thanks!

# U-Boot 2019.04 Configuration

Yes, I too can confirm now that the problem of saveenv overwriting u-boot
doesn't happen in the 2019.04 release version.

But the said crash when issuing the command "scsi scan" is still present,
but this maybe has some other reasons.

Thx.