Commit graph

37459 commits

Author SHA1 Message Date
Vijay Balaji
6a7c18c463 sysupgrade-helper : Fix warnings during compilation
This change will fix warnings occurred during
compilation of sysupgrade source files

Change-Id: I0526da607b383064b4c5cea7462fe4c12c669a3b
Signed-off-by: Vijay Balaji <quic_vijbal@quicinc.com>
2023-09-13 11:54:45 +05:30
Linux Build Service Account
4879ecbe49 AU_LINUX_QSDK_GINGER_TARGET_ALL.12.4.5.1584.128
-----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQTxBDvDjyiEYwLkeGuhSA9lgKkB8QUCZOGp9gAKCRChSA9lgKkB
 8aT9AJ0TvbEXmHdzlKxWsd6saDgRrbea7QCfR9f9iVFp4ok0GGbHxf0Ox8lbdiI=
 =x/pm
 -----END PGP SIGNATURE-----

Merge AU_LINUX_QSDK_GINGER_TARGET_ALL.12.4.5.1584.128 on remote branch

Signed-off-by: Linux Build Service Account <lnxbuild@localhost>
Change-Id: Ia894e5efd464c086e7076bacbda24d28120f822b
2023-08-20 22:27:36 -07:00
Linux Build Service Account
488975d391 Merge "configs: add new config for tiny nor profile" 2023-08-17 06:45:34 -07:00
Linux Build Service Account
b725f96046 AU_LINUX_QSDK_GINGER_TARGET_ALL.12.4.5.1584.122
-----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQTxBDvDjyiEYwLkeGuhSA9lgKkB8QUCZNxlaAAKCRChSA9lgKkB
 8ZeCAKDSIlZVc/G9zOhdJC6rE8Gv/wPHGACffObILMCcgyb4/vWUsVPBy4kqB+I=
 =gl4N
 -----END PGP SIGNATURE-----

Merge AU_LINUX_QSDK_GINGER_TARGET_ALL.12.4.5.1584.122 on remote branch

Change-Id: I136a51511fe38a3e90fb672b319106b99ce3f568
Signed-off-by: Linux Build Service Account <lnxbuild@localhost>
2023-08-16 22:27:07 -07:00
Sridharan S N
c7c20989ab armv7: qca: common: smem: skip printing the partition info if it exceeds flash size
skip printing the partition info in smem if it exceeds flash size

Change-Id: Icb13b8d8f0f25f7817dfce2ee42d327081cbbfa6
Signed-off-by: Sridharan S N <quic_sridsn@quicinc.com>
2023-08-16 04:50:56 -07:00
Timple Raj M
b9a04e9345 configs: add new config for tiny nor profile
Change-Id: Ia717f2dc1c52613a2643bea40c4f5d76bfcb4feb
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-08-16 16:43:10 +05:30
Linux Build Service Account
9c9cbfa2eb Merge "arm: dts: ipq5332: Append rdp477 and rdp 478 name in config" 2023-08-14 03:13:56 -07:00
Sridharan S N
9db093d00e common: cmd_mtdparts: skip partitions exceeding flash size
Change-Id: Icc9fcd4bcc8b2d7d5e47598c1acc6058ecf203d9
Signed-off-by: Sridharan S N <quic_sridsn@quicinc.com>
2023-08-11 03:32:48 -07:00
Timple Raj M
316df5f0b6 arm: dts: ipq5332: Append rdp477 and rdp 478 name in config
This patch appends the rdp477 name of ap-mi01.3-c2 and
rdp 478 name of ap-mi04.1-c2 in config

Change-Id: Ie1f864d518b5c97cc35d42cc8f1eba45e05a9280
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-08-09 15:24:54 +05:30
Linux Build Service Account
7c9be6eda9 Merge "aes : Add fix to read correct value from ram address for derive_aes_256_key cmd" 2023-08-08 10:10:54 -07:00
Poovendhan Selvaraj
363824c036 aes : Add fix to read correct value from ram address for derive_aes_256_key cmd
Change-Id: I0e3080b641b3b050655fdbb626273ec14cbc6aa2
Signed-off-by: Poovendhan Selvaraj <quic_poovendh@quicinc.com>
2023-08-08 10:57:09 +05:30
Linux Build Service Account
2e06720106 AU_LINUX_QSDK_GINGER_TARGET_ALL.12.4.5.1584.108
-----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQTxBDvDjyiEYwLkeGuhSA9lgKkB8QUCZMtBzQAKCRChSA9lgKkB
 8RFSAJ4gwTjy/jtpZGTuOSjhnkJCSRzF3gCfS9Bcchd54YnAG6JAIPMWk63KSZU=
 =iY5w
 -----END PGP SIGNATURE-----

Merge AU_LINUX_QSDK_GINGER_TARGET_ALL.12.4.5.1584.108 on remote branch

Change-Id: I66adbc325ea879295e5a299304e538c3d340b16b
Signed-off-by: Linux Build Service Account <lnxbuild@localhost>
2023-08-02 23:36:15 -07:00
Linux Build Service Account
dded5e9454 Merge "sysupgrade : add support for non-signed rootfs" 2023-08-02 13:40:14 -07:00
Vijay Balaji
c9320a61f8 sysupgrade : add support for non-signed rootfs
This change adds support to authenticate signed
rootfs images if rootfs_auth is enabled. It will
authenticate kernel image when rootfs image is not
signed.

Change-Id: I5f9da1c033c5530ebce4bff9f0fb4f69aaca9213
Signed-off-by: Vijay Balaji <quic_vijbal@quicinc.com>
2023-08-02 11:29:29 +05:30
Vandhiadevan Karunamoorthy
dd2a35262d driver: nand: update flush status buffer
Change-Id: I9e08b58e11b70d2f9a6859c0ed836388d8b17084
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2023-08-01 03:10:33 -07:00
Vandhiadevan Karunamoorthy
4d65cdacde bootqca: add key parsing support in bootargs
Change-Id: Ibdd89e117da0bda61793af79d0eb00bacbe7585b
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2023-07-31 00:14:12 -07:00
Linux Build Service Account
da8430c5fb Merge "ipq9574: Add support for RDP467" 2023-07-27 13:41:22 -07:00
Linux Build Service Account
0c86ecbfd6 AU_LINUX_QSDK_GINGER_TARGET_ALL.12.4.5.1584.102
-----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQTxBDvDjyiEYwLkeGuhSA9lgKkB8QUCZMIHjQAKCRChSA9lgKkB
 8fQ5AKC1TlBXv5k8Fdl++N07r5jPfO4g5ACg3j/Dk13NL2VOiYeUKvraWdlObCI=
 =0WFj
 -----END PGP SIGNATURE-----

Merge AU_LINUX_QSDK_GINGER_TARGET_ALL.12.4.5.1584.102 on remote branch

Change-Id: Ic1f1a0069ea771c942f065f302b9519d9b42b60f
Signed-off-by: Linux Build Service Account <lnxbuild@localhost>
2023-07-27 01:11:10 -07:00
Ram Kumar D
a884d2f2da arch: arm: dts: updated qca808x PHY mode support in AL06
This patch updates the following ethernet configuration
on ipq9574.
Previously, AL06 has qca8075 PHY attached in the UNIPHY0,
now it has been replaced with qca808x PHY mode.

Change-Id: Ieb5b9ef10bd1ebfd1992cbfa10cb02b2ac4d0534
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2023-07-26 14:12:01 +05:30
Saahil Tomar
1acea54708 ipq9574: Add support for RDP467
RDP467 is same as AL02-C4 with PCIE0 enabled with
wkk support.

Change-Id: If6ba645b7c62a3320139a7c86e0b89ec525a0fb7
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
Signed-off-by: Hariharan K <quic_harihk@quicinc.com>
2023-07-24 03:06:22 -07:00
Vijay Balaji
91b4536719 sysupgrade : removed unused code
We want to extract rootfs image from ubi without any
changes, as we are traversing through the rootfs image
for 0xdeadc0de in extract_rootfs_binary() to extract
the image till 0xdeadc0de offset.

Change-Id: Iefeec6db72b65310310d74835b68ec3d22144608
Signed-off-by: Vijay Balaji <quic_vijbal@quicinc.com>
2023-07-21 06:17:36 -07:00
Karthick Shanmugham
ad1d2f1144 board: qca: ipq9574: Add atf crypto fixup support
This changes fixup "qcom,controlled-remotely" property and
"qti,config-pipe-trust-reg" property in the crypto bam node
in ATF boot. This will enable the kernel to do complete bam
pipe initialization.

Change-Id: I454c4e4e68354506dc16b1e72b514264778314e0
Signed-off-by: Karthick Shanmugham <quic_kartshan@quicinc.com>
2023-07-18 20:54:38 -07:00
Vijay Balaji
6814dfbb98 sysupgrade : add support to extract rootfs binary
This change adds support to extract rootfs binary
till correct data-block offset and replaces the
binary for image authentication in both
EMMC and Nand flashtypes.

Change-Id: Ib56228a620ffc5bcfae8b51682377b68e273484f
Signed-off-by: Vijay Balaji <quic_vijbal@quicinc.com>
2023-07-18 10:15:22 -07:00
Linux Build Service Account
0a590f6602 AU_LINUX_QSDK_GINGER_TARGET_ALL.12.4.5.1584.092
-----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQTxBDvDjyiEYwLkeGuhSA9lgKkB8QUCZLOGAQAKCRChSA9lgKkB
 8XrWAJ9S1yT1gwwdNL7achYWSBLn5p9HdgCfbn2U/zcRtTbXBIEUDDmGprQblaM=
 =dRc6
 -----END PGP SIGNATURE-----

Merge AU_LINUX_QSDK_GINGER_TARGET_ALL.12.4.5.1584.092 on remote branch

Change-Id: I01369bbb107cf68a71296e13a75ca11ffc88ef04
Signed-off-by: Linux Build Service Account <lnxbuild@localhost>
2023-07-16 22:08:21 -07:00
Ram Kumar D
93f6d0d8fc arch: arm: dts: add support boot linux 6.1 images
This patch add supports to boot linux 6.1 images on
IPQ5332 & IPQ9574 DB boards.

Change-Id: Ifd9fb1b74c248ffc625c7c49fc96dd7d16a8670f
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2023-07-13 04:55:02 -07:00
Linux Build Service Account
b64a688822 Merge "board: qca: arm: ipq5332: Add AP-MI01.3-C2 RDP Support" 2023-07-11 08:13:06 -07:00
Linux Build Service Account
2cad1f3303 AU_LINUX_QSDK_GINGER_TARGET_ALL.12.4.5.1584.086
-----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQTxBDvDjyiEYwLkeGuhSA9lgKkB8QUCZKudzQAKCRChSA9lgKkB
 8SZkAJwNshvBQz8SiHUi/Uk1/jJ3M03+FQCfcHMg1a7+JYBHBjVWbrFMqAAVoO0=
 =04PC
 -----END PGP SIGNATURE-----

Merge AU_LINUX_QSDK_GINGER_TARGET_ALL.12.4.5.1584.086 on remote branch

Change-Id: I2e3655644ec361d938d10c10b1c617727a4656e4
Signed-off-by: Linux Build Service Account <lnxbuild@localhost>
2023-07-11 00:52:20 -07:00
Timple Raj M
69c7dd479f board: qca: arm: ipq5332: Add AP-MI01.3-C2 RDP Support
Change-Id: Ia9a177009701e83bec37cb539a014cb973d5c47d
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-07-10 16:20:20 +05:30
Ram Kumar D
c8f05e9e69 configs: enable tiny config for ipq5332
Change-Id: I19394ce3852e26cc9cb2f25b220e2dbea044e863
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2023-07-07 18:29:15 +05:30
Timple Raj M
9907ad8d46 board: qca: arm: ipq5332: fix to improve performance in compliance test
This patch adds the XCFG configuration for improving the
performance in the USB compliance test

Adjust HSTX slew rate from 565 ps to 400 ps
Adjust Manual control ODT value from 45.02 Ohm to 33.97 ohm
Adjust HSTX Current of current-mode driver, 17.1mA * 22.5ohm = 385mV

Change-Id: I21a6fc9ff520c36d5cbc4d727e48309d556c8165
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-07-06 02:57:46 -07:00
Ram Kumar D
972171125f board: qca: ipq9574: fixup config name for 6.1 kernel
The previous fixup patch will not actually fdt fixup all the
mentioned config name, it will pick the first one only. So
that, 6.1 kernel will not boot up.

So, updating the config name fixup logic for the multiple
config names.

Change-Id: I4197c04c1edcd72e0982ccbf6884617c998880de
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2023-07-04 18:04:39 -07:00
Linux Build Service Account
d1e083ed9b AU_LINUX_QSDK_GINGER_TARGET_ALL.12.4.5.1584.078
-----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQTxBDvDjyiEYwLkeGuhSA9lgKkB8QUCZJ5tuAAKCRChSA9lgKkB
 8TZ8AKCycgA2MJH65jm1D9A+d06QrxGIjQCghzHGof7occEIGCbff7IU1n1t8WY=
 =0V71
 -----END PGP SIGNATURE-----

Merge AU_LINUX_QSDK_GINGER_TARGET_ALL.12.4.5.1584.078 on remote branch

Change-Id: Ia24906d5d92a8a27ae7d1bb5e17a0bf3070d02aa
Signed-off-by: Linux Build Service Account <lnxbuild@localhost>
2023-07-02 22:36:04 -07:00
Amandeep Singh
ddb8345d0f dts: ipq5018: Update SDX reset GPIO
Update SDX reset GPIO to restart SDX during different SSR scenarios.

Change-Id: I8ecda7f08bbb00498736925efb6bc0f834da48a8
Signed-off-by: Amandeep Singh <quic_amansing@quicinc.com>
2023-06-30 11:16:54 +05:30
Hariharan K
c758218e5f drivers: net: ipq: Use 16bit for phy_chip_id1 and phy_chip_id2
Changing the data type of phy_chip_id1 and phy_chip_id2 from
32-bit to 16-bit and initializing them to 0 to avoid any junk
value while shifting and concatenating them to form the final
phy_chip_id.

Change-Id: If96b01db9ec2b3c0a259ea3c98516d1f18a898ce
Signed-off-by: Hariharan K <quic_harihk@quicinc.com>
2023-06-28 04:22:44 -07:00
Vijay Balaji
acfb230049 sysupgrade: Use ubi volume name instead of volume id
We observed that ubi_rootfs volume id is different for ipq807x
and ipq95xx, so we use volume name instead of volume id for
rootfs extraction from ubi.

Change-Id: I0b536fbceae47279b81d76f8108ca8640c09657c
Signed-off-by: Vijay Balaji <quic_vijbal@quicinc.com>
2023-06-26 19:19:55 +05:30
Linux Build Service Account
383a1fcbca Merge "pack_v2: remove the mibib_reload sequence for nand apps img" 2023-06-22 16:38:41 -07:00
Saahil Tomar
d8c716c263 pack_v2: remove the mibib_reload sequence for nand apps img
Change-Id: I846700d480a5ef0577a8f279fcd1932d2463d38c
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2023-06-20 20:18:00 +05:30
Timple Raj M
42dc3da268 arm: dts: ipq5332: Append rdp474 name in config
This patch appends the rdp474 name of ap-mi01.9 in config

Change-Id: If97ced31402d4f7bb84fb27f7eb4d53e4f4edfd7
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-06-20 03:28:14 -07:00
Linux Build Service Account
ff908a621a Merge "pack_v2: Add NAND 64M flash support" 2023-06-16 17:42:06 -07:00
Linux Build Service Account
bec40bfbbd Merge "arm: dts: ipq5332: Update DB-MI02.1 dts" 2023-06-16 12:39:15 -07:00
Linux Build Service Account
be2a59efa5 Merge "bootm: fix size arg of flush_cache() in bootm_load_os()." 2023-06-16 09:14:14 -07:00
Timple Raj M
fcfcac8c34 pack_v2: Add NAND 64M flash support
This patch adds the NAND 64M flash support and adds
the new param --flash_size to denote the flash size

Change-Id: I101cf75d2f1d177475052b8f90cb0cdf30731a20
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-06-16 02:41:03 -07:00
Timple Raj M
210378481c arm: dts: ipq5332: Update DB-MI02.1 dts
Reuse DB-MI02.1 for 256M DDR and single QCN64xx radio configuration

Change-Id: Ia08a7705e5254b59cb8f15f5bcba41497fc3eb94
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-06-16 02:21:25 -07:00
Purna Chandra Mandal
76c224fee7 bootm: fix size arg of flush_cache() in bootm_load_os().
Variable _load_end_ points to end address of uncompressed buffer
(*not* uncomress_buffer_end / sizeof(ulong)), so multipling uncompressed
size with sizeof(ulong) is grossly incorrect in flush_cache().
It might lead to access of address beyond valid memory range and hang the CPU.

Tested on MIPS architecture by using compressed(gzip, lzma)
and uncompressed uImage.

Signed-off-by: Purna Chandra Mandal <purna.mandal@microchip.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Signed-off-by: POOVENDHAN SELVARAJ <quic_poovendh@quicinc.com>
Change-Id: Ia93bfc549e348e655a748a24f59b38a0f80659ce
(cherry picked from commit 8d4f11c203)
2023-06-15 08:03:20 -07:00
Gurumoorthy Santhakumar
73f9289aad ipq9574: dts: rdp config name change
Change-Id: Iab58960a2018d855763bad260cdc5c01e8652fae
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2023-06-14 23:54:18 -07:00
Vandhiadevan Karunamoorthy
9288e589ba ipq5332: skip 25M clk config in QCA8084 bypass-mode
Change-Id: I7d59929148c9953537318b3cbacaa33972d40ac6
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2023-06-13 01:36:59 -07:00
Linux Build Service Account
500b086449 Merge "arm: dts: ipq9574: Add AL05 & AL06 RDP support" 2023-06-12 05:56:06 -07:00
Saahil Tomar
f2ae718b2a arm: dts: ipq9574: Add AL05 & AL06 RDP support
This RDP is based on AL02-C4, with changes in ethernet for GPON enablement

Change-Id: Ic25d9009e685d8646564bda582305fbf1bce2be6
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2023-06-09 10:27:54 +05:30
Ram Kumar D
9339e8cfbb arch: arm: dts: ipq: add support boot linux upstream images
Change-Id: I451ceff7b899797168eb0d6d15b4426d102b03de
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2023-06-06 23:26:50 -07:00
Timple Raj M
92c955ab7e board: qca: arm: ipq5332: Add AP-MI04.1-C2 RDP Support
Change-Id: Ia58f189898f30fce20d053e836d6d974eb252f84
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-06-05 17:10:41 +05:30