Commit graph

37470 commits

Author SHA1 Message Date
Gurumoorthy Santhakumar
e42b0b340e ipqsoc: board: Add restriction for bootm and mw cmd
Added restriction for secure board

Change-Id: I7a7b4089689d98a6502b0360bb742fa42eff4759
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2023-11-07 19:29:42 -08:00
Gurumoorthy Santhakumar
d0daefec80 tools: pack: detach ubi after ubi write
Change-Id: I0480b67e7deabd3800324a2c82ca3208b136da37
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2023-10-25 17:04:42 +05:30
Linux Build Service Account
20ea7adb66 Merge "tools: add python3 compatible support on pack scripts" 2023-10-19 10:39:54 -07:00
Ram Kumar D
dd66e02271 arch: arm: dts: ipq5332: configure SFP RX pin state
We used to configure SFP RX pin with 8MA drive strenght and pull
up enabled, but later identified that, it is not really required.
Then, removed it in miami.

But, looks likes when device like SFP-80M module is connected to
SFP cage, these configurations are needed. So, enabling it on
all miami sfp rdps.

This change wont affect our SFP-30M module behaviour.

Change-Id: I5dd758e1d982062d9a0259b50e1e537eeda8ddc8
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
(cherry picked from commit b66a91afdd)
2023-10-17 23:16:26 -07:00
Ram Kumar D
f36acfa8b2 tools: add python3 compatible support on pack scripts
This patch updates the pack & pack-v2 scripts with python3
compatible support

Change-Id: I2bf9a1cb2dedbdae94355aed4078d9f792fc7ba9
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2023-10-11 09:25:57 -07:00
Ram Kumar D
5442a91364 arch: arm: dts: ipq5332: set default state for SFP TX pins
This change force sets the default state for SFP TX pin.

Change-Id: Iaaee73b8c4a6a4abc5fba9b1f88a2225cb1ed39d
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2023-09-19 04:01:57 -07:00
Linux Build Service Account
672b0255df Merge "sysupgrade-helper : Fix warnings during compilation" 2023-09-13 15:39:24 -07:00
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
Ram Kumar D
cbc00c12e6 tools: pack: flash bootconfig only for non-apps image
Update pack script to flash bootconfig only for non-apps
image.

Change-Id: I85be15e48b4e4f3ed40826d0c395f2cc8e5d3f88
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2023-09-12 06:48:19 -07:00
Ram Kumar D
dbd195cdb8 tools: packv1: added support to flash bootcfg based on RDP
This patch adds support to flash the bootconfig based on the
RDPs.

1. To flash bootconfig based on Multi-RDP
   add entry like below in all flash partition xmls

   for non-mmc flash partition:
   <img_name type="string" bootconfig_type="1">file1_name</img_name>
   <img_name type="string" bootconfig_type="2">file2_name</img_name>
   <img_name type="string" bootconfig_type="2">file3_name</img_name>

   for mmc flash partition:
   bootconfig_type_max="2"
   filename_img1="file1_name"
   filename_img2="file2_name"

   and specify which bootconfig to flash on each RDP by adding
   entry like below, in config xml under each RDP nodes.
   <bootconfig_type>1</bootconfig_type>

2. for single bootconfig case, there is no change.
   just add single entry like below in all flash partition xmls
   <img_name type="string">file_name</img_name>

Change-Id: I2ca4d2125c70a7f5176478b3de03b1f6fc98ce08
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
(cherry picked from commit 68ae34c1e1)
2023-09-11 23:09:10 -07:00
Ram Kumar D
417d315940 tools: packv1: align indentation using reindent
Change-Id: I5194e20788a94d88121830ec63c4e8350bdb9387
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
(cherry picked from commit 0b4ee428fb)
2023-09-11 23:06:37 -07:00
Ram Kumar D
43b55089db board: qca: arm: remove MEM_NOC clock access
Since only Q6/TME/TZ should have access to memnoc clock,
so removing the MEMNOC clock enable sequence.

Change-Id: Iee32a59c340cda794b8ee3c314be871ab749ff79
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2023-09-08 05:25:36 -07:00
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