All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Xenomai] ARMv8 (ARM64) port of Xenomai
@ 2015-03-26 22:58 Don Mahurin
  2015-03-26 23:05 ` Gilles Chanteperdrix
  2015-03-27  0:13 ` Lennart Sorensen
  0 siblings, 2 replies; 24+ messages in thread
From: Don Mahurin @ 2015-03-26 22:58 UTC (permalink / raw)
  To: xenomai

On Sat, Mar 21, 2015 at 6:21 AM, Gilles Chanteperdrix
<gilles.chanteperdrix at xenomai.org
<http://www.xenomai.org/mailman/listinfo/xenomai>> wrote:
>* On Sat, Mar 21, 2015 at 02:11:11PM +0100, Gilles Chanteperdrix wrote:
*>>* On Fri, Mar 20, 2015 at 05:06:36PM -0700, Hongfei Cheng wrote:
*>>* > Gilles - Thank you for sharing the link and updating us with
your schedule.
*>>* >
*>>* > I just started to port the I-pipe and Xenomai-3 code for supporting
*>>* > the ARMv8 architecture. Based on my limited understanding of Xenomai,
*>>* > it appears that the following changes are required in order to get
*>>* > Xenomai-3 running on the ARMv8 SoC we plan to use (Qualcomm msm8994):
*>>* >
*>>* > 1). In vendor kernel tree, add I-pipe support to arm64 generic arch
*>>* > code: arch/arm64/boot, arch/arm64/kernel, etc.
*>>* > 2). In vendor kernel tree, add I-pipe support to arm64 MMU: arch/arm64/mm
*>>* > 3). In vendor kernel tree, add I-pipe support to platform-specific
*>>* > device tree: arm(64)/boot/dts/qcom
*>>* > 4). In vendor kernel tree, add I-pipe support to SoC and platform
*>>* > dependent drivers for arm64: drivers/gpio, drivers/irqchip(?),
*>>* > drivers/clocksource(?)
*>>* > 5). In xenomai-3 tree, support arm64 in Cobalt kernel:
kernel/cobalt/arch/arm64
*>>* >
*>>* > Do you (and anyone else who's working on ARMv8) see any critical
*>>* > modules missing from my list?
*>>>>* No, but the contrary, there is no reason to touch boot, kernel, mm.
*>>* Also, I would do things step by step. First get irq interception
*>* working, then timer interception, at that point I would test with
*>* rtdm kernel tasks only (without CONFIG_SMP). Then add CONFIG_SMP and
*>* get SMP specific stuff working, like IPI interception working, test
*>* with rtdm tasks again, testing on the various cores. Then finally
*>* add fault/syscall interception, and test with default latency test.
*>>* I would use xenomai 3.x for testing, it will avoid quite a few
*>* complicated things (kernel-space tasks without task_struct, hybrid
*>* context switch), and we could leave it at that and decide that
*

Another basic question regarding this porting effort:

Before any arm64 specific changes or platform specific changes, would
just merging the i-pipe patch/tree (merging ipipe-3.10 into the vendor
kernel for instance) be expected to boot, with CONFIG_IPIPE not set?
Or will that lead to undefined results?

-Don Mahurin

^ permalink raw reply	[flat|nested] 24+ messages in thread
* [Xenomai] ARMv8 (ARM64) port of Xenomai
@ 2015-03-20 16:45 Hongfei Cheng
  2015-03-20 18:13 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 24+ messages in thread
From: Hongfei Cheng @ 2015-03-20 16:45 UTC (permalink / raw)
  To: xenomai

Gilles,

Do you mind to share the maker of the ARMv8 board which you are
working on, as indicated in the posting below?

Thanks,
Hongfei

Gilles Chanteperdrix gilles.chanteperdrix at xenomai.org
Mon Feb 16 21:44:38 CET 2015

On Mon, Feb 16, 2015 at 12:15:41PM -0800, Gary Gitelson wrote:
> Hi,
>
>     There is an excellent guide for porting Xenomai to other ARM-based SOCs.
> But this seems to assume that they are 32-bit ARM SOCs, based on ARMv7 or
> lower.  Is there active work, or a guide or assistance, on porting to SOCs
> based on ARMv8 architectures (specifically, in my case, the Qualcomm
> MSM8994).

No, everything needs to be done for armv8.

>  I assume that almost everything in the arch/arm portion of the
> kernel would need to exist in the arch/arm64 subtree, but I am not sure
> exactly what is involved here.
>     Any assistance, or leads on existing work, would be much appreciated.

Linaro donated an ARMv8 board, I will start working on the I-pipe
port soon, but can not promise it will be finished rapidly.

-- 
   Gilles.


^ permalink raw reply	[flat|nested] 24+ messages in thread
* [Xenomai] ARMv8 (ARM64) port of Xenomai
@ 2015-02-16 20:15 Gary Gitelson
  2015-02-16 20:44 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 24+ messages in thread
From: Gary Gitelson @ 2015-02-16 20:15 UTC (permalink / raw)
  To: xenomai

Hi,

     There is an excellent guide for porting Xenomai to other ARM-based 
SOCs.  But this seems to assume that they are 32-bit ARM SOCs, based on 
ARMv7 or lower.  Is there active work, or a guide or assistance, on 
porting to SOCs based on ARMv8 architectures (specifically, in my case, 
the Qualcomm MSM8994).  I assume that almost everything in the arch/arm 
portion of the kernel would need to exist in the arch/arm64 subtree, but 
I am not sure exactly what is involved here.
     Any assistance, or leads on existing work, would be much appreciated.

Thanks,
Gary



^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2015-04-02 17:56 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-26 22:58 [Xenomai] ARMv8 (ARM64) port of Xenomai Don Mahurin
2015-03-26 23:05 ` Gilles Chanteperdrix
2015-03-26 23:29   ` Don Mahurin
2015-03-27  0:13 ` Lennart Sorensen
2015-03-27  7:55   ` Gilles Chanteperdrix
  -- strict thread matches above, loose matches on Subject: below --
2015-03-20 16:45 Hongfei Cheng
2015-03-20 18:13 ` Gilles Chanteperdrix
2015-03-21  0:06   ` Hongfei Cheng
2015-03-21 13:11     ` Gilles Chanteperdrix
2015-03-21 13:21       ` Gilles Chanteperdrix
2015-03-23  6:01         ` Hongfei Cheng
2015-03-23  9:03           ` Jan Kiszka
2015-03-23  9:53             ` Gilles Chanteperdrix
2015-03-23 14:00               ` Jan Kiszka
2015-03-23 15:25                 ` Gilles Chanteperdrix
2015-03-24 14:40                   ` Jan Kiszka
2015-03-24 15:27                     ` Gilles Chanteperdrix
2015-04-02  8:12                       ` Hongfei Cheng
2015-04-02  9:04                         ` Gilles Chanteperdrix
2015-04-02 17:56                           ` Hongfei Cheng
2015-03-23 11:50         ` Jorge Ramirez Ortiz
2015-03-23  5:56       ` Hongfei Cheng
2015-02-16 20:15 Gary Gitelson
2015-02-16 20:44 ` Gilles Chanteperdrix

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.