On 2017-03-08 16:26, John Parker wrote:
> So I bought an Orange Pi Zero to play with Jailhouse and am trying to get 
> things running.... but I need some help.  I've got Armbian running 
> successfully on the Orange Pi, Armbian compilers installed and able to build 
> in a Xenial VM, Jailhouse cloned with Git.   
> 
> When I run (per the Readme)
> #sudo make
> 
> I get the following
> 
> $ sudo make KDIR=/home/vagrant/output/kernel/lib/modules/4.10.1-sun8i/
> make[1]: *** No rule to make target 'modules'.  Stop.
> Makefile:36: recipe for target 'modules' failed
> make: *** [modules] Error 2
> 

Jailhouse needs a kernel build directory against which it can compile
its driver and from which it borrows the build system. I do not have an
Armbian system at hand to tell if they provide a toolchain that includes
this. However, you need some patches anyway [1], at least [2]. So you
should rebuild your kernel locally, and then you will also have the
proper build folder to compile Jailhouse against. Done that before?

Jan

> 
> 
> I'm sure there's something basic I'm not doing, but I could use some help.  
> My ultimate goal is to have an orange pi with a Linux cell and a FreeRTOS 
> cell or two for test purposes and a demo.  I'm very interested to see the 
> demo coming up at Embedded world (and hope it's posted to Youtube as I'm not 
> able to make it to Regensburg) as it sounds like exactly what I'm trying to 
> accomplish.  Thanks for the help.
> 
> John Parker
> 

[1]
http://git.kiszka.org/?p=linux.git;a=shortlog;h=refs/heads/queues/jailhouse
[2]
http://git.kiszka.org/?p=linux.git;a=commit;h=359682817fe73c4f23af191dce3a620596e441ea

-- 
Siemens AG, Corporate Technology, CT RDA ITP SES-DE
Corporate Competence Center Embedded Linux

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to