Modified to setup environment pointer on all BSPs. This results in getenv/putenv working all the time without special assistance from the BSP.