FAQ_MA35D1_Switch boot source
Posted: 18 Nov 2022, 18:32
Yocto:
1. Go to the following path and choose which machine you want to switch the boot source
2. Open the conf and modify 0 to 1 or 1 to 0
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. Execute Buildroot menuconfig
2. Modify Board defconfig and modify 0 to 1, 1 to 0, nand, spinand
3. Clean TF-A and U-Boot
4. Repack the Image
5. Program the Image to target board
#MA35D1 #boot source #SD #eMMC
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$
Code: Select all
UBOOT_CONFIG[sdcard] = "ma35d1_sdcard1_defconfig"
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. Execute Buildroot menuconfig
Code: Select all
~/Buildroot_MA35D1$ make menuconfig
Code: Select all
Bootloaders --->
(ma35d1_sdcard1) Board defconfig
Code: Select all
~/Buildroot_MA35D1$ make uboot-dirclean arm-trusted-firmware-dirclean
Code: Select all
~/Buildroot_MA35D1$ make
#MA35D1 #boot source #SD #eMMC