Introduction 

           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 -;

BPI-R4 build instruction 


1. repo init -u https://code.rdkcentral.com/r/manifests -b kirkstone -m rdkb-bpi-extsrc.xml

a.update the 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


Flashing instructions(SD card)

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>

List of changes

S.NoLists of PR Reason
1https://github.com/rdkcentral/meta-cmf-bananapi/pull/240/commitsInitial PR to bring up board with mp4 release
2https://github.com/rdkcentral/meta-cmf-bananapi/pull/263 Device hang issue
3https://github.com/rdkcentral/meta-cmf-bananapi/pull/293Recreation of comcast patches and updated srcrev in rdk-wifi-libhostap to support MP4.2 release
4https://github.com/rdkcentral/rdk-wifi-hal/pull/425Addressed build issues of rdk-wifi-hal wrt to update of rdk-wifi-hostap srcrev
5https://github.com/rdkcentral/meta-cmf-bananapi/pull/299Device is rebooting continuously after Factory Reset on kernel 6.6 Image

References

https://git01.mediatek.com/plugins/gitiles/openwrt/feeds/mtk-openwrt-feeds/+/refs/heads/master/autobuild/unified/#wi_fi-7-latest-release-version-filogic-880_860_850-wifi7-mp4_2-release-2025_09_12-wifi-package-version

Feature validation : Kernel 6.6 migration in Banana pi R4

Jira :