Yocto Build steps
Code Block |
---|
language | bash |
---|
theme | DJango |
---|
title | RPI4 Build steps |
---|
|
$ mkdir <workspace dir>
$ cd <workspace dir>
$ repo init -u https://code.rdkcentral.com/r/manifests -b dunfell -m rdkb-extsrc.xml
$ repo sync -j`nproc` --no-clone-bundle
|
Please cherry-pick the below changes,
Code Block |
---|
language | bash |
---|
title | Wi-Fi Hal 3.0 |
---|
collapse | true |
---|
|
cd ~/rdkb/components/opensource/ccsp/CcspWifiAgent
git fetch https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/CcspWifiAgent refs/changes/60/67760/3 && git cherry-pick FETCH_HEAD
git fetch https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/CcspWifiAgent refs/changes/94/68094/1 && git cherry-pick FETCH_HEAD
cd ~/rdkb/components/opensource/ccsp/CcspPandM
git fetch https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/CcspPandM refs/changes/95/68095/1 && git cherry-pick FETCH_HEAD
cd ~/rdkb/components/opensource/ccsp/Utopia
git fetch https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/Utopia refs/changes/50/67650/2 && git cherry-pick FETCH_HEAD
cd ~/rdkb/components/opensource/ccsp/RdkWanManager
git fetch https://code.rdkcentral.com/r/rdkb/components/opensource/ccsp/RdkWanManager refs/changes/51/67651/1 && git cherry-pick FETCH_HEAD
|
Note : The above bug fixes changes are temporary given as instructions. This is not required once the change is gets merged into the appropriate repo.
Below is the path to enable the DISTRO Feature to support the Wi-Fi Hal 3.0 Feature,
Code Block |
---|
language | bash |
---|
title | DISTRO - Wi-Fi Hal 3.0 |
---|
|
cd ~/meta-cmf-raspberrypi/conf/machine
vi raspberrypi4-rdk-broadband.conf
# Append the below line to enable wifi hal 3.0 feature support in rpi4
DISTRO_FEATURES_append = " halVersion3 " |
Code Block |
---|
language | bash |
---|
theme | DJango |
---|
title | Image Generation |
---|
|
$ MACHINE=raspberrypi4-rdk-broadband source meta-cmf-raspberrypi/setup-environment
$ bitbake rdk-generic-broadband-image |
Wi-Fi Hal 3.0 Api's Implemented
Below are the list of new api's, are implemented in rpi platform to support the wifi hal 3.0 feature.
Code Block |
---|
language | bash |
---|
title | Wi-Fi Hal 3.0 api's |
---|
|
wifi_getRadioOperatingParameters
wifi_setRadioOperatingParameters
wifi_createVAP
wifi_getRadioVapInfoMap
wifi_getHalCapability
wifi_getApAssociatedDevice
wifi_getApSecurity
wifi_updateApSecurity
wifi_setApSecurity
wifi_setApWpsConfiguration
wifi_getApWpsConfiguration |
Enabling CFLAGS - WIFI_HAL_VERSION_3
Below are the recipe's to enable the cflag to support the Wi-Fi Hal Version 3 Feature.
S.No | Recipe | CFLAG |
---|
1. | ccsp-wifi-agent.bbappend | CFLAGS_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'halVersion3', ' -DWIFI_HAL_VERSION_3 ', '', d)}" |
2. | harvester_git.bbappend |
3. | hal-wifi-generic_git.bbappend |
4. | halinterface.bbappend |
Validated Functionalities