added boot type based nand or emmc flash selection.
So machid based flash selection becomes obsolete.
Change-Id: I96fa43d31d23397fa249e02f62b905d6e4e67770
Signed-off-by: Rajkumar Ayyasamy <quic_arajkuma@quicinc.com>
The CRASHDUMP RESET bit of TCSR_BOOT_MISC_DETECT Register
has to be set before reset from u-boot in the
crashdump collection path for TZ to differentiate between the
normal reset and crashdump reset from u-boot and
to retain the crash reason.
Change-Id: Ib623bfeab15d1bc230f4a8824218f1a3c4368fbb
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
TCSR_BOOT_MISC_REG bits are not properly managed
for DLOAD implementation. Modify only necessary
bits to enable availability for new feature
implementations using TCSR_BOOT_MISC_REG.
Change-Id: I888a1bf6ce3654b0453c9ec2f87b4d5ff2a20de0
Signed-off-by: Gokul Sriram Palanisamy <quic_gokulsri@quicinc.com>
xtract_n_flash $imgaddr $filename $part_name
can be used instead of the below set of cmds
imxtract $imgaddr $filename
flash $part_name
This patch also takes page_size, block_size
and chip_size as arguments of mibib_load cmd
Change-Id: Iaf1ed33a2281029ad151f00ce5416648e513de56
Signed-off-by: Rajkumar Ayyasamy <quic_arajkuma@quicinc.com>
SMEM base address is moved to 0x4A800000, update it.
Change-Id: Ic88268ac4db80efe4d50cadbee191f85f91ee06d
Signed-off-by: Kathiravan T <quic_kathirav@quicinc.com>
Adding a new command mibib_reload to
populate the partition table info from
mibib binary
Change-Id: I3f08fc07ea55f1bbd90dc28d8f459d108f86bc0e
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
These modifications enable TZ+TME to obtain information
about the boot image partition for validation.
Change-Id: If4e6f27eb2c0e38fa8ec0ad552838f1d7a8c34c1
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
This patch updates the default load address CONFIG_SYS_LOAD_ADDR
to 0x50000000. Earlier address could not accommodate the larger
single image file, hence this update.
Change-Id: I94b0324a7a65e53af1a2d839b8b7eafeb69c0eef
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
These changes only add GZIP support for the
default u-boot; they do not apply to the tiny u-boot.
Change-Id: I1f022b77d6c2a82bdff36073746b409e126b5d35
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
This update replaces the board-specific QPIC nand
training offset fixup with a generic framework.
Change-Id: I0fd9203334da3846cfbbba880bc6b4701e9d162b
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
These changes add crashdump support in devsoc platform.
Change-Id: Ifdb9e1e65a4e93407506e987201b4ddeac753927
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
Update the feature to use BIT10 and BIT11 for NONHLOS
and HLOS failure detection instead of BIT9 & BIT10.
Change-Id: Idb649770da0cba63554adce861e901f582637c86
Signed-off-by: Anusha Rao <quic_anusha@quicinc.com>
This patch disables unused configs to reduce
U-Boot image size. This is required since
the image size was very close to the partition
size.
Change-Id: Ibd3131cb0f579deb3d34aff6857c97ca7338af19
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
The PCIE node is disabled by default in
the emulation platform
Change-Id: I51041186a57d08b58c1f7c85dd1a90fbeb24aac9
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
This change adds support to enable multiple I2C bus on all IPQ
platforms. Removed the device specific changes and updated in
a generic way to support multiple I2C on all the IPQ platforms.
Change-Id: Ie13dd744c6317fc9245bc88781e79a9fb3621a62
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
This changes enable UBI command support in
devsoc platform.
Change-Id: I2dade2f7ab232f6ae3f2a800437e1543e6a85909
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
This changes enable dcache enable and disable support
and also enable dcache command.
Change-Id: I7a11a923c1f87168e9cb519c5dedfcfac2dbc610
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
ipq9574 is a TME-L based platform in which before
encrypt/decrypt, we are required to derive a key
handle.
This patch adds support for the same.
Change-Id: I583cee87607af2ab6461b429830cb8ff43cc44d4
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
This config is needed to enable mmc protection
based on gpt readonly attribute.
Usecase:
1. In emmc partition xml, set readonly attribute
of a partition to true.
2. Generate partition bin, flash and reboot.
3. From uboot, read & write the partition.
4. Write should not go through. Crc32 checksum of
the content before & after write should match.
Change-Id: I1b5b4593d99d0ddab4d37b29c3669a4c805e80ea
Signed-off-by: Anusha Rao <quic_anusha@quicinc.com>
This changes add support for uboot base files.
Change-Id: I5f4b937dec30a27ec6acce6ceada7fbed5d5a41d
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
Removing this config will configure the tftp block
size to default value of 1468 + headers which is the
same as in other platforms.
Change-Id: If0b49217e5d2548be203a1a7da4000cd5f2e5dcb
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
This changes enables the QSPI_LAYOUT_SWITCH config
which is required for QSPI nand 4k support.
Since SBL must be flashed in 2K layout to support
QSPI Nand-4K, this dynamic switch is required.
Change-Id: I95a68ec9238dd83306322bc57cf93b162e3179f5
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
Add failsafe boot support to recover from system hang.
Signed-off-by: anusha <anusharao@codeaurora.org>
Change-Id: I49e28a4e88aa16e564065d06f8701dc4f6cb3555