02-19-2022, 11:19 PM
Solution: when compiling ATF, the PLAT must come after make.
Instead of:
CROSS_COMPILE=aarch64-linux-gnu- PLAT=sun50i_h6 make bl31
Use:
CROSS_COMPILE=aarch64-linux-gnu- make PLAT=sun50i_h6 bl31
And then this step:
cp ../arm-trusted-firmware/build/fvp/release/bl31.bin .
Will change to:
cp ../arm-trusted-firmware/build/sun50i_h6/release/bl31.bin .
Instead of:
CROSS_COMPILE=aarch64-linux-gnu- PLAT=sun50i_h6 make bl31
Use:
CROSS_COMPILE=aarch64-linux-gnu- make PLAT=sun50i_h6 bl31
And then this step:
cp ../arm-trusted-firmware/build/fvp/release/bl31.bin .
Will change to:
cp ../arm-trusted-firmware/build/sun50i_h6/release/bl31.bin .