1.1.1. 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. 

1.1.2. List of changes

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

1.1.3. BPI-R4 build instruction 

1.1.3.1. Controller build steps

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

repo sync -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 images and does not have NAND images support yet

1.1.3.2. Extender build steps

Ext
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

1.1.3.3. Bootloader steps

#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  

1.1.4. Flashing instructions(SD card)

flashing prodecure
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>

1.1.5. 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 :

RDKBACCL-850 - Getting issue details... STATUS

RDKBACCL-1169 - Getting issue details... STATUS

RDKBACCL-1179 - Getting issue details... STATUS

CMFSUPPORT-3456 - Getting issue details... STATUS



1.1.6.











  • No labels