model and compatible will be useful when CONFIG_DISPLAY_BOARDINFO is
enabled. Currently it is not enabled for ipq6018. So removing the
corresponding entries.
Change-Id: Ia05059cab91d25283e291564d606eaf81e94781f
Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
Emulation DTS is no more required. So just keep it for reference, don't build
it. This helps to free up some space.
Change-Id: I93a462fd720acbe27792fa995317bbb44ca82f9b
Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
Copy rootfs header and then append the rootfs image
to it for authentication.
Change-Id: I3e8184fa324e779eb5aa226f65df8e03401d027a
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
This change adds support in u-boot to handle
dumping of DEBUGFS TLV information and MMU Metadata
file.
Change-Id: Iebf67b932ba90b5081e6903c5fe44ed3105df798
Signed-off-by: Gitanjali Krishna <gitanjal@codeaurora.org>
In ext4fs_read_file in ext4fs.c, a memset can overwrite the bounds of
the destination memory region. This patch adds a check to disallow
this.
Change-Id: I5138ca873009117194407d82af004a637317c1d0
Signed-off-by: Paul Emge <paulemge@forallsecure.com>
Signed-off-by: Karthick Shanmugham <kartshan@codeaurora.org>
In ext4fs_read_file, it is possible for a broken/malicious file
system to cause a memcpy of a negative number of bytes, which
overflows all memory. This patch fixes the issue by checking for
a negative length.
Change-Id: Ia9abdb744dfff20aa1a538d38f335284e30a307b
Signed-off-by: Paul Emge <paulemge@forallsecure.com>
Signed-off-by: Karthick Shanmugham <kartshan@codeaurora.org>
part_get_info_extended and print_partition_extended can recurse infinitely
while parsing a self-referential filesystem or one with a silly number of
extended partitions. This patch adds a limit to the number of recursive
partitions.
Change-Id: Ibf1449684580a313869ce9961077c46a12a42d8c
Signed-off-by: Paul Emge <paulemge@forallsecure.com>
Signed-off-by: Karthick Shanmugham <kartshan@codeaurora.org>
This change involves:
1. pack the hk10 specific system-partition binaries into single-image
2. flash the MIBIB partition based on the machid
3. update the offsets and sizes in the partiton table based on the
selected system-partiton image.
Note: HK10 changes applicable to nand-2k and norplusnand-2k only.
Change-Id: I513e4ffc379ca9a7862e61dab7901f32d5aa9fe6
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
Fidelix SPI NAND FM35X2GA has two planes namely plane 0 and plane 1.
This change adds the support to calculate the plane bit accordingly
and use the same for command formation.
Change-Id: I6fb4b652e1c897f248cb9ad8914f67be7a7365f3
Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
Change Metadata file name for minidump
from MODULE_INFO.txt to MOD_INFO.txt to
avoid mismatch with T32 scripts
Change-Id: I4e56455ceaa7ba832b3882fc62a23a0b29244e83
Signed-off-by: Gitanjali Krishna <gitanjal@codeaurora.org>
This change adds a time delay of 1 second before resetting the
SoC after USB crashdump collection, as some devices requires
spare time to flush the contents to disk.
Change-Id: I407ca5a2eb55762edd5fdb011b8464285019b18c
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
removing the redundant initialization to reduce the size of uboot
Change-Id: If8e97be523e83444a166cee94baa8728fcd61675
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
This change is necessary to fix the werror we get during
compilation after disabling SPI Flash.
Change-Id: Ica45e5d6d3cee1a67841f029322a84b6034d2195
Signed-off-by: Selvam Sathappan Periakaruppan <speriaka@codeaurora.org>
This change will add support for serial nand.
QPIC-2.1.1 supports parallel nand as well as serial nand.
QPIC will operate either in parallel configuration or
serial nand. Both can't work together.
This change will support initially four serial nand parts.
MT29F1G01ABBFDWB-IT (Micron-0x2C,0x15, 2K + 128)
GD5F1GQ4RE9IG (Giga Device-0xC8,0xC1, 2K + 128)
GD5F2GQ5REYIH (Giga Device-0xC8,0x22, 2K + 64)
GD5F1GQ4RE9IH (Giga Device-0xC8, 0xC9, 2K + 64)
Device Internal ECC is disabled for all three devices. This change will
enabele QPIC ECC engine.
For MT29F1G01ABBFDWB-IT 4-bit ECC as well 8-bit ECC will be supported.
For GD5F1GQ4RE9IG 4-bit ECC as well 8-bit ECC will be supported.
For GD5F2GQ5REYIH only 4-bit ECC will be supported due to 64-bytes spare.
For GD5F1GQ4RE9IH only 4-bit ECC will be supported due to 64-bytes spare.
Change-Id: I3f38f9c76b7bb235bb335a481fbc42ae1bd00395
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Using CONFIG_TZ_END_ADDR for manipulating the size of EBICS_S2
dump size, restricts us to have CONFIG_TZ_END_ADDR as the
EBICS_S2 start address. Instead of using CONFIG_TZ_END_ADDR,
used the table info for calculating the size.
This way, for ipq6018, 256M boundary(0x50000000) can be used as
EBICS_S2 dump start address.
Change-Id: I2fc69774301aad599425af1e9b106fe8bc35dbf8
Signed-off-by: Balaji Prakash J <bjagadee@codeaurora.org>
This change will add support for collecting crashdump as
compressed gzip file, if specified through uboot environment
variable 'dump_compressed'
Change-Id: I0c3fb16bc07aaa0103e75a551477fce13f9e26da
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
Currently SPI clocks are enabled by default in SBL.
Added the clock settings in uboot to remove SBL dependency.
Change-Id: I78340daeb267edf4f4bb579fba991699d1bccb3d
Signed-off-by: anusha <anusharao@codeaurora.org>
Currently I2C clocks are enabled by default in SBL.
Added clk settings in uboot to remove SBL dependency.
Change-Id: I6bc2ecaa5a9262dd1f134e5b62fd2cf38c682ff3
Signed-off-by: anusha <anusharao@codeaurora.org>
This patch fixes the nand flash size access issue
found in flash with two logical units
Change-Id: Ifcbaa40709c4ac5d508b629fcc6cf7006f167628
Signed-off-by: Antony Arun T <antothom@codeaurora.org>