Porting of SDK_Jan02_2013_TEE_Hypervisor.tar.bz2 on Versatile Express Author:- Ayan Kumar Halder ayan.halder@open-silicon.com, ayankumarh@gmail.com Date:- 3rd April, 2013 1. The patches are intended to port otzone and Sierravisor on Versatile Express. To apply patch one needs to execute from trustzone folder:- patch -p1 < OV_VE_patches/OV_Sierravisor.diff 2. After this one needs to build otz_linux , followed by tzone_sdk. 3. One should be able to execute applications otzapp.elf, otz_tee_app.elf, otz_boot_ack.elf, otz_play_media.elf, otz_virtual_keyboard.elf successfully. 4. By default, the patch enables MULTIPLE_GUESTS_SUPPORT in otz_linux/Makefile and CONFIG_MULTI_GUESTS_SUPPORT in tzone_sdk/Makefile and tzone_sdk/otzone/config/config.ve. With otz_boot_ack.elf , one should be able to switch between the linux-otz and linux-otz-2 and the execute the afore-mentioned applications on either of linux. 5. To build otzone without Sierravisor, one can disable MULTIPLE_GUESTS_SUPPORT in otz_linux/Makefile and CONFIG_MULTI_GUESTS_SUPPORT in tzone_sdk/Makefile and tzone_sdk/otzone/config/config.ve and rebuild. All the above mentioned applications except otz_boot_ack.elf should get executed successfully. 6. The api "sw_fb_init()" configures pl111_clcd for secure kernel. The api "sw_fb_exit()" clcd restore its original configuration. If one needs to enable clcd during boot-up of secure kernel, he can call sw_fb_init() in secure_main. This has been tested to work properly as otzone's clcd configuration is independent of that of linux. PS Note:- TOUCH_SUPPORT has been disabled due to hardware limitations.