Re: [yocto] [PATCH 2/9] [meta-intel] Cedartrail: Update SRCREVS and add EFI Support.
On 04/10/2012 11:55 AM, kishore.k.bo...@intel.com wrote: From: Kishore Bodke kishore.k.bo...@intel.com Add EFI support and update the SRCREVS for pvr version of build. Add pvr merge scc file to pull in the pvr patches. Signed-off-by: Kishore Bodke kishore.k.bo...@intel.com --- .../linux/linux-yocto-rt_3.0.bbappend |8 .../recipes-kernel/linux/linux-yocto_3.0.bbappend | 14 -- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend b/meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend index 5a95d3e..2248c88 100644 --- a/meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend +++ b/meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend @@ -3,6 +3,14 @@ COMPATIBLE_MACHINE_cedartrail = cedartrail KMACHINE_cedartrail = cedartrail KERNEL_FEATURES_append_cedartrail += cfg/smp.scc +KERNEL_FEATURES_append_cedartrail += cfg/drm-cdvpvr.scc +KERNEL_FEATURES_append_cedartrail += bsp/cedartrail/cedartrail-pvr-merge.scc +KERNEL_FEATURES_append_cedartrail += cfg/efi-ext.scc I suggest moving all of this into the cedartrail.scc file in the linux-yocto meta branch. These are all core bits required for the BSP, they don't need to be easily changed from recipe-space. The exception would be the pvr bits. You can make a single cedartrail.scc that supports both configs (with and without pvr) and only modify the pvr one here in recipe space - the rest belongs in linux-yocto/meta +COMPATIBLE_MACHINE_cedartrail-nopvr = cedartrail +KMACHINE_cedartrail-nopvr = cedartrail +KERNEL_FEATURES_append_cedartrail-nopvr += cfg/smp.scc Same here. -- Darren + # Update the following to use a different BSP branch or meta SRCREV #KBRANCH_cedartrail = yocto/standard/preempt-rt/base diff --git a/meta-cedartrail/recipes-kernel/linux/linux-yocto_3.0.bbappend b/meta-cedartrail/recipes-kernel/linux/linux-yocto_3.0.bbappend index ca59e72..dc15a5e 100644 --- a/meta-cedartrail/recipes-kernel/linux/linux-yocto_3.0.bbappend +++ b/meta-cedartrail/recipes-kernel/linux/linux-yocto_3.0.bbappend @@ -3,6 +3,16 @@ FILESEXTRAPATHS_prepend := ${THISDIR}/${PN}: COMPATIBLE_MACHINE_cedartrail = cedartrail KMACHINE_cedartrail = yocto/standard/cedartrail KERNEL_FEATURES_append_cedartrail += cfg/smp.scc +KERNEL_FEATURES_append_cedartrail += cfg/drm-cdvpvr.scc +KERNEL_FEATURES_append_cedartrail += bsp/cedartrail/cedartrail-pvr-merge.scc +KERNEL_FEATURES_append_cedartrail += cfg/efi-ext.scc -SRCREV_machine_pn-linux-yocto_cedartrail ?= f389d310965a56091f688b28ea8be6d9cbb7fbbe -SRCREV_meta_pn-linux-yocto_cedartrail ?= 04a52a32cbdf0972033b97b83eaa83eb275dfdc9 +COMPATIBLE_MACHINE_cedartrail-nopvr = cedartrail +KMACHINE_cedartrail-nopvr = yocto/standard/cedartrail +KERNEL_FEATURES_append_cedartrail-nopvr += cfg/smp.scc + +SRCREV_machine_pn-linux-yocto_cedartrail ?= 81fd8c307997aff37916828dc8b4ef72f5d35a94 +SRCREV_meta_pn-linux-yocto_cedartrail ?= a4ac64fe873f08ef718e2849b88914725dc99c1c + +SRCREV_machine_pn-linux-yocto_cedartrail-nopvr ?= 81fd8c307997aff37916828dc8b4ef72f5d35a94 +SRCREV_meta_pn-linux-yocto_cedartrail-nopvr ?= a4ac64fe873f08ef718e2849b88914725dc99c1c -- Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] [PATCH 2/9] [meta-intel] Cedartrail: Update SRCREVS and add EFI Support.
KERNEL_FEATURES_append_cedartrail += cfg/smp.scc +KERNEL_FEATURES_append_cedartrail += cfg/drm-cdvpvr.scc +KERNEL_FEATURES_append_cedartrail += bsp/cedartrail/cedartrail-pvr- merge.scc +KERNEL_FEATURES_append_cedartrail += cfg/efi-ext.scc I suggest moving all of this into the cedartrail.scc file in the linux-yocto meta branch. These are all core bits required for the BSP, they don't need to be easily changed from recipe-space. The exception would be the pvr bits. You can make a single cedartrail.scc that supports both configs (with and without pvr) and only modify the pvr one here in recipe space - the rest belongs in linux-yocto/meta Hi Darren, All the above are specific to pvr only. (cfg/drm-cdvpvr.scc , bsp/cedartrail/cedartrail-pvr-merge.scc, and cfg/efi-ext.scc) These are not needed for without pvr versions of the BSP. I think if I move them to Cedartrail.scc, these will get pulled in for no-pvr version of the build and may cause the build to fail. Thanks Kishore. +COMPATIBLE_MACHINE_cedartrail-nopvr = cedartrail +KMACHINE_cedartrail-nopvr = cedartrail +KERNEL_FEATURES_append_cedartrail-nopvr += cfg/smp.scc Same here. -- Darren -- Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] [PATCH 2/9] [meta-intel] Cedartrail: Update SRCREVS and add EFI Support.
On 04/23/2012 11:31 AM, Bodke, Kishore K wrote: KERNEL_FEATURES_append_cedartrail += cfg/smp.scc +KERNEL_FEATURES_append_cedartrail += cfg/drm-cdvpvr.scc +KERNEL_FEATURES_append_cedartrail += bsp/cedartrail/cedartrail-pvr- merge.scc +KERNEL_FEATURES_append_cedartrail += cfg/efi-ext.scc I suggest moving all of this into the cedartrail.scc file in the linux-yocto meta branch. These are all core bits required for the BSP, they don't need to be easily changed from recipe-space. The exception would be the pvr bits. You can make a single cedartrail.scc that supports both configs (with and without pvr) and only modify the pvr one here in recipe space - the rest belongs in linux-yocto/meta Hi Darren, All the above are specific to pvr only. You can't use EFI to boot the system with the pvr driver? -- Darren (cfg/drm-cdvpvr.scc , bsp/cedartrail/cedartrail-pvr-merge.scc, and cfg/efi-ext.scc) These are not needed for without pvr versions of the BSP. I think if I move them to Cedartrail.scc, these will get pulled in for no-pvr version of the build and may cause the build to fail. Thanks Kishore. +COMPATIBLE_MACHINE_cedartrail-nopvr = cedartrail +KMACHINE_cedartrail-nopvr = cedartrail +KERNEL_FEATURES_append_cedartrail-nopvr += cfg/smp.scc Same here. -- Darren -- Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel -- Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] [PATCH 2/9] [meta-intel] Cedartrail: Update SRCREVS and add EFI Support.
-Original Message- From: Hart, Darren Sent: Monday, April 23, 2012 12:33 PM To: Bodke, Kishore K Cc: yocto@yoctoproject.org; Zanussi, Tom Subject: Re: [yocto] [PATCH 2/9] [meta-intel] Cedartrail: Update SRCREVS and add EFI Support. On 04/23/2012 11:31 AM, Bodke, Kishore K wrote: KERNEL_FEATURES_append_cedartrail += cfg/smp.scc +KERNEL_FEATURES_append_cedartrail += cfg/drm-cdvpvr.scc +KERNEL_FEATURES_append_cedartrail += bsp/cedartrail/cedartrail- pvr- merge.scc +KERNEL_FEATURES_append_cedartrail += cfg/efi-ext.scc I suggest moving all of this into the cedartrail.scc file in the linux-yocto meta branch. These are all core bits required for the BSP, they don't need to be easily changed from recipe-space. The exception would be the pvr bits. You can make a single cedartrail.scc that supports both configs (with and without pvr) and only modify the pvr one here in recipe space - the rest belongs in linux-yocto/meta Hi Darren, All the above are specific to pvr only. You can't use EFI to boot the system with the pvr driver? EFI is also for pvr build only. For without pvr builds EFI boot is not supported. Thanks Kishore. -- Darren (cfg/drm-cdvpvr.scc , bsp/cedartrail/cedartrail-pvr-merge.scc, and cfg/efi-ext.scc) These are not needed for without pvr versions of the BSP. I think if I move them to Cedartrail.scc, these will get pulled in for no-pvr version of the build and may cause the build to fail. Thanks Kishore. +COMPATIBLE_MACHINE_cedartrail-nopvr = cedartrail +KMACHINE_cedartrail-nopvr = cedartrail +KERNEL_FEATURES_append_cedartrail-nopvr += cfg/smp.scc Same here. -- Darren -- Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel -- Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto