[U-Boot] [PATCH v2 09/17] warp7: defconfig: Enable CONFIG_BOOTM_TEE
Bryan O'Donoghue
bryan.odonoghue at linaro.org
Sun Apr 8 11:40:17 UTC 2018
On 07/04/18 13:32, Breno Matheus Lima wrote:
> Hi Bryan,
>
> 2018-04-02 19:42 GMT-03:00 Bryan O'Donoghue <bryan.odonoghue at linaro.org>:
>> This patch enables CONFIG_BOOTM_TEE. Once enabled its possible to
>> chain-load Linux through OPTEE.
>>
>> Loading kernel to 0x80800000
>> => run loadimage
>>
>> Load FDT to 0x83000000
>> => run loadfdt
>>
>> Load OPTEE to 0x84000000
>> => fatload mmc 0:5 0x84000000 /lib/firmware/uTee.optee
>>
>> Then chain-load to the kernel via OPTEE
>>
>> => bootm 0x84000000 - 0x83000000
>>
>> Image Name:
>> Image Type: ARM Trusted Execution Environment Kernel Image (uncompressed)
>> Data Size: 249844 Bytes = 244 KiB
>> Load Address: 9dffffe4
>> Entry Point: 9e000000
>> Verifying Checksum ... OK
>> Loading Kernel Image ... OK
>
>
> I'm seeing the following cache misaligned operation warning in my
> environment, did I miss something on my OPTEE build?
>
> => bootm 0x84000000 - 0x83000000
> ## Booting kernel from Legacy Image at 84000000 ...
> Image Name:
> Image Type: ARM Linux Kernel Image (uncompressed)
> Data Size: 274844 Bytes = 268.4 KiB
> Load Address: 9dffffe4
> Entry Point: 9e000000
> Verifying Checksum ... OK
> ## Flattened Device Tree blob at 83000000
> Booting using the fdt blob at 0x83000000
> Loading Kernel Image ... OK
> CACHE: Misaligned operation at range [9dffffe4, 9e0431a4]
> Using Device Tree in place at 83000000, end 830095b6
No.
I hadn't paid too much attention to this but - yeah, I'll add something
to this series to flush the range starting at (9e000000 - cache_line_size).
The alternative is to change the entry point address which requires an
OPTEE change
More information about the U-Boot
mailing list