You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

RDK Platforms define a set of environment variable and function (through shell scripts) which enables the middleware and application to access device specific information. There are configuration files and shell scripts to do this job and is provided by the Sysint-Broadband component. 

SysInt scripts: Generic build and system integration scripts.  

These are set of scripts provided to help you bring up, manage, control and monitor Routers. These scripts include the following:  

  • Erouter0 info
  • Script for DCM simulator Support
  • Script for NTPD
  • Factory Reset operation
  • Log Rotate operation
  • Self heal operation
  • Firmware Upgrade functionality
  • Webpa Server URL
  • Remote Management operation

Some device specific information is available from shell environment in form of variables mainly through property files i.e. /etc/device.properties (configuration file specific to a platform). Platforms also can override certain properties if needed. 

Along with this a collection of utility scripts defined under “/lib/rdk” provide information regarding common properties.

Environment variables

1) /etc/device.properties

Variable Name Description 
DEVICE_TYPE Type of the device (Broadband or Extender)
BUILD_TYPE Build type ( dev or prod)
MOCA_INTERFACEName of the MOCA interface
ETHERNET_INTERFACEName of the Ethernet interface
BUILD_VERSIONBuild Version
MANUFACTUREOEM manufacturer name
LOG_PATHPath for device logs.
CORE_PATHPath for corefiles
PROCESS_RESTART_LOG
MESH_SUPPORTED
WAN_TYPE
WanFailOverSupportEnable
BOX_TYPEModel name of the Router.
ARM_INTERFACE
MODEL_NAME
ATOM_INTERFACE
ATOM_INTERFACE_IP
ATOM_PROXY_SERVER
PARODUS_URL
WEBPA_CLIENT_URL
OneWiFiEnabled
MODEL_NUM
NVRAM2_SUPPORTED
TFTP_SERVER_IP
PART_SIZE_OFFSET
SERVERURL
WEBCONFIG_INTERFACE


2)/etc/dcm.properties

Variable Name Description 
LOG_SERVER
DCM_LOG_SERVER
DCM_LOG_SERVER_URL
DCM_SCP_SERVER
HTTP_UPLOAD_LINK
DCA_UPLOAD_URL
DCM_HTTP_SERVER_URL
DCM_LA_SERVER_URL

Shell Functions

Script Name Description
StartDCM.sh
DCMscript.sh
uploadSTBLogs.sh
interfaceCalls.sh
commonUtils.sh
logfiles.sh
backupLogs.sh
bank_image_switch.sh
deviceInitiatedFWDnld.sh
imageFlasher.sh
rpi_sw_install.sh
rpi_sw_install1.sh
snmpUtils.sh
rpi_image_Flasher.sh
swupdate_utility.sh
dcaSplunkUpload.sh
dca_utility.sh


 

  • No labels