Re: [PATCH 0/4] Add Microsys miriac SBC-LS1046A board support

2019-03-07 Thread Henning Schild
Am Thu, 7 Mar 2019 16:40:44 +0100
schrieb Andreas Messerschmid :

> Hi Henning,
> 
> On 3/7/19 2:32 PM, Henning Schild wrote:
> > Hi Andreas,
> > 
> > for how long did you test running jailhouse on the device? And did
> > you operate it via serial or network?  
> I did not have 'ultra long' test periods but the device was running
> overnight without any problems. I was using the serial port and the
> network interfaces too. Even migration of the network interfaces to a
> Linux guest worked without any problems.

What do you mean with migration? Device assignment to a non-root cell?
Because that will be next on my plate. If you managed to assign one of
the 8 PHYs to another cell and network still working on both sides, i
would appreciate an off-list follow up.

> > I am currently enabling an ls1043 and network breaks after just
> > creating a second cell, not even loading or starting it. I guess in
> > that line i would also like to know which kernel you used and which
> > device tree, to understand whether you used DPAA from mainline or
> > the SDK-Version from NXP.  
> I was using mainline Linux 4.19.5-rt4 (Jailhouse patches from
> git://git.kiszka.org/linux.git -> queues/jailhouse on top) with the
> DPAA driver from there. Devicetree from this series
> https://lkml.org/lkml/2018/9/3/482.

I am now building a 4.19 mainline as well.

Henning

> Andreas
> 
> > 
> > In fact a simple offlining of a CPU breaks networking, no jailhouse
> > no funny stuff:
> > echo 0 > /sys/devices/system/cpu/cpu3/online
> > 
> > And that would be for LSDK-18.09-V4.14 from
> > https://source.codeaurora.org/external/qoriq/qoriq-components/linux
> > Using the mainline driver stack.
> > 
> > regards,
> > Henning
> > 
> > Am Tue, 29 Jan 2019 10:00:24 +0100
> > schrieb :
> >   
> >> From: Andreas Messerschmid 
> >>
> >> This series adds support for the miriac SBC-LS1046A to Jailhouse.
> >>
> >> Andreas Messerschmid (4):
> >>   configs: miriac-sbc-ls1046a: Add root cell configuration
> >>   configs: miriac-sbc-ls1046a: Add GIC demo inmate configuration
> >>   configs: miriac-sbc-ls1046a: Add linux inmate demo configuration
> >>   configs: miriac-sbc-ls1046a: Add linux inmate demo dts
> >>
> >>  configs/arm64/dts/inmate-miriac-sbc-ls1046a.dts | 106 ++
> >>  configs/arm64/miriac-sbc-ls1046a-gic-demo.c |  74 
> >>  configs/arm64/miriac-sbc-ls1046a-linux-demo.c   | 137 +++
> >>  configs/arm64/miriac-sbc-ls1046a.c  | 458
> >>  4 files changed, 775 insertions(+)
> >>  create mode 100644 configs/arm64/dts/inmate-miriac-sbc-ls1046a.dts
> >>  create mode 100644 configs/arm64/miriac-sbc-ls1046a-gic-demo.c
> >>  create mode 100644 configs/arm64/miriac-sbc-ls1046a-linux-demo.c
> >>  create mode 100644 configs/arm64/miriac-sbc-ls1046a.c
> >>  
> >   
> 

-- 
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 jailhouse-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [PATCH 0/4] Add Microsys miriac SBC-LS1046A board support

2019-03-07 Thread Andreas Messerschmid
Hi Henning,

On 3/7/19 2:32 PM, Henning Schild wrote:
> Hi Andreas,
> 
> for how long did you test running jailhouse on the device? And did you
> operate it via serial or network?
I did not have 'ultra long' test periods but the device was running
overnight without any problems. I was using the serial port and the
network interfaces too. Even migration of the network interfaces to a
Linux guest worked without any problems.

> I am currently enabling an ls1043 and network breaks after just
> creating a second cell, not even loading or starting it. I guess in
> that line i would also like to know which kernel you used and which
> device tree, to understand whether you used DPAA from mainline or the
> SDK-Version from NXP.
I was using mainline Linux 4.19.5-rt4 (Jailhouse patches from
git://git.kiszka.org/linux.git -> queues/jailhouse on top) with the DPAA
driver from there. Devicetree from this series
https://lkml.org/lkml/2018/9/3/482.

Andreas

> 
> In fact a simple offlining of a CPU breaks networking, no jailhouse no
> funny stuff:
> echo 0 > /sys/devices/system/cpu/cpu3/online
> 
> And that would be for LSDK-18.09-V4.14 from
> https://source.codeaurora.org/external/qoriq/qoriq-components/linux
> Using the mainline driver stack.
> 
> regards,
> Henning
> 
> Am Tue, 29 Jan 2019 10:00:24 +0100
> schrieb :
> 
>> From: Andreas Messerschmid 
>>
>> This series adds support for the miriac SBC-LS1046A to Jailhouse.
>>
>> Andreas Messerschmid (4):
>>   configs: miriac-sbc-ls1046a: Add root cell configuration
>>   configs: miriac-sbc-ls1046a: Add GIC demo inmate configuration
>>   configs: miriac-sbc-ls1046a: Add linux inmate demo configuration
>>   configs: miriac-sbc-ls1046a: Add linux inmate demo dts
>>
>>  configs/arm64/dts/inmate-miriac-sbc-ls1046a.dts | 106 ++
>>  configs/arm64/miriac-sbc-ls1046a-gic-demo.c |  74 
>>  configs/arm64/miriac-sbc-ls1046a-linux-demo.c   | 137 +++
>>  configs/arm64/miriac-sbc-ls1046a.c  | 458
>>  4 files changed, 775 insertions(+)
>>  create mode 100644 configs/arm64/dts/inmate-miriac-sbc-ls1046a.dts
>>  create mode 100644 configs/arm64/miriac-sbc-ls1046a-gic-demo.c
>>  create mode 100644 configs/arm64/miriac-sbc-ls1046a-linux-demo.c
>>  create mode 100644 configs/arm64/miriac-sbc-ls1046a.c
>>
> 

-- 
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 jailhouse-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [PATCH 0/4] Add Microsys miriac SBC-LS1046A board support

2019-03-07 Thread Henning Schild
Hi Andreas,

for how long did you test running jailhouse on the device? And did you
operate it via serial or network?
I am currently enabling an ls1043 and network breaks after just
creating a second cell, not even loading or starting it. I guess in
that line i would also like to know which kernel you used and which
device tree, to understand whether you used DPAA from mainline or the
SDK-Version from NXP.

In fact a simple offlining of a CPU breaks networking, no jailhouse no
funny stuff:
echo 0 > /sys/devices/system/cpu/cpu3/online

And that would be for LSDK-18.09-V4.14 from
https://source.codeaurora.org/external/qoriq/qoriq-components/linux
Using the mainline driver stack.

regards,
Henning

Am Tue, 29 Jan 2019 10:00:24 +0100
schrieb :

> From: Andreas Messerschmid 
> 
> This series adds support for the miriac SBC-LS1046A to Jailhouse.
> 
> Andreas Messerschmid (4):
>   configs: miriac-sbc-ls1046a: Add root cell configuration
>   configs: miriac-sbc-ls1046a: Add GIC demo inmate configuration
>   configs: miriac-sbc-ls1046a: Add linux inmate demo configuration
>   configs: miriac-sbc-ls1046a: Add linux inmate demo dts
> 
>  configs/arm64/dts/inmate-miriac-sbc-ls1046a.dts | 106 ++
>  configs/arm64/miriac-sbc-ls1046a-gic-demo.c |  74 
>  configs/arm64/miriac-sbc-ls1046a-linux-demo.c   | 137 +++
>  configs/arm64/miriac-sbc-ls1046a.c  | 458
>  4 files changed, 775 insertions(+)
>  create mode 100644 configs/arm64/dts/inmate-miriac-sbc-ls1046a.dts
>  create mode 100644 configs/arm64/miriac-sbc-ls1046a-gic-demo.c
>  create mode 100644 configs/arm64/miriac-sbc-ls1046a-linux-demo.c
>  create mode 100644 configs/arm64/miriac-sbc-ls1046a.c
> 

-- 
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 jailhouse-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [PATCH 0/4] Add Microsys miriac SBC-LS1046A board support

2019-01-30 Thread Jan Kiszka

On 29.01.19 10:00, andreas.messersch...@linutronix.de wrote:

From: Andreas Messerschmid 

This series adds support for the miriac SBC-LS1046A to Jailhouse.

Andreas Messerschmid (4):
   configs: miriac-sbc-ls1046a: Add root cell configuration
   configs: miriac-sbc-ls1046a: Add GIC demo inmate configuration
   configs: miriac-sbc-ls1046a: Add linux inmate demo configuration
   configs: miriac-sbc-ls1046a: Add linux inmate demo dts

  configs/arm64/dts/inmate-miriac-sbc-ls1046a.dts | 106 ++
  configs/arm64/miriac-sbc-ls1046a-gic-demo.c |  74 
  configs/arm64/miriac-sbc-ls1046a-linux-demo.c   | 137 +++
  configs/arm64/miriac-sbc-ls1046a.c  | 458 
  4 files changed, 775 insertions(+)
  create mode 100644 configs/arm64/dts/inmate-miriac-sbc-ls1046a.dts
  create mode 100644 configs/arm64/miriac-sbc-ls1046a-gic-demo.c
  create mode 100644 configs/arm64/miriac-sbc-ls1046a-linux-demo.c
  create mode 100644 configs/arm64/miriac-sbc-ls1046a.c



Thanks, applied to next, fixing up the whitespace errors in patch 2 and 3 that 
git reported.


Jan

--
Siemens AG, Corporate Technology, CT RDA IOT 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 jailhouse-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [PATCH 0/4] Add Microsys miriac SBC-LS1046A board support

2019-01-30 Thread Andreas Messerschmid
Hi Henning,

On 1/29/19 10:25 AM, Henning Schild wrote:
> Hi Andreas,
> 
> thanks for sharing that! Do you happen to know if that will work for an
> fsl-ls1046a as well? I guess a dts diff should give a clue.
> If it does the target should probably be called fsl-ls1046a.
yes, for sure there is sharing potential with other boards which use the
LS1046a-SoC as well and even the LS1043a is similar. On the other hand
there is also information contained in the Jailhouse config files which
is determined by the board manufacturers like available size of DRAM and
usable debug console. So if a board manufacturer decides to route out
DUART2 instead of DUART1 from the LS1046a as the debug console the
config has to be adapted, too.

As most of the generic configs reflect the hardware board name instead
of the SoC name (except imx8m I guess) as of today, I decided to use
that naming scheme as well in this case.

But yes, we could think of adding some more configurable parts in the
configs if that would be the way to go in future.

Andreas

> 
> We talked off list and i have those configs for an fsl-ls1043a. There
> is good config sharing potential between the two. Let us see if that
> gets merged, and thanks for starting the discussion!
> 
> Henning
> 
> On Tue, 29 Jan 2019 10:00:24 +0100
>  wrote:
> 
>> From: Andreas Messerschmid 
>>
>> This series adds support for the miriac SBC-LS1046A to Jailhouse.
>>
>> Andreas Messerschmid (4):
>>   configs: miriac-sbc-ls1046a: Add root cell configuration
>>   configs: miriac-sbc-ls1046a: Add GIC demo inmate configuration
>>   configs: miriac-sbc-ls1046a: Add linux inmate demo configuration
>>   configs: miriac-sbc-ls1046a: Add linux inmate demo dts
>>
>>  configs/arm64/dts/inmate-miriac-sbc-ls1046a.dts | 106 ++
>>  configs/arm64/miriac-sbc-ls1046a-gic-demo.c |  74 
>>  configs/arm64/miriac-sbc-ls1046a-linux-demo.c   | 137 +++
>>  configs/arm64/miriac-sbc-ls1046a.c  | 458
>>  4 files changed, 775 insertions(+)
>>  create mode 100644 configs/arm64/dts/inmate-miriac-sbc-ls1046a.dts
>>  create mode 100644 configs/arm64/miriac-sbc-ls1046a-gic-demo.c
>>  create mode 100644 configs/arm64/miriac-sbc-ls1046a-linux-demo.c
>>  create mode 100644 configs/arm64/miriac-sbc-ls1046a.c
>>
> 

-- 
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 jailhouse-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [PATCH 0/4] Add Microsys miriac SBC-LS1046A board support

2019-01-29 Thread Henning Schild
Hi Andreas,

thanks for sharing that! Do you happen to know if that will work for an
fsl-ls1046a as well? I guess a dts diff should give a clue.
If it does the target should probably be called fsl-ls1046a.

We talked off list and i have those configs for an fsl-ls1043a. There
is good config sharing potential between the two. Let us see if that
gets merged, and thanks for starting the discussion!

Henning

On Tue, 29 Jan 2019 10:00:24 +0100
 wrote:

> From: Andreas Messerschmid 
> 
> This series adds support for the miriac SBC-LS1046A to Jailhouse.
> 
> Andreas Messerschmid (4):
>   configs: miriac-sbc-ls1046a: Add root cell configuration
>   configs: miriac-sbc-ls1046a: Add GIC demo inmate configuration
>   configs: miriac-sbc-ls1046a: Add linux inmate demo configuration
>   configs: miriac-sbc-ls1046a: Add linux inmate demo dts
> 
>  configs/arm64/dts/inmate-miriac-sbc-ls1046a.dts | 106 ++
>  configs/arm64/miriac-sbc-ls1046a-gic-demo.c |  74 
>  configs/arm64/miriac-sbc-ls1046a-linux-demo.c   | 137 +++
>  configs/arm64/miriac-sbc-ls1046a.c  | 458
>  4 files changed, 775 insertions(+)
>  create mode 100644 configs/arm64/dts/inmate-miriac-sbc-ls1046a.dts
>  create mode 100644 configs/arm64/miriac-sbc-ls1046a-gic-demo.c
>  create mode 100644 configs/arm64/miriac-sbc-ls1046a-linux-demo.c
>  create mode 100644 configs/arm64/miriac-sbc-ls1046a.c
> 

-- 
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 jailhouse-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.