This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to set environment variables

Hello,

I know that i can set the environment variables using the export command.
For example: export PATH=$PATH:/usr/test

 

Do you know a way how i could do that automatically right after startup? On my host machine I simply write these commands to my .bashrc
but how do I do that on my Omap3EVM board with embedded linux?

Could I also set the environment variables by adding them to my boot arguments in u-boot?

 

Thanks
- Maik