How to set environment variables for the shell in the target image using bitbake?

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

How to set environment variables for the shell in the target image using bitbake?

4,795 次查看
ponguru_s
Contributor III

I need a set of environment variables to be available in the shell after booting the custom image from the target hardware. 

1. Can I set these variables using any patch from bitbake itself?

   1.a. If yes, please let me know what are the modifications to be done.

   1.b. If no, please let me know the alternative way to achieve this.

2. How can I achieve enhancement in compositor performance for the following Yocto configuration?

   Yocto version: 4.1.15-2.0.0

   Target hardware: i.MX6Q

3. Also, need some details in understanding the following patch files.

0008-MGS-1668-xwld-System-can-not-boot-up-to-desktop.patch 
0009-MGS-1284-xwld-Re-implement-weston-2d-renderer-with-p.patch 
0010-MGS-1284-1-xwld-Re-implement-weston-2d-renderer-with.patch 
0011-MGS-1724-xwld-G2D-compositor-build-failed-in-slevk-b.patch 
0012-MGS-1783-xwld-Add-clone-mode-support-for-multi-displ.patch 
0013-MGS-1945-Use-common-API-to-support-G2d-compositor.patch 
0014-MGS-1987-Get-stride-from-the-FB-buffe.patch

Thanks in advance. :smileyhappy:

0 项奖励
回复
1 回复

2,962 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello Surendranath Ponguru,

Have you find a way to setup these variables using bitbae? An option would be running a post-scripts that sets these variables, but I haven’t tried it.

As for the patches, there is no much information other than the comments inside these patches. I see that you have already checked the following thread:

https://community.nxp.com/message/873495

Unfortunately there is no much documentation explaining each patch.

Regards,

0 项奖励
回复