cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
marcoventurini
Adventurer
Adventurer
2,646 Views
Registered: ‎10-02-2014

Petalinux 2016.4 Kernel patch

Hello,

 

I have  simple question about applying a patch to the linux kernel with Petalinux 2016 04.

 

according to this guide:

 

https://forums.xilinx.com/t5/Embedded-Linux/how-to-add-or-modify-petalinux-2016-4-yocto-kernel-source-or/td-p/742861

 

I should create the patch file and then modify the recipe inside

 

 <plnx-proj-root>/project-spec/meta-user/recipes-kernel/linux/ 

 

but this folder does not exist inside my project, the kernel recipe is here

 

 <plnx-proj-root>/project-spec/meta-plnx-generated/recipes-kernel/

 

... and it can't be modified because it's auto generated.

 

What am I doing wrong?

 

Thanks,

 

Marco

 

0 Kudos
2 Replies
jovitac
Moderator
Moderator
2,606 Views
Registered: ‎05-10-2017

All changes need to be made in the meta-user directory. You will need to create the  <plnx-proj-root>/project-spec/meta-user/recipes-kernel/linux/  if it is not present.

wiki section #Patching the Linux Kernel of a PetaLinux Project in link below

http://www.wiki.xilinx.com/PetaLinux+Yocto+Tips

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
marcoventurini
Adventurer
Adventurer
2,587 Views
Registered: ‎10-02-2014

I will look into it, for now i will just use the external sources.

0 Kudos