[U-Boot] [PATCH v2 07/17] warp7: Specify CONFIG_OPTEE_LOAD_ADDR

Bryan O'Donoghue bryan.odonoghue at linaro.org
Fri Apr 13 15:11:11 UTC 2018



On 07/04/18 13:23, Breno Matheus Lima wrote:
> Hi Bryan,
> 
> 2018-04-02 19:42 GMT-03:00 Bryan O'Donoghue <bryan.odonoghue at linaro.org>:
>> In order to sign images with the IMX code-signing-tool (CST) we need to
>> know the load address of a given image. The best way to derive this load
>> address is to make it into a define - so that u-boot.cfg contains the
>> address - which we can then parse when generating the IMX CST headers.
>>
>> This patch makes the OPTEE_LOAD_ADDR available via u-boot.cfg for further
>> parsing by external tools.
>>
>> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue at linaro.org>
>> Reviewed-by: Ryan Harkin <ryan.harkin at linaro.org>
>> ---
>>   configs/warp7_defconfig | 1 +
>>   include/configs/warp7.h | 1 +
>>   2 files changed, 2 insertions(+)
>>
>> diff --git a/configs/warp7_defconfig b/configs/warp7_defconfig
>> index 3dbcd69..c647cd0 100644
>> --- a/configs/warp7_defconfig
>> +++ b/configs/warp7_defconfig
>> @@ -45,3 +45,4 @@ CONFIG_USB_ETH_CDC=y
>>   CONFIG_USBNET_HOST_ADDR="de:ad:be:af:00:00"
>>   CONFIG_OF_LIBFDT=y
>>   CONFIG_OPTEE=y
>> +CONFIG_OPTEE_LOAD_ADDR=0x84000000
> 
> 
> I'm seeing the following in my U-Boot environment variables, seems
> that CONFIG_OPTEE_LOAD_ADDR it's not being correctly defined:

Can you try again after doing this

make clean; make mrproper; make warp7_config;make u-boot.imx arch=ARM 
CROSS_COMPILE=/opt/linaro/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-

works for me


More information about the U-Boot mailing list