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

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

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

3,814 Views
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 Kudos
1 Reply

1,981 Views
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 Kudos