From: s.hauer@pengutronix.de (Sascha Hauer)
To: linux-arm-kernel@lists.infradead.org
Subject: Single binary kernel for all i.MX
Date: Sun, 7 Nov 2010 12:34:29 +0100 [thread overview]
Message-ID: <20101107113429.GA6017@pengutronix.de> (raw)
In-Reply-To: <AANLkTikKemXjQYZ9axTP-60bu9xjGrmPE9imf+EDB-p_@mail.gmail.com>
Hi Eric,
On Sat, Nov 06, 2010 at 02:59:02AM +0800, Eric Miao wrote:
> On Fri, Nov 5, 2010 at 8:31 PM, Sascha Hauer <s.hauer@pengutronix.de> wrote:
> > On Fri, Nov 05, 2010 at 02:29:46PM +0200, Baruch Siach wrote:
> >> Hi Sascha,
> >>
> >> On Fri, Nov 05, 2010 at 01:18:00PM +0100, Sascha Hauer wrote:
> >> > We are talking about a single kernel for longer now, here is something
> >> > to test for the ones interested:
> >> >
> >> > git://git.pengutronix.de/git/imx/linux-2.6.git imx-single-kernel
> >> >
> >> > Compiling the imx_defconfig will result in a kernel which works
> >> > i.MX21, i.MX27, i.MX31, i.MX35 and i.MX51 (not tested on i.MX21).
> >> > i.MX1 does not work mainly because the kernel build will use some ARMv5
> >> > and later instructions.
> >>
> >> What is blocking i.MX25 from being included?
> >
> > It is. I just forgot to mention.
>
> Hrm... the imx series is placing all header files in
> arch/arm/plat-mxc/include/plat
> instead of within each mach-*. Most other sub-arch doesn't behave like that at
> this moment and getting them built together ain't easy.
Indeed I had to move back one header file under mach-imx/include/mach
back to plat-mxc/include/mach.
>
> BTW, did you get it tested on different boards, I'd be interested to see what
> could be the potential issues at run-time.
I only booted up a root nfs on different boards and was happy that it
worked so far. I have no experience with kernels supporting v5/v6/v7 in
a single binary. Has anybody tried this before? At least the defconfigs
don't show an example for this.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
next prev parent reply other threads:[~2010-11-07 11:34 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-05 12:18 Single binary kernel for all i.MX Sascha Hauer
2010-11-05 12:29 ` Baruch Siach
2010-11-05 12:31 ` Sascha Hauer
2010-11-05 18:59 ` Eric Miao
2010-11-07 11:34 ` Sascha Hauer [this message]
2010-11-12 15:40 ` Shawn Guo
2010-11-12 15:53 ` Uwe Kleine-König
2010-11-12 17:29 ` Gadiyar, Anand
2010-11-12 18:50 ` Uwe Kleine-König
2010-11-13 15:30 ` Nicolas Pitre
2010-11-13 15:26 ` Nicolas Pitre
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=20101107113429.GA6017@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).