Commit graph

13704 commits

Author SHA1 Message Date
Sham Muthayyan
107d511bdc Revert "ipq807x: fat: Fix overflow issue"
This reverts commit 8791ff3dab.

Change-Id: I03af0ce35aa2df9e381b98c3842e4b88fbd35e1d
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2019-09-30 18:33:03 +05:30
Prasanna Kumar Thoorvas Samyrao Muralidharan
dcfb86f9d9 reset: Use correct scm id for pshold
Incorrct scm id was used for pshold. Use correct value instead.

Change-Id: Ife5c5d73cd007865234e4c899304a861f6c4ea9d
Signed-off-by: Prasanna Kumar Thoorvas Samyrao Muralidharan <ptsm@codeaurora.org>
2019-09-17 03:24:10 -07:00
Rajkumar Ayyasamy
04d99019b2 ipq6018: add support to flash individual ubi volumes
Change-Id: I660879ffa28437eb88faa04ee61d329c224d16f9
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2019-09-13 15:13:08 +05:30
Manoharan Vijaya Raghavan
8791ff3dab ipq807x: fat: Fix overflow issue
As per FAT spec, the number of sectors can be more than
clusters, as clusters starts from databegin.
So check cluster overflow against total clusters.

The FAT at present in u-boot lacks a lot, such as
support for long file names, subdir etc.
The mini dump was using more than 8 character name,
changed that one too.

Change-Id: Icfae6d955dd93432b3d33d7c0b9a724382d87185
Signed-off-by: Manoharan Vijaya Raghavan <mraghava@codeaurora.org>
2019-08-12 13:30:40 +05:30
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
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
eca346c998 Merge "Minidump: Modify size of crashdump buffer" 2019-07-26 04:12:07 -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
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
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
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
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
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
Antony Arun T
6f36bfc173 ipq6018: Enable multicore
Change-Id: Iba9420f27342554a4351b774d03606bb8e2ec2cf
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-06-24 00:14:00 -07:00
Linux Build Service Account
f1722570f2 Merge "driver: mtd: Add support to read entire ONFI parameter page structure." 2019-06-18 14:35:23 -07:00
Linux Build Service Account
06d1d60bbb Merge "ipq6018: Enabled DEVICE_NULLDEV" 2019-06-17 07:06:33 -07:00
speriaka
feb8361018 ipq6018: Enabled DEVICE_NULLDEV
Enabled DEVICE_NULLDEV to redirect unwanted console prints.

Change-Id: I8167cc1efe9e58a4a415be11d468078ce98a72c6
Signed-off-by: speriaka <speriaka@codeaurora.org>
2019-06-17 12:51:54 +05:30
Antony Arun T
100bb422ce ipq6018: Fixing cold reboot issue during crash in kernel
the information required for deciding whether to go
for cold/warm reboot is in TZ_WONCE_4 and not in TZ_WONCE_3 register.

Change-Id: If86864a2356c7e862153dbfea098b81cffce0c99
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-06-13 15:54:30 +05:30
Md Sadre Alam
f2ed166473 driver: mtd: Add support to read entire ONFI parameter page structure.
This change will read entire ONFI parameter page. This will helpful
while validating new ONFI AVL part.

To read entire ONFI parameter page data structure use command:

"#nand onfipara".

Change-Id: Icea80fce6900716871d8c82a2d1ac0c00531af98
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
2019-06-11 22:51:13 +05:30
Antony Arun T
7c35e421d7 ipq6018: Enable cache command
Change-Id: I8a6a768346742508889f1a1e611809ca359f987c
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-06-10 22:04:38 -07:00
Linux Build Service Account
70b8722dc8 Merge "ipq6018: fix macro redefined warnings" 2019-06-10 17:35:38 -07:00
Md Sadre Alam
305ca3b4d5 board: common: cmd_bootqca: Add missing symbol to enable stack-protection
The symbol __stack_guard & __stack_fail_check not present so add
these symbols explicitly in u-boot source code as per defined in kernel
source code.

The symbol __stack_guard is defined with a magic value for stack canary.
Whenever u-boot source code build with "fstack-protector" enabled then
stack canary appiled for specific function and it saved on stack.

Whenever stack canary value get currupted then __stack_fail_check
function will get called and after that programs behaves as per pre
defined behaviour.

Change-Id: Ia0575a26ab43aa2177af127e59c67a41873748c3
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
2019-06-10 11:46:19 +05:30
Antony Arun T
26787b36f9 ipq6018: fix macro redefined warnings
Change-Id: I7c8be82ce2fdf91ddd80d301993a5d9a1770ee54
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-06-10 11:32:16 +05:30
Pavithra Palanisamy
b7239058e9 ipq: Enable crashdump collection in usb device
This change enables support to collect crashdump files
in connected usb storage device on requirement.

Change-Id: If191bcae5329dd2c9e84035069e4d9b0e73b546b
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2019-05-30 20:17:55 +05:30
Linux Build Service Account
0eb51cda25 Merge "mmc: ipq6018: fix for mmc iopad issue" 2019-05-28 09:35:26 -07:00
Linux Build Service Account
fa86d8cc07 Merge "ipq6018: usb: Enable USB" 2019-05-28 04:35:50 -07:00
Antony Arun T
fb27ca9881 mmc: ipq6018: fix for mmc iopad issue
Change-Id: I71353b93ef7c62bfcdff2f9207bb26bcdd882c88
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-05-27 21:36:57 +05:30
Balaji Prakash J
b01cd46b73 ipq6018: usb: Enable USB
set sw_override bit in USB GDSCRs

Change-Id: I1eba91e4d5ae54c80523c3103e0412af824d585b
Signed-off-by: Balaji Prakash J <bjagadee@codeaurora.org>
2019-05-27 18:50:26 +05:30
Kathiravan T
0939c7086b ipq6018: enable run and flash command
Change-Id: I01068fb36d7e004a62a888dc6afa63d8e7c668ad
Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
2019-05-27 11:51:22 +05:30
Linux Build Service Account
34c67d2e8f Merge "MINIDUMP:Fix for TLV buffer overflow" 2019-05-24 14:06:35 -07:00
Linux Build Service Account
c18df2ac5d Merge "ipq: Fix compiler warnings in u-boot-2016" 2019-05-24 05:04:52 -07:00
Venkat Raju Sana
0f149a240a MINIDUMP:Fix for TLV buffer overflow
Change TLV message buffer offsets to match with kernel
that has been adjusted to use last 16K of memory
allocated for crashdump buffer. This was done to
accomodate greater number of dump segemnts.

Change-Id: Idb8c1bab6a0900152a9d413382b2b3c87a19170e
Signed-off-by: Venkat Raju Sana <vrsana@codeaurora.org>
2019-05-23 12:11:36 -07:00
sameeruddin shaik
63a507e7ff ipq: Fix compiler warnings in u-boot-2016
This change will fix the following compiler warnings for AK and DK targets.
1.Wimplicit-function-declaration
2.Wdiscarded-qualifiers
3.Wstrict-prototypes
4.Wmaybe-uninitialized
5.Wunused-variable
6.Wint-conversion

Change-Id: I364904283172ccb19602ae1b6deceb8c61ea7638
Signed-off-by: sameeruddin shaik <samesh@codeaurora.org>
2019-05-23 18:36:28 +05:30
Antony Arun T
bd3643bf63 ipq6018: disable USB
Change-Id: If8d612b7e889adf3cad748b0597ea99e07053cb4
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-05-23 16:16:38 +05:30
Linux Build Service Account
dc46d0fd8b Merge "ipq6018: Disable SPI NAND" 2019-05-14 23:35:36 -07:00
Linux Build Service Account
912abe3745 Merge "ipq6018: fix CONFIG_SYS_BOOTM_LEN size" 2019-05-14 21:06:22 -07:00
Linux Build Service Account
475f65595b Merge "ipq6018: fixing CONFIG_TZ_END_ADDR address" 2019-05-14 18:35:09 -07:00
Linux Build Service Account
248eb09869 Merge "ipq6018: Enable SCM calls" 2019-05-14 18:35:08 -07:00
Antony Arun T
3fbb3a9bf3 ipq6018: fixing CONFIG_TZ_END_ADDR address
Change-Id: Iace79c039eaf7dbce5c1c9dadb34b0c33fe7d734
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-05-14 16:54:16 +05:30
Antony Arun T
c1ef3067f2 ipq6018: fix CONFIG_SYS_BOOTM_LEN size
Change-Id: I79a28d3f067faf692f287875116107f076f749c0
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-05-14 11:26:57 +05:30
speriaka
f550f0d1ee ipq6018: drivers: net: Fix net driver
Change-Id: I23963835bd599cb49abae4640645fd0b63a634f4
Signed-off-by: speriaka <speriaka@codeaurora.org>
2019-05-13 14:25:32 +05:30
Antony Arun T
5213eff071 ipq6018: Disable SPI NAND
Change-Id: I4eaba14ba5af00b358f0b298c809b7f69e475e99
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-05-10 15:52:12 +05:30
Antony Arun T
2ef97081e9 ipq6018: Enable SCM calls
Change-Id: Ie6b14d46d10f9c27100c7ae042d11ee31d5f2121
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-05-10 14:41:38 +05:30
Linux Build Service Account
345ae64c7c Merge "ipq6018: Adding support for elf image authentication" 2019-05-09 18:07:06 -07:00
Rajkumar Ayyasamy
6913ae43dc ipq6018: Adding support for elf image authentication
Change-Id: I8fea42274a503199f9db786270871af390b6b199
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2019-05-09 13:28:28 +05:30
Antony Arun T
c2a428a73a ipq6018: Fixing memory layout changes
Change-Id: I508f0dda8433f941ba4ef0f26fc28e2843d69f14
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-05-08 10:16:18 +05:30
Antony Arun T
11329094c2 ipq6018: Enable PMIC reset during abnormal reset
Change-Id: I353f13f8b7ca286ad7c1bcd2d5c162e5592b2a86
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-04-30 02:17:42 -07:00
speriaka
be3c3916ba dts: ipq6018: Added ethernet support nodes
Change-Id: Ia82de30bd4f92baed1e8723a893954caba3c146c
Signed-off-by: speriaka <speriaka@codeaurora.org>
2019-04-17 15:35:23 +05:30
Antony Arun T
47fdb7070f ipq6018: Enable memory dump collection during abnormal reset
Change-Id: I5196f33f6fd0053762bfaa5795158fc13a18641d
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-04-08 02:58:39 -07:00