| Table of Contents |
|---|
BPI platform MUST upgrade to Linux Kernel 6.6 so that device has latest security patches and kernel capabilities and align with Yocto 5.0 upgrade requirement.
BSP meta-layers to support MP4.2 release
...
#Get filogic BSP meta layer
git clone https://git01.mediatek.com/filogic/rdk-b/meta-filogic
cd meta-filogic; git checkout c67a32a7c8876b328a8d1eeaca213e860d85b3ce; cd -;
#Get filogic Adapter cmf layer
git clone https://git01.mediatek.com/filogic/rdk-b/meta-cmf-filogic
cd meta-cmf-filogic; git checkout 211fa3d81ae19cc5c6be731d52b1aa6733336b71; cd -;
| S.No | Lists of PR | Reason |
|---|---|---|
| 1 | https://github.com/rdkcentral/meta-cmf-bananapi/pull/240/commits | Initial PR to bring up board with mp4 release |
| 2 | https://github.com/rdkcentral/meta-cmf-bananapi/pull/263 | Device hang issue |
| 3 | https://github.com/rdkcentral/meta-cmf-bananapi/pull/293 | Recreation of comcast patches and updated srcrev in rdk-wifi-libhostap to support MP4.2 release |
| 4 | https://github.com/rdkcentral/rdk-wifi-hal/pull/425 | Addressed build issues of rdk-wifi-hal wrt to update of rdk-wifi-hostap srcrev |
| 5 | https://github.com/rdkcentral/meta-cmf-bananapi/pull/299 | Device is rebooting continuously after Factory Reset on kernel 6.6 Image |
| 6 | https://code.rdkcentral.com/r/c/rdkcmf/manifests/+/122407 | BPI manifest update to support MP 4.2 release |
| Code Block | ||||
|---|---|---|---|---|
|
| Code Block | ||
|---|---|---|
| ||
1. repo init -u https://code.rdkcentral.com/r/manifests -b kirkstone -m rdkb-bpi-extsrc.xml a.updaterepo thesync below changes in manifest file (path : ~/.repo/manifests) git diff rdkb-bpi-extsrc.xml diff --git a/rdkb-bpi-extsrc.xml b/rdkb-bpi-extsrc.xml index 2425f351..34183e9e 100644 --- a/rdkb-bpi-extsrc.xml +++ b/rdkb-bpi-extsrc.xml @@ -10,8 +10,8 @@ <include name="oe-layers.xml"/> <project name="components/opensource/OMI"/> <project name="components/opensource/gdbus-client"/> - <project name="filogic/rdk-b/meta-cmf-filogic" remote="mediatek" path="meta-cmf-filogic" revision="39973f0b37b6afef2be10640bedd9efb359530df"/> - <project name="filogic/rdk-b/meta-filogic" remote="mediatek" path="meta-filogic" revision="4d1a2a549791f1d57c83d8be89927aed647b62ea"/> + <project name="filogic/rdk-b/meta-cmf-filogic" remote="mediatek" path="meta-cmf-filogic" revision="211fa3d81ae19cc5c6be731d52b1aa6733336b71"/> + <project name="filogic/rdk-b/meta-filogic" remote="mediatek" path="meta-filogic" revision="c67a32a7c8876b328a8d1eeaca213e860d85b3ce"/> 2.repo sync -j`nproc` --no-clone-bundle #CP the below change in meta-cmf-bananapi https://github.com/rdkcentral/meta-cmf-bananapi/pull/293 3.MACHINE=bananapi4-rdk-broadband KERNEL_TYPE=kernel6-6 source meta-cmf-bananapi/setup-environment-refboard-rdkb #to CP the below change for rdk-wifi-hal https://github.com/rdkcentral/rdk-wifi-hal/pull/425 4.bitbake rdk-generic-broadband-image -j`nproc` --no-clone-bundle #with EasyMesh MACHINE=bananapi4-rdk-broadband KERNEL_TYPE=kernel6-6 FEATURE_TYPE=EasyMesh source meta-cmf-bananapi/setup-environment-refboard-rdkb #without Easymesh MACHINE=bananapi4-rdk-broadband KERNEL_TYPE=kernel6-6 source meta-cmf-bananapi/setup-environment-refboard-rdkb Please refer the Bootloader steps to download the bl2 and fip binaries #to CP the below change for fynecli access for utopia component https://github.com/rdkcentral/utopia/pull/47 bitbake rdk-generic-broadband-image |
Note - Kernel6-6 builds only supports SDcard imagesand does not have NAND images support yet
| Code Block | ||||
|---|---|---|---|---|
| ||||
repo init -u https://code.rdkcentral.com/r/manifests -b kirkstone -m rdkb-bpi-ap-extsrc.xml
repo sync -j4 --no-clone-bundle
#Default build with AL_SAP
MACHINE=bananapi4-rdk-broadband-ap-extender KERNEL_TYPE=kernel6-6 source meta-cmf-bananapi/setup-environment-refboard-rdkb
Please refer the Bootloader steps to download the bl2 and fip binaries
bitbake rdk-generic-ap-extender-image |
#to download the bl2.img, bl2_B.img, fip.bin and fip_B.bin, please use below command
wget https://artifactory.rdkcentral.com/artifactory/RDKB-Platform/BPI-R4/uboot-2025.01/bpi-r4_sdmmc_bl2_B_6-6.img https://artifactory.rdkcentral.com/artifactory/RDKB-Platform/BPI-R4/uboot-2025.01/bpi-r4_sdmmc_fip_B_6-6.bin https://artifactory.rdkcentral.com/artifactory/RDKB-Platform/BPI-R4/uboot-2025.01/bpi-r4_sdmmc_bl2_6-6.img https://artifactory.rdkcentral.com/artifactory/RDKB-Platform/BPI-R4/uboot-2025.01/bpi-r4_sdmmc_fip_6-6.bin
# If you don't have access to above resources,
# Please follow instruction in https://wiki.rdkcentral.com/pages/viewpage.action?pageId=354648448#SDMonoliticimagebuildandflashingstepsforBPIR4.-Buildingbl2.imgandfip.binincaseofnothavingaccesstoartifactoryrepository to build bl2 and fip binaries yourselves |
| Code Block | ||||
|---|---|---|---|---|
| ||||
Copy *.wic.bz2 from build machine (image path is ~/build-bananapi4-rdk-broadband/tmp/deploy/images/bananapi4-rdk-broadband/) bzip2 -d <Path to ImageName.wic.bz2> sudo -E bmaptool copy --nobmap <Path to ImageName.wic> <Path to SD card device file> |
...
...
...
...
Feature validation : Kernel 6.6 migration in Banana pi R4
...
| Jira | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
| Jira | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|