From: Bob Cochran <ppc@mindchasers.com>
To: Scott Wood <scottwood@freescale.com>,
Pan Lijun-B44306 <Lijun.Pan@freescale.com>
Cc: "linuxppc-dev@ozlabs.org" <linuxppc-dev@ozlabs.org>,
Schmitt Richard-B43082 <richard.schmitt@freescale.com>
Subject: Re: new way of writing defconfigs for freescale's powerpc platforms
Date: Thu, 16 Apr 2015 00:44:39 -0400 [thread overview]
Message-ID: <552F3E37.7030507@mindchasers.com> (raw)
In-Reply-To: <1428618671.22867.551.camel@freescale.com>
On 04/09/2015 06:31 PM, Scott Wood wrote:
> On Thu, 2015-04-09 at 16:52 -0500, Pan Lijun-B44306 wrote:
>> Hi Maintainers,
>>
>> We have a proposal for writing the defconfigs for freescale's powperpc platforms in a new way.
>> Can you take a look and provide some feedback?
>>
>> You know currently we have mpc85xx_defconfig, corenet32_defconfig, bsc913x_defconfig, *fman*_defconfig, etc.
>> We are going to extract some common parts from the existing defconfigs, and name it, say, fsl_basic_defconfig.
>> Then, we could create some defconfigs targeting specific features or specific platforms.
>> Say, features specific: kvm_defconfig, fman_defconfig, etc.
>> Platforms specific: p1_defconfig, p2_defcongfig, p4_defconfig, t1_defconfig, t2_defconfig, t2_defconfig, b4_defconfig, etc
>> When we want to make a kernel image for p1 platform,
>> Using the following steps:
>>
>> make ./scripts/kconfig/merge_config.sh arch/powerpc/configs/fsl_basic_config p1_defconfig
>> make
>>
>> What do you think of this new approach?
>> Will you accept this approach?
>
> I'm OK with a merge_config approach.
>
> I'm not OK with having separate builds for p1/p2/p4/t1/t2/b4.
>
> -Scott
As you probably know, Freescale makes use of the Yocto Project build
system for its SDK and submits patches to the SDK at a public
meta-fsl-ppc repo at http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-ppc/
I have seen some kernel related patches in the past come across the
Yocto Project site that made use of the Yocto Project kernel tools,
which includes a process for maintaining kernel configuration fragments.
It sounds like the requirements you have could be met with Yocto's
existing process.
I was hoping to see Freescale continue to move in the direction of using
the Yocto kernel tools rather than roll its own solution.
The Yocto kernel tools make use of description files (*.scc) and
configuration fragments (*.cfg).
Here is a link to the latest stable Yocto kernel development manual:
http://www.yoctoproject.org/docs/1.7.1/kernel-dev/kernel-dev.html
Bob
>
>
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev
>
next prev parent reply other threads:[~2015-04-16 4:49 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-09 21:52 new way of writing defconfigs for freescale's powerpc platforms Lijun Pan
2015-04-09 22:31 ` Scott Wood
2015-04-16 4:44 ` Bob Cochran [this message]
2015-04-16 13:20 ` Bob Cochran
2015-04-16 13:37 ` Richard Schmitt
2015-04-16 18:39 ` Scott Wood
2015-04-16 17:04 ` Lijun Pan
2015-04-17 0:54 ` Michael Ellerman
2015-04-17 4:13 ` Scott Wood
2015-04-17 6:18 ` Michael Ellerman
2015-04-17 18:50 ` Lijun Pan
2015-04-17 18:52 ` Scott Wood
2015-04-18 4:53 ` Lijun Pan
2015-04-18 13:46 ` Timur Tabi
2015-04-20 20:31 ` Scott Wood
2015-04-21 2:02 ` Timur Tabi
2015-04-21 2:09 ` Scott Wood
2015-04-21 3:42 ` Timur Tabi
2015-04-21 5:01 ` Scott Wood
2015-04-21 13:25 ` Timur Tabi
2015-04-21 17:55 ` Scott Wood
2015-04-21 18:11 ` Timur Tabi
2015-04-21 18:12 ` Scott Wood
2015-04-21 3:27 ` Michael Ellerman
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=552F3E37.7030507@mindchasers.com \
--to=ppc@mindchasers.com \
--cc=Lijun.Pan@freescale.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=richard.schmitt@freescale.com \
--cc=scottwood@freescale.com \
/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).