FAQ_MA35D1_Switch boot source

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

18 Nov 2022, 18:32

Yocto:

1. Go to the following path and choose which machine you want to switch the boot source

Code: Select all

~/yocto/sources/meta-ma35d1/conf/machine$
2. Open the conf and modify 0 to 1 or 1 to 0

Code: Select all

UBOOT_CONFIG[sdcard] = "ma35d1_sdcard1_defconfig"
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. Execute Buildroot menuconfig

Code: Select all

~/Buildroot_MA35D1$ make menuconfig
2. Modify Board defconfig and modify 0 to 1, 1 to 0, nand, spinand

Code: Select all

Bootloaders --->
  (ma35d1_sdcard1) Board defconfig
3. Clean TF-A and U-Boot

Code: Select all

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

Code: Select all

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

#MA35D1 #boot source #SD #eMMC

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 9 guests