linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* new way of writing defconfigs for freescale's powerpc platforms
@ 2015-04-09 21:52 Lijun Pan
  2015-04-09 22:31 ` Scott Wood
  2015-04-17  0:54 ` Michael Ellerman
  0 siblings, 2 replies; 24+ messages in thread
From: Lijun Pan @ 2015-04-09 21:52 UTC (permalink / raw)
  To: linuxppc-dev@ozlabs.org; +Cc: Scott Wood, Richard Schmitt

Hi Maintainers,

We have a proposal for writing the defconfigs for freescale's powperpc plat=
forms 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 specif=
ic 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_confi=
g p1_defconfig
make

What do you think of this new approach?
Will you accept this approach?

Here is a brief quote of the reasons why we take this approach.
"we've had complaints in the past that some feature X  is available on one =
platform but not another.=20
Why.  And our answer has been, it's arbitrary.=20
Some platform config files define it, and some platform config files don't.=
 =20
That's because when someone adds a feature, they don't update all relevant =
defconfigs.

Sometimes config files that should be very similar, are in fact very differ=
ent.=20
take for example corenet32_smp_defconfig and corenet64_smp_defconfig. =20
There are differences in mtd settings, and others when the only difference =
should be very close to just PPC64.

So the hope was to create some kind of layered architecture. =20
Have a basic defconfig, then maybe have a fragment for 64 bit,=20
then fragments for particular platform differences, then a fragment for KVM=
,=20
and a fragment for ASF and so on."

Thanks
Lijun

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

end of thread, other threads:[~2015-04-21 18:20 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).