bootlin / buildroot-external-st

External Buildroot tree for STMicroelectronics boards configurations
48 stars 26 forks source link

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

Closed MfaizR closed 8 months ago

MfaizR commented 8 months 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 8 months 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 8 months ago

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

69a6b0d fix the issue.

MfaizR commented 8 months ago

Hi @kmaincent

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

Thank you very much for your help.