Commit graph

37441 commits

Author SHA1 Message Date
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
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
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
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
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
Linux Build Service Account
ffbe0ca7df Merge "Sysupgrade-helper : Rootfs Authentication during sysupgrade" 2023-06-01 06:46:59 -07:00
Linux Build Service Account
68ef5362c6 Merge "ipq95xx: emmc fdt fixup for kernel 6.1" 2023-05-26 03:43:18 -07:00
Linux Build Service Account
dfb81a053e Merge "qca : Read the TME-l OEM fuse parameters from qfprom core address" 2023-05-25 02:15:07 -07:00
Vijay Balaji
4a1f60a52b Sysupgrade-helper : Rootfs Authentication during sysupgrade
This change will add support for rootfs Authentication in all
flashtypes (Nor, Nand, Emmc and norplusnand) during sysupgrade.
Here we are adding support to sign rootfs image with sha384.
The rootfs metadata is available at the end of kernel image.
This change adds supports to extract rootfs metadata from
kernel image and stores in /tmp/metadata.bin.
It also calculates sha384 of rootfs binary and stores in /tmp/sha384_keyXXXXXX 
After this we use below command to authenticate rootfs metadata:
echo -n "0x17 /tmp/metadata.bin /tmp/sha384_keyXXXXXX" > /sys/sec_upgrade/sec_auth

Change-Id: Iaf304d5edcd3bfff849fcb3705f5342f4c354b5b
Signed-off-by: Vijay Balaji <quic_vijbal@quicinc.com>
2023-05-25 00:38:16 -07:00
Poovendhan Selvaraj
a9fd69f310 qca : Read the TME-l OEM fuse parameters from qfprom core address
Add support to read the TME-l OEM fuse parameters from
qfprom address

Change-Id: Ia4f0766a68b67fccc59a09883dd7ef11bc970eef
Signed-off-by: Poovendhan Selvaraj <quic_poovendh@quicinc.com>
2023-05-25 08:41:20 +05:30
Gurumoorthy Santhakumar
d751fa3e3e ipq95xx: emmc fdt fixup for kernel 6.1
if board has emmc flash type,
Ehable EMMC and disable NAND flash in
kernel device tree during kernel bootup

Change-Id: Ibbe197c39c4c4e47d97c33fa9a48d068e85917ab
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2023-05-24 09:21:43 -07:00
Linux Build Service Account
249b847702 Merge "ipq5332/ipq9574: dts: Append rdp names in config" 2023-05-24 03:17:33 -07:00
Linux Build Service Account
3dd8222d70 Merge "ipq: spi: Enable SPI clocks in Uboot based on QUP id" 2023-05-23 22:46:20 -07:00
POOVENDHAN SELVARAJ
f46eb417a7 ipq5332/ipq9574: dts: Append rdp names in config
Change-Id: Ie8eb4f2ca35723f4400a2b6d6bdb9efb7589b3fc
Signed-off-by: POOVENDHAN SELVARAJ <quic_poovendh@quicinc.com>
2023-05-23 12:52:07 +05:30
Saahil Tomar
d78389b19c ipq: spi: Enable SPI clocks in Uboot based on QUP id
Change-Id: I49d6e74fbb5b7d30a55fc741c2eca5bb66ac2e34
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2023-05-22 16:53:31 +05:30
Timple Raj M
808e5a4a5a arm: dts: ipq5332: Add AP-MI01.9 RDP Support
The AP-MI01.9 is similar to AP-MI01.2 with internal
radio disabled and pcie0 for WKK 5G and pcie1 for WKK 2G

Change-Id: I568c4da0c7604881395dad08be42201fdf9c746b
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-05-16 17:33:54 +05:30
Timple Raj M
610d4bbb6d board: qca: arm: ipq5332: Enable GCC_PCIE3X1_PHY_AHB_CBCR clock
The pcie0 and usb uses combo phy, for usb 3.0 GCC_PCIE3X1_PHY_AHB_CBCR
clock has to be enabled

Change-Id: I281773f40bf7d32b27a27e7dc5e5d531ae3a3dc0
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-05-10 05:24:00 -07:00
Timple Raj M
4042ec1e3d board: qca: arm: ipq5332: Fix to increase the CDR bandwidth
This patch increases the CDR bandwidth to pass the
USB 3.0 Rx jitter tolerance test

Change-Id: Id58b71f4078ea5d60ab0b0d7bf93aa0a5d519e3c
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-05-10 17:51:56 +05:30
Linux Build Service Account
a606ec6497 Merge "mtd: nand: Add support for giga device spi nand" 2023-05-02 06:49:30 -07:00
Linux Build Service Account
3063521eb8 Merge "pack_v2: Append flupdate commands" 2023-05-02 06:49:18 -07:00
Vandhiadevan Karunamoorthy
5de75873f5 Add support for Linux upstream compatible
Change-Id: Ieff863ee8da09d5bfdbcc1a70cdd1face7ae22da
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2023-04-28 03:21:07 -07:00
Linux Build Service Account
eacadbad95 Merge "ipq5332: dts: add mdio gpio config" 2023-04-26 10:18:39 -07:00
Vandhiadevan Karunamoorthy
0a7b4859c6 ipq5332: dts: add mdio gpio config
Change-Id: If916b200018655fcdfa544152902ee3299ad6452
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2023-04-26 16:22:31 +05:30