1

I'm trying to boot an STM32MP157a-dk1 using an image that i made with buildroot but when i boot i got this message :

Unable to write "/uboot.env" from mmc0:4
enter image description here

Help me please !!

H.M

ELmehdi
  • 11
  • 4
  • Have you tried to create your ext4 filesystem without `metadata_csum` and `64bit`? Example [here](https://www.digikey.com/eewiki/display/linuxonarm/STM32MP1/) (search for "mkfs.ext4 >= 1.43") – Freddy May 20 '21 at 16:49
  • in my project i have create my partitions with the genimage.cfg : image sdcard.img { hdimage { gpt = "true" } partition fsbl1 { image = "%ATFBIN%" } partition fsbl2 { image = "%ATFBIN%" } partition ssbl { image = "u-boot.stm32" } partition rootfs { image = "rootfs.ext4" bootable = "yes" } } – ELmehdi May 21 '21 at 10:10
  • I guess it should be a different config, have a look at the option `BR2_TARGET_ROOTFS_EXT2_MKFS_OPTIONS` in line 18 [here](https://git.buildroot.net/buildroot/tree/configs/stm32mp157a_dk1_defconfig?h=50de52ae693b4d22e1275d98382de7b66baa0d78#n18). – Freddy May 21 '21 at 14:37
  • yes it works i changed in my configs the ext2_mkfs_options thank you – ELmehdi May 27 '21 at 14:58
  • Done !! thanks to you – ELmehdi May 28 '21 at 09:57

1 Answers1

0

I changed in my configuration via the menuconfig and in the EXT2_MKFS_OPTIONS I used:-O ^metadata_csum,^64bit.

ELmehdi
  • 11
  • 4