How can I permanetly modify a file on yocto

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

How can I permanetly modify a file on yocto

跳至解决方案
910 次查看
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 解答
761 次查看
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!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

1 回复
762 次查看
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!
-----------------------------------------------------------------------------------------------------------------------