FAQ_MA35D1_Extend the SD card Boot Space
Posted: 14 Nov 2022, 12:13
The SD/eMMC default boot space is 32 MB and if you need to save more data to the flash, you can follow the steps below to extend the space.
Yocto:
1. Modify the configuration in the local.conf
The path is shown below
2. The default Boot Space is 32768 bytes (32MB)
You can modify it to 65536 bytes (64MB)
3. Rebuild TF-A and U-Boot
4. Clean the current Image
5. Repack the Image
6. Program the Image to target board
Buildroot:
1. Modify the configuration by menuconfig
2. Modify the size from 32MB to 64MB shown below
3. Rebuild TF-A and U-Boot
4. Repack the Image
5. Program the Image to target board
#MA35D1 #Boot Space #Extend Boot Space
Yocto:
1. Modify the configuration in the local.conf
The path is shown below
Code: Select all
~/yocto/build/conf/local.conf
You can modify it to 65536 bytes (64MB)
Code: Select all
BOOT_SPACE = “65536”
Code: Select all
~/youcto/build$ bitbake u-boot-ma35d1 tf-a-ma35d1 –C compile
Code: Select all
~/youcto/build$ bitbake nvt-image-qt5 –c cleanall
Code: Select all
~/youcto/build$ bitbake nvt-image-qt5
Buildroot:
1. Modify the configuration by menuconfig
Code: Select all
~/buildroot& make menuconfig
Code: Select all
Bootloaders --->
(65536) MA35D1 Boot Space(KiB)
Code: Select all
~/Buildroot_MA35D1$ make arm-trusted-firmware-rebuild uboot-rebuild
Code: Select all
~/Buildroot_MA35D1$ make
#MA35D1 #Boot Space #Extend Boot Space