Skip to contentSkip to conversation

wic: Set a fixed size for boot partition in wic image

PATCH Applied Theodore A. Roth 3 participants 3 messages Jul 26, 2021 – Jul 27, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wic: Set a fixed size for boot partition in wic image

The beagleboneai is not loading the MLO without this change.

A similar change was needed in meta-yocto-bsp for the beaglebone black due to the updating of dosfstools to 4.2 in Hardknott.

[Yocto #14306]

(See also meta-yocto rev: 0c679ac53b52e631a7c961872ce58f5cf74b8629)

---
 wic/sdimage-2part.wks | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
wic/sdimage-2part.wks +1 -1
index 77d6f7b5..3eab9407 100644
@@ -2,5 +2,5 @@
 # long-description: Creates a partitioned SD card image for TI platforms.
 # Boot files are located in the first vfat partition with extra reserved space.
 
-part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 1024 --extra-space 100M --use-uuid
+part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 1024 --fixed-size 128 --use-uuid
 part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 1024 --use-uuid
Signature · 1 line
2.25.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Theodore A. Roth

The beagleboneai is not loading the MLO without this change.

A similar change was needed in meta-yocto-bsp for the beaglebone black due to the updating of dosfstools to 4.2 in Hardknott.

[Yocto #14306]

(See also meta-yocto rev: 0c679ac53b52e631a7c961872ce58f5cf74b8629)

Thanks, this does make sense and aligns with the change discussed for EFI:
https://lists.yoctoproject.org/g/meta-ti/topic/83851299

Quoted 1 line

BTW, meta-ti doesn't have hardknott branch, so this is only for master.

Quoted 18 lines
---
 wic/sdimage-2part.wks | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
wic/sdimage-2part.wks +1 -1
index 77d6f7b5..3eab9407 100644
@@ -2,5 +2,5 @@
 # long-description: Creates a partitioned SD card image for TI platforms.
 # Boot files are located in the first vfat partition with extra reserved space.
 
-part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 1024 --extra-space 100M --use-uuid
+part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 1024 --fixed-size 128 --use-uuid
 part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 1024 --use-uuid
Signature · 1 line
2.25.1
Signature · 4 lines
Regards,
Denys Dmytriyenko <[email protected]>
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186  6D76 4209 0272 9A92 C964
#2 lore raw

Applied to master.

Thanks
Yogesh

Quoted 44 lines · Denys Dmytriyenko
Quoted 8 lines · Theodore A. Roth

The beagleboneai is not loading the MLO without this change.

A similar change was needed in meta-yocto-bsp for the beaglebone black due to the updating of dosfstools to 4.2 in Hardknott.

[Yocto #14306]

(See also meta-yocto rev: 0c679ac53b52e631a7c961872ce58f5cf74b8629)

Thanks, this does make sense and aligns with the change discussed for EFI:
https://lists.yoctoproject.org/g/meta-ti/topic/83851299

Quoted 1 line

BTW, meta-ti doesn't have hardknott branch, so this is only for master.

Quoted 18 lines
---
  wic/sdimage-2part.wks | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
wic/sdimage-2part.wks +1 -1
index 77d6f7b5..3eab9407 100644
@@ -2,5 +2,5 @@
  # long-description: Creates a partitioned SD card image for TI platforms.
  # Boot files are located in the first vfat partition with extra reserved space.
 
-part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 1024 --extra-space 100M --use-uuid
+part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 1024 --fixed-size 128 --use-uuid
  part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 1024 --use-uuid
Signature · 1 line
2.25.1