Changes between Version 8 and Version 9 of Software/eAM/qNetwork
- Timestamp:
- Apr 10, 2013, 6:41:29 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Software/eAM/qNetwork
v8 v9 384 384 1. Web service (Network AM) should recognize the command prompts for Pica8 and Indigo (OF) modes 385 385 1. In Indigo mode, there is a race condition between the ofprotocol service starting and the find-env script being able to pull all boot params - I think. Consequently, the ofprotocol service that talks to the controller is running blind. The reason I think it's a race condn. is since we see those boot params set when we print env vars, but the ofprotocol svc hasn't picket them up. The current fix is to restart ofprotocol with alternate script that sources the env params. So, we either fix the race condition, or we instruct the web service to execute the workaround. 386 * '''Update''': Found the below note in the script that sets up env vars from boot params. The solution then is to set another boot param! However, this still doesn't fix the problem. The env set up script parses /proc/1/environ if the override is set, but the params are not being passed from the kernel to the init process in the first place. 387 {{{ 388 # Need to get the global environment from process with PID 1 389 # By default, Linux command line variables are no longer used as they 390 # can override behavior configured in flash. Set CMDLINE_VARS_OVERRIDE 391 # on the command line to push those variables into the environment. 392 393 }}} 394 * '''Fix(ed)''': The /etc/sv/ofprotocol/run start script was modified to parse/source /proc/cmdline. The modified ramfs script was made persistent using ovladd/ovlsave. 386 395 1. Establish repository for FTP based loading of OF image, and set up corresponding u-boot configuration.