SoC
- System On a ChipEDID
- Extended Display IdentificationAPI
- Application programming interfaceCPU
- Central processing unitdsHost
- Device Settings HostHDMI
- High-Definition Multimedia Interface
EDID
specifications - https://en.wikipedia.org/wiki/Extended_Display_Identification_Data- Python
EDID
decoder library is available here - https://pypi.org/project/pyedid/
This document provides an overview of the testing requirements for the dsHost
module.
It outlines the scope of testing, objectives, testing levels and approaches, specific test requirements, and expected deliverables.
Interface of the test is available in this link - https://github.com/rdkcentral/rdk-halif-device_settings/blob/main/include/dsHost.h
High level overview:
dsHost
offers a range ofAPI
s for retrieving information about the platform.- Data is retrieved from the
SoC
andHDMI
. This data is passed to the caller. - In order to retrieve
HDMI
information, an external device must be connected.
# | Testing Scope | Description |
---|---|---|
1 | Retrieve CPU Temperature | Test if the module correctly retrieves the CPU temperature. |
2 | Obtain SOC ID | Test if the module successfully obtains the 8-byte SoC ID programmed to the CHIP One Time Programmable area. |
3 | Fetch Host EDID | Test if the module fetches the host EDID along with its length |
Description | HAL APIs | L2 | L3 | Source | Sink | Control plane requirements |
---|---|---|---|---|---|---|
Get the CPU temperature and check weather the temperature falls within valid operating range and ensure the CPU is in a normal operating state based on maximum and minimum values of dsHost/cpuTemperature in the configuration yaml |
dsGetCPUTemperature |
Y | N | Y | Y | N |
Invoke the module to retrieve CPU temperature while the device is within a heat/cold chambers to verify that the device will properly retrieve the information |
dsGetCPUTemperature |
N | Y | Y | Y | Y |
None
None
Control external heat/cold chambers
Description | HAL APIs | L2 | L3 | Source | Sink | Control plane requirements |
---|---|---|---|---|---|---|
Get the SoC ID and verify with dsHost/socID value in configuration yaml file. |
dsGetSocIDFromSDK |
Y | N | Y | Y | N |
None
None
None
Description | HAL APIs | L2 | L3 | Source | Sink | Control plane requirements |
---|---|---|---|---|---|---|
Get the host EDID bytes and validate the EDID bytes and length with the dsHost/edidBytes and dsHost/edidbytesLength values from the configuration yaml file |
dsGetHostEDID |
Y | N | N | Y | N |
Launch the test with the predefined configuration set of results.
Emulator will boot with the EDID
coming from the configuration file.
None