Build and Flash Trusty on the TX2


I would like to know whether it’s possible to rebuild and flash Trusty on the TX2. Our goal is to
build trusted applications and have them run within TrustZone’s secure world. The only reliable
source of information (about implementing trusted applications for Trusty) I have found is the
following webpage, according to which I must create the trusted app in Trusty’s source code
hierarchy and rebuild Trusty:

I have therefore downloaded and rebuilt trusty after following instructions here:

The webpage says ‘You can assemble lk.bin into a firmware image and flash it to the device’. How
should I do this for TX2? How can I flash a custom built Trusty?

I have followed the L4T quick start guide, and successfully flashed L4T on the TX2:

Kindly let me know how I can flash only Trusty.

Thank you,

hello abhishek.vijeev,

you might download L4T Sources and un-tar the trusty_src.tbz2 package.
please check atf_and_trusty_README.txt for the steps to build and verify ATF and Trusty.

Thank you very much.