Commit graph

9447 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Sandhya
0b984e927c Fix compiler warnings: Indentation
Change-Id: I9786e6350b77b810ec676bfb770f14a559b67514
Signed-off-by: Sandhya <sandhyks@codeaurora.org>
2019-06-26 10:24:59 +05:30
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
Sumit Gaur
bd09174584 qcn3018: Set number of cores for QCN3018
QCN3018 has only 2 cores, the kernel has to bringup
only 2 cores, hence if the SoC is identified as QCN3018
restrict the number of cores using "maxcpus" bootargs

Change-Id: Idafc44c02de302b65f9c9dfc5f77783a91b2c018
Signed-off-by: Sumit Gaur <gaur@codeaurora.org>
2019-06-19 06:15:26 -07:00
speriaka
643b6d5eb5 u-boot: ipq6018: Fix i2c and net driver compile time warnings
Change-Id: I269d0bd681d2a9e4042eb3943b0060e36d9b3758
Signed-off-by: speriaka <speriaka@codeaurora.org>
2019-06-18 21:39:03 -07:00
Linux Build Service Account
e0b4311d3b Merge "ipq6018: usb: 24 Mhz reference clock update" 2019-06-18 17:05:09 -07:00
Linux Build Service Account
88fdb5c2bb Merge "u-boot-2016: Fix compiler warnings" 2019-06-18 17:05:09 -07:00
Pradeep Das
f674027c3d ipq6018: usb: 24 Mhz reference clock update
Updated mock_utmi_clk to 24 MHz. GUCTL and FLADJ updated to use
appropriate clock period and frame length adjustment respectively.

Change-Id: I19c7ba8193ddbc53ee509e957bc38a298f32ce5b
2019-06-18 05:36:42 -07:00
Linux Build Service Account
41f464df56 Merge "ipq6018: Fixing cold reboot issue during crash in kernel" 2019-06-16 23:34:10 -07:00
Linux Build Service Account
884b934d7a Merge "ipq807x:Fix compiler warnings in u-boot" 2019-06-14 09:35:13 -07:00
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
Linux Build Service Account
2aebda94b9 Merge "ipq6018: fixing pmic i2c bus to i2c bus no 1" 2019-06-12 11:09:20 -07:00
Antony Arun T
8fb622766c ipq6018: fixing pmic i2c bus to i2c bus no 1
Change-Id: I6c42d1ada2879e0fbd5ca104b5069abf73eb5a85
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-06-12 17:18:25 +05:30
Linux Build Service Account
9debc566c9 Merge "ipq6018: Handling error cases in elf parsing" 2019-06-12 03:06:26 -07:00
sameeruddin shaik
5c56233d2d ipq807x:Fix compiler warnings in u-boot
This change will fix the following warnings
1.Wunused-but-set-variable
2.Wunused-variable

Change-Id: I1524e14d775dd5b3d3eb85066cee429addd9a0ce
Signed-off-by: sameeruddin shaik <samesh@codeaurora.org>
2019-06-11 22:15:59 -07:00
Linux Build Service Account
55807876dc Merge "ipq: fix implicit declaration compiler warning" 2019-06-11 18:38:23 -07:00
Rajkumar Ayyasamy
51903dfa04 ipq6018: Handling error cases in elf parsing
Change-Id: Ic1c3e90c86ea1bfc2d0066a5d4723fd05e2386bb
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2019-06-11 14:12:25 +05:30
Antony Arun T
5e45eef4a8 ipq: fix implicit declaration compiler warning
Change-Id: I889c95a2d6c8b38f1ffd2c4ce7127edbebaead74
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-06-10 22:21:37 -07:00
Antony Arun T
04b909a77a ipq6018: fix compilar warnings
fixing type conversion & prototypes warnings

Change-Id: Icaf52251e8a801ef413c2d988ce6516b338f2ee0
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-06-10 22:21:05 -07:00
Linux Build Service Account
5eeb0996ee Merge "ipq6018: moving __weak function definition to common file" 2019-06-10 17:35:39 -07:00
Linux Build Service Account
eb909680e0 Merge "common: cmd_boot: Add stack canary test command." 2019-06-10 17:35:37 -07:00
Linux Build Service Account
4f840795ea Merge "Makefile: Enable Stack protector flag" 2019-06-10 17:35:36 -07:00
Gitanjali Krishna
9af31feb8b u-boot-2016: Fix compiler warnings
Change-Id: I1bf55699f4767de381c3875a0a3d84177a87282e
Signed-off-by: Gitanjali Krishna <gitanjal@codeaurora.org>
2019-06-10 14:50:33 -07:00
Md Sadre Alam
f80127f8a7 common: cmd_boot: Add stack canary test command.
This change will add stack canary test command in
u-boot command list.

The stack canary test command format like as :
canary <string>. The string must be 10 bytes long.

e.g
" #canary Helloworldhelloworld".

After this command we can see the below print.
Stack Canary test start.
stack-protector: U-boot stack is corrupted.
Resetting CPU ...

If stack-protection not enabled and stack overflow
occure then we will get the following print.

prefetch abort
pc : [<4a006f72>]          lr : [<4a90faf0>]
reloc pc : [<4a006f72>]    lr : [<4a90faf0>]
sp : 4a77f948  ip : 20f14495     fp : 4a90fab4
r10: 00000002  r9 : 4a77fea0     r8 : 00000000
r7 : 4a983d20  r6 : 6f6f6f6f     r5 : 6f6f6f6f  r4 : 6f6f6f6f
r3 : 00000000  r2 : 4a77f946     r1 : 4a78233b  r0 : 00000000
Flags: nZCv  IRQs off  FIQs off  Mode SVC_32
Resetting CPU ...

Change-Id: If36d1da3ecc1d0038cd1a6bad6ab3d265b47dac8
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
2019-06-10 11:48:03 +05:30
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
f3c23aaa63 emmc: move macro definition to board specific files
moving emmc related macros definitions to ipq807x & ipq40xx
board specific files from common files to avoid
redefined compilar warnings

Change-Id: Ic8d9537535a0b5439d42e8b0b53faadba72c50a3
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-06-10 11:24:59 +05:30
Antony Arun T
263809b4a7 ipq6018: moving __weak function definition to common file
moving __weak function from board specific file to
common file to avoid implicit declaration of function
warning

Change-Id: I60232c24eb3f7c4e16831de16452def3fe2671c3
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-06-09 22:05:24 -07:00
Linux Build Service Account
b91946abd7 Merge "ipq6018: Add support to patch up cpu_type and soc version" 2019-06-07 15:35:30 -07:00
Linux Build Service Account
2ae8d70a52 Merge "ipq: Enable crashdump collection in usb device" 2019-06-07 15:35:28 -07:00
Balaji Prakash J
f80e460910 ipq6018: Add support to patch up cpu_type and soc version
Change-Id: I8be7b9e37e141a4451148a3ef35894ba048f582e
Signed-off-by: Balaji Prakash J <bjagadee@codeaurora.org>
2019-06-07 14:25:19 +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
Rajkumar Ayyasamy
4bd47ef2be ipq6018: Fixing console serial address
IPQ6018 is using BLSP1_UART2(0x78B1000). This patch
will update the same. Without this UART2 TLMM was not
getting configured properly and the console was having
some junk prints

Change-Id: I795016d4ed6e9b08b7e06dbcd8e8b8ea0c3e4581
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2019-05-29 20:04:20 +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
3278fc5ff4 Merge "Revert "ipq6018: enable mmc workaround"" 2019-05-28 09:35:26 -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
Antony Arun T
d6c1d173ed Revert "ipq6018: enable mmc workaround"
This reverts commit 27df165798.

Change-Id: Ib729f94b4862cfcd7c3ce1cbc467dade503fc179
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-05-27 21:33:53 +05:30