Commit graph

36432 commits

Author SHA1 Message Date
Linux Build Service Account
df5871ea00 Merge "configs: ipq5018:Enable PRIVATE LIBGCC" 2020-10-15 12:06:43 -07:00
Vandhiadevan Karunamoorthy
420d0680d3 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-10-15 00:28:03 -07:00
Karthick Shanmugham
c8fbe594d9 configs: ipq5018:Enable PRIVATE LIBGCC
Signed-off-by: Karthick Shanmugham <kartshan@codeaurora.org>
Change-Id: I2bab00e94787331e3f0060cf0d3641ee01e110c1
2020-10-07 03:32:47 -07:00
Kathiravan T
77e07495ff configs: ipq807x: enable the LZMA decompressor
Linux-5.4 images are compressed with LZMA. So enable the decompressor
support for the same.

Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
Change-Id: I537c238fbab182e78e307ecb95bd47c0c9f9e8f5
2020-09-30 15:49:59 +05:30
Sivaprakash Murugesan
6ea54bd348 runmulticore: disable console prints during cpu bringup
Printing on console while executing multi core command causes a race
condition in serial driver and results in data abort. Disable serial
console briefly during secondary cpu bring up to overcome the race
condition and data abort exception.

Signed-off-by: Sivaprakash Murugesan <sivaprak@codeaurora.org>
Change-Id: I6b3cda3bd828cbcaf8e766f243f8137ab496a805
2020-08-27 18:09:41 +05:30
Sivaprakash Murugesan
cf7ac0ed01 net: Use packed structures for networking
With latest GCC 4 byte aligned instructions are getting generated for
2 byte aligned data. This is due to the option '-fstore-merging' enabled
by default for '-O2'

This is causing data abort if data cache is disabled.

Signed-off-by: Sivaprakash Murugesan <sivaprak@codeaurora.org>
Change-Id: Idaac94fcc8e5c61f0ea720ed0c10e908d3688c61
2020-08-18 09:08:53 +05:30
Balaji Prakash J
3bac9f85dd 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-07-31 07:49:34 -07: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
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
d386abb434 Merge "driver: i2c: Enable I2C support for ipq5018" 2020-07-17 08:11:15 -07: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
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
532c493d5c Merge "ipq5018: skip USB init & deinit if EUD enable." 2020-07-09 05:07:43 -07: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
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
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
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
Vandhiadevan Karunamoorthy
31499cc6e5 ipq5018: Add warm-reset dload fdt fixup
This changes skip crash dump if warm-reset is enable.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I4a6d66ee0dc574c5f708a3d9d2964dbec0bbedb7
2020-06-29 10:44:48 +05:30
Vandhiadevan Karunamoorthy
82c05e91fa ipq5018: Fix S17C auto-negotiation issue
This changes enable s17c link upto 1Gbps speed.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I78e3efbbfd1bad58ab2abcba87c06cb9d4ffcd18
2020-06-26 15:54:19 +05:30
Pavithra Palanisamy
9b019bff71 tools: Added support for BOOTLDR1 packing based on machid
Change by: Gopinath Sekar [gsekar@qti.qualcomm.com]

Change-Id: I87a3f5f6bbc0137f419ac48c28fd892f214d1198
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2020-06-25 22:03:35 -07:00
Linux Build Service Account
2cce43f909 Merge "ipq5018: Fix secure_authenticate scm call" 2020-06-25 15:10:39 -07:00
Linux Build Service Account
6830a04dba Merge "ipq5018: Add Giga device GD25LB256E nor flash" 2020-06-24 22:38:53 -07:00
Vandhiadevan Karunamoorthy
ffbf1122c0 ipq5018: Fix secure_authenticate scm call
This changes update the SCM_CMD_SEC_AUTH command.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I6952999bd91062a3e5b3992b2dc166e847d27a58
2020-06-25 10:24:48 +05:30
Vandhiadevan Karunamoorthy
0f7bca7746 ipq5018: Fix for data abort in secure boot
This update fix the the data abort happening while collecting
crash dump  in secure boot.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I59bfd0032d3d580345fab721f750e50c9367e2b9
2020-06-25 10:18:18 +05:30
Linux Build Service Account
32a2c5eab7 Merge "ipq5018: Update pcie phy initialization" 2020-06-24 13:39:59 -07:00
Linux Build Service Account
0d23afea12 Merge "ipq5018: Add mp03.1 support in tiny U-boot" 2020-06-24 07:12:41 -07:00
Vandhiadevan Karunamoorthy
65b179ddc4 ipq5018: Update pcie phy initialization
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Ia5228bffd2b663e463542f2c96012329eefb1833
2020-06-24 18:22:34 +05:30
Linux Build Service Account
d88954e3a0 Merge "ipq5018: db-mp03.1: dts: Add ssphy in usb node" 2020-06-22 10:39:24 -07:00
Linux Build Service Account
157a9b01b3 Merge "ipq5018: Update usb init sequence" 2020-06-22 10:39:23 -07:00
Vandhiadevan Karunamoorthy
09f2298093 ipq5018: Add mp03.1 support in tiny U-boot
This changes add mp03.1(Ap & Db) support in tiny u-boot
for 16MB profile

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: If27bcb8f760c2e648b70811576fc62c4a44f249b
2020-06-22 14:15:56 +05:30
Md Sadre Alam
07e59f4960 driver: nand: qpic_nand: Enable config for serial training.
This change will enable config for serial training.

This change also fix the the logic to get most appropriate phase
out of passed phase.

This change also add support to read serial training offset from
partition table. Also patching freqency value & phase value to kernel.

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: Ibb4a5cd80f16605e8e91bdf6a0c6c484edff1735
2020-06-21 22:22:13 -07:00
Manikanta Mylavarapu
dc8f02bd66 ipq5018: Update usb init sequence
This patch tune's usb ssphy into SSC
instead of fixed offset.Also It ensures
Phy autoload should be done within
30us to 100us after pipe reset.

Change-Id: I192da047861a02d0b70d5c5c2f03715af7213c21
Signed-off-by: Manikanta Mylavarapu <mmanikan@codeaurora.org>
2020-06-22 09:57:57 +05:30
Manikanta Mylavarapu
984dfd4898 ipq5018: db-mp03.1: dts: Add ssphy in usb node
This patch will configure ssphy sequence.

Signed-off-by: Manikanta Mylavarapu <mmanikan@codeaurora.org>
Change-Id: I3fbc22f198daec2fbb691d89d8b12510dabe0dfa
2020-06-22 09:33:16 +05:30
Linux Build Service Account
f183570b2b Merge "ipq5018: tiny-config: Add run command support" 2020-06-18 18:38:27 -07:00
Vandhiadevan Karunamoorthy
65c44a0a4a ipq5018: Add Giga device GD25LB256E nor flash
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I9f1dd71f7f495ffc69669ef45d08c08d9a7415de
2020-06-18 23:19:48 +05:30
Linux Build Service Account
701523e0ae Merge "ipq807x: Added golden PINE RDP support" 2020-06-17 17:39:16 -07:00