1. Place the RTP binary to particular folder
Code: Select all
/output/image/RTP-BSP
$ make menuconfig
Code: Select all
Bootloaders --->
[*] Add RTP M4 into FIP
(RTP-BSP/Template.bin) RTP M4 binary names
3. Rebuild TF-A and whole Image
$ make arm-trusted-firmware-reconfigre $$ make
Yocto:
1. Place the RTP binary to particular folder
Code: Select all
~/yocto/build/tmp-glibc/deploy/images/numaker-som-ma35d16a81/m4proj/RTP_Code.bin
Code: Select all
~/yocto/source/meta-ma35d1/conf/machine/numaker-som-ma35d16a81.conf
#Load RTP-M4 into FIP image and run RTP-M4
TFA_LOAD_M4 = "yes"
# Need to set binary file from deploy/images/{machine}
TFA_M4_BIN= "m4proj/Template.bin"
Code: Select all
$bitbake tf-a-ma35d1 –C compile && bitbake nvt-image-qt5
#MA35D1 #RTP #M4 #Load M4 #TF-A