bootlin / buildroot-external-st

External Buildroot tree for STMicroelectronics boards configurations
56 stars 29 forks source link

Saveenv Issue on Uboot v2022.10-stm32mp-r1.1 - Invalid ENV offset in MMC #47

Closed MfaizR closed 1 year ago

MfaizR commented 1 year ago

Hi there,

I am having problem with the compiled buildroot-external-st image, where the uboot environment cannot be save with invalid env offset in mmc error. any solutions to this?

thanks

kmaincent commented 1 year ago

I indeed face the same issue which is also present in v2022.10-stm32mp-r1 version. It seems related to the U-boot from ST. I will bump the issue to them.

kmaincent commented 1 year ago

It was due to a missing "u-boot-env" partition.

69a6b0d fix the issue.

MfaizR commented 1 year ago

Hi @kmaincent

Tested ok. I changed the overlay/boot/extlinux.conf to start root at mmcblk0p5.

Thank you very much for your help.