Full virtualization with Trustzone

meng-qy meng-qy at neusoft.com
Mon Nov 19 13:20:27 CET 2012


      Now,we have transplanted fiaso to imx51 bbg board, when we use l4_vm_run to init NS world

(according to example of vm-tz), we found the system stop in the step of "VM run". More specifically, 

 we stop with the processing: 

"return l4_ipc(vm, u, L4_SYSF_CALL, *label, l4_msgtag(L4_PROTO_TASK, 3, 0, 0), label, L4_IPC_NEVER);"

The log info can be described as following:

MOE: Hello world                                                        
MOE: found 506952 KByte free memory                                     
MOE: found RAM from 90000000 to af000000                                
MOE: allocated 496 KByte for the page array @0x9009f000                 
MOE: virtual user address space [0-bfffffff]                            
MOE: rom name space cap -> [C:501000]                                   
  BOOTFS: [91100000-91119428] [C:503000] l4re                           
  BOOTFS: [9111a000-91133608] [C:504000] vm-tz                          
  BOOTFS: [91134000-911341e4] [C:505000] test.bin                       
MOE: cmdline: moe --init=rom/vm-tz                                      
MOE: Starting: rom/vm-tz                                                
MOE: loading 'rom/vm-tz'                                                
Vmm started  
VM run 

Our configuration is:

    Ram_base = 0x60009000, // The reserved address in imx51,l4sigma0_map_iomem() looks OK.
    Ram_size = 0x4000000, // 128 MB
    Start_addr = Ram_base + 0x1000000, // +1MB

The test.bin is bare uart test-app we test ok in imx51 board, we change the entry as 0x61009000, correspond with Start_addr.

Maybe we make some mistakes, who can give some guidance and suggestions?

Looking forward to your reply.

Steven Meng

Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this communication in error,please 
immediately notify the sender by return e-mail, and delete the original message and all copies from 
your system. Thank you. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://os.inf.tu-dresden.de/pipermail/l4-hackers/attachments/20121119/5ef20d3b/attachment.html>

More information about the l4-hackers mailing list