Commit graph

37573 commits

Author SHA1 Message Date
Vijay Balaji
3f84414cde sysupgrade-helper : Fix KW issues and warnings for sysupgrade
Here we are adding support to fix several warnings and
NPD.FUNC.MUST, ABV.GENERAL, INCORRECT.ALLOC_SIZE KW issues
in sysupgrade source code.

Change-Id: If8053878696494c1425ebd20840d17d9c6a74524
Signed-off-by: Vijay Balaji <quic_vijbal@quicinc.com>
2024-01-11 13:12:58 +05:30
Linux Build Service Account
a07ff15e2e Merge "board: qca: arm: ipq: config_name update" 2024-01-02 10:09:56 -08:00
Timple Raj M
371c067c14 drivers: mtd: spi: Add MX25U12832F SPI NOR device support
Change-Id: Ie8ee6c5a79fe6469b3c7688010ce33cac60ffc4a
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-12-28 17:41:58 +05:30
Hariharan K
0054e407fa board: qca: arm: ipq: config_name update
Updating the config_name parameter to
support openwrt backwards compatibility.

Change-Id: I129aad5df7e14bcf39d9f971a860b5884cde2667
Signed-off-by: Hariharan K <quic_harihk@quicinc.com>
2023-12-21 16:39:13 +05:30
Linux Build Service Account
32187e52f7 Merge "include: configs: remove unused config" 2023-12-21 00:12:39 -08:00
Ram Kumar D
26c428c064 include: configs: remove unused config
Change-Id: Ic0c412e6424b1da9b62ef8b31aed35307d011fd1
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2023-12-20 16:34:14 +05:30
Linux Build Service Account
23045aca4b Merge "arch: arm: dts: update the config name for all IPQ6018, ipq5018 and ipq807x targets" 2023-12-18 13:10:46 -08:00
Ram Kumar D
0b102f4bdc board: qca: arm: load rootfs as per the elf hdr
During rootfs authentication, this following patch makes
the uboot will load rootfs at the load address mentioned
in the rootfs elf hdr which is present at the end of
kernel image.

Change-Id: Iba9d31c72d01449b858b3866f38f369b67011cae
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2023-12-14 16:03:29 +05:30
Atchaya R
1cb16c44de arch: arm: dts: update the config name for all IPQ6018, ipq5018 and ipq807x targets
Signed-off-by: Atchaya R <quic_ratchaya@quicinc.com>
Change-Id: Ib0c78de0e33ab40c927702da777764e300b581c7
2023-12-14 13:20:27 +05:30
Linux Build Service Account
ded4e73260 Merge "configs: ipq807x: Change CONFIG_IPQ_FDT_HIGH address" 2023-12-13 12:10:06 -08:00
Hariharan K
20640c2ea2 configs: ipq807x: Change CONFIG_IPQ_FDT_HIGH address
Changing the CONFIG_IPQ_FDT_HIGH address for ipq807x
platform to avoid the DT blob load address from
overlapping with the tzapp_data(0x4A300000) region.
The kernel created a 2MB readonly mapping of the
DT blob. Due to this the mapping will also extend
into the tzapp(0x4A400000) region, which is TZ
protected.

Hence changing the FDT high address to from 0x4a400000
to 0x4a200000 to avoid access violation issues.

Change-Id: I3283c0afdec8ab126ea109c7ca9184a9ea577f16
Signed-off-by: Hariharan K <quic_harihk@quicinc.com>
2023-12-12 01:55:33 -08:00
Linux Build Service Account
37f9e7e91d Merge "arch: arm: dts: Enable SPI NOR support for MI01.2" 2023-11-24 16:39:51 -08:00
Saahil Tomar
a91b6759b1 arch: arm: dts: Enable SPI NOR support for MI01.2
Change-Id: I3c823cde2dcde912169da878bba0569b5c9b088a
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2023-11-23 22:25:12 -08:00
Linux Build Service Account
1dbf523fb6 Merge "qca: ipq: fix to correct wrong delay obtained from udelay function" 2023-11-21 12:40:24 -08:00
Linux Build Service Account
fa13b8f8c5 Merge "pci: pci_ipq: Fix pci_find_ipq_devices() to not check all PCIe hose" 2023-11-21 06:11:17 -08:00
Linux Build Service Account
483fd02deb Merge "arm: dts: Add MI01.13 (RDP480) dts support." 2023-11-21 03:12:02 -08:00
Praveenkumar I
a937a286fa pci: pci_ipq: Fix pci_find_ipq_devices() to not check all PCIe hose
Fix pci_find_ipq_devices(), which is checking all the PCIe hose from
the given ID and if searching device is not present, it moves till
the last PCIe hose and finds the device. This leads to duplicate
entries if unknown devices are also present. Instead it should
check only the selected PCIe hose and return success or failure.

Add QCN6432 in PCI device list so that list_pci command can show it.

Change-Id: I1fd1af9a760354f558680889dd5804abd6145dea
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
2023-11-20 20:39:35 +05:30
Timple Raj M
72d8ec613f qca: ipq: fix to correct wrong delay obtained from udelay function
If usec >= 224000 usec, then:
usec * GPT_FREQ_KHZ = 224000 * 19200 >= 0x100590000,
which is a 33 bits value

To fix this usec is typecasted to 64 bit
(unsigned long long)usec * GPT_FREQ_KHZ

Change-Id: Ib1642d39b0581d2c04c62e415a1fd2dfed47fff1
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-11-17 21:01:28 +05:30
Linux Build Service Account
e5277a298e Merge "arm: dts: Add MI01.12 (RDP479) dts support" 2023-11-16 12:10:22 -08:00
Linux Build Service Account
83c4348a55 Merge "ipqsoc: board: Add restriction for bootm and mw cmd" 2023-11-15 09:40:19 -08:00
Saahil Tomar
881b42a1f7 arm: dts: Add MI01.13 (RDP480) dts support.
RDP480 IPQ5332 + QCN9224 + QCN6432 + QCN9160 (2+4+2+Y)

Change-Id: Ibd36002d30c563932da501901c0e1504e1c33d8f
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2023-11-15 15:00:36 +05:30
Saahil Tomar
8696807c64 arm: dts: Add MI01.12 (RDP479) dts support
Add dts support of RDP 479
IPQ5332 + QCN6432 + QCN9224 (2+2+4)
	PCIe0 QCN6432-6G
	PCIe1(x2) QCN9224-5G

Change-Id: If370919a699f45d8e0b5f41d4214c7e4e2967790
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2023-11-15 14:18:40 +05:30
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
Gurumoorthy Santhakumar
59cb1c8529 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-08 20:52:34 -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