Host setup:

Refer to the link for host setup details: Host Setup


Repo setup:

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

Build Instructions:

    Image build
    $ MACHINE=raspberrypi4-rdk-mc source meta-cmf-raspberrypi/setup-environment
    $ bitbake rdk-generic-mediaclient-wpe-image
    Image build
    $ MACHINE=raspberrypi4-rdk-hybrid source meta-cmf-raspberrypi/setup-environment
    $ bitbake rdk-generic-hybrid-wpe-image

    The generated image resides under the directory build-<MACHINE>/tmp/deploy/images/<MACHINE> of the Yocto workspace

    Flash Procedure

    The micro SD card should not have any partition while flashing the image. The complete memory of the card should be free

    Flashing procedure
    # of - output file (the device file for the inserted micro SD card
    
    $ bzcat <IMAGE_NAME>-<MACHINE>.wic.bz2 | sudo dd of=/dev/sdb bs=4M iflag=fullblock oflag=direct conv=fsync

    Known Issues:

    1. REFPLTV-1029 - Getting issue details... STATUS
    2. REFPLTV-1030 - Getting issue details... STATUS
    3. REFPLTV-1031 - Getting issue details... STATUS
    4. REFPLTV-787 - Getting issue details... STATUS
    5. REFPLTV-937 - Getting issue details... STATUS
    6. REFPLTV-928 - Getting issue details... STATUS
    7. REFPLTV-1032 - Getting issue details... STATUS

    NOTE : RPI4 support is enabled on dunfell with 32 bit Kernel.[64 bit kernel migration is in progress]