Commit graph

36463 commits

Author SHA1 Message Date
Linux Build Service Account
24d30ab2b2 Merge "saveenv: spi-nor: fix for data abort issue" 2020-08-10 11:06:31 -07:00
Linux Build Service Account
00ad38e0b2 Merge "ipq5018: configure RFA to 96MHZ" 2020-08-10 02:36:08 -07:00
Vandhiadevan Karunamoorthy
caf976951e ipq5018: configure RFA to 96MHZ
This is temp changes to enable 96MHZ without booloader support.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Ib6db0c798906a5a0d7bc17696c42c495c016db8b
2020-08-10 10:31:37 +05:30
Linux Build Service Account
7a58dc5d41 Merge "qca: Made machid and soc_hw_version as default env" 2020-08-07 09:35:40 -07:00
Linux Build Service Account
166a4e57c0 Merge "pack.py: Added soc validation on image flashing" 2020-08-07 09:35:39 -07:00
Linux Build Service Account
c928329c7c Merge "pack.py: Added machid validation on image flashing" 2020-08-07 09:35:39 -07:00
Linux Build Service Account
ace1d279a1 Merge "env: Export soc_hw_version to environment variable" 2020-08-07 09:35:39 -07:00
Karthick Jeyaraman
a6ca8dd013 IPQ807x: Implement SCM interface for AES 256
Encryptio/Decryption

	- For encryption/decryption, plain data/
	  encrypted date has to be written to memory
	  directly using mw command along with
	  ivadata, type and mode
	- Implemented new uboot command "aes_256"
	  to receive the memory address where the
	  above data is written to
	- Perfom basic sanity check against the data
	  received and send them to secure world through
	  scm calls
	- This is supported only for HK/CYP, hence not
	  implemented for TZ running in 32bit mode

Change-Id: I589a15025cd248cf5792f13ea435c5c5b64c6066
Signed-off-by: Karthick Jeyaraman <kjeyaram@codeaurora.org>
2020-08-05 06:48:06 -07:00
Vandhiadevan Karunamoorthy
465a58cc6b saveenv: spi-nor: fix for data abort issue
This changes update env_flash variable to currently updated memory location
by sf probe. So this will avoid accessing of outdated memory location.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Ib97c485f3c738d5501ee1cdb62c5ebbf421e8d14
2020-08-04 20:01:42 +05:30
Gokul Sriram Palanisamy
499f538fac qca: Made machid and soc_hw_version as default env
Made machid, soc_hw_version, soc_version_minor
and soc_version_major as default env across all
qca arm platforms.

Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Change-Id: I0f284dac705d929f7b6588bc8fe4eaf17916b4b6
2020-08-04 01:56:49 -07:00
Gokul Sriram Palanisamy
235aaa20b5 pack.py: Added soc validation on image flashing
This change helps avoid flashing of unsupported
images resulting in bricking the board.

This change uses SOC_HW_VERSION to validate
soc version before flashing the image.

Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Change-Id: I3c89d1d569b549eb981978c4cab4b095394b6879
2020-08-04 01:56:23 -07:00
Saravanan Jaganathan
dd897ce025 pack.py: Added machid validation on image flashing
This change helps avoid flashing of unsupported
images. preventing from board being bricked.

Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Change-Id: I3b1ccfc76f40c3856de8fbb50131a2b329f6857d
2020-08-04 01:55:32 -07:00
Gokul Sriram Palanisamy
bae298d521 env: Export soc_hw_version to environment variable
soc_hw_version can used to prevent cross-platform
flashing of single images to prevent board
from getting bricked.

Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Change-Id: I579489498c8cbbc944b54e3050a319d1e11cb825
2020-08-04 14:21:10 +05:30
Balaji Prakash J
e0fdbf3dfb ipq: minidump: handle error cases properly
When dump_to_flash is set, and if the cur_type value is
set to QCA_WDT_LOG_DUMP_TYPE_INVALID, while loop is
executed forever. So, handled the error cases properly.

Change-Id: Ic3fdc01897b4fe9a45023074e9397af3c84f3aaa
Signed-off-by: Balaji Prakash J <bjagadee@codeaurora.org>
2020-08-02 23:16:13 -07:00
Pavithra Palanisamy
e02b8309f3 pack: Add tiny-nor-debug flashtype
This patch adds 'tiny-nor-debug' as a flashtype to enable
single image packing for ipq5018 tiny-nor debug build.

Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
Change-Id: I4bd0119e2aeb5eb0229f040a0e22204c040a7649
2020-07-31 16:08:59 +05:30
Linux Build Service Account
3ced8c7d9d AU_LINUX_QSDK_DATE_4.4_TARGET_ALL.12.0.5042
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iEYEABECAAYFAl8eQEIACgkQoUgPZYCpAfEwIQCgxD5zABw4Nln95BwSUoOdzQWJ
 fBYAoKTdRvNHicdxeVhYF6EHU8uIST5u
 =6QNC
 -----END PGP SIGNATURE-----

Merge AU_LINUX_QSDK_DATE_4.4_TARGET_ALL.12.0.5042 on remote branch

Change-Id: I0fc38ae78caaca48cd9a7d20195c90efc1153d8f
Signed-off-by: Linux Build Service Account <lnxbuild@localhost>
2020-07-27 00:51:00 -06:00
Gokul Sriram Palanisamy
d30e27b42d dts: Enable dts support for DB-HK02
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Change-Id: Iea51ec57cb43fd4f19fbe370865779cfff6f6190
2020-07-24 09:52:13 +05:30
Linux Build Service Account
f7b7e64d00 AU_LINUX_QSDK_DATE_4.4_TARGET_ALL.12.0.5004
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iEYEABECAAYFAl8Xx0cACgkQoUgPZYCpAfEj9gCfeUDkuW4Fl31J+BRufc7eLpR6
 0qwAoNBYHqWLYrqseiSeXQG/7GFd0N17
 =mYsy
 -----END PGP SIGNATURE-----

Merge AU_LINUX_QSDK_DATE_4.4_TARGET_ALL.12.0.5004 on remote branch

Change-Id: I3ac8e2711925531902a56ba82f632ddb6cd8cf8a
Signed-off-by: Linux Build Service Account <lnxbuild@localhost>
2020-07-22 22:23:12 -06:00
Vandhiadevan Karunamoorthy
cec29b5195 ipq5018: Add 8033 phy support in MP02.1 RDP
This changes add 8033 phy support in MP02.1(Ap & Db) RDP
in tiny nor flash

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Ib35faba4321c70fed007c923ff0f5e618fad0276
2020-07-20 14:51:05 +05:30
Linux Build Service Account
c0b597bf7a AU_LINUX_QSDK_DATE_4.4_TARGET_ALL.12.0.4971
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iEYEABECAAYFAl8Sjo0ACgkQoUgPZYCpAfFxdwCg9FMMfV53xSik9rDSa+6qCXCT
 mIQAnRVKWPWtnJO5RaBm7jJQTIjo94LU
 =S/Wc
 -----END PGP SIGNATURE-----

Merge AU_LINUX_QSDK_DATE_4.4_TARGET_ALL.12.0.4971 on remote branch

Change-Id: I0dad2ab170ec9fb9b48a9cd5b63516dfb1323daa
Signed-off-by: Linux Build Service Account <lnxbuild@localhost>
2020-07-19 23:24:16 -06:00
Linux Build Service Account
d386abb434 Merge "driver: i2c: Enable I2C support for ipq5018" 2020-07-17 08:11:15 -07:00
Linux Build Service Account
a52529d83e AU_LINUX_QSDK_DATE_4.4_TARGET_ALL.12.0.4960
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iEYEABECAAYFAl8QvvoACgkQoUgPZYCpAfEqrwCgzUr9nZOdNl3m8ju0bngbso0x
 lPUAn16xMaJc04Xx480CVEk4Oi31i8a6
 =3XwV
 -----END PGP SIGNATURE-----

Merge AU_LINUX_QSDK_DATE_4.4_TARGET_ALL.12.0.4960 on remote branch

Change-Id: I6097cd285a2e2ab8e6ad446a88cc7f357a2e4a63
Signed-off-by: Linux Build Service Account <lnxbuild@localhost>
2020-07-16 23:07:15 -06:00
Linux Build Service Account
ff77fbc738 Merge "ipq5018: Update uncompress load address" 2020-07-16 11:41:58 -07:00
Md Sadre Alam
6639bc0828 driver: i2c: Enable I2C support for ipq5018
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I9da4833a6aefc132092b88b4610f57dd3568ee5a
2020-07-16 18:53:41 +05:30
Vandhiadevan Karunamoorthy
6ce81e423e ipq5018: Update uncompress load address
This change update uncompress load address for ART
uncompress action, previously it was load at sys address.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Ifce14c3cfe7746203acfcffa91adb2861f2b03db
2020-07-14 09:02:22 +05:30
Vandhiadevan Karunamoorthy
d760f30afe ipq5018: Add multicore support
This features allow to execute task on core 1.
This features not enable in tiny u-boot

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I986e7e3af840fd627dc5b6675931b79ab24ecb33
2020-07-14 08:57:51 +05:30
Ram Chandra Jangir
ad5a716a38 tools: Add support to use ubi image name specified in partition xml file
This change adds support to use the ubi image names provided
in partition xml file and removes the hardcoded ubi image name
from pack script.
This will help pack script to generate any page-size(e.g. 4k)
based ubi images and generate the corresponding single images.

Signed-off-by: Ram Chandra Jangir <rjangir@codeaurora.org>
Change-Id: If07cc3251a23b32cf1b439b95d67588d70317c28
2020-07-13 18:20:45 +05:30
Linux Build Service Account
e7aabb3481 AU_LINUX_QSDK_DATE_4.4_TARGET_ALL.12.0.4927
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iEYEABECAAYFAl8LTIAACgkQoUgPZYCpAfGpjwCgmyZPZhjbV7Oyp0yh+wqXvwkf
 UPgAniF++KHOZB/+t69Q6jcGQzT/2Ewh
 =WOHT
 -----END PGP SIGNATURE-----

Merge AU_LINUX_QSDK_DATE_4.4_TARGET_ALL.12.0.4927 on remote branch

Change-Id: I23e14f6615eefc7c7e951b0a8bf670d247326b64
Signed-off-by: Linux Build Service Account <lnxbuild@localhost>
2020-07-12 22:44:52 -06:00
Linux Build Service Account
f5b08fbe9e Merge "tools: pack: lk: add support for Linux-5.4 dtbs" 2020-07-11 01:36:11 -07:00
Linux Build Service Account
5c023622bc Merge "ipq5018: remove phy_name from dts" 2020-07-11 01:36:09 -07:00
Balaji Prakash J
6e32f9b2d8 tools: pack: lk: add support for Linux-5.4 dtbs
dtb names are different in eggplant and fig branch due
to kernel version difference. Add support to handle
new dtb names of Linux-5.4

Change-Id: I4c2e17222d256796fe46d157472bf49807b2aadf
Signed-off-by: Balaji Prakash J <bjagadee@codeaurora.org>
2020-07-10 02:06:54 -07:00
Linux Build Service Account
52edeea840 AU_LINUX_QSDK_DATE_4.4_TARGET_ALL.12.0.4904
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iEYEABECAAYFAl8HhIkACgkQoUgPZYCpAfEExgCgkS2GM23Vz4HMEYwISNAAd7PD
 9GMAmwddMoajYK9Be7KAu9oLhg4GPhBH
 =eO/w
 -----END PGP SIGNATURE-----

Merge AU_LINUX_QSDK_DATE_4.4_TARGET_ALL.12.0.4904 on remote branch

Change-Id: I5033d14f828d09e35b93bc27516b6601d758b253
Signed-off-by: Linux Build Service Account <lnxbuild@localhost>
2020-07-09 22:49:50 -06:00
Linux Build Service Account
532c493d5c Merge "ipq5018: skip USB init & deinit if EUD enable." 2020-07-09 05:07:43 -07:00
Linux Build Service Account
0c60cf48b8 AU_LINUX_QSDK_DATE_4.4_TARGET_ALL.12.0.4882
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iEYEABECAAYFAl8DjvIACgkQoUgPZYCpAfFCDQCgr9oCmu9ZzSm5pRtAL4aYS6fL
 BnAAni5G7++KVw4x+boFTa2PcxEUr2r1
 =Hg6/
 -----END PGP SIGNATURE-----

Merge AU_LINUX_QSDK_DATE_4.4_TARGET_ALL.12.0.4882 on remote branch

Change-Id: I68c13de55536255e137bd7a9f891e6dd5d625755
Signed-off-by: Linux Build Service Account <lnxbuild@localhost>
2020-07-07 00:07:25 -06:00
Vandhiadevan Karunamoorthy
d15814b9f3 ipq5018: remove phy_name from dts
This changes remove the phy_name from all mpXX dts and
handle by driver itself.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Ia2d0379151db0c68a0b28f5062e83f80579d37c1
2020-07-04 15:47:56 +05:30
Vandhiadevan Karunamoorthy
4ee702eff9 ipq5018: Add Napa phy support in mp03.3 RDP
This changes removes NAPA support from tiny U-boot config

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I057064d63a3ac0788275a4572242cc251a445a98
2020-07-04 14:52:02 +05:30
Linux Build Service Account
3f32f36239 Merge "ipq5018: Enable USB FAT FS configs" 2020-07-03 07:12:47 -07:00
Linux Build Service Account
f7a7e41a45 Merge "driver: nand: qpic_nand: Add macro for debug print." 2020-07-02 23:11:29 -07:00
Linux Build Service Account
8b0f5d8363 AU_LINUX_QSDK_DATE_4.4_TARGET_ALL.12.0.4851
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iEYEABECAAYFAl7+dPUACgkQoUgPZYCpAfHY3QCg7DHKW5jLrN/rDQwbfcjZGIUE
 jEQAn0exSj2Cu5nbIGIPDYgEiM42xhDL
 =L2AZ
 -----END PGP SIGNATURE-----

Merge AU_LINUX_QSDK_DATE_4.4_TARGET_ALL.12.0.4851 on remote branch

Change-Id: I7e817cffd28620b9730e6287628a955f532788fc
Signed-off-by: Linux Build Service Account <lnxbuild@localhost>
2020-07-02 23:55:23 -06:00
Pavithra Palanisamy
207f998bf6 ipq5018: Enable USB FAT FS configs
This patch is to enable USB FAT filesystem and
fatwrite commands so as to enable crashdump collection
in connected USB device.

Usage:
Set dump_to_usb to 1 as U-boot environment variable.

Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
Change-Id: Ifc05b26a1952052fa521f2975ca7c27b1b4fc5a3
2020-07-02 22:44:38 -07:00
Linux Build Service Account
52bc8f5c05 Merge "ipq5018: Fix S17C auto-negotiation issue" 2020-07-02 01:44:19 -07:00
Vandhiadevan Karunamoorthy
0bf31a7cd2 ipq5018: skip USB init & deinit if EUD enable.
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I156d64a35048d5170424047e08b34304219357f0
2020-07-01 23:13:25 -07:00
Linux Build Service Account
77673fc61c AU_LINUX_QSDK_DATE_4.4_TARGET_ALL.12.0.4843
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iEYEABECAAYFAl79IwUACgkQoUgPZYCpAfH2RgCgohp3tpyYpVwzCYnnURSCNaWz
 3kUAn256ima9JE7k+OtNHIWdQDg8Fvlh
 =wNlz
 -----END PGP SIGNATURE-----

Merge AU_LINUX_QSDK_DATE_4.4_TARGET_ALL.12.0.4843 on remote branch

Change-Id: Ie50f2a646e81731b703e6337084784511dbf5dca
Signed-off-by: Linux Build Service Account <lnxbuild@localhost>
2020-07-01 23:01:48 -06:00
Linux Build Service Account
82e2d85569 Merge "ipq5018: reduce delay in pci initialization" 2020-07-01 16:38:57 -07:00
Md Sadre Alam
453489a928 driver: nand: qpic_nand: Add macro for debug print.
This change will define qspi_debug macro to print
debug messages.

Change-Id: I49c5278f63fa53dc5b2237aeb9bfef97990ecc86
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
2020-07-01 21:28:09 +05:30
Linux Build Service Account
70969ebd61 Merge "ipq5018: Add warm-reset dload fdt fixup" 2020-06-30 07:40:31 -07:00
Vandhiadevan Karunamoorthy
cad9402279 ipq5018: reduce delay in pci initialization
This changes reduce boot delay because of delay in pci
initialization

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I15d4ed26a07dafe0c8dd7eb8a666b3c7a3d2cfb6
2020-06-30 13:43:56 +05:30
Linux Build Service Account
003005f7ff AU_LINUX_QSDK_DATE_4.4_TARGET_ALL.12.0.4828
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iEYEABECAAYFAl76qOgACgkQoUgPZYCpAfF9igCgyGyi8JSC/aXhY1QolcEi3NFJ
 YEAAn2YtTA6EDyy8ToJFyl/hKaYy+2v7
 =gaCR
 -----END PGP SIGNATURE-----

Merge AU_LINUX_QSDK_DATE_4.4_TARGET_ALL.12.0.4828 on remote branch

Change-Id: I602d5ebc3277ad6c0e690b483c9b0366598be69b
Signed-off-by: Linux Build Service Account <lnxbuild@localhost>
2020-06-30 01:03:43 -06:00
Vandhiadevan Karunamoorthy
c4d26ee69d ipq5018: remove confi@1 from mp02.1 board dts
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I11585dbb06c9c0a613396ff6b142f646492d795a
2020-06-29 18:29:50 +05:30
Linux Build Service Account
7d067c26ca AU_LINUX_QSDK_DATE_4.4_TARGET_ALL.12.0.4820
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iEYEABECAAYFAl75VxIACgkQoUgPZYCpAfHiVACfb74yB8QFsE66V/1l7LcOMI49
 TWoAn2g66ZPdvpvlyHt+XOT7XuTDj8iS
 =+hbI
 -----END PGP SIGNATURE-----

Merge AU_LINUX_QSDK_DATE_4.4_TARGET_ALL.12.0.4820 on remote branch

Change-Id: I1ca18ca0a0bb64701206dbe334aae36cad49d6ab
Signed-off-by: Linux Build Service Account <lnxbuild@localhost>
2020-06-29 00:00:32 -06:00