LLDPUG yocto implementation problem

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

LLDPUG yocto implementation problem

跳至解决方案
1,630 次查看
jackho
Contributor IV

Hi,

We are now implementation with LLPDUG 5.15.71 on LX2160ARDB_REV2

Some questions below want to check with you. 

1. About meta-layer, I saw meta-qoriq, meta-freescale and meta-nxp-desktop, I am a little confused about  what is different between these layers, which layer is specific for lx2160ardb platform?

2. About u-boot bb files, I saw the below path both have u-boot bb files, how do I confirm which one I am using for lx2160ardb_rev2?

./meta-freescale/recipes-bsp/u-boot/u-boot-qoriq_2021.04.bb

./meta-qoriq/recipes-bsp/u-boot/u-boot-qoriq_2022.04.bb

3. I am trying to modify rcw for our hardware customization and using devtool to generate patch, but it seems the patch does not apply, I saw original rcw_git.bb is in meta-freescale, but meta-qoriq also has rcw_git.bbappend file and I put the patch on meta-qoriq/recipes-bsp/rcw, but the patch didn't apply,  

Thanks.

BR,

Jack Ho

0 项奖励
回复
1 解答
1,612 次查看
yipingwang
NXP TechSupport
NXP TechSupport

1.The layer meta-qoriq contains the latest Yocto SDK changes of Layerscape;

  • And these changes will upstream from meta-qoriq to meta-freescale after NXP BSP releases.
  • NXP does not own the layer meta-freescale, which is belong to Yocto community. It contains some customization of other contributors using our SoCs.

meta-nxp-desktop contains recipes for Ubuntu filesystem.

meta-qoriq+meta-freescale is specific for lx2160ardb platform.

2. You should use meta-qoriq/recipes-bsp/u-boot/u-boot-qoriq_2022.04.bb

3. Please try this method.

$ source build_lx2160ardb-rev2/SOURCE_THIS

$ bitbake rcw -c patch -f

Please go to rcw source folder tmp/work/lx2160ardb_rev2-fsl-linux/rcw/git-r0/git/ and apply your patch and do some modifications.

$ patch -p1 <your_patch>

Rebuild rcw with the following command.

$ bitbake rcw -c compile -f

$ bitbake rcw

 

在原帖中查看解决方案

1 回复
1,613 次查看
yipingwang
NXP TechSupport
NXP TechSupport

1.The layer meta-qoriq contains the latest Yocto SDK changes of Layerscape;

  • And these changes will upstream from meta-qoriq to meta-freescale after NXP BSP releases.
  • NXP does not own the layer meta-freescale, which is belong to Yocto community. It contains some customization of other contributors using our SoCs.

meta-nxp-desktop contains recipes for Ubuntu filesystem.

meta-qoriq+meta-freescale is specific for lx2160ardb platform.

2. You should use meta-qoriq/recipes-bsp/u-boot/u-boot-qoriq_2022.04.bb

3. Please try this method.

$ source build_lx2160ardb-rev2/SOURCE_THIS

$ bitbake rcw -c patch -f

Please go to rcw source folder tmp/work/lx2160ardb_rev2-fsl-linux/rcw/git-r0/git/ and apply your patch and do some modifications.

$ patch -p1 <your_patch>

Rebuild rcw with the following command.

$ bitbake rcw -c compile -f

$ bitbake rcw

 

%3CLINGO-SUB%20id%3D%22lingo-sub-1876731%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ELLDPUG%20yocto%20%E5%AE%9E%E7%8E%B0%E9%97%AE%E9%A2%98%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1876731%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%E6%88%91%E4%BB%AC%E7%8E%B0%E5%9C%A8%E5%9C%A8%20LX2160ARDB_REV2%20%E4%B8%8A%E4%BD%BF%E7%94%A8%20LLPDUG%205.15.71%20%E5%AE%9E%E7%8E%B0%3C%2FP%3E%3CP%3E%E4%B8%8B%E9%9D%A2%E6%9C%89%E4%B8%80%E4%BA%9B%E9%97%AE%E9%A2%98%E6%83%B3%E4%B8%8E%E6%82%A8%E6%A0%B8%E5%AE%9E%E4%B8%80%E4%B8%8B%E3%80%82%3C%2FP%3E%3CP%3E1.%E5%85%B3%E4%BA%8E%E5%85%83%E5%B1%82%EF%BC%8C%E6%88%91%E7%9C%8B%E5%88%B0%E4%BA%86%20meta-qoriq%E3%80%81meta-freescale%20%E5%92%8C%20meta-nxp-desktop%EF%BC%8C%E6%88%91%E6%9C%89%E7%82%B9%E5%9B%B0%E6%83%91%E8%BF%99%E4%BA%9B%E5%B1%82%E4%B9%8B%E9%97%B4%E6%9C%89%E4%BB%80%E4%B9%88%E4%B8%8D%E5%90%8C%EF%BC%8C%E5%93%AA%E4%B8%80%E5%B1%82%E6%98%AF%E7%89%B9%E5%AE%9A%E4%BA%8E%20lx2160ardb%20%E5%B9%B3%E5%8F%B0%E7%9A%84%EF%BC%9F%3C%2FP%3E%3CP%3E2.%20%E5%85%B3%E4%BA%8E%20u-boot%20bb%20%E6%96%87%E4%BB%B6%EF%BC%8C%E6%88%91%E7%9C%8B%E5%88%B0%E4%BB%A5%E4%B8%8B%E8%B7%AF%E5%BE%84%E9%83%BD%E6%9C%89%20u-boot%20bb%20%E6%96%87%E4%BB%B6%EF%BC%8C%E6%88%91%E5%A6%82%E4%BD%95%E7%A1%AE%E8%AE%A4%E6%88%91%E6%AD%A3%E5%9C%A8%E4%B8%BA%20lx2160ardb_rev2%20%E4%BD%BF%E7%94%A8%E5%93%AA%E4%B8%80%E4%B8%AA%EF%BC%9F%3C%2FP%3E%3CP%3E%3CSPAN%3E.%2Fmeta-freescale%2Frecipes-bsp%2Fu-boot%2Fu-boot-qoriq_2021.04.bb%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E.%2Fmeta-qoriq%2Frecipes-bsp%2Fu-boot%2Fu-boot-qoriq_2022.04.bb%3C%2FP%3E%3CP%3E3.%20%E6%88%91%E6%AD%A3%E5%9C%A8%E5%B0%9D%E8%AF%95%E4%BF%AE%E6%94%B9%20rcw%20%E4%BB%A5%E8%BF%9B%E8%A1%8C%E7%A1%AC%E4%BB%B6%E5%AE%9A%E5%88%B6%EF%BC%8C%E5%B9%B6%E4%BD%BF%E7%94%A8%20devtool%20%E7%94%9F%E6%88%90%E8%A1%A5%E4%B8%81%EF%BC%8C%E4%BD%86%E8%A1%A5%E4%B8%81%E4%BC%BC%E4%B9%8E%E4%B8%8D%E9%80%82%E7%94%A8%EF%BC%8C%E6%88%91%E7%9C%8B%E5%88%B0%E5%8E%9F%E5%A7%8B%20rcw_git.bb%20%E5%9C%A8%20meta-freescale%20%E4%B8%AD%EF%BC%8C%E4%BD%86%20meta-qoriq%20%E4%B9%9F%E6%9C%89%20rcw_git.bbappend%20%E6%96%87%E4%BB%B6%EF%BC%8C%E6%88%91%E5%B0%86%E8%A1%A5%E4%B8%81%E6%94%BE%E5%9C%A8%20meta-qoriq%2Frecipes-bsp%2Frcw%20%E4%B8%8A%EF%BC%8C%E4%BD%86%E8%A1%A5%E4%B8%81%E6%B2%A1%E6%9C%89%E5%BA%94%E7%94%A8%EF%BC%8C%3C%2FP%3E%3CP%3E%E8%B0%A2%E8%B0%A2%E3%80%82%3C%2FP%3E%3CP%3EBR%2C%3C%2FP%3E%3CP%3E%E4%BD%95%E6%9D%B0%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1877156%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9ALLDPUG%20yocto%20%E5%AE%9E%E7%8E%B0%E9%97%AE%E9%A2%98%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1877156%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E1.%3CSPAN%3E%E5%B1%82%20meta-qoriq%20%E5%8C%85%E5%90%AB%20Layerscape%20%E7%9A%84%E6%9C%80%E6%96%B0%20Yocto%20SDK%20%E6%9B%B4%E6%94%B9%EF%BC%9B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSPAN%3E%E5%B9%B6%E4%B8%94%E8%BF%99%E4%BA%9B%E5%8F%98%E5%8C%96%E5%B0%86%E5%9C%A8%20NXP%20BSP%20%E5%8F%91%E5%B8%83%E5%90%8E%E4%BB%8E%20meta-qoriq%20%E4%B8%8A%E6%B8%B8%E5%88%B0%20meta-freescale%E3%80%82%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3ENXP%20%E4%B8%8D%E6%8B%A5%E6%9C%89%20meta-freescale%20%E5%B1%82%EF%BC%8C%E8%AF%A5%E5%B1%82%E5%B1%9E%E4%BA%8E%20Yocto%20%E7%A4%BE%E5%8C%BA%E3%80%82%E5%AE%83%E5%8C%85%E5%90%AB%E5%85%B6%E4%BB%96%E8%B4%A1%E7%8C%AE%E8%80%85%E4%BD%BF%E7%94%A8%E6%88%91%E4%BB%AC%E7%9A%84%20SoC%20%E8%BF%9B%E8%A1%8C%E7%9A%84%E4%B8%80%E4%BA%9B%E5%AE%9A%E5%88%B6%E3%80%82%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSPAN%3Emeta-nxp-desktop%20%E5%8C%85%E5%90%AB%20Ubuntu%20%E6%96%87%E4%BB%B6%E7%B3%BB%E7%BB%9F%E7%9A%84%E9%85%8D%E6%96%B9%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Emeta-qoriq%2Bmeta-freescale%20%E4%B8%93%E7%94%A8%E4%BA%8E%20lx2160ardb%20%E5%B9%B3%E5%8F%B0%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E2.%20%E6%82%A8%E5%BA%94%E8%AF%A5%E4%BD%BF%E7%94%A8%20meta-qoriq%2Frecipes-bsp%2Fu-boot%2Fu-boot-qoriq_2022.04.bb%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E3.%E8%AF%B7%E5%B0%9D%E8%AF%95%E6%AD%A4%E6%96%B9%E6%B3%95%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%24%E6%BA%90build_lx2160ardb-rev2%2FSOURCE_THIS%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%24%20bitbake%20rcw%20-c%20%E8%A1%A5%E4%B8%81%20-f%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%E8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