Norman's reply to my student Chirag.
---------------------------------------------------------------
Hello Chirag,
welcome to Genode! :-)
Everything described in the article is publicly available. You can findthe links to the respective Git branches in the article. However, the
work was carried out in the i.MX53.For moving to the i.MX6 platform, I assume that Aditya Kousik has
already got the base-hw kernel running on the platform, does he? So Iwould would go from his branch.
I recommend to first try to get acquainted with the structure of the
base-hw code and investigate the i.MX53-specific code in there. Therelevant portions are located at base-hw/src/core/imx53 and
include/platform/imx53/drivers.
For working on the TZ world switch, you might take the run script atos/run/tz_vmm.run as starting point. The user-level TZ VMM component is
located at os/src/server/tz_vmm. The interaction between the base-hwkernel and the user-level TZ VMM component happens via the so-called
"VM" service provided by the core of base-hw. You can find the interfaceat base-hw/include/vm_session/.
Once you got the scenario described by the tz_vmm.run script running the
i.MX6 platform, it would be a good time to investigate the additionalpatch series by Stefan (skalk) of the i.MX-tablet demo branch cited in
our article: https://github.com/skalk/genode/commits/i.MX53_tablet_demo
I hope those pointers are helpful as starting points.
That being said, I'd like to encourage you to post technical questions
on our mailing list instead sending private mails to me. On the list,your questions will get the attention of more people, i.e., the
engineers who have actually developed the TrustZone-related code (thatwasn't me). Also, the discussions may help others in the future.
You can subscribe to the mailing list here:
http://genode.org/community/mailing-lists
Cheers and happy hacking!
Norman ----------------------------------------------------------------------------
Madhu