This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

A strange problem in porting secure os in v8 secure EL1

Hi, ARM experts:

    When we porting a secure os in 32bit mode in v8 secure EL1(our EL3 is running in AARCH 64bit mode), we got a strange problem:

    

    When start booting secure os in secure EL1, the bootstrap code which running on PA when mmu off seems ok,

    in these code we make some common memory map operation in section mode, for example, 1:1 map for bootstrap, kernel map to a certain address, kernel device i/o map etc.  

   when we turn mmu on via SCTLR, the 1:1 map boostrap code running seems ok, and we can visit device i/o memory via VA, but when we try to jump to kernel address, the system is abort.

   In fact, any operation try to change pc with instruction after mmu on will lead to this kind of problem.

 

   We compare v7 mmu operation with v8 32bit, they looks like compatible in most part, did we miss some important point?

  Thank you and waiting for your guidance and suggestion!


Steven

0