[android-building] Re: building trusty tee

2019-12-02 Thread Aaron Simmons
I found a reference to Trusty on the bootloader/partitions page here 
, where it 
says:

> The tos partition stores the binary image of the Trusty OS and is only 
> used if the device includes Trusty.


So I think that may be where we put lk.bin.  

On Monday, November 25, 2019 at 5:25:34 PM UTC-7, Fox Knue wrote:
>
>
> I am also working on Trusty and hit the same wall.
> Haven't been able to track any 'lk.bin' for Trusty in AOSP. Perhaps it is 
> included either as a Source code or by a different file name.
> Kudos in advance to the one who resolves this!!
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/22f0c923-07de-42ac-9d1e-8a2cd7cd6284%40googlegroups.com.


[android-building] Re: building trusty tee

2019-11-25 Thread Fox Knue

I am also working on Trusty and hit the same wall.
Haven't been able to track any 'lk.bin' for Trusty in AOSP. Perhaps it is 
included either as a Source code or by a different file name.
Kudos in advance to the one who resolves this!!

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/4f2dc1c8-7f4e-445e-8e3a-5656aa4223b9%40googlegroups.com.


[android-building] Re: building trusty tee

2019-11-22 Thread Semw
Trusty is included in AOSP (according to Trusty working documentation) when 
you built it but need to find out where it is included. Whether it is 
included as lk.bin or as source code which gets compiled when aosp gets 
compiled. I am also working on it. 

On Friday, November 15, 2019 at 9:28:05 PM UTC+5, Aaron Simmons wrote:
>
> I'm having the same problem and asked about it here 
> .  
> Now that I've built the Trusty TEE image, I don't know what to do with it.  
> There's no documentation for how to deploy Trusty to a real dev board.
>
> On Friday, November 15, 2019 at 8:01:14 AM UTC-7, Weitian Xing wrote:
>>
>> Hi, do you know how to build Android image with trusty os? What should we 
>> do with the generated "lk.bin"? Can this little kernel file run with qemu? 
>> Thanks in advance!
>>
>> On Tuesday, November 12, 2019 at 2:28:58 PM UTC-5, Aaron Simmons wrote:
>>>
>>> I'm trying to build AOSP along with the Trusty TEE 
>>> .  
>>> However, the build falls down due to OpenSSL:
>>>
>>> building 
>>> /home/paleozogt/Development/trusty/build-root/build-generic-arm64/host_tests/obj/storage_test/trusty/user/app/storage/test/../block_cache.o
>>> trusty/user/app/storage/test/../block_cache.c:27:10: fatal error: 
>>> 'openssl/crypto.h' file not found
>>> #include 
>>>  ^~
>>> 1 error generated.
>>>
>>> Any ideas on how to get Trusty TEE to build?  I'd report this as a bug, 
>>> but I'm not sure where to file Trusty bugs.
>>>
>>>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/18eeb91c-60a8-4b66-84fb-529c4354b1d4%40googlegroups.com.


[android-building] Re: building trusty tee

2019-11-15 Thread Weitian Xing
Hi, do you know how to build Android image with trusty os? What should we 
do with the generated "lk.bin"? Can this little kernel file run with qemu? 
Thanks in advance!

On Tuesday, November 12, 2019 at 2:28:58 PM UTC-5, Aaron Simmons wrote:
>
> I'm trying to build AOSP along with the Trusty TEE 
> .  
> However, the build falls down due to OpenSSL:
>
> building 
> /home/paleozogt/Development/trusty/build-root/build-generic-arm64/host_tests/obj/storage_test/trusty/user/app/storage/test/../block_cache.o
> trusty/user/app/storage/test/../block_cache.c:27:10: fatal error: 
> 'openssl/crypto.h' file not found
> #include 
>  ^~
> 1 error generated.
>
> Any ideas on how to get Trusty TEE to build?  I'd report this as a bug, 
> but I'm not sure where to file Trusty bugs.
>
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/b23c8187-f4e0-4778-aff8-af44377ffa53%40googlegroups.com.


[android-building] Re: building trusty tee

2019-11-13 Thread Aaron Simmons
That worked-- thanks!

On Tuesday, November 12, 2019 at 3:26:41 PM UTC-7, Matthew Maurer wrote:
>
> The host tests currently rely on the host version of openssl to do 
> testing. If you're on a debian derivative, install 'libssl-dev' or a 
> compatible library. Other distributions may have this available labeled as 
> an openssl "development" package.
>
> If you do not wish to install that library, you may instead edit
> trusty/vendor/google/aosp/scripts/test-map
> and remove the host test lines, as they are not vital to building a Trusty 
> kernel.
>
> On Tuesday, November 12, 2019 at 11:28:58 AM UTC-8, Aaron Simmons wrote:
>>
>> I'm trying to build AOSP along with the Trusty TEE 
>> .  
>> However, the build falls down due to OpenSSL:
>>
>> building 
>> /home/paleozogt/Development/trusty/build-root/build-generic-arm64/host_tests/obj/storage_test/trusty/user/app/storage/test/../block_cache.o
>> trusty/user/app/storage/test/../block_cache.c:27:10: fatal error: 
>> 'openssl/crypto.h' file not found
>> #include 
>>  ^~
>> 1 error generated.
>>
>> Any ideas on how to get Trusty TEE to build?  I'd report this as a bug, 
>> but I'm not sure where to file Trusty bugs.
>>
>>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/b6d392f8-650c-4b2e-88f2-1ea3ba98a551%40googlegroups.com.


[android-building] Re: building trusty tee

2019-11-12 Thread 'Matthew Maurer' via Android Building
The host tests currently rely on the host version of openssl to do testing. 
If you're on a debian derivative, install 'libssl-dev' or a compatible 
library. Other distributions may have this available labeled as an openssl 
"development" package.

If you do not wish to install that library, you may instead edit
trusty/vendor/google/aosp/scripts/test-map
and remove the host test lines, as they are not vital to building a Trusty 
kernel.

On Tuesday, November 12, 2019 at 11:28:58 AM UTC-8, Aaron Simmons wrote:
>
> I'm trying to build AOSP along with the Trusty TEE 
> .  
> However, the build falls down due to OpenSSL:
>
> building 
> /home/paleozogt/Development/trusty/build-root/build-generic-arm64/host_tests/obj/storage_test/trusty/user/app/storage/test/../block_cache.o
> trusty/user/app/storage/test/../block_cache.c:27:10: fatal error: 
> 'openssl/crypto.h' file not found
> #include 
>  ^~
> 1 error generated.
>
> Any ideas on how to get Trusty TEE to build?  I'd report this as a bug, 
> but I'm not sure where to file Trusty bugs.
>
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/19f1a234-125d-47ff-b14b-0dfa9c76a87d%40googlegroups.com.