Commit graph

36043 commits

Author SHA1 Message Date
speriaka
b76bed491a drivers: net: ipq6018: Support QSGMII,SGMII,SGMII_FIBER modes
Change-Id: I19c30a8054ac092e69c0e91ad2a6fc1d1cfa62eb
Signed-off-by: speriaka <speriaka@codeaurora.org>
2019-08-04 21:39:58 -07:00
Venkat Raju Sana
d0efe15871 MINIDUMP: Add check for dump_minimal env variable
dump_minimal env variable  is not currently
validated against junk characters. This check enables
minimal dump only when it  is set to 1.

Change-Id: I62a32ae1fc5c9355321c7b5ba2f6a96d8e890c50
Signed-off-by: Venkat Raju Sana <vrsana@codeaurora.org>
Signed-off-by: Venkat Raju Sana <vrsana@codeaurora.org>
2019-07-30 22:45:09 -07:00
Linux Build Service Account
5c53b6e55d Merge "ipq6018: Added support for tiny variant of u-boot" 2019-07-29 13:40:02 -07:00
Linux Build Service Account
38b93356e4 Merge "QCN3018: Fix num present cpus" 2019-07-29 13:40:02 -07:00
Linux Build Service Account
eca346c998 Merge "Minidump: Modify size of crashdump buffer" 2019-07-26 04:12:07 -07:00
Linux Build Service Account
31169112fd Merge "ipq6018: reset: added debug print in crashdump path" 2019-07-26 01:12:59 -07:00
Linux Build Service Account
4316877067 Merge "ipq6018: memory layout: moving SYS_TEXT_BASE to 0x4A400000" 2019-07-26 01:12:55 -07:00
Rajkumar Ayyasamy
c5e175c4eb ipq6018: Added support for tiny variant of u-boot
In tiny u-boot variant, PCI, USB and Aquantia Phy support
has been disabled.

Change-Id: I3057839ed9756755a8bd77bc8d208880dbce4c5b
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2019-07-24 16:10:09 +05:30
Gitanjali Krishna
e186e90535 Minidump: Modify size of crashdump buffer
This change modifies size of crashdump buffer to
12K from 16K for ipq60xx and ipq807x

This change also makes dumping of crashdump TLVs more
generic and does not assume any fixed positions for
static or dynamic dump segments

Change-Id: I9723ebf55e4a6db3360b3370a2c6e15d22741e08
Signed-off-by: Gitanjali Krishna <gitanjal@codeaurora.org>
2019-07-23 12:04:31 -07:00
Sumit Gaur
27d5f5bc56 QCN3018: Fix num present cpus
For QCN3018, as the device tree states that there are 4 cpus,
the kernel thinks it has 4 present cpus (2 offline), it shows
2 cpus in places such as cpufreq. To avoid this, dynamically
patch the fdt and remove core2 and core3

Change-Id: Ie11dfd35ed9d9983252884b0f5aa08c993150ed5
Signed-off-by: Sumit Gaur <gaur@codeaurora.org>
2019-07-22 22:35:46 -07:00
Antony Arun T
70138cb1cd ipq6018: memory layout: moving SYS_TEXT_BASE to 0x4A400000
moving SYS_TEXT_BASE to 0x4A400000, so that the 3MB
from 0x4A100000 to 0x4A400000 will be used for u-boot
stack and heap and the memory from 0x4A400000 to 0x4A500000
will be used for the u-boot code.

Change-Id: Ibe88b31ff4e2926f5f7c8923ffe69e5d3d5940ae
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-07-22 21:31:39 -07:00
Antony Arun T
f9d2877321 ipq6018: reset: added debug print in crashdump path
Change-Id: Ibea2b778630e5233155e06db00a9688091d434e0
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-07-22 21:30:45 +05:30
speriaka
07d7071ed1 drivers: net: ipq: Fix 100M linking up as 10M issue
Change-Id: I0910d3ee001c1daa2a7b70b5d5ffba8950e810a9
Signed-off-by: speriaka <speriaka@codeaurora.org>
2019-07-22 18:21:28 +05:30
Linux Build Service Account
92bf8f1811 Merge "ipq6018: reset: fixing reset flow after dump collection into flash" 2019-07-20 02:34:24 -07:00
Antony Arun T
6cc115dc59 ipq6018: reset: fixing reset flow after dump collection into flash
in ipq6018, instead of going for warm reset after collecting dump into flash,
checking wonce register and deciding whether to go for warm/cold reboot.

Change-Id: I6537d7455e6922467b4727f95e62ad0f2fc54295
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-07-19 16:13:50 +05:30
Pavithra Palanisamy
8839a16c03 usbdump: Add check to enable usbdump only if env is set to 1
Change-Id: Ib7807de48739ea79c4aa5438035b61dcd4e7f38a
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2019-07-18 20:36:00 +05:30
Linux Build Service Account
32555c232e Merge "uboot: Treat warnings as errors" 2019-07-15 07:45:43 -07:00
Antony Arun T
2d32b2d4e3 ipq6018: reset: fixing reset flow
Doing PMIC reset only when there is a abnormal reset/kernel panic
and wonce register is set to cold reboot.

Change-Id: I08db31e476788be30cb7ab139a2057a40d98cb89
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-07-11 12:48:41 +05:30
Antony Arun T
cc9f67f70f ipq6018: enable mtest support
Change-Id: I27f13c29c09725c424884d3e62864888a3e3f763
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-07-10 12:57:09 +05:30
Linux Build Service Account
2228c11e4e Merge "ipq6018: dts: Enable i2c1 for accessing PMIC in DB boards" 2019-07-09 10:05:09 -07:00
Linux Build Service Account
04326a10bf Merge "usbdump: Add support for dump collection on high number partitions" 2019-07-09 07:29:43 -07:00
Linux Build Service Account
1a4bf51ece Merge "usbdump: Add support to scan maximum possible partitions" 2019-07-09 07:29:42 -07:00
Linux Build Service Account
1277cae803 Merge "ipq6018: crashdump: fixing tz end address and EBICS0 size" 2019-07-09 07:29:42 -07:00
Sanjeev N
317523ea76 uboot: Treat warnings as errors
To treat warnings as errors, enable Werror in CFLAGS.
sysupgrade-helper will compile separately only for 64
bit target, since it has architecture specific registers
which throws warning on 32 bit compilation. For 32 bit
target sysupgrade tools will compile as part of uboot-2016
and installed to target.

Change-Id: I2f9bc0610d1738c17b294ddd79a9cadd2eb2f6b0
Signed-off-by: Sanjeev N <nsanjeev@codeaurora.org>
2019-07-09 16:42:16 +05:30
Pavithra Palanisamy
62148b24c3 usbdump: Add support for dump collection on high number partitions
Change-Id: Idb3074afd1d033269700d4b172e9092bef5e6bcc
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2019-07-08 17:35:45 +05:30
Balaji Prakash J
00ce69a42c ipq6018: dts: Enable i2c1 for accessing PMIC in DB boards
Change-Id: I32a7219737aa4b86dbf525bf724039ff03e8eda3
Signed-off-by: Balaji Prakash J <bjagadee@codeaurora.org>
2019-07-08 16:42:48 +05:30
Pavithra Palanisamy
06ceaec8fd usbdump: Add support to scan maximum possible partitions
This change adds support to search for valid FAT32 partition
throughout the device during crashdump collection on USB,
despite encountering any invalid-partition on the loop.

Change-Id: Ic6bda03a2448c38f0e93d32214340c2ee896f385
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2019-07-08 12:18:24 +05:30
Pavithra Palanisamy
061fe73963 fs: fat: Fix check_overflow function
Change-Id: I5020992c202623543c4b3f49dd187a47c2ea5fee
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2019-07-05 16:56:39 +05:30
Antony Arun T
374d35d431 ipq6018: crashdump: fixing tz end address and EBICS0 size
Change-Id: Ib898c2e1f391208f21bd88175bc68cae7aa57a4b
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-07-04 22:12:56 -07:00
Linux Build Service Account
5cc17efe90 Merge "ipq6018: fdt_fixup: Added rproc auto-restart support" 2019-07-04 10:07:14 -07:00
Linux Build Service Account
8b3f4f9c03 Merge "ipq6018: crash_dump: renaming UTCM.BIN to NSSUTCM.BIN" 2019-07-04 07:35:54 -07:00
Linux Build Service Account
59b7293e0c Merge "u-boot-2016: Handle invalidated crashdump TLVs" 2019-07-04 07:35:54 -07:00
Antony Arun T
d983355a2e ipq6018: fdt_fixup: Added rproc auto-restart support
Added support to patch kernel device tree
for Q6 auto-restart using rproc framework.

Change-Id: I2d48282a4bf69a461431bfca1a4094e44c47359a
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-07-04 04:29:05 -07:00
Antony Arun T
aa14a458ee ipq6018: crash_dump: renaming UTCM.BIN to NSSUTCM.BIN
As UTCM is NSS specific memory,
Renaming crash dump binary name from UTCM.BIN to NSSUTCM.BIN

Change-Id: I6641559cd98a723a4bd560225bad1d5e9c1d5031
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-07-03 10:07:43 +05:30
Gitanjali Krishna
78dd26aecb u-boot-2016: Handle invalidated crashdump TLVs
This change adds support to ignore invalidated
TLVs in crashdump buffer

Change-Id: Ic8513fb4155755f421f94683fe739ba73d55aa21
Signed-off-by: Gitanjali Krishna <gitanjal@codeaurora.org>
2019-07-02 14:08:58 -07:00
Linux Build Service Account
3e818cbdf1 Merge "ipq6018: net: Fix compiler warning" 2019-07-02 12:34:44 -07:00
Linux Build Service Account
a54c74bd89 Merge "drivers: net: ipq6018: Add support for AQ and SFP" 2019-07-02 12:34:43 -07:00
speriaka
c0eefc1e4a drivers: net: ipq6018: Add support for AQ and SFP
This patch adds support for AQ and SFP Ports.

Change-Id: I9bb597007b84a7b24608bd2d225b9a9bae551706
Signed-off-by: speriaka <speriaka@codeaurora.org>
2019-07-02 02:32:01 -07:00
Dineshkumar Loganathan
9895280db3 ipq807x: added malloc for loading ethphyfw
Added malloc for loading aquantia ethphyfw instead of
loading it in RAM Address

file: drivers/net/ipq807x/ipq807x_aquantia_phy.c

Change-Id: I3c51479487c879e493a045d53ad8e64490d5f217
Signed-off-by: Dineshkumar Loganathan <logana@codeaurora.org>
2019-07-02 13:11:16 +05:30
Balaji Prakash J
fb9474ea0f ipq6018: net: Fix compiler warning
Change-Id: I350b49624d6c3b5bccb2652225076ee8ca5ed511
Signed-off-by: Balaji Prakash J <bjagadee@codeaurora.org>
2019-07-02 12:31:53 +05:30
Antony Arun T
fedd981dfd ipq6018: Adding support for ipq6018-AP-CP01-C2
Change-Id: Ibf0771ad18d7d6cd52ddb92a5950053d25f3132d
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-07-01 14:28:58 +05:30
Linux Build Service Account
48cfa1e581 Merge "u-boot-2016: Enable minidump feature for ipq6108" 2019-06-28 17:04:37 -07:00
speriaka
3f9a51ccb8 tools: ipq6018: Update nand-audio 2k image name
This patch updates the pack script to handle the
change required in nand-audio 2k single image name.

Change-Id: If15925e29e985bc4161a45666d6a67e17d76e93a
Signed-off-by: speriaka <speriaka@codeaurora.org>
2019-06-28 01:57:16 -07:00
Linux Build Service Account
37c8c2403e Merge "ipq6018: fixing "reset never completed issue"" 2019-06-27 22:04:20 -07:00
Gitanjali Krishna
5fdd05b65a u-boot-2016: Enable minidump feature for ipq6108
Change-Id: I00328f6305c776d0a0ff1af3a3410e9fe0e48f01
Signed-off-by: Gitanjali Krishna <gitanjal@codeaurora.org>
2019-06-27 16:30:13 -07:00
Gerrit - the friendly Code Review server
f9f0b2656e Merge changes 2019-06-27 12:33:45 -07:00
Linux Build Service Account
7f71df2b22 Merge "ipq806x: Reset all PHYs and wait for settling down" 2019-06-27 10:05:28 -07:00
Linux Build Service Account
5745f0f957 Merge "pack-tool: Fix process abort issue on image size irregularity" 2019-06-27 03:08:27 -07:00
Sham Muthayyan
c342b103ad ipq806x: Reset all PHYs and wait for settling down
Allow some time for the phy reset to finish and ready for link negotiation.

Change-Id: I72474b7e55ed0d8a091b2b454fe9c3d24c80786b
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2019-06-27 01:04:44 -07:00
Antony Arun T
6dded97c74 ipq6018: fixing "reset never completed issue"
As per the SD controller hardware design document
the SD bus power should be turned off and the iopad
voltage has to be set to 3V (default), before
doing reset for all in SD host controller.

Change-Id: Ia77bb0acefe1e619c8ae7a2bc60024bf1ac5c6cd
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-06-26 18:15:32 +05:30