Hello Ralf, Thank you. That worked. When I type jailhouse cell list, I can see that "Banana-Pi" and "bananapi-uart-demo" are both running. However, I do not see any output in the from the uart demo in the serial terminal. Is there a way to see/debug if my inmate is working properly? Regards, Jorge
-----Original Message----- From: Ralf Ramsauer [mailto:[email protected]] Sent: Donnerstag, 5. Oktober 2017 15:42 To: Martinez Garcia Jorge Luis (DGS-EC/ESB2) <[email protected]>; [email protected] Subject: Re: Cell Load Hi, look at the usage of the userspace tool: cell load { ID | [--name] NAME } { IMAGE | { -s | --string } "STRING" } [-a | --address ADDRESS] ... You have to specify the cell, either by its ID or by its name. Use jailhouse cell list to get names/IDs of cells. The you probably want sth like jh cell load 1 inmate.bin Ralf On 10/05/2017 03:14 PM, Martinez Garcia Jorge Luis (DGS-EC/ESB2) wrote: > Hello Ralf > Thank you for your reply. I just created a cell like this: > $ jailhouse cell create ~/jailhouse/configs/bannapi-uart-demo.cell > That worked but now I want to load the uart-demo.bin file in a cell. > > $ jailhouse cell load ~/jailhouse/inmates/demos/arm/uart-demo.bin doesn t > seem to be working > And neither something like > $ jailhouse cell load Demo ~/jailhouse/inmates/demos/arm/uart-demo.bin > > What's the correct command? > Regards, > Jorge > > -----Original Message----- > From: Ralf Ramsauer [mailto:[email protected]] > Sent: Donnerstag, 5. Oktober 2017 11:05 > To: Martinez Garcia Jorge Luis (DGS-EC/ESB2) > <[email protected]>; [email protected] > Subject: Re: Unhandled Trap > > Hi Jorge, > > [please plain text mails only] > > you also need this [1] patch when using a more recent kernel. It will > reexport ioremap_page_range. Easiest thing is to just use Jan's tree for > compiling your kernel. > > Ralf > > http://git.kiszka.org/?p=linux.git;a=commitdiff;h=734b03f5c7c3d9d5486f5ae26c2efb2853b3584c > > On 10/05/2017 11:01 AM, Martinez Garcia Jorge Luis (DGS-EC/ESB2) wrote: >> Hi Ralf, >> >> Thank you very much for your reply. While compiling Jailhose, I am >> facing a new error, even though I didn’t modify the memory region yet as >> you suggested. Do you know, what might be the reason? >> >> >> >> >> >> >> >> >> >> Mit freundlichen Grüßen / Best regards >> >> >> >> Jorge Luis Martinez Garcia >> >> DGS-EC/ESB2 >> >> >> >> Tel. +49 711 811-42216 >> >> >> >> Hello Ralf, >> >> Thank you for your reply. How should I load a cell >> >> >> >> -----Original Message----- >> >> From: Ralf Ramsauer [mailto:[email protected]] >> >> Sent: Mittwoch, 4. Oktober 2017 13:11 >> >> To: Martinez Garcia Jorge Luis (DGS-EC/ESB2) >> <[email protected]>; [email protected] >> >> Subject: Re: Unhandled Trap >> >> >> >> Hi Jorge, >> >> >> >> your root cell tries to access the GPIO that is connected to the LED of >> >> the banana pi. >> >> >> >> Either make sure that the root cell won't access the device any longer >> >> or try to remove GPIO Port H from the inmate config. This can be done by >> >> commenting out the corresponding mem_region and changing >> >> >> >> struct jailhouse_memory mem_regions[4]; >> >> to >> >> struct jailhouse_memory mem_regions[3]; >> >> >> >> The gic-demo binary won't access the LED unless it's explicitly specified. >> >> >> >> Ralf >> >> >> >> On 10/04/2017 12:59 PM, Martinez Garcia Jorge Luis (DGS-EC/ESB2) wrote: >> >>> Hello, >> >>> I am trying to run Jailhouse on the BananaPi (Kernel version 4.3.3). I >> >>> installed Jailhouse on the BP and can see it by typing $lsmod. However, >> >>> I get the following error when creating the cell by typing >> >>> >> >>> jailhouse cell create ~/jailhouse/configs/bananapi-gic-demo.cell >> >>> >> >>> >> >>> >> >>> >> >>> What can be the root of the problem and how can I fix it? >> >>> >> >>> Regards, >> >>> Jorge >> >>> >> >>> >> >>> >> >>> >> >>> -- >> >>> 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] >> >>> <mailto:[email protected]>. >> >>> For more options, visit https://groups.google.com/d/optout. >> >> -- >> 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] >> <mailto:[email protected]>. >> For more options, visit https://groups.google.com/d/optout. > -- 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.
