Re: [hardknott/master][PATCH] wic: Set a fixed size for boot partition in wic image


Denys Dmytriyenko
 

On Mon, Jul 26, 2021 at 08:29:25AM -0600, Theodore A. Roth wrote:
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


Signed-off-by: Theodore A. Roth <troth@openavr.org>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>

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


---
wic/sdimage-2part.wks | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wic/sdimage-2part.wks b/wic/sdimage-2part.wks
index 77d6f7b5..3eab9407 100644
--- a/wic/sdimage-2part.wks
+++ b/wic/sdimage-2part.wks
@@ -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
--
2.25.1
--
Regards,
Denys Dmytriyenko <denis@denix.org>
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186 6D76 4209 0272 9A92 C964

Join meta-ti@lists.yoctoproject.org to automatically receive all group messages.