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>
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>
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>
This change adds support to ignore invalidated
TLVs in crashdump buffer
Change-Id: Ic8513fb4155755f421f94683fe739ba73d55aa21
Signed-off-by: Gitanjali Krishna <gitanjal@codeaurora.org>
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>
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>
Updated mock_utmi_clk to 24 MHz. GUCTL and FLADJ updated to use
appropriate clock period and frame length adjustment respectively.
Change-Id: I19c7ba8193ddbc53ee509e957bc38a298f32ce5b
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>
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>
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>
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>
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>
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>
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>
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>