Commit graph

10017 commits

Author SHA1 Message Date
Vandhiadevan Karunamoorthy
7c76321c8a configs: ipq5332: add tiny version 2 defconfig
This change is a duplicate version of a tiny profile
with an updated load address and smem layout

Change-Id: I16ceb46547382961e9e91a26af3862057093d3b2
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
2024-05-31 11:23:41 +05:30
Timple Raj M
6e270602f8 board: qca: arm : ipq5332: Add config_name for AP-MI04.1-C2 RDP
This patch adds config_name for AP-MI04.1-C2 RDP to support
the OpenWrt version 23.05

Change-Id: I7198ad3a73fd8a58022a133cba9494d8af458566
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2024-04-30 14:24:44 +05:30
Ram Kumar D
18b9df54bf board: qca: skip setting dump2mem idenfier in failure case
Change-Id: I655c5c471180361dfcd7e2b07c8b79fe0597cf65
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2024-04-24 12:11:38 +05:30
Linux Build Service Account
a6a13af5f4 Merge "board: qca: crashdump: add condition check for size" 2024-03-22 11:40:07 -07:00
Linux Build Service Account
7573271eb1 Merge "ipqsoc: Skip reset in crash dump path." 2024-03-22 08:41:12 -07:00
Ram Kumar D
698f9adf4f board: qca: crashdump: add condition check for size
This patch add an conditional size boundary check to
make sure that the collected minidumps is within the
reserved memory region. If not, it throws failure
message and do reset.

Change-Id: I97c721f792350e83463f5dcff412785b8263bb4c
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2024-03-19 16:53:24 +05:30
Linux Build Service Account
4568deeb3c Merge "board: bootqca: add null check for bootargs" 2024-03-18 05:43:09 -07:00
Gurumoorthy Santhakumar
cf2f0c3a97 ipqsoc: Skip reset in crash dump path.
Skip reset in crash dump path which give access to user
to perform secure authentication.

in crash path,
	bootipq cmd only authenticate kernel/rootfs.
	booting to kernel is restircted.

Enable CONFIG_SKIP_RESET to skip reset in crashdump path.

Change-Id: I28fdd4dc6475d4d26b20a87aa039cef165db1375
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2024-03-18 12:37:20 +05:30
Ram Kumar D
d7c6d8dd31 board: qca: crashdump: add support save minidumps in nvmem
This patch enable the uboot to collec the minidump
by parsing the TLVs exposed by the kernel and store it
into the nvmem (Non volatile memory) either NAND / eMMC

To enable this feature,

setenv dump_minimal 1
setenv dump_to_nvmem "<partition_name>"

Change-Id: I2f2ed2ad2e8506957288052edaf5d6290ae787b7
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2024-03-09 15:08:32 +05:30
Ram Kumar D
6187ef3200 board: qca: crashdump: update negative case print
Change-Id: Ic61c2ec7d0603795416d57f7fdca5b4069a01f7e
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2024-03-09 15:08:17 +05:30
Timple Raj M
2bb41b0559 board: qca: arm: common: cmd_bootqca: Update config_selection sequence
Instead of updating the config_names in fdt_blob,
the config_names are maintained locally this avoids
the fdt_blob resizing

Change-Id: Ib1d6fecd973394363012564a8fc9e84d36fc7462
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2024-03-07 12:32:38 +05:30
Gurumoorthy Santhakumar
b3c88dd6b1 board: bootqca: add null check for bootargs
Change-Id: I5328f97ca6df52efeb60e6c0dddd1d84d1a5a039
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
2024-03-06 15:32:08 +05:30
Ram Kumar D
1631a0664a board: qca: skip dumpfile if file size is zero
Change-Id: I09d291c5346a094be9156b6b4a05a23c7d698617
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2024-02-22 15:51:07 +05:30
Linux Build Service Account
b8c0e50f54 Merge "board: qca: arm: add support to dump minidumps on memory" 2024-02-05 00:12:58 -08:00
Ram Kumar D
17f2872c6b board: qca: ipq5332: updated scope for the loop in PHY reset
The missing calibrace leads to an in-valid hardware access,
it in-turn causes silent reboot. So, added the calibrace to
define the scope for the loop statement.

Change-Id: I0c719798af35eb21a824ee6f570501dab720e241
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2024-02-02 16:43:16 +05:30
Ram Kumar D
f53b5a7770 board: qca: arm: add support to dump minidumps on memory
This patch enables support to do minidump on DDR.
Enable this support by setting respective reserved mem address
in the env "dump_to_mem"

setenv dump_minimal 1
setenv dump_to_mem "<addr> <size>"
addr & size param should matches with respect to the kernel
reserved memory region.

setenv dump_to_mem "0x44000000 0x500000"

Change-Id: I3f98269d42eed1e6301ed76eb9d1bcdd82046d41
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2024-01-31 16:13:00 +05:30
Saahil Tomar
c70ced3786 arm: dts: Add MI01.3-C3 dts support
This change adds MI01.3-C3 (RDP486) which is a derivative of RDP442

Change-Id: Ia19d7bf94962a52b76cc4556969c4ed1cd3706b6
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2024-01-19 13:00:55 +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
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
Linux Build Service Account
483fd02deb Merge "arm: dts: Add MI01.13 (RDP480) dts support." 2023-11-21 03:12:02 -08:00
Linux Build Service Account
e5277a298e Merge "arm: dts: Add MI01.12 (RDP479) dts support" 2023-11-16 12:10:22 -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
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
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
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
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
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
2ad630d543 Merge "ipq9574: Add support for AL02-C20" 2023-09-27 11:10:17 -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
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
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
Gokul Sriram Palanisamy
21b446487d ipq5332: TINY NOR: add compressed_art fixup
For tiny profiles, ART partition is compressed.
Indicate the same to the Linux kernel with an fdt entry.

Change-Id: I9c3a21fc2c8350487fc100dedc79480fec5d462f
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
2023-09-14 16:08:55 +05:30
Gokul Sriram Palanisamy
3d9a6738dd ipq5332: TINY NOR: disable fdt fixup support
Change-Id: I84571b92a1ad47b4858befcbec99ef74de55f36c
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-09-14 14:38:30 +05:30
Gokul Sriram Palanisamy
2a9fbaee93 ipq5332: TINY NOR: Add CONFIG_REDUCE_FOOTPRINT
This new config CONFIG_REDUCE_FOOTPRINT is
added for non-standard code reduction to
address tiny-nor size requirements.

Change-Id: I0ed9df935e8f16bc83bd937432ecf0f892f88caf
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
2023-09-13 20:48:37 -07:00
Gokul Sriram Palanisamy
dc54ad636c ipq5332: TINY NOR: disable exectzt, jump_kernel_64
Disable tzapp and 64-bit kernel support.

Change-Id: I13046276f266a24f4a05c6f39bccc7c2e5a898e2
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-09-13 20:47:11 -07:00
Linux Build Service Account
b0fe779d01 Merge "ipq5332: TINY NOR: add single dts support with config@1" 2023-09-13 17:09:26 -07:00
Gokul Sriram Palanisamy
c9029ee806 ipq5332: TINY NOR: add single dts support with config@1
For mi04.1-c2, add a fallback entry config@1 for
single dts FIT image.

Change-Id: I4f589fd3c8c5ddff28fdebeef81f76bb577a5a5c
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
2023-09-13 14:38:13 +05:30
Gokul Sriram Palanisamy
f33264587a ipq5332: TINY NOR: disable signed boot support
Disable signed image authentication and secure dump support.

Change-Id: I3f32cf252dc857f9b03af3474018218fe6601b37
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-09-12 17:56:47 +05:30
Ram Kumar D
20278977d9 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 16:36:42 +05:30
Linux Build Service Account
491f902ebe Merge "bootqca: add support to append bootargs via fit header" 2023-09-04 10:11:36 -07:00
Linux Build Service Account
e061dfc34e Merge "arm: dts: Add RDP479 & RDP481 dts support" 2023-09-04 02:42:46 -07:00
Saahil Tomar
4a573f00ff arm: dts: Add RDP479 & RDP481 dts support
RDP479 IPQ5332 + QCN6432 + QCN9224 (2+2+4)
	PCIe0 QCN6432-6G
	PCIe1 QCN9224-5G

RDP481 IPQ5332 + QCN6432 + QCN9224 (2+2+4)
	PCIe0 QCN6432-5G
	PCIe1 QCN9224-6G

Change-Id: I5d2e6c123ff8488c560f471789a13a49adfb4a5d
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
2023-08-31 11:16:54 +05:30
Ram Kumar D
2017b7e18b bootqca: add support to append bootargs via fit header
Change-Id: I0ea34e5c7ab1ba7ab27f0df5cc895bed103a248d
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2023-08-25 16:10:00 +05:30
Riddhi Aggarwal
69c928c0f9 ipq9574: fix spelling issue in DPR command logs
Change-Id: I8e68a153021db94884e4e305703c4a74ced34bd3
Signed-off-by: Riddhi Aggarwal <quic_riddagga@quicinc.com>
2023-08-24 03:27:46 -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