LLDPUG yocto implementation problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LLDPUG yocto implementation problem

Jump to solution
954 Views
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 Kudos
Reply
1 Solution
937 Views
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

 

View solution in original post

1 Reply
938 Views
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%20implementation%20problem%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%3EWe%20are%20now%20implementation%20with%20LLPDUG%205.15.71%20on%20LX2160ARDB_REV2%3C%2FP%3E%3CP%3ESome%20questions%20below%20want%20to%20check%20with%20you.%26nbsp%3B%3C%2FP%3E%3CP%3E1.%20About%20meta-layer%2C%20I%20saw%20meta-qoriq%2C%20meta-freescale%20and%26nbsp%3Bmeta-nxp-desktop%2C%20I%20am%20a%20little%20confused%20about%20%26nbsp%3Bwhat%20is%20different%20between%20these%20layers%2C%20which%20layer%20is%20specific%20for%20lx2160ardb%20platform%3F%3C%2FP%3E%3CP%3E2.%20About%20u-boot%20bb%20files%2C%20I%20saw%20the%20below%20path%20both%20have%20u-boot%20bb%20files%2C%20how%20do%20I%20confirm%20which%20one%20I%20am%20using%20for%20lx2160ardb_rev2%3F%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.%20I%20am%20trying%20to%20modify%20rcw%20for%20our%20hardware%20customization%20and%20using%20devtool%20to%20generate%20patch%2C%20but%20it%20seems%20the%20patch%20does%20not%20apply%2C%20I%20saw%20original%20rcw_git.bb%20is%20in%26nbsp%3Bmeta-freescale%2C%20but%20meta-qoriq%20also%20has%26nbsp%3Brcw_git.bbappend%20file%20and%20I%20put%20the%20patch%20on%26nbsp%3Bmeta-qoriq%2Frecipes-bsp%2Frcw%2C%20but%20the%20patch%20didn't%20apply%2C%20%26nbsp%3B%3C%2FP%3E%3CP%3EThanks.%3C%2FP%3E%3CP%3EBR%2C%3C%2FP%3E%3CP%3EJack%20Ho%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1877156%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20LLDPUG%20yocto%20implementation%20problem%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%3EThe%20layer%20meta-qoriq%20contains%20the%20latest%20Yocto%20SDK%20changes%20of%20Layerscape%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSPAN%3EAnd%20these%20changes%20will%20upstream%20from%20meta-qoriq%20to%20meta-freescale%20after%20NXP%20BSP%20releases.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3ENXP%20does%20not%20own%20the%20layer%20meta-freescale%2C%20which%20is%20belong%20to%20Yocto%20community.%20It%20contains%20some%20customization%20of%20other%20contributors%20using%20our%20SoCs.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSPAN%3Emeta-nxp-desktop%20contains%20recipes%20for%20Ubuntu%20filesystem.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Emeta-qoriq%2Bmeta-freescale%26nbsp%3Bis%20specific%20for%20lx2160ardb%20platform.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E2.%20You%20should%20use%26nbsp%3Bmeta-qoriq%2Frecipes-bsp%2Fu-boot%2Fu-boot-qoriq_2022.04.bb%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E3.%20Please%20try%20this%20method.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%24%20source%20build_lx2160ardb-rev2%2FSOURCE_THIS%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%24%20bitbake%20rcw%20-c%20patch%20-f%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EPlease%20go%20to%20rcw%20source%20folder%26nbsp%3Btmp%2Fwork%2Flx2160ardb_rev2-fsl-linux%2Frcw%2Fgit-r0%2Fgit%2F%20and%20apply%20your%20patch%20and%20do%20some%20modifications.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%24%20patch%20-p1%20%3CYOUR_PATCH%3E%3C%2FYOUR_PATCH%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ERebuild%20rcw%20with%20the%20following%20command.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%24%20bitbake%20rcw%20-c%20compile%20-f%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%24%20bitbake%20rcw%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E