Commit graph

37550 commits

Author SHA1 Message Date
Linux Build Service Account
2e4a573a66 Merge "drivers: net: ipq5332: update clk for 1G SFP" 2023-11-10 10:40:35 -08:00
Linux Build Service Account
db05f76a92 Merge "configs: ipq5332: Add fdtfixup support for tiny-nor" 2023-11-10 01:41:28 -08:00
Timple Raj M
24cab69acd configs: ipq5332: Add fdtfixup support for tiny-nor
Change-Id: Ic75d3ec52f1982fc4e1d6a06cf3227ff2edd7cc2
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-11-09 14:49:15 +05:30
Linux Build Service Account
ade4f74181 Merge "ipq9574: Skip PCIe enumeration during the board_init" 2023-11-09 00:40:47 -08:00
Linux Build Service Account
215f7d2e17 Merge "drivers: net: add Marvel X3410 10GE support" 2023-11-08 08:40:43 -08:00
Praveenkumar I
c3f64b1639 ipq9574: Skip PCIe enumeration during the board_init
In Kernel, we are seeing rare PCIe enumeration failure and suspecting
U-boot PCIe enumeration (Gen1) could impact. Hence skipping the PCIe
enumeration during the board_init and added it after autoboot is stopped.

Change-Id: I9c43b4da07ddd7e44f8c58a51dfd44701590f59b
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
2023-11-08 05:09:09 -08:00
Linux Build Service Account
58e0e74861 Merge "arm: dts: Add MI04.3 (RDP483) dts support" 2023-11-07 20:40:16 -08:00
Vandhiadevan Karunamoorthy
81937af3eb drivers: net: add Marvel X3410 10GE support
Change-Id: Icd95191f2a472fcb125adce53137a52adf08ad47
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2023-11-07 21:15:18 +05:30
Saahil Tomar
ea59bdfcf6 arm: dts: Add MI04.3 (RDP483) dts support
This RDP 483 (MI04.3) is based on RDP478 (MI04.1-C2).
RDP483 has u-boot eth config:4*2.5GE (1+3)

Change-Id: I670e32f3c49a2a71bca8d349b7f4f5334075836c
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2023-11-07 16:51:46 +05:30
Timple Raj M
5e5611e5fc drivers: mtd: nand: Add winbond W25N04KWZEIR device
Change-Id: Id76f33547c3acb7db7e6ad35d478c77580f14ad1
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-11-03 16:03:20 +05:30
Linux Build Service Account
401706e079 Merge "arch: arm: dts: update the config name for all ipq9574 and ipq5332 targets." 2023-10-25 07:39:55 -07:00
ratchaya
c6fd33b70c arch: arm: dts: update the config name for all ipq9574 and
ipq5332 targets.

Change-Id: I8ebafdcd98f68ca2f9287a7c44cadfc77955dff3
Signed-off-by: ratchaya <quic_ratchaya@quicinc.com>
2023-10-19 15:48:16 +05:30
Linux Build Service Account
0b13199a07 Merge "board: arm: ipq6018: Add atf crypto fixup support" 2023-10-19 02:11:36 -07:00
Linux Build Service Account
b3b09c8a1f Merge "arm: dts: Add MI01.7 (RDP473) dts support" 2023-10-18 21:39:20 -07:00
Poovendhan Selvaraj
8ac1dd64de board: arm: ipq6018: Add atf crypto fixup support
This changes fixup to '0' in "qcom,controlled-remotely"
property and '2' in "qti,config-pipe-trust-reg" property
in the crypto bam node if ATF is enabled. This will enable
the kernel to do complete bam pipe initialization.

Change-Id: Idd9523f523c3099ff9ab79a894bec11f6d7a6552
Signed-off-by: Poovendhan Selvaraj <quic_poovendh@quicinc.com>
2023-10-17 23:44:38 +05:30
Rajkumar Ayyasamy
62f3d28fe6 ipq5332: enable JFFS2_CLEANMARKER for all the tiny profiles
This patch also skips adding clean marker if rootfs_data
size is less than 1MB

Change-Id: I3687a1d9954dfc319f6b3880556169269a72c4ea
Signed-off-by: Rajkumar Ayyasamy <quic_arajkuma@quicinc.com>
2023-10-17 13:07:21 +05:30
Gokul Sriram Palanisamy
b57d589204 configs: ipq5332: TINY NOR debug: Enable ETH PHY
Enable ETH PHYs QCA8081 and QCA8084 for debug profile

Change-Id: I3c006799c16d1e2018c75fb0cff85ef8fbf2af7d
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
2023-10-13 02:07:45 -07:00
Saahil Tomar
a53e856d8d arm: dts: Add MI01.7 (RDP473) dts support
RDP473 IPQ5332 + QCN6432 + QCN6432 + QCN9160 (2+2+2+Y)

Change-Id: I321dfecf50bb21835e2e3ed967400d0e29386c06
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2023-10-13 02:01:54 -07:00
Gokul Sriram Palanisamy
70c83e3f70 configs: ipq5332: TINY NOR: disable dtb compression
Disable configs ZLIB, GZIP, CMD_ZIP, COMPRESSED_DTB.

Change-Id: Ie13d82d390f4c60dd20099c6c5a03216940e11a9
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
2023-10-11 17:18:48 +05:30
Gokul Sriram Palanisamy
00b660e13d configs: ipq5332: TINY NOR: enable ART_COMPRESSED
Enable compressed ART support and also
included related header files.

Change-Id: Ie28a0e5a91548b8b4ae9ae0560b7d139812145b3
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
2023-10-11 17:16:33 +05:30
Ram Kumar D
c3163fcb5e drivers: net: ipq5332: update clk for 1G SFP
Change-Id: Ic1274c29664c584124164f6e1b7892d713f335e4
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2023-10-11 10:21:40 +05:30
Linux Build Service Account
1efbe86905 Merge "arch: arm: dts: ipq5332: configure SFP RX pin state" 2023-10-06 09:40:10 -07:00
Linux Build Service Account
be0587eff0 Merge "flash: NOR: add jffs2 clean marker support" 2023-10-06 00:10:16 -07:00
Rajkumar Ayyasamy
2fd3774e61 flash: NOR: add jffs2 clean marker support
during NOR rootfs image flashing , each block in the
remaning space (rootfs_data) will be updated with jffs2 clean marker

Change-Id: I324ee3d61b427533473ebed6653ae8716b31600b
Signed-off-by: Rajkumar Ayyasamy <quic_arajkuma@quicinc.com>
2023-10-05 09:55:08 -07:00
Ram Kumar D
b66a91afdd 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>
2023-10-05 16:56:04 +05:30
Gurumoorthy Santhakumar
96f2c8480b ipq5332: skip dcache disable and enable
during recovery mode dcache will not be available.
So, skip dcache disable and enable during
network transfer

Change-Id: Icc89c846580ebcd73332061a55ae9d8c15fa2b1a
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2023-10-04 17:14:43 +05:30
Rajkumar Ayyasamy
881cdd8aa0 pack_v2: fix wifi fw packing of norplusemmc image
Change-Id: I131e9ca0c3bd512f5f16363bf0ae5836a4601c8c
Signed-off-by: Rajkumar Ayyasamy <quic_arajkuma@quicinc.com>
2023-09-29 19:04:30 -07:00
Timple Raj M
b2c1ec334d pack_v2: Update the image_type condition check for 0:WIFIFW
This patch updates the image_type condition check
for 0:WIFIFW since emmc-partition.xml each partition
information is parsed in single xml tag but for other
partition.xml files each partition information is
mentioned in multiple xml tags

For Example

ipq5332/flash_partition/tiny-nor-partition.xml

<partition>
        <name length="16" type="string">0:WIFIFW</name>
        <size_kb length="4">5500</size_kb>
        <pad_kb length="2">0</pad_kb>
        <which_flash length="2">0</which_flash>
        <attr>0xFF</attr>
        <attr>0xFF</attr>
        <attr>0x00</attr>
        <attr>0xFF</attr>
        <img_name image_type="hlos" optional="true" type="string"
wififw_type="1">wifi_fw_ipq5332_qcn6432_squashfs.img </img_name>
</partition>

ipq5332/flash_partition/emmc-partition.xml

<partition
        label="0:WIFIFW"
        size_in_kb="12288"
        type="888d8069-8d27-40a8-95a9-6006e1ce9b3b"
        bootable="false"
        readonly="false"
        image_type = "hlos"
        optional="true"
        filename="wifi_fw_ipq5332_qcn9224_v2_single_dualmac_squashfs.img"
        />

Change-Id: I1b5835b0835f2c05958924ad6ce5f403e934aac4
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-09-29 07:27:55 -07:00
Linux Build Service Account
e2a8fa4112 Merge "tools: pack_v2: fix wififw image flashing script" 2023-09-28 06:40:09 -07:00
Linux Build Service Account
ad66d83448 Merge "sysupgrade-helper : Fix warnings during compilation" 2023-09-27 18:09:26 -07:00
Linux Build Service Account
d76daa7b87 Merge "arm: dts: Add MI01.2-C2 dts support" 2023-09-27 18:09:24 -07:00
Linux Build Service Account
cba7e5d09e Merge "arch: smem: removed end_magic check in bootconfig" 2023-09-27 15:09:08 -07:00
Linux Build Service Account
2ad630d543 Merge "ipq9574: Add support for AL02-C20" 2023-09-27 11:10:17 -07:00
Gokul Sriram Palanisamy
f52ebe8b10 tools: pack_v2: fix wififw image flashing script
tiny-nor was using ubi volume name "wifi_fw" instead
of partition name "0:WIFIFW". This change fixes the same.

Change-Id: I55dc83a2cc40178ffffdfa25fe20a739f21040ad
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
2023-09-27 19:22:42 +05:30
Vijay Balaji
04a18622dd 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>
(cherry picked from commit 6a7c18c463)
2023-09-27 00:16:00 -07:00
Saahil Tomar
34c2bbf2d8 arm: dts: Add MI01.2-C2 dts support
This change adds MI01.2-C2 (RDP484) which is a derivative of RDP441
with PON SFP connected and ethernet SFP plugged out.

Change-Id: I2075b3a4f09e510bbc5f188209435b97b06e5ba7
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2023-09-26 02:41:25 -07:00
Ram Kumar D
8104d45265 tools: pack_v2: resolving wifi fw section name mis-match
This patch resolves the wififw section name mis-match for
the nor flash types.

In image info, wififw-SHA-HASH is used, whereas in the scripts
wifi_fw_ipq5332_qcn6432-SHA-HASH is used. It occur on nor-only build.
For nand/nor+nand, wifi usually in the ubi volume. Incase of
emmc, it is properly taken care.

So, handled all nor-only cases (including tiny-nor) as
similar as emmc case.

Change-Id: I3741a8255da487ad0546d9706933d19f1b1a3a93
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2023-09-25 03:00:54 -07:00
Hariharan K
39bc05eace ipq9574: Add support for AL02-C20
Changing RDP467 to AL02-C20.
Also updating the return machid type
for AL02-C11 similar to AL02-C12,
since AL02-C11 is converted to RDP455
configuration.

Change-Id: I87e3b954d1ea9f38b24504f5b5754f9fef38df83
Signed-off-by: Hariharan K <quic_harihk@quicinc.com>
2023-09-23 18:50:49 +05:30
Gurumoorthy Santhakumar
c61b701c04 arch: smem: removed end_magic check in bootconfig
This patch is to support bootconfig with crc32

Change-Id: I49a7c5e3a578a166d25b8c7387a9a5ffd21652a8
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2023-09-22 07:18:38 -07:00
Linux Build Service Account
5f169ad23b Merge "ipq5332: TINY NOR: add compressed_art fixup" 2023-09-22 04:10:56 -07:00
Linux Build Service Account
7998e7fb24 Merge "arm: dts: Rename RDP479 to MI01.12 & RDP481 to MI01.14" 2023-09-21 22:39:59 -07:00
Saahil Tomar
2229c3c63c arm: dts: Rename RDP479 to MI01.12 & RDP481 to MI01.14
This change renames all the affect files from rdp479/rdp481 to
mi01.12/mi01.14 respectively

Change-Id: Ia06a17b9c34bf7e49fe43721db1e83bd4f5a7e3e
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2023-09-21 11:34:08 +05:30
Sridharan S N
884e14bf22 arch: arm: smem: add onfi nand support
Change-Id: Ic603a9bb946fd033e51a8af39cfabe1b64c27d9f
Signed-off-by: Sridharan S N <quic_sridsn@quicinc.com>
2023-09-20 22:55:07 +05:30
Linux Build Service Account
1068e67e2a Merge "arch: arm: dts: ipq5332: set default state for SFP TX pins" 2023-09-19 12:12:42 -07:00
Linux Build Service Account
053a0869f6 Merge "armv7: qca: common: smem: skip printing the partition info if it exceeds flash size" 2023-09-19 04:11:46 -07:00
Linux Build Service Account
f749e8418c Merge "Revert "armv7: qca: common: smem: skip printing the partition info if it exceeds flash size"" 2023-09-19 04:11:45 -07:00
Ram Kumar D
7f9be61b22 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 15:39:56 +05:30
Sridharan S N
1faa3fe00b 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 for
both nand and nor cases.

Change-Id: I446a3300865fbf543b6e585f918f747a1b75a15c
Signed-off-by: Sridharan S N <quic_sridsn@quicinc.com>
2023-09-18 22:16:33 -07:00
Linux Build Service Account
8d8a419f70 Merge "ipq5332: TINY NOR: disable fdt fixup support" 2023-09-15 13:21:04 -07:00
Linux Build Service Account
49a01f2455 Merge "ipq5332: TINY NOR: Add CONFIG_REDUCE_FOOTPRINT" 2023-09-15 08:44:23 -07:00