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>
This change will enable stack protector for u-boot code
for ipq807x.
Change-Id: Iea28c20efa3bf582728e8a0099f01c8f93595ff6
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 patch updates the edma init, ppe port mux
and uniphy config to enable support for the NAPA
ports.
Change-Id: I638d3251b5843e5491cca9eea6859a5840d8567a
Signed-off-by: speriaka <speriaka@codeaurora.org>
This patch adds ppe configs to support all
ipq6018 RDPs
Change-Id: Ief77106f46c2023f0f29322588850c1d1018d30a
Signed-off-by: speriaka <speriaka@codeaurora.org>
This device is non onfi device, so adding the device id
and oob information in the nand_ids table.
1.pagesize:2048 bytes
2.oob size:128bytes
3.Ecc:8bits for 512 bytes
4.Manufacturer & device id: 0x98, 0xaC
Change-Id: I43f2ffb33b82b6dbf9da7adbef8e4e93f6d94c87
Signed-off-by: sameeruddin shaik <samesh@codeaurora.org>
This change is to add support for Macronix-(MX25U51245G) nor
flash device.
The total density of this device is 64 MiB. Sector size 64K.
64K sector we are cosidering due to 64K sector size works with
CMD_ERASE_64K.
Total number of sector for this device will 1024 because,
64K * 1024 = 64MiB.
Change-Id: Ia1f2117bc42457e4b3c25934ff1fdcb798e4ea6f
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
This change is to add support for Macronix-(MX66U1G45GMI00) nor
flash device.
The total density of this device is 128 MiB. Sector size 64K.
64K sector we are cosidering due to 64K sector size works with
CMD_ERASE_64K.
Total number of sector for this device will 2048 because,
64K * 2048 = 128MiB.
Change-Id: I63bcd4bd5c979a82ca8c45d480acc41208a886ef
Signed-off-by: Md Sadre Alam <mdalam@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>
This patch also adds dummy malibu nodes to
support the existing u-boot net framework.
Change-Id: Iad0d77132c8d040c1402a91222c0829cce609880
Signed-off-by: speriaka <speriaka@codeaurora.org>