Commit graph

37535 commits

Author SHA1 Message Date
Linux Build Service Account
b3b09c8a1f Merge "arm: dts: Add MI01.7 (RDP473) dts support" 2023-10-18 21:39:20 -07:00
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
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
Linux Build Service Account
e63885e667 Merge "ipq5332: TINY NOR: disable RAMDISK support" 2023-09-15 08:44:23 -07:00
Linux Build Service Account
ad7e881239 Merge "ipq5332: TINY NOR: remove SPI chip support" 2023-09-15 08:44:22 -07:00
Linux Build Service Account
a82d819aaa Merge "ipq5332: TINY NOR: disable exectzt, jump_kernel_64" 2023-09-15 08:44:22 -07:00
Linux Build Service Account
c31b5a5c7c Merge "ipq5332: TINY NOR: disable uart command" 2023-09-15 08:44:21 -07:00
Sridharan S N
314971f0b9 Revert "armv7: qca: common: smem: skip printing the partition info if it exceeds flash size"
This reverts commit c7c20989ab.

Change-Id: Idc9e56ee2f8eaa65cb2939f05b2cba73f13e65ff
Signed-off-by: Sridharan S N <quic_sridsn@quicinc.com>
2023-09-15 21:09:41 +05:30
Linux Build Service Account
013bd36efa Merge "tools: pack_v2: do byte conversion only for python v3" 2023-09-14 11:40:47 -07:00
Linux Build Service Account
825762364c Merge "configs: ipq5332: update system load address" 2023-09-14 07:39:59 -07:00
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
Ram Kumar D
bc38309789 tools: pack_v2: do byte conversion only for python v3
Change-Id: Id72dae43e9612844e8db7d58d2891bf9b2619756
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
2023-09-14 12:20:51 +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
20dd081414 ipq5332: TINY NOR: disable RAMDISK support
Change-Id: Ib600026b1b5e05e1b3a8c1879e61ea24c5557db2
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
2023-09-13 20:48:12 -07:00
Gokul Sriram Palanisamy
4af5d37d7b ipq5332: TINY NOR: remove SPI chip support
Remove support for all SPI flash part
except for GD25LB128D (GIGADEVICE).

Also remove driver support (if any) for
part manufacturer other than GIGADEVICE.

Change-Id: Iaa16f4b20df069aef46def441fe770ef20fc50c4
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:42 -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
Gokul Sriram Palanisamy
3af1bc31ae ipq5332: TINY NOR: disable uart command
Disable uart command used for secondary
uart bringup.

Change-Id: I12aa9af75d32754590ed9dcebb439138a59c88de
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
2023-09-13 20:46:32 -07:00