FAQ_MA35D1_Extend the SD card Boot Space

Post Reply
ytliu6
Posts: 80
Joined: 08 Nov 2022, 10:28

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

Code: Select all

~/yocto/build/conf/local.conf
2. The default Boot Space is 32768 bytes (32MB)
You can modify it to 65536 bytes (64MB)

Code: Select all

BOOT_SPACE = “65536”
3. Rebuild TF-A and U-Boot

Code: Select all

~/youcto/build$ bitbake u-boot-ma35d1 tf-a-ma35d1 –C compile
4. Clean the current Image

Code: Select all

~/youcto/build$ bitbake nvt-image-qt5 –c cleanall
5. Repack the Image

Code: Select all

~/youcto/build$ bitbake nvt-image-qt5
6. Program the Image to target board

Buildroot:

1. Modify the configuration by menuconfig

Code: Select all

~/buildroot& make menuconfig
2. Modify the size from 32MB to 64MB shown below

Code: Select all

Bootloaders --->
  (65536) MA35D1 Boot Space(KiB)
3. Rebuild TF-A and U-Boot

Code: Select all

~/Buildroot_MA35D1$ make arm-trusted-firmware-rebuild uboot-rebuild
4. Repack the Image

Code: Select all

~/Buildroot_MA35D1$ make
5. Program the Image to target board

#MA35D1 #Boot Space #Extend Boot Space

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests