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
List of changes
#Get filogic BSP meta layer
git clone git01mediatek.filogicrdk-b/meta-filogiccd 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
Controller build steps
| Code Block |
|---|
| language | actionscriptshell |
|---|
| title | BuildCtrl |
|---|
|
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
Extender build steps
| 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 |
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 |
Flashing instructions(SD card)
| Code Block |
|---|
| language | bash |
|---|
| title | 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> |
List of changes
...
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 :
...
| Jira |
|---|
| server | JIRA |
|---|
| columnIds | issuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution |
|---|
| columns | key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution |
|---|
| serverId | 11deff04-0380-3a3d-a916-0849d4e573f7 |
|---|
| key | RDKBACCL-850 |
|---|
|
...
| Jira |
|---|
| server | JIRA |
|---|
| columnIds | issuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution |
|---|
| columns | key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution |
|---|
| serverId | 11deff04-0380-3a3d-a916-0849d4e573f7 |
|---|
| key | RDKBACCL-1179 |
|---|
|
| Jira |
|---|
| server | JIRA |
|---|
| columnIds | issuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution |
|---|
| columns | key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution |
|---|
| serverId | 11deff04-0380-3a3d-a916-0849d4e573f7 |
|---|
| key | CMFSUPPORT-3456 |
|---|
|