[linux-yocto] [PATCH 1/1] meta: Rangeley Machine Created

Saxena, Rahul rahul.saxena at intel.com
Thu Oct 18 13:14:35 PDT 2012


I need to push back on this. I need to make a internal release quickly and have not
budgeted the time to go over each config option in detail, rebuild, test etc.

The Rangeley meta branch patches I submitted were based on using Crystal Forest Kernel meta
data organization as reference. Crystal Forest kernel branch meta data was created fairly
recently.

I assume at some point the meta-data for other Machines too will be updated as per the 
new scheme, I can do the same for Rangeley at that time.

Thanks
Rahul 

-----Original Message-----
From: Bruce Ashfield [mailto:bruce.ashfield at windriver.com] 
Sent: Thursday, October 18, 2012 12:24 PM
To: Saxena, Rahul
Cc: Darren Hart; linux-yocto at yoctoproject.org
Subject: Re: [PATCH 1/1] meta: Rangeley Machine Created

On 12-10-18 03:21 PM, Saxena, Rahul wrote:
> Darren,
>
>>> +# Make sure these are on, otherwise the bootup won't be fun 
>>> +CONFIG_UNIX=y CONFIG_INET=y CONFIG_MODULES=y CONFIG_SHMEM=y 
>>> +CONFIG_TMPFS=y CONFIG_PACKET=y
>
> Out of the above, I only found CONFIG_SHMEM in standard.cfg
>
> Am I looking at this correctly.
>
> http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-3.4/tree/meta/cf
> g/kernel-cache/ktypes/standard/standard.cfg?h=meta

Look in ktypes/base.cfg as well.

The easiest thing to do is just checkout your meta branch, and grep for what you need. If you see my emenlow commit, I removed everything that was already covered by other fragments.

Cheers,

Bruce

>
>
> Thanks
> Rahul
>
> -----Original Message-----
> From: Bruce Ashfield [mailto:bruce.ashfield at windriver.com]
> Sent: Thursday, October 18, 2012 11:32 AM
> To: Darren Hart
> Cc: Saxena, Rahul; linux-yocto at yoctoproject.org
> Subject: Re: [PATCH 1/1] meta: Rangeley Machine Created
>
> On 12-10-18 02:29 PM, Darren Hart wrote:
>>
>>
>> On 10/18/2012 02:09 PM, rahul.saxena at intel.com wrote:
>>> From: Rahul Saxena <rahul.saxena at intel.com>
>>>
>>> Initial checkin for the new Rangeley Machine Branch.
>>> This Machine is based on the Avoton SOC with nCPM.
>>>
>>> Signed-off-by: Rahul Saxena <Rahul.Saxena at intel.com>
>>> ---
>>>    .../bsp/rangeley/rangeley-preempt-rt.scc           |   11 +++++++
>>>    .../bsp/rangeley/rangeley-standard.scc             |    8 +++++
>>>    meta/cfg/kernel-cache/bsp/rangeley/rangeley.cfg    |   32 ++++++++++++++++++++
>>>    meta/cfg/kernel-cache/bsp/rangeley/rangeley.scc    |    8 +++++
>>>    4 files changed, 59 insertions(+), 0 deletions(-)
>>>    create mode 100644 meta/cfg/kernel-cache/bsp/rangeley/rangeley-preempt-rt.scc
>>>    create mode 100644 meta/cfg/kernel-cache/bsp/rangeley/rangeley-standard.scc
>>>    create mode 100644 meta/cfg/kernel-cache/bsp/rangeley/rangeley.cfg
>>>    create mode 100644 
>>> meta/cfg/kernel-cache/bsp/rangeley/rangeley.scc
>>>
>>> diff --git
>>> a/meta/cfg/kernel-cache/bsp/rangeley/rangeley-preempt-rt.scc
>>> b/meta/cfg/kernel-cache/bsp/rangeley/rangeley-preempt-rt.scc
>>> new file mode 100644
>>> index 0000000..4b78d6a
>>> --- /dev/null
>>> +++ b/meta/cfg/kernel-cache/bsp/rangeley/rangeley-preempt-rt.scc
>>> @@ -0,0 +1,11 @@
>>> +define KMACHINE rangeley
>>> +define KTYPE preempt-rt
>>> +define KARCH x86_64
>>> +
>>> +# no new branch required, re-use the ktypes/preempt-rt branch 
>>> +include ktypes/preempt-rt include bsp/common-pc-64/common-pc-64.scc
>>> +
>>> +include rangeley.scc
>>> +
>>> +# default policy for preempt-rt kernels
>>> diff --git 
>>> a/meta/cfg/kernel-cache/bsp/rangeley/rangeley-standard.scc
>>> b/meta/cfg/kernel-cache/bsp/rangeley/rangeley-standard.scc
>>> new file mode 100644
>>> index 0000000..3330a5c
>>> --- /dev/null
>>> +++ b/meta/cfg/kernel-cache/bsp/rangeley/rangeley-standard.scc
>>> @@ -0,0 +1,8 @@
>>> +define KMACHINE rangeley
>>> +define KTYPE standard
>>> +define KARCH x86_64
>>> +
>>> +include bsp/common-pc-64/common-pc-64-standard
>>> +branch rangeley
>>> +
>>> +include rangeley.scc
>>> diff --git a/meta/cfg/kernel-cache/bsp/rangeley/rangeley.cfg
>>> b/meta/cfg/kernel-cache/bsp/rangeley/rangeley.cfg
>>> new file mode 100644
>>> index 0000000..542f600
>>> --- /dev/null
>>> +++ b/meta/cfg/kernel-cache/bsp/rangeley/rangeley.cfg
>>> @@ -0,0 +1,32 @@
>>> +CONFIG_PRINTK=y
>>> +
>>> +# Basic hardware support for the box - network, PCI, sound 
>>> +CONFIG_NETDEVICES=y CONFIG_ATA=y CONFIG_ATA_GENERIC=y 
>>> +CONFIG_ATA_SFF=y CONFIG_PCI=y CONFIG_MMC=y CONFIG_MMC_SDHCI=y 
>>> +CONFIG_R8169=y CONFIG_PATA_SCH=y CONFIG_MMC_SDHCI_PCI=y 
>>> +CONFIG_PCIEPORTBUS=y CONFIG_NET=y CONFIG_CHR_DEV_SG=y 
>>> +CONFIG_SOUND=y CONFIG_SND=y CONFIG_SND_HDA_INTEL=y
>>> +
>>> +# Make sure these are on, otherwise the bootup won't be fun 
>>> +CONFIG_UNIX=y CONFIG_INET=y CONFIG_MODULES=y CONFIG_SHMEM=y 
>>> +CONFIG_TMPFS=y CONFIG_PACKET=y
>>
>> This block is all policy and really belongs in standard.cfg
>
> They are already. I cleaned up the emelow as an example:
>
> http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-3.4/commit/?h=me
> ta&id=10b5155bdd0dfa95a007972c693a5c49fd338f70
>
> Cheers,
>
> Bruce
>
>>
>> I understand this is copied from other common-pc-64 based BSPs, but 
>> at some point we need to stop doing this.
>>
>> Perhaps 3.6+ is the place to do this at this point.
>>
>> This looks good to me otherwise.
>>
>> --
>> Darren
>>
>>> +
>>> +CONFIG_I2C=y
>>> +CONFIG_AGP=y
>>> +CONFIG_PM=y
>>> +CONFIG_INPUT=y
>>> diff --git a/meta/cfg/kernel-cache/bsp/rangeley/rangeley.scc
>>> b/meta/cfg/kernel-cache/bsp/rangeley/rangeley.scc
>>> new file mode 100644
>>> index 0000000..f2f9187
>>> --- /dev/null
>>> +++ b/meta/cfg/kernel-cache/bsp/rangeley/rangeley.scc
>>> @@ -0,0 +1,8 @@
>>> +kconf hardware rangeley.cfg
>>> +
>>> +include cfg/x86_64.scc
>>> +include cfg/8250.scc
>>> +
>>> +include features/power/intel.scc
>>> +include features/ixgbe/ixgbe.scc
>>> +include features/igb/igb.scc
>>>
>>
>




More information about the linux-yocto mailing list