Skip to content

Commit 848dd99

Browse files
authored
Merge branch 'develop' into rdkbaccl_1093
2 parents fb7ea20 + 9a07e96 commit 848dd99

File tree

5 files changed

+88
-4
lines changed

5 files changed

+88
-4
lines changed

.github/workflows/cla.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,20 @@
11
name: "CLA"
2+
3+
permissions:
4+
contents: read
5+
pull-requests: write
6+
actions: write
7+
statuses: write
8+
29
on:
310
issue_comment:
411
types: [created]
512
pull_request_target:
6-
types: [opened,closed,synchronize]
13+
types: [opened, closed, synchronize]
714

815
jobs:
916
CLA-Lite:
1017
name: "Signature"
11-
uses: rdkcentral/cmf-actions/.github/workflows/cla.yml@main
18+
uses: rdkcentral/cmf-actions/.github/workflows/cla.yml@v1
1219
secrets:
13-
PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_ASSISTANT }}
20+
PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_ASSISTANT }}

meta-rdk-mtk-bpir4/recipes-ccsp/ccsp/ccsp-common-library.bbappend

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ do_install_append_class-target() {
5656
#SNMP SUPPORT
5757
sed -i "/tcp\:192.168.254.253\:705/a ExecStart=\/usr\/bin\/snmp_subagent \&" ${D}${systemd_unitdir}/system/snmpSubAgent.service
5858

59+
#Xdns service
60+
install -D -m 0644 ${S}/systemd_units/CcspXdnsSsp.service ${D}${systemd_unitdir}/system/CcspXdnsSsp.service
61+
5962
#Updating the checkfilogicwifisupport.service
6063
sed -i "s/forking/oneshot/g" ${D}${systemd_unitdir}/system/checkfilogicwifisupport.service
6164
sed -i "/ExecStart=/i RemainAfterExit=yes" ${D}${systemd_unitdir}/system/checkfilogicwifisupport.service
@@ -87,6 +90,7 @@ SYSTEMD_SERVICE_${PN} += "parodus.service"
8790
SYSTEMD_SERVICE_${PN} += "webpa.service"
8891
SYSTEMD_SERVICE_${PN}_remove = " utopia.service"
8992
SYSTEMD_SERVICE_${PN} += " CcspAdvSecuritySsp.service"
93+
SYSTEMD_SERVICE_${PN} += "CcspXdnsSsp.service"
9094

9195
FILES_${PN}_remove_onewifi = "${systemd_unitdir}/system/ccspwifiagent.service"
9296
FILES_${PN}_remove = "${systemd_unitdir}/system/utopia.service"
@@ -97,6 +101,7 @@ FILES_${PN}_append = " \
97101
${systemd_unitdir}/system/CcspTelemetry.service \
98102
${systemd_unitdir}/system/notifyComp.service \
99103
${systemd_unitdir}/system/gwprovapp.service \
104+
${systemd_unitdir}/system/CcspXdnsSsp.service \
100105
${systemd_unitdir}/system/gwprovapp.service.d/gwprovapp.conf \
101106
${systemd_unitdir}/system/parodus.service \
102107
${systemd_unitdir}/system/webpa.service \
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
Index: platform/rdkb_hal/src/platform/platform_hal.c
2+
===================================================================
3+
--- platform.orig/rdkb_hal/src/platform/platform_hal.c
4+
+++ platform/rdkb_hal/src/platform/platform_hal.c
5+
@@ -120,8 +120,10 @@ INT platform_hal_GetSerialNumber(CHAR* p
6+
sprintf(pValue,"%02x%02x%02x%02x%02x%02x",arr[0],arr[1],arr[2],arr[3],arr[4],arr[5]);
7+
return RETURN_OK;
8+
}*/
9+
- sprintf(pValue,"%s",buf);
10+
+ sprintf(pValue,"%s",buf);
11+
}
12+
+ ///RDKBACCL-920
13+
+ return RETURN_OK;
14+
}
15+
return RETURN_ERR;
16+
17+
@@ -144,12 +146,13 @@ INT platform_hal_GetHardware(CHAR *pValu
18+
char buf[64] = {0};
19+
char cmd[128] = {0};
20+
21+
-
22+
+
23+
if (pValue == NULL)
24+
{
25+
return RETURN_ERR;
26+
}
27+
- snprintf(cmd,128, "cat /proc/partitions | grep mtdblock5 | awk '/mtdblock5/ {print $3}'");
28+
+ //RDKBACCL-924
29+
+ snprintf(cmd,128, "cat /proc/partitions | grep mtdblock4 | awk '/mtdblock4/ {print $3}'");
30+
fp = popen(cmd,"r");
31+
if(fp == NULL)
32+
{
33+
@@ -318,13 +321,13 @@ INT platform_hal_GetModelName(CHAR* pVal
34+
FILE *fp = NULL;
35+
char buf[64] = {0};
36+
int count = 0;
37+
-
38+
+
39+
if (pValue == NULL)
40+
{
41+
return RETURN_ERR;
42+
}
43+
44+
- fp = popen("cat /proc/device-tree/model","r");
45+
+ fp = popen("cat /proc/device-tree/model | tr -d ' '","r");
46+
if(fp == NULL)
47+
{
48+
return RETURN_ERR;
49+
@@ -384,7 +387,8 @@ INT platform_hal_GetSoftwareVersion(CHAR
50+
INT platform_hal_GetFirmwareName(CHAR* pValue, ULONG maxSize)
51+
{
52+
FILE *fp;
53+
- char buff[64]={0};
54+
+//RDKBACCL-927
55+
+ char buff[128]={0};
56+
57+
if (pValue == NULL)
58+
{
59+
@@ -397,7 +401,7 @@ INT platform_hal_GetFirmwareName(CHAR* p
60+
return RETURN_ERR;
61+
}
62+
63+
- while(fgets(buff, 64, fp) != NULL)
64+
+ while(fgets(buff, 128, fp) != NULL)
65+
{
66+
if(strstr(buff, "imagename") != NULL)
67+
{

meta-rdk-mtk-bpir4/recipes-ccsp/hal/hal-platform-generic_git.bbappend

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
22

33
SRC_URI_append = " file://Add_ipv6_changes.patch"
44
SRC_URI_append = " file://bpi_serial_no_fix.patch"
5+
SRC_URI_append = " file://hal-function-changes.patch"
56

67
do_configure_append() {
78
#For trimming the spaces

setup-environment-refboard-rdkb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,11 @@ else # SD card image is default
118118
else
119119
echo "**********************************************************************"
120120
echo "> CAUTION: YOU ARE TRYING TO BUILD SD CARD IMAGE WITHOUT BL2 AND FIP BINARIES."
121-
echo "> Please download the binaries from https://artifactory.rdkcentral.com/artifactory/RDKB-Platform/BPI-R4/uboot-2024.04/bpi-r4_sdmmc_bl2.img and https://artifactory.rdkcentral.com/artifactory/RDKB-Platform/BPI-R4/uboot-2024.04/bpi-r4_sdmmc_fip.bin"
121+
if [ "X$KERNEL_TYPE" == "Xkernel6-6" ]; then
122+
echo "> Please download the binaries from https://artifactory.rdkcentral.com/artifactory/RDKB-Platform/BPI-R4/uboot-2025.01/bpi-r4_sdmmc_bl2.img and https://artifactory.rdkcentral.com/artifactory/RDKB-Platform/BPI-R4/uboot-2025.01/bpi-r4_sdmmc_fip.bin"
123+
else
124+
echo "> Please download the binaries from https://artifactory.rdkcentral.com/artifactory/RDKB-Platform/BPI-R4/uboot-2024.04/bpi-r4_sdmmc_bl2.img and https://artifactory.rdkcentral.com/artifactory/RDKB-Platform/BPI-R4/uboot-2024.04/bpi-r4_sdmmc_fip.bin"
125+
fi
122126
echo "> 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."
123127
echo "> Place those binaries under ${_TOPDIR}/downloads/"
124128
echo "> EXITING NOW."

0 commit comments

Comments
 (0)