From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: John Sini <jhnsini@gmail.com>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] Section mismatch - Porting Xenomai to linux-xlnx-V14.5 zynq SoC
Date: Fri, 28 Nov 2014 12:13:25 +0100 [thread overview]
Message-ID: <20141128111325.GD5069@hermes> (raw)
In-Reply-To: <CAPozGf=zAFgV=fbinambu1_xEiR3qD7Affppw-i6ZbD4nvJsRw@mail.gmail.com>
On Fri, Nov 28, 2014 at 12:03:09PM +0100, John Sini wrote:
> Hello,
>
> I am new with Xenomai and I am trying to port it to linux-xlnx-V14.5 zynq
> as suggested on the following site:
>
> http://www.wiki.xilinx.com/Xenomai+for+Zynq
>
> Patches that I have applied(in the following order)
>
>
> *ipipe-core-3.8-zynq-pre.patch*
> *ipipe-core-3.8-arm-1.patch*
> *ipipe-core-3.8-zynq-post.patch*
>
>
> I have disabled the support of RPMsg ((remoteproc) and of CPU_HOTPLUG
> prior to compiling the kernel(I configured the kernel as suggested on
> the aforementioned website). I get getting the following warnings:
>
> WARNING: vmlinux.o(.text+0x106b4): Section mismatch in reference from
> the function __ipipe_tsc_register() to the variable
> .init.text:__kuser_helper_end
> The function __ipipe_tsc_register() references
> the variable __init __kuser_helper_end.
> This is often because __ipipe_tsc_register lacks a __init
> annotation or the annotation of __kuser_helper_end is wrong.
>
> WARNING: vmlinux.o(.text+0x106b8): Section mismatch in reference from
> the function __ipipe_tsc_register() to the variable
> .init.text:__ipipe_tsc_area_start
> The function __ipipe_tsc_register() references
> the variable __init __ipipe_tsc_area_start.
> This is often because __ipipe_tsc_register lacks a __init
> annotation or the annotation of __ipipe_tsc_area_start is wrong.
For this, you can do what the warning says, add the __init attribute
to the __ipipe_tsc_register function. This has been made in later
patches. 3.8 is old, we do not have the necessary resources to
maintain all past versions of the I-pipe patch at all times.
>
> WARNING: vmlinux.o(.text+0x2ea760): Section mismatch in reference from
> the function vexpress_sysreg_probe() to the function
> .init.text:vexpress_sysreg_setup()
> The function vexpress_sysreg_probe() references
> the function __init vexpress_sysreg_setup().
> This is often because vexpress_sysreg_probe lacks a __init
> annotation or the annotation of vexpress_sysreg_setup is wrong.
This probably has nothing to do with Xenomai.
>
>
> Can any of you help me how to fix these warnings? I have seen the same
> problem here:
>
> http://www.xenomai.org/pipermail/xenomai/2013-October/029390.html
>
> But I have disabled all necessary options in the kernel config and
> still get these warnings.
what necessary option?
--
Gilles.
next prev parent reply other threads:[~2014-11-28 11:13 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-28 11:03 [Xenomai] Section mismatch - Porting Xenomai to linux-xlnx-V14.5 zynq SoC John Sini
2014-11-28 11:13 ` Gilles Chanteperdrix [this message]
2014-11-28 11:19 ` John Sini
2014-11-28 11:48 ` Gilles Chanteperdrix
2014-11-28 13:03 ` John Sini
2014-11-28 13:40 ` John Sini
2014-11-28 18:19 ` John Sini
2014-11-28 18:21 ` Gilles Chanteperdrix
2014-12-01 14:35 ` John Sini
2014-12-01 14:39 ` Gilles Chanteperdrix
2014-12-01 15:26 ` John Sini
2014-12-01 15:29 ` Gilles Chanteperdrix
2014-12-01 15:45 ` John Sini
2014-12-01 16:15 ` Gilles Chanteperdrix
2014-12-03 13:32 ` John Sini
2014-12-03 13:34 ` Gilles Chanteperdrix
2014-12-03 13:36 ` John Sini
2014-12-01 21:30 ` Matthew Fornero
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141128111325.GD5069@hermes \
--to=gilles.chanteperdrix@xenomai.org \
--cc=jhnsini@gmail.com \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.