Host Environment Setup

How to Build#SettinguptheHostEnvironment

Yocto Build Steps

repo init -u https://code.rdkcentral.com/r/manifests -b rdk-next -m rdkv-nosrc.xml
repo sync -j `nproc` --no-clone-bundle --no-tags




Image Build

# choose mediaclient machine configuration on setup
MACHINE=raspberrypi-rdk-mc source meta-cmf-raspberrypi/setup-environment
# generic MC image build 
bitbake rdk-generic-mediaclient-wpe-image

Flashing Procedure

The image file will be generated under build-<MACHINE>/tmp/deploy/images/<MACHINE> directory

# Insert the micro SD card and mention the card's device file name
# input file (if) is the image file to flash and the output file (of) is the card's device file name
sudo dd if=rdk-generic-mediaclient-wpe-image-raspberrypi-rdk-mc.rpi-sdimg of=/dev/<sd file> bs=4M

Supported Service Status

S.No

Supported Plugins

Total Test Cases

PASS Count

FAIL Count

Not Tested

1

Controller menu

1

1

0

0

2

Device Info

1

1

0

0

3

HTML App 

1

1

0

0

4

Location Sync

1

1

0

0

5

Messenger

1

0

1

0

6

Monitor

1

0

1

0

7

OCDM

1

0

1

0

8

Player Info

1

0

1

0

9

ResidentApp   

1

1

0

0

10

SearchandDiscoveryApp   

1

1

0

0

11

Trace Control

1

1

0

0

12

Cobalt    

3

3

0

0

13

LightningApp   

30

28

2

0

14

WebKitBrowser   

1

1

0

0

15

com.comcast.StateObserver

1

0

1

0

16

org.rdk.AVInput

4

1

3

0

17

org.rdk.ActivityMonitor

5

2

3

0

18

org.rdk.Bluetooth      

21

0

2

19

19

org.rdk.Continue Watching

4

0

1

3

20

org.rdk.dataCapture

3

1

1

1

21

org.rdk.DisplaySettings

61

30

5

26

22

org.rdk.FrameRate

5

4

1

0

23

org.rdk.HdcpProfile

3

2

1

0

24

org.rdk.HdmiInput

6

2

4

0

25

org.rdk.LoggingPreferences

3

2

1

0

26

org.rdk.Network

14

5

7

2

27

org.rdk.RDKShell

30

5

5

20

28

org.rdk.StateObserver NEW 

7

0

7

0

29

org.rdk.ScreenCapture

2

1

1

0

30

org.rdk.System

43

22

18

3

31

org.rdk.Timer

7

6

1

0

32

org.rdk.UserPreferences

3

2

1

0

33

org.rdk.Warehouse

7

4

2

1

34

org.rdk.Wifi   

17

15

2

0

35

org.rdk.Xcast

4

2

2

0

36

FirmwareControl NEW 

1

1

0

0

Total

296

146

75

75

Known Issues

  • If no internet connection to the box (either through Ethernet or Wifi), no Switcher App UI displayed on the TV output

  • The on-screen console is visible on UI's App/page transition

  • As the RDK Reference (Resident) App's script has 45 seconds of sleep function, it will be elapsed for this time after bootup to display the UI.

  • In BT plugin is not working.

  • Press "xfinity" button from RCU to exit the "Youtube" application. Youtube UI get overlapped with rest of the switcher apps.

  • In switcher App, "About" options is not launching


Image Build

# choose hybrid machine configuration
MACHINE=raspberrypi-rdk-hybrid source meta-cmf-raspberrypi/setup-environment
# Generic hybrid image build
bitbake rdk-generic-hybrid-wpe-image

Flashing Procedure

The image file will be generated under build-<MACHINE>/tmp/deploy/images/<MACHINE> directory

# Insert the micro SD card and mention the card's device file name 
# input file (if) is the image file to flash and the output file (of) is the card's device file name 
sudo dd if=rdk-generic-hybrid-wpe-image-raspberrypi-rdk-hybrid.rpi-sdimg of=/dev/<sd file> bs=4M

Supported Service Status

S.No

Supported Plugins

Total Test Cases

PASS Count

FAIL Count

Not Tested

1

Controller menu

1

1

0

0

2

Device Info

1

1

0

0

3

HTML App 

1

1

0

0

4

Location Sync

1

1

0

0

5

Messenger

1

0

1

0

6

Monitor

1

0

1

0

7

OCDM

1

0

1

0

8

Player Info

1

0

1

0

9

ResidentApp    

1

1

0

0

10

SearchandDiscoveryApp   

1

1

0

0

11

Trace Control

1

1

0

0

12

Cobalt    

3

3

0

0

13

LightningApp   

30

28

2

0

14

WebKitBrowser  

1

1

0

0

15

com.comcast.StateObserver

1

0

1

0

16

org.rdk.AVInput

4

1

3

0

17

org.rdk.ActivityMonitor

5

2

3

0

18

org.rdk.Bluetooth     

21

0

2

19

19

org.rdk.Continue Watching

4

0

1

3

20

org.rdk.dataCapture

3

1

1

1

21

org.rdk.DisplaySettings

61

30

5

26

22

org.rdk.FrameRate

5

4

1

0

23

org.rdk.HdcpProfile

3

2

1

0

24

org.rdk.HdmiInput

6

2

4

0

25

org.rdk.LoggingPreferences

3

2

1

0

26

org.rdk.Network

14

5

7

2

27

org.rdk.RDKShell

30

5

5

20

28

org.rdk.StateObserver NEW 

7

0

7

0

29

org.rdk.ScreenCapture

2

1

1

0

30

org.rdk.System

43

22

18

3

31

org.rdk.Timer

7

6

1

0

32

org.rdk.UserPreferences

3

2

1

0

33

org.rdk.Warehouse

7

4

2

1

34

org.rdk.Wifi    NEW 

17

15

2

0

35

org.rdk.Xcast

4

2

2

0

36

FirmwareControl NEW 

1

1

0

0

Total

296

146

75

75

Known Issues

  • If no internet connection to the box (either through Ethernet or Wifi), no Switcher App UI displayed on the TV output

  • Wifi connection is not established.

  • The on-screen console is visible on UI's App/page transition

  • As the RDK Reference (Resident) App's script has 45 seconds of sleep function, it will be elapsed for this time after bootup to display the UI.

  • In BT plugin is not working.

  • Press "xfinity" button from RCU to exit the "Youtube" application. Youtube UI get overlapped with rest of the switcher apps.

  • In switcher App, "About" options is not launching



Functional Test Report

Please refer to the below link for the System Test reports of Mediaclient and Hybrid images