RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
...
Code Block | ||||
---|---|---|---|---|
| ||||
sudo cp -r extblock/vrootfs_backup_data/* videomnt/ |
7. Copy the bank_broadband_switch.sh file to partition 4 as below
Code Block | ||||
---|---|---|---|---|
| ||||
sudo cp bank_broadband_switch.sh videomnt/lib/rdk/ |
8. Unmount videomnt directory as below
Code Block | ||||
---|---|---|---|---|
| ||||
sudo umount videomnt |
9. Now copy broadband multi boot change scripts to broadband image as below
Place the script files rpi_sw_install1.sh rpi_sw_install.sh swupdate_utility.sh bank_image_switch.sh bank_video_switch.sh imageFlasher.sh in /lib/rdk path of broadband image by following the below scripts
Code Block | ||||
---|---|---|---|---|
| ||||
#For ex.
mkdir -p bbmnt
sudo mount /dev/sdb2 bbmnt
#In above command, storage partition 2 will get mounted to bbmnt directory
# Now copy the broad band change scripts from host to broadband image rootfs in partition2 (/dev/sdb2) mounted to bbmnt as below
sudo cp rpi_sw_install1.sh rpi_sw_install.sh swupdate_utility.sh bank_image_switch.sh bank_video_switch.sh imageFlasher.sh bbmnt/lib/rdk/
# Now unmount the bbmnt
sudo umount bbmnt |
810. Now Boot up the SD card in RPI-> it should come up with BB image in partition (P2)
119. Log into the R-Pi from Host PC execute the below command
ssh root@<RPI-Board IP>
1210. To load the video image which is present in the storage execute the script bank_video_switch.sh
Code Block | ||||
---|---|---|---|---|
| ||||
root@RaspberryPi-Gateway:/lib/rdk# sh bank_video_switch.sh |
1311. R-Pi should boot up with video image
14. Now this image can be switch back to broadband image by executing following script
...
language | bash |
---|---|
title | video data extract |
...
. Ensure that the ethernet connection is available for R-Pi.
NOTE:
Ensure that while mounting the SD card in host machine it may have different device names like /dev/sdc * and /dev/sdd * . Please check host machine accordingly while using device name.