Experimenting the vm-tz example on the Freescale i.mx6 SDB

Adam Lackorzynski adam at os.inf.tu-dresden.de
Mon May 4 00:20:07 CEST 2015


Hi,

On Wed Apr 29, 2015 at 14:33:58 +0200, Mahdi Aichouch wrote:
> Then, I correctly applied the patch, and now everything is built correctly.
> Now the VM is created and started correctly.
> 
> I used a simple kernel that prints a "Hello" message on the serial port as
> a guest OS.
> Howerver, after the VM is started, I get the following error:
> 
> setup linux ok...
> VM run
> VM exit
> pc:00000004 cpsr:0000009b
> r0:00000000 r1:00000000 r2:00000000 r3:00000000
> r4:00000000 r5:00000000 r6:00000000 r7:00000000
> r8:00000000 r9:00000000 r10:00000000 r11:00000000
> r12:00000000
> lr_svc:00000000 sp_svc:00000000 spsr_svc:00000000
> 
> 
> I disabled the copy into memory of the initrd, and ATAG in code of the
> tz-vm example
> since they are not needed by the simple kernel.
> 
> Do you have any idea of what might be wrong.

Hard to say. All registers seem to be 0 so I guess the simple kernel has
not done much yet. Where has it started? Assuming low-vectors, the 4
could be an undefined instruction but it could also be unrelated.



Adam
-- 
Adam                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/



More information about the l4-hackers mailing list