How can I permanetly modify a file on yocto

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

How can I permanetly modify a file on yocto

Jump to solution
816 Views
pehenazam
Contributor I

hi,

I use `echo 64 > /sys/bus/platform/drivers/galcore/gpu3DMinClock` to stop reducing gpu clock frequency on yocto.

I can put this into a script at startup but I don't want to do this, I would like to put it into recipe but I am not sure where to put this? in meta-yocto-bsp and should I write this exact command or something else? sorry that is so newbie.

1 Solution
667 Views
b36401
NXP Employee
NXP Employee

You can use BitBake append files:

http://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#using-bbappend-files

Have a great day,
Victor

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

1 Reply
668 Views
b36401
NXP Employee
NXP Employee

You can use BitBake append files:

http://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#using-bbappend-files

Have a great day,
Victor

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------