Commit graph

37114 commits

Author SHA1 Message Date
Praveenkumar I
9e40b52661 tools: pack: Update pack script for IPQ9574
This patch adds the following changes,

Machine ID check for qcn9224 V1 flashing which will help to
skip this FW flashing if WIFI_FW is 1.

Updated EMMC image append and flash script generation logic
to skip if filename_img<x> is not given inside wififw_type_max
range.

Increased the start activity string length to get the full
WIFI_FW image name in console during flashing.

Change-Id: Ica9552caa219cd1f4be9fa25a4e9a716b789ca48
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
2022-08-17 16:14:14 +05:30
Praveenkumar I
144fe5efd0 tools: pack: Set default qcn9224_version as 1
If detect_qcn9224 command is not supported in Uboot, qcn9224 V1
image will be flashed.

Change-Id: I36c3b7c5959b4736abe69d218cae2880c20cfad1
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
2022-08-10 03:19:32 -07:00
Praveenkumar I
724870b677 tools: pack: Update EMMC flash script generation
Change-Id: I26c50de5b94536d32b9c171ff348d8b8e40eb1cd
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
2022-08-08 17:16:19 -07:00
Linux Build Service Account
45d4d7068e Merge "configs: devsoc: Enable version rollback features" 2022-08-08 06:18:39 -07:00
Praveenkumar I
899d455043 tools: pack: Flash QCN9224 V1 only if qcn9224_version present
Change-Id: Ic75da7f5666f6aacc2acefef7b9bb20d5f6e7120
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
2022-08-07 20:56:51 +05:30
Vandhiadevan Karunamoorthy
aa301f7f49 configs: devsoc: Enable version rollback features
These modifications enable TZ+TME to obtain information
about the boot image partition for validation.

Change-Id: If4e6f27eb2c0e38fa8ec0ad552838f1d7a8c34c1
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-08-03 20:52:37 -07:00
Ram Kumar D
8142f374a4 ipq: updated 32-bit RW support for mii & mdio utils
Change-Id: I50e2bf13cfde82e46cc9068e241f89aa7944bbe6
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-08-02 22:08:44 -07:00
Linux Build Service Account
fa3b49840c Merge "ipq9574: Add support for AP-AL02-C11" 2022-08-02 16:43:37 -07:00
Linux Build Service Account
5aa5b74271 Merge "configs: ipq9574: Update default load address" 2022-08-02 16:43:35 -07:00
Linux Build Service Account
4deef50189 Merge "tools: pack: Add support for QCN9224 V1 & V2 flashing" 2022-08-01 08:41:18 -07:00
Praveenkumar I
a7e822260c configs: ipq9574: Update default load address
This patch updates the default load address CONFIG_SYS_LOAD_ADDR
to 0x50000000. Earlier address could not accommodate the larger
single image file, hence this update.

Change-Id: I94b0324a7a65e53af1a2d839b8b7eafeb69c0eef
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
2022-08-01 13:13:36 +05:30
Praveenkumar I
07af4cfed1 tools: pack: Add support for QCN9224 V1 & V2 flashing
From this change, by default QCN9224 V2 image will be
flashed. If QCN9224 version is V1, then V1 image will be
reflashed.

Change-Id: I205239e1ac4d8136272858aeca784553496e324a
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
2022-08-01 12:04:55 +05:30
Linux Build Service Account
2aff3b1ee5 Merge "pci: ipq9574: Add a new command to detect the qcn9224 version" 2022-07-28 10:47:06 -07:00
Praveenkumar I
032831ac58 pci: ipq9574: Add a new command to detect the qcn9224 version
This patch adds a new command support to detect the qcn9224 version.
Based on "detect_qcn9224" command, change configures the BAR0 on EP,
does the window mapping and reads the HW version register. Version
value will be populated in "qcn9224_version" env. Version env will
be zero if there is no qcn9224 attach.

Change-Id: I4f4477590b439f31b46cb0b895dc0d9f8279a064
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
2022-07-28 14:48:25 +05:30
Linux Build Service Account
e2b3415a66 Merge "drivers: net: ipq6018: Add optional active_port env support" 2022-07-22 13:47:23 -07:00
Linux Build Service Account
4550a00065 Merge "drivers: net: ipq807x: Add optional active_port env support" 2022-07-22 10:06:23 -07:00
Ram Kumar D
b5cd432c3a driver: net: ipq6018: add port 5 non-bridged support
vsi port configuration for the port 5 was missed out.
So added it.

Change-Id: I5180112786eb0a6d96ac71246beb0b39f5e166aa
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-07-20 11:11:12 +05:30
Ram Kumar D
17e16a28d3 drivers: net: ipq6018: Add optional active_port env support
This patch adds support for active_port env. With this
change in ipq6018, the end user has an option to
enable & maintain only 1 active ethernet port. There
are no multi-port use case in U-Boot and when multiple
ports were enabled for Kernel usecases, there were some
timeout issues in some special cases during crashdump
collection.

active_port can be used to configure the port which
will be used for TFTP download/upload in u-boot in
those setups. Example: To set Port2 as active_port
following command can be used:

setenv active_port 2 && savee

Note that, the active_port range is from 0 to 4 (there
are a total of 5 ports in ipq6018).

Change-Id: I5e41269ebab8eef96efeeb65f1324cacc9d56710
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-07-19 13:22:08 +05:30
Ram Kumar D
157ffcfdd2 drivers: net: ipq807x: Add optional active_port env support
This patch adds support for active_port env. With this
change in ipq807x, the end user has an option to
enable & maintain only 1 active ethernet port. There
are no multi-port use case in U-Boot and when multiple
ports were enabled for Kernel usecases, there were some
timeout issues in some special cases during crashdump
collection.

active_port can be used to configure the port which
will be used for TFTP download/upload in u-boot in
those setups. Example: To set Port2 as active_port
following command can be used:

setenv active_port 2 && savee

Note that, the active_port range is from 0 to 5 (there
are a total of 6 ports in ipq807x).

Change-Id: I1840cbeb2529cb2d47547852283a215aea551a4f
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-07-19 11:43:07 +05:30
Saahil Tomar
b2742523fe ipq9574: Add support for AP-AL02-C11
Updating this RDP to be based on AL02-C13 with all pcie enabled.
The extra feature is Alder 2G.

Change-Id: I817566ec6e3c95ce72c6b6ea379a73ef1f23ffe4
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2022-07-19 10:38:57 +05:30
Linux Build Service Account
b772a29e7b Merge "board: devsoc: Update UART clock configuration" 2022-07-14 13:49:52 -07:00
Vandhiadevan Karunamoorthy
a4776e7a11 board: devsoc: update PCIE clk configuration
Change-Id: I9516a0ba9dc26428fcc5f717d4fac3645f5992c8
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-07-14 02:48:06 -07:00
Vandhiadevan Karunamoorthy
6f8883280b board: devsoc: Update UART clock configuration
This changes update UART clock MND values

Change-Id: Ie851446e0507b0015a381f196ce4cec1dce3a4bf
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-07-13 02:39:26 -07:00
Linux Build Service Account
bd605848ab Merge "arm64: dts: ipq9574: Add AL02-C15 & AL02-C16 RDP support" 2022-07-13 00:01:24 -07:00
Saahil Tomar
250dfbf658 arm64: dts: ipq9574: Add AL02-C15 & AL02-C16 RDP support
These RDP are based on AL02-C6

Change-Id: I58e5096e09aa2e3fc7bc4494ef91c2f158698977
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2022-07-12 14:46:18 +05:30
Ram Kumar D
b8611c7623 driver: net: qca8084: add seperate configs for PHY & switch
Currently if CONFIG_QCA8084_PHY is enabled means, it will build
all qca8084 functions required for both PHY & switch mode. But,
some ipq devices might uses anyone of them. So, add configs to
seperate the PHY & switch mode and define it in corresponding
defconfig file as per the need.

Also, some of the qca8084 functions will be used only for debug
purpose, those functions are moved under the config QCA8084_DEBUG.

Thereby, we can save some space in the u-boot.

Change-Id: I7e5f53869629a0c7cbbb12daf04ed782c9693623
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-07-11 13:15:03 +05:30
Ram Kumar D
5fa35de070 driver: net: qca8084: reduce clk identifier string size
This size of clock identifier string is large, so which
in-turn reflects in the size of the qca8084_clk object file,
and thus increase uboot size. By reducing the clk identifier
string size, we can save around 0.9K.

Change-Id: Ic986155b6cc2692d67e9c855928ce8039d294d3f
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-07-11 10:55:15 +05:30
Ram Kumar D
75bc424247 driver: net: qca8084: change inline func to non-inline func
Currently, bottom level apis such as qca8084 clk and pinconf
functions are defined as inline functions, which took around
1.3K memory in the uboot. So, update those functions to non-
inline functions to save that space.

Change-Id: I2972ca80d7df80a72d4a027e790400f391546d4b
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-07-11 10:54:48 +05:30
Linux Build Service Account
7c7a6cfcc8 Merge "board: devsoc: updated the kernel auth scm-id" 2022-07-08 14:13:08 -07:00
Linux Build Service Account
d12d768f18 Merge "configs: devsoc: Enable ELF authentication" 2022-07-08 07:42:28 -07:00
Ram Kumar D
e0cc9347c5 board: devsoc: updated the kernel auth scm-id
Change-Id: I3a9b1bb0be8f5875ef3443cc89400557f8388777
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-07-08 18:18:53 +05:30
Vandhiadevan Karunamoorthy
c04d3ac26e configs: devsoc: Enable ELF authentication
Change-Id: Ib740007ed7c9410b5c8d119e3bf2805692cbba15
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-07-08 12:16:42 +05:30
Ram Kumar D
b717c79249 drivers: net: devsoc: enable init non-cache buf support
This changes initialize non-cache buffer every time
before edma configuration.

Change-Id: I3a4f84076516feeb7b578a7543d6e68d788c8931
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-07-08 08:54:45 +05:30
Linux Build Service Account
8e34020d77 Merge "arm64: dts: ipq9574: Add AL03-C2 RDP support" 2022-07-07 14:08:23 -07:00
Linux Build Service Account
37d586a6e9 Merge "arm64: dts: ipq9574: Adding machine ID for WKK RDP" 2022-07-07 14:08:22 -07:00
Linux Build Service Account
ced5244d01 Merge "board: arm: devsoc: add QCA8033 ethernet PHY support" 2022-07-07 05:50:43 -07:00
Linux Build Service Account
c4a471eeb6 Merge "driver: net: devsoc: removed the extra ports and uniphy" 2022-07-06 07:45:16 -07:00
Linux Build Service Account
d8518bbf31 Merge "board: devsoc: add GZIP support for crash dump" 2022-07-06 03:49:25 -07:00
Vandhiadevan Karunamoorthy
5a5b819cda board: devsoc: enable USB crashdump
Change-Id: Ibe81e24299a94c9f48e417b47b6f07c6d9888c16
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-07-05 04:17:37 -07:00
Vandhiadevan Karunamoorthy
753a27267a configs: devsoc: Enable thumb mode
Change-Id: I3a802c53c870e1ec8c0b4c4312e285dac905fc08
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-07-04 23:14:39 -07:00
Vandhiadevan Karunamoorthy
4ecf1588f1 board: devsoc: add GZIP support for crash dump
These changes only add GZIP support for the
default u-boot; they do not apply to the tiny u-boot.

Change-Id: I1f022b77d6c2a82bdff36073746b409e126b5d35
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2022-07-05 11:43:35 +05:30
Saahil Tomar
abdedad311 arm64: dts: ipq9574: Add AL03-C2 RDP support
This RDP is based on AL03-C1.
The extra feature are WK03.2 – 2G+5GL in Pcie 0 &
WK01.7 – 5GH+6G in Pcie 2.

Change-Id: Ic52c71e98e1a06acf36a825d23f1d184601d153a
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2022-07-05 11:01:47 +05:30
Saahil Tomar
9b01c29b28 arm64: dts: ipq9574: Adding machine ID for WKK RDP
This change addressed the missing AL02_C10 and AL03_C1  machine ids
into pack script.

Change-Id: I77398cbcff8b19efd5550536f5b154f5f36d0638
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2022-07-05 10:58:10 +05:30
Ram Kumar D
5eaf4d7afa board: arm: devsoc: add QCA8033 ethernet PHY support
Change-Id: Ifdb6a372c54f3cf1865e7463ecf6dea65495f29e
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-07-05 09:01:13 +05:30
Ram Kumar D
b9cbde2bac driver: net: devsoc: removed the extra ports and uniphy
In devsoc, we have 2 ports and 2 uniphys, so removed the extra
ports and uniphy configurations from the source. Also, updated
the clock src configuration with respect available uniphys and
removed the SFP port support.

Change-Id: I557bd6d215508c190a3e733a0304873ecd02eb24
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-07-05 09:01:13 +05:30
Ram Kumar D
9a6c369849 driver: net: devsoc: add support for S17C switch
Change-Id: If7ccaf9b63b68b0635f955228b161040ab5618cb
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-07-05 09:01:13 +05:30
Ram Kumar D
498754d0eb drivers: net: devsoc: Add support for QCA8084 switch mode
Change-Id: Ibc6517c39f0f9a24e18e62a6810b529b2d60afcf
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-07-05 09:01:13 +05:30
Ram Kumar D
3a42e3475f drivers: net: devsoc: add aquantia PHY support
Change-Id: I4671838eae0d0d7d47bb15a31235b686dc34dccb
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2022-07-05 09:01:13 +05:30
Linux Build Service Account
5c2b183d10 Merge "board: qca: make training offset fixup as generic" 2022-07-04 11:18:41 -07:00
Linux Build Service Account
b0a792f17c Merge "board: arm: devsoc: add tiny-nor support for ipq53xx" 2022-07-04 11:18:37 -07:00