keystone-rtos/sbl.git
17 months agoNOTICE OF RELOCATION master
Jacob Stiffler [Thu, 31 Oct 2019 17:53:45 +0000 (13:53 -0400)]
NOTICE OF RELOCATION

Active maintenance and development of the contents of this repository
has been relocated to git.ti.com/processor-sdk/pdk.git under the path
packages/ti/boot/sbl.

The use of this repository has been deprecated and will no longer
receive updates.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
17 months agoPRSDK-7240: Updates AM65x SBL to use Board_getI2CHandle to access PMIC
Madan Srinivas [Mon, 21 Oct 2019 18:32:19 +0000 (14:32 -0400)]
PRSDK-7240: Updates AM65x SBL to use Board_getI2CHandle to access PMIC

This patch updates the AM65x SBL to use Board_getI2CHandle to aceess
the tps62363 pmic to configure AVS at boot time

This patch needs the following board changes for tps62363 to
be merged

c0ff2cc88da: PRSDK-7240: Adds Board_getI2CHandle to configure tps62363

Signed-off-by: Madan Srinivas<madans@ti.com>
17 months agoPRSDK-7240: Updates SBL to use Board_getI2CHandle to access PMIC
Madan Srinivas [Tue, 15 Oct 2019 19:10:02 +0000 (15:10 -0400)]
PRSDK-7240: Updates SBL to use Board_getI2CHandle to access PMIC

The SBL currently calls I2C open to configure the PMIC - but in
doing so, included board specific information like the I2C
instance on which the board is connected, and the I2C address of
the pMIC insize the SBL.

This information must be part of teh board lib -. This patch
updates the SBL to use Board_getI2CHandle to setup the I2C and
removes all the PMIC related board specific configuration from
the SBL

Signed-off-by: Madan Srinivas<madans@ti.com>
17 months agoPRSDK-7239: This patch fixes a build issue with AM65xx DEV.SBL.01.00.09.06D
Madan Srinivas [Tue, 15 Oct 2019 19:02:25 +0000 (15:02 -0400)]
PRSDK-7239: This patch fixes a build issue with AM65xx

The AVS changes in teh SBL for J721E introduced a couple of
static functions. As htese functions are not callled for AM65xx
the compiler generatre warnings that get flagges as errors for the
AM65xx build.

The patch makes hte functinos global rather than static to fix
the build issues.

Signed-off-by: Madan Srinivas<madans@ti.com>
18 months agoPRSDK-6243: Adds support for AVS Class 0 to J721E SBL DEV.SBL.01.00.09.06B REL.PDK.J7.01.00.00.10
Madan Srinivas [Fri, 11 Oct 2019 07:32:12 +0000 (03:32 -0400)]
PRSDK-6243: Adds support for AVS Class 0 to J721E SBL

J721E supports AVS for VDD_CPU domain only.  This patch
adds support for AVS with Leo PMIC. If the board does
not have a Leo PMIC, AVS will fail, but the boot flow
will ignore the failure and continue.

AVS adds ~600us to boot time if Leo PMIC is present, if
Leo is not present, imapct is <100us

Signed-off-by: Madan Srinivas<madans@ti.com>
18 months agoSYSFW-2913: Add workdound for SYSFW issue in the SBL REL.PDK.J7.01.00.00.09
Madan Srinivas [Thu, 10 Oct 2019 00:44:08 +0000 (20:44 -0400)]
SYSFW-2913: Add workdound for SYSFW issue in the SBL

The system firmware on startup configures the OSPI clocks to
unsupported frequencies from what the ROM had left the PLLs.

This patch updates the SBL to confgure the clocks correctly
after SYSFW is loaded. It also updates the boot perf testcase
to validate this change and adds a new config for boot perf
testcase.

Signed-off-by: Madan Srinivas<madans@ti.com>
18 months agoPRSDK-6643: Adss ability in the cust SBL to initlialize a subset of PLLs & Clocks REL.PDK.J7.01.00.00.07 REL.PDK.J7.01.00.00.08
Madan Srinivas [Wed, 9 Oct 2019 16:37:04 +0000 (12:37 -0400)]
PRSDK-6643: Adss ability in the cust SBL to initlialize a subset of PLLs & Clocks

Some applications like those that need quick boot times or exclusive
control of PPLs and clocks require that SBL configures only the minimum
clocks needed for application start up.

This patch demonstrates how this can be done, by using the cusotm
SBL build as an example.

Signed-off-by: Madan Srinivas<madans@ti.com>
18 months agoPRSDK-6479: Fixes for AM65x HS boot failure DEV.SBL.01.00.09.06A DEV.SBL.01.00.10.00A REL.PDK.J7.01.00.00.06
Madan Srinivas [Tue, 8 Oct 2019 03:30:01 +0000 (23:30 -0400)]
PRSDK-6479: Fixes for AM65x HS boot failure

AM65x HS device was failing as a side effect of implementing
PRSDK-5732.

The jira PRSDK-5732 requires setting some of the VTM_TMPSENSn_CTRL
registers to 0xE0. However, on HS devices, these registers are not
accessible before hte SYSFW has run.

This patch moves the code that accesses these registers to after
SYSFW has run. Earlier, these registers were being accessed at the
start of main() which was causing a data abort on HS devices.

Signed-off-by: Madan Srinivas<madans@ti.com>
18 months agoPRSDK-7181: Fixes klockworks warnings 2431935 and 2431920
Madan Srinivas [Mon, 7 Oct 2019 19:55:02 +0000 (15:55 -0400)]
PRSDK-7181: Fixes klockworks warnings 2431935 and 2431920

The patch fixes hte following warnings...

2431920 -

https://klocwork.india.ti.com/review/insight-review.html#issuedetails_goto:offset=0,problemid=2431920,project=EP_PDK_K3,searchquery=id%253A2431920%252C2431935,sortcolumn=id,sortdirection=ASC,start=0,view_id=1

2431935 -

https://klocwork.india.ti.com/review/insight-review.html#issuedetails_goto:offset=1,problemid=2431935,project=EP_PDK_K3,searchquery=id%253A2431920%252C2431935,sortcolumn=id,sortdirection=ASC,start=0,view_id=1

Signed-off-by: Madan Srinivas<madans@ti.com>
18 months agoPRSDK-7172: Fixes for klockworks issues REL.PDK.J7.01.00.00.05
Madan Srinivas [Fri, 4 Oct 2019 22:11:34 +0000 (18:11 -0400)]
PRSDK-7172: Fixes for klockworks issues

This patch fixes the following klockwoks issues

1304353 -
https://klocwork.india.ti.com/review/insight-review.html#issuedetails_goto:offset=20,problemid=1304353,project=EP_PDK_K3,searchquery=id%253A1304437%252C1306344%252C2432785%252C2432859%252C592588%252C1299689%252C1300016%252C1300546%252C1300998%252C1301483%252C1301579%252C1302149%252C1302380%252C1302646%252C1303024%252C1303208%252C1303423%252C1303903%252C1303933%252C1304126%252C1304347%252C1304353%252C1304460%252C1304591%252C1304907%252C1306120%252C1306765%252C1306824%252C1306880%252C1307385%252C2351320%252C2355674%252C2357875%252C2361829%252C2363995%252C2431799%252C2431800%252C2431807%252C2431812%252C2431836%252C2431840%252C2431844%252C2431847%252C2431859%252C2431861%252C2431885%252C2431920%252C2431935%252C2431937%252C2431939%252C2431943%252C2431966,sortcolumn=status,sortdirection=ASC,start=0,view_id=1
2351320 -
https://klocwork.india.ti.com/review/insight-review.html#issuedetails_goto:offset=20,problemid=2351320,project=EP_PDK_K3,searchquery=id%253A1304437%252C1306344%252C2432785%252C2432859%252C592588%252C1299689%252C1300016%252C1300546%252C1300998%252C1301483%252C1301579%252C1302149%252C1302380%252C1302646%252C1303024%252C1303208%252C1303423%252C1303903%252C1303933%252C1304126%252C1304347%252C1304353%252C1304460%252C1304591%252C1304907%252C1306120%252C1306765%252C1306824%252C1306880%252C1307385%252C2351320%252C2355674%252C2357875%252C2361829%252C2363995%252C2431799%252C2431800%252C2431807%252C2431812%252C2431836%252C2431840%252C2431844%252C2431847%252C2431859%252C2431861%252C2431885%252C2431920%252C2431935%252C2431937%252C2431939%252C2431943%252C2431966,sortcolumn=status,sortdirection=ASC,start=25,view_id=1
2355674 -
https://klocwork.india.ti.com/review/insight-review.html#issuedetails_goto:offset=21,problemid=2355674,project=EP_PDK_K3,searchquery=id%253A1304437%252C1306344%252C2432785%252C2432859%252C592588%252C1299689%252C1300016%252C1300546%252C1300998%252C1301483%252C1301579%252C1302149%252C1302380%252C1302646%252C1303024%252C1303208%252C1303423%252C1303903%252C1303933%252C1304126%252C1304347%252C1304353%252C1304460%252C1304591%252C1304907%252C1306120%252C1306765%252C1306824%252C1306880%252C1307385%252C2351320%252C2355674%252C2357875%252C2361829%252C2363995%252C2431799%252C2431800%252C2431807%252C2431812%252C2431836%252C2431840%252C2431844%252C2431847%252C2431859%252C2431861%252C2431885%252C2431920%252C2431935%252C2431937%252C2431939%252C2431943%252C2431966,sortcolumn=status,sortdirection=ASC,start=25,view_id=1
2357875 -
https://klocwork.india.ti.com/review/insight-review.html#issuedetails_goto:offset=22,problemid=2357875,project=EP_PDK_K3,searchquery=id%253A1304437%252C1306344%252C2432785%252C2432859%252C592588%252C1299689%252C1300016%252C1300546%252C1300998%252C1301483%252C1301579%252C1302149%252C1302380%252C1302646%252C1303024%252C1303208%252C1303423%252C1303903%252C1303933%252C1304126%252C1304347%252C1304353%252C1304460%252C1304591%252C1304907%252C1306120%252C1306765%252C1306824%252C1306880%252C1307385%252C2351320%252C2355674%252C2357875%252C2361829%252C2363995%252C2431799%252C2431800%252C2431807%252C2431812%252C2431836%252C2431840%252C2431844%252C2431847%252C2431859%252C2431861%252C2431885%252C2431920%252C2431935%252C2431937%252C2431939%252C2431943%252C2431966,sortcolumn=status,sortdirection=ASC,start=25,view_id=1
2361829 -
https://klocwork.india.ti.com/review/insight-review.html#issuedetails_goto:offset=23,problemid=2361829,project=EP_PDK_K3,searchquery=id%253A1304437%252C1306344%252C2432785%252C2432859%252C592588%252C1299689%252C1300016%252C1300546%252C1300998%252C1301483%252C1301579%252C1302149%252C1302380%252C1302646%252C1303024%252C1303208%252C1303423%252C1303903%252C1303933%252C1304126%252C1304347%252C1304353%252C1304460%252C1304591%252C1304907%252C1306120%252C1306765%252C1306824%252C1306880%252C1307385%252C2351320%252C2355674%252C2357875%252C2361829%252C2363995%252C2431799%252C2431800%252C2431807%252C2431812%252C2431836%252C2431840%252C2431844%252C2431847%252C2431859%252C2431861%252C2431885%252C2431920%252C2431935%252C2431937%252C2431939%252C2431943%252C2431966,sortcolumn=status,sortdirection=ASC,start=25,view_id=1
2363995 -
https://klocwork.india.ti.com/review/insight-review.html#issuedetails_goto:offset=24,problemid=2363995,project=EP_PDK_K3,searchquery=id%253A1304437%252C1306344%252C2432785%252C2432859%252C592588%252C1299689%252C1300016%252C1300546%252C1300998%252C1301483%252C1301579%252C1302149%252C1302380%252C1302646%252C1303024%252C1303208%252C1303423%252C1303903%252C1303933%252C1304126%252C1304347%252C1304353%252C1304460%252C1304591%252C1304907%252C1306120%252C1306765%252C1306824%252C1306880%252C1307385%252C2351320%252C2355674%252C2357875%252C2361829%252C2363995%252C2431799%252C2431800%252C2431807%252C2431812%252C2431836%252C2431840%252C2431844%252C2431847%252C2431859%252C2431861%252C2431885%252C2431920%252C2431935%252C2431937%252C2431939%252C2431943%252C2431966,sortcolumn=status,sortdirection=ASC,start=25,view_id=1

Signed-off-by: Madan Srinivas<madans@ti.com>
18 months agoPRSDK-6485: Updated makefile to define SECDEV specifc variables
Madan Srinivas [Thu, 3 Oct 2019 18:39:53 +0000 (14:39 -0400)]
PRSDK-6485: Updated makefile to define SECDEV specifc variables

This patch updates the SBL makefile to make the build process more
user friendly. The SECDEV build an install guide specifies a bunch
of environment variables that needs to be defined to build K2G HS
for RTOS.

As the path of SECDEV is known for RTOS, this patch sets up some
of the environment varables so that the build is more user friendly.

Teh user still needs to download and setup the paths for
arm-linux-gnueabihf-gcc and TI C6000 CGT v7.4.16

Signed-off-by: Madan Srinivas<madans@ti.com>
18 months agoPRSDK-7170: FIxes klockworks warning in examples
Madan Srinivas [Thu, 3 Oct 2019 19:18:36 +0000 (15:18 -0400)]
PRSDK-7170: FIxes klockworks warning in examples

Fixes the following klockwors warning IDs

130080413017862383669,2383562

Signed-off-by: Madan Srinivas<madans@ti.com>
18 months agoUpdated diag build error fix changes REL.PDK.J7.01.00.00.04
M V Pratap Reddy [Tue, 1 Oct 2019 07:36:27 +0000 (13:06 +0530)]
Updated diag build error fix changes

18 months agoUpdated to fix the build errors for J7 diagnostic test
M V Pratap Reddy [Mon, 30 Sep 2019 09:59:20 +0000 (15:29 +0530)]
Updated to fix the build errors for J7 diagnostic test

 - Diagnostic test framework uses rprc and mmcsd files from SBL. There are build warnings
   which are considered as errors and build for diagnostic test on A72 core is failing.

18 months agoPRSDK-4706: Adds support for MCU1_1 split mode on lockstep enabled DEV.PROCESSOR-SDK.06.01.00.07 DEV.SBL.01.00.09.06
Madan Srinivas [Thu, 26 Sep 2019 13:45:48 +0000 (09:45 -0400)]
PRSDK-4706: Adds support for MCU1_1 split mode on lockstep enabled
devices

Signed-off-by: Madan Srinivas<madans@ti.com>
18 months agoPDK:2666: c++ build fix REL.PDK.J7.01.00.00.03
Prasad Konnur [Wed, 25 Sep 2019 15:43:45 +0000 (21:13 +0530)]
PDK:2666: c++ build fix

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
18 months agoPRSDK-7096: Fixes for klockwors error ID 2344427 REL.PDK.J7.01.00.00.01 REL.PDK.J7.01.00.00.02
Madan Srinivas [Tue, 24 Sep 2019 13:55:21 +0000 (09:55 -0400)]
PRSDK-7096: Fixes for klockwors error ID 2344427

Protoype of function J721E_SetupLvCmosDriveStrength did not specify
return value, whihc caused the compiler to assume default return
value on int.

This patch updates the prototype to show that the funciton returns
void

Signed-off-by: Madan Srinivas<madans@ti.com>
18 months agoPRSDK-5511: Fix for build warnings
M V Pratap Reddy [Mon, 23 Sep 2019 19:37:55 +0000 (01:07 +0530)]
PRSDK-5511: Fix for build warnings

18 months agoPRSDK-6635: XDC Tools (3.55.02.22) mkdir needs drive name.
Madan Srinivas [Fri, 13 Sep 2019 20:48:46 +0000 (16:48 -0400)]
PRSDK-6635: XDC Tools (3.55.02.22) mkdir needs drive name.

Signed-off-by: Madan Srinivas<madans@ti.com>
19 months agoPRSDK-5466: Revert workaround to skip calling SBL_ospiClose REL.PDK.J7.00.09.01.02 REL.PDK.J7.00.09.01.03 REL.PDK.J7.00.09.01.04 REL.PDK.J7.00.09.01.05
Madan Srinivas [Thu, 29 Aug 2019 20:20:22 +0000 (16:20 -0400)]
PRSDK-5466: Revert workaround to skip calling SBL_ospiClose

SBL_ospiClose was deconfiguring the OSPI controller leaving the
OSPI flash inaccessible after SBL_ospiClose was called.

This was an issue for XIP mode where hte code needed to run from
flash.

The pull request

https://bitbucket.itg.ti.com/projects/PROCESSOR-SDK/repos/spi-lld/pull-requests/208/overview

fixes the above issue with OSPI_close_v0 so that it no longer
deconfigures the PHY. This keeps the access to the OSPI flash working
even after SBL_ospiClose is called.

As a result of this fix, the workaround in the SBL is no longer needed.

Signed-off-by: Madan Srinivas<madans@ti.com>
19 months agoLimit the SBL HyperFlash build for j721e
Karan Saxena [Thu, 29 Aug 2019 18:32:06 +0000 (00:02 +0530)]
Limit the SBL HyperFlash build for j721e

19 months agoChange of macros to make SBL Hyperflash porting between SOCs easy
Karan Saxena [Thu, 29 Aug 2019 16:01:34 +0000 (21:31 +0530)]
Change of macros to make SBL Hyperflash porting between SOCs easy

- SBL_HYPERFLASH_BASE_ADDRESS and SBL_HYPERFLASH_CTLR_BASE_ADDRESS defined in
  sbl_soc_cfg.c

19 months agoUse board flash library for hyperflash SBL
Karan Saxena [Tue, 9 Jul 2019 13:31:31 +0000 (19:01 +0530)]
Use board flash library for hyperflash SBL

19 months agoHF cleanup: Remove pinmux for HF happening in SBL, also remove the ospi vs hyperbus...
Karan Saxena [Mon, 8 Jul 2019 15:25:21 +0000 (20:55 +0530)]
HF cleanup: Remove pinmux for HF happening in SBL, also remove the ospi vs hyperbus muxing with the GPIO

- Do a get config and set config
- The GPIO muxing is actually controlled by the SW3 PIN1 on the J7 EVM

19 months agoPRSDK-5296: Add support for HyperFlash boot mode in SBL
Karan Saxena [Fri, 14 Jun 2019 08:58:26 +0000 (14:28 +0530)]
PRSDK-5296: Add support for HyperFlash boot mode in SBL

- Functional on J7 EVM

19 months agoPRSDK-5732: Adds interface for SoC specific workarounds to SBL REL.PDK.J7.00.09.01.01
Madan Srinivas [Tue, 20 Aug 2019 20:31:59 +0000 (16:31 -0400)]
PRSDK-5732: Adds interface for SoC specific workarounds to SBL

There has been a need for applying SoC specifc workarounds for
SoC specific hardware issues like settung up CBIASSEL for AM65xx
or LVCMOS drive strength for J721E.

This patch adds an SoCInit to the SBL to allow adding SoC specific
initialization to the SBL

Signed-off-by: Madan Srinivas<madans@ti.com>
20 months agoTemp changes in SBL to enable bringup
Madan Srinivas [Fri, 17 May 2019 02:10:44 +0000 (22:10 -0400)]
Temp changes in SBL to enable bringup
    Adds LVCMOS drive strength workaround.
    Enables max logging for SBL and SYSFW

Signed-off-by: Madan Srinivas<madans@ti.com>
20 months agoChanges based on J7 SOC Alias changes
Ankur [Tue, 30 Jul 2019 13:17:21 +0000 (18:47 +0530)]
Changes based on J7 SOC Alias changes

Signed-off-by: Ankur <a0132173@ti.com>
21 months agoPRSDK-6181: Allow R5 applications to boot if entry point is 0x0
Madan Srinivas [Fri, 12 Jul 2019 17:05:42 +0000 (13:05 -0400)]
PRSDK-6181: Allow R5 applications to boot if entry point is 0x0

By default, BIOS places the reset vectors in ATCM at address 0.
For ease of use, the SBL must support booting apps built with this
default configuration, even though the hardware defaults do not
support it.

This patch addsupport for bootin R5 applications whose reset
vector and entry point is 0x0

Signed-off-by: Madan Srinivas<madans@ti.com>
21 months agoPRSDK-6030: Updates K3ImageGen scripts to support parallel builds DEV.PROCESSOR-SDK.06.00.00.05 DEV.SBL.01.00.09.05 REL.PDK.J7.00.09.00.02 REL.PDK.J7.00.09.00.03 REL.PDK.J7.00.09.00.04 REL.PDK.J7.00.09.00.05 REL.PDK.J7.00.09.00.06 REL.PDK.J7.00.09.00.07 REL.PDK.J7.00.09.00.08
Madan Srinivas [Mon, 24 Jun 2019 20:38:25 +0000 (16:38 -0400)]
PRSDK-6030: Updates K3ImageGen scripts to support parallel builds

K3ImageGen scipts generate signed images in current directory. This
can create a problem when parallel build is used.

The patch updates hte scripts to generate hte signed images in the
same folder where the .out file resied.

Signed-off-by: Madan Srinivas<madans@ti.com>
21 months agoRevert "Disabling SBL test app APPIMAGEGEN as it is causing build faliure"
Madan Srinivas [Mon, 17 Jun 2019 14:52:41 +0000 (10:52 -0400)]
Revert "Disabling SBL test app APPIMAGEGEN as it is causing build faliure"

This reverts commit c8c7b060c15005d38b78be9627387dee820ab653.

21 months agoPRSDK-5901: Fixes bug that boot MCU core without valid image
Madan Srinivas [Mon, 17 Jun 2019 14:46:40 +0000 (10:46 -0400)]
PRSDK-5901: Fixes bug that boot MCU core without valid image

The SBL was inadvertently releasing MCU core 1 from reset, even
if a valid image is not preset.

This patch updates the code to release core1 from reset only if
the user provides a valid image for the core.

Signed-off-by: Madan Srinivas<madans@ti.com>
21 months agoDisabling SBL test app APPIMAGEGEN as it is causing build faliure
Ankur [Fri, 14 Jun 2019 04:52:29 +0000 (10:22 +0530)]
Disabling SBL test app APPIMAGEGEN as it is causing build faliure

Signed-off-by: Ankur <a0132173@ti.com>
22 months agoPRSDK-5901: Updates the makefile to fix build failure with debug profile
Madan Srinivas [Tue, 4 Jun 2019 19:34:49 +0000 (15:34 -0400)]
PRSDK-5901: Updates the makefile to fix build failure with debug profile

The K3 SBLs dont not support a debug profile due to memory contraints.
However, some build automation scripts build both the release and debug
profiles.

The patch fixes build issues that can be caused when "BUILD_PROFILE=
debug" is specified at the make prompt, by skipping the entire SBL
build for any profile other than release.

Signed-off-by: Madan Srinivas<madans@ti.com>
22 months agoPRSDK-5901: Updates the makefile to fix build failure with debug profile
Madan Srinivas [Tue, 4 Jun 2019 19:34:49 +0000 (15:34 -0400)]
PRSDK-5901: Updates the makefile to fix build failure with debug profile

The K3 SBLs dont not support a debug profile due to memory contraints.
However, some build automation scripts build both the release and debug
profiles.

The patch fixes build issues that can be caused when "BUILD_PROFILE=
debug" is specified at the make prompt, by skipping the entire SBL
build for any profile other than release.

Signed-off-by: Madan Srinivas<madans@ti.com>
22 months agoUpdating component make to override build profile only for am65xx
Ankur [Thu, 6 Jun 2019 11:18:49 +0000 (16:48 +0530)]
Updating component make to override build profile only for am65xx

Signed-off-by: Ankur <a0132173@ti.com>
22 months agoPRSDK-5901: Updates the makefile to fix build failure with debug profile
Madan Srinivas [Tue, 4 Jun 2019 19:34:49 +0000 (15:34 -0400)]
PRSDK-5901: Updates the makefile to fix build failure with debug profile

The K3 SBLs dont not support a debug profile due to memory contraints.
However, some build automation scripts build both the release and debug
profiles.

The patch fixes build issues that can be caused when "BUILD_PROFILE=
debug" is specified at the make prompt.

Signed-off-by: Madan Srinivas<madans@ti.com>
22 months agoPRSDK-5911: Fixes build issue on J7 dues to missing I2C dependency
Madan Srinivas [Mon, 3 Jun 2019 20:50:03 +0000 (16:50 -0400)]
PRSDK-5911: Fixes build issue on J7 dues to missing I2C dependency

Board lib for J7 requires I2C. All application that depend on board
must also now add a dependency for I2C.

If I2C is not needed, it will not be linked into the app, so the
dependency on I2C need not be specific to SoC. THis will avoid
un-necessary clutter of the maske files.

Signed-off-by: Madan Srinivas<madans@ti.com>
22 months agoBuild Fix - Adding i2c dependency
Ankur [Thu, 30 May 2019 10:35:17 +0000 (16:05 +0530)]
Build Fix - Adding i2c dependency

Signed-off-by: Ankur <a0132173@ti.com>
22 months agoPRSDK-5838: Updates SBL to build for J721E EVM
Madan Srinivas [Fri, 17 May 2019 01:50:52 +0000 (21:50 -0400)]
PRSDK-5838: Updates SBL to build for J721E EVM

23 months agoPRSDK-4083: Adds build support for UART boot mode in SBL
Madan Srinivas [Fri, 10 May 2019 15:30:55 +0000 (11:30 -0400)]
PRSDK-4083: Adds build support for UART boot mode in SBL

Adds support for UART boot mode for K3 devices.

Signed-off-by: Madan Srinivas<madans@ti.com>
23 months agoUpdates SBL to work with sysfw 2019.04a release
Madan Srinivas [Wed, 1 May 2019 12:15:49 +0000 (08:15 -0400)]
Updates SBL to work with sysfw 2019.04a release

23 months agoMigration to SYSFW p2019.18 REL.PDK.J7.00.09.00.01
Anand Mahadevan SS [Wed, 8 May 2019 07:47:55 +0000 (13:17 +0530)]
Migration to SYSFW p2019.18

- Dev IDs and Clock IDs macro changes

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
23 months agoRemoving the lib added by mistake
Mahesh Radhakrishnan [Mon, 18 Mar 2019 16:20:44 +0000 (12:20 -0400)]
Removing the lib added by mistake

23 months agoPRSDK-4574: Disabling parallel make when using comp_top.mk
Mahesh Radhakrishnan [Tue, 5 Mar 2019 02:50:40 +0000 (21:50 -0500)]
PRSDK-4574: Disabling parallel make when using comp_top.mk

23 months agobuild: PRSDK-4654: remove build-id section mpu linker command file
Hao Zhang [Fri, 26 Apr 2019 16:32:32 +0000 (12:32 -0400)]
build: PRSDK-4654: remove build-id section mpu linker command file

build-id is disabled explicitly in the build infrastructure makefile and
the section should be removed from linker command file.

If the makefile enables build-id link option, there is a potential problem
that the executable generated will have corrupted debug symbols because
NOLOAD option is set for build-id section

Signed-off-by: Hao Zhang <hzhang@ti.com>
23 months ago[PDK-3280][R5F]R5F CSL FL Bug fixes
Dhande [Thu, 28 Mar 2019 08:29:19 +0000 (13:59 +0530)]
[PDK-3280][R5F]R5F CSL FL Bug fixes

- linker command file changes

Signed-off-by: Dhande <v-dhande@ti.com>
23 months agoPDK-3867: Migrated to SYSFW p2019.15
Sivaraj R [Fri, 19 Apr 2019 11:11:46 +0000 (16:41 +0530)]
PDK-3867: Migrated to SYSFW p2019.15

Signed-off-by: Sivaraj R <sivaraj@ti.com>
2 years agoPRSDK-4150: Adds support for authenticating app images DEV.SBL.01.00.09.04B REL.PDK.J7.00.08.00.08 REL.PDK.J7.00.08.00.09 REL.PDK.J7.00.08.00.10 REL.PDK.J7.00.08.00.11 REL.PDK.J7.00.08.00.12
Madan Srinivas [Tue, 19 Mar 2019 21:18:53 +0000 (17:18 -0400)]
PRSDK-4150: Adds support for authenticating app images

This patch adds support for verifying signed app
images using the Sciclient_procBootAuthAndStart API

Verification is mandatory for HS devices. If auth fails,
the boot halts for HS devices. Authetication failure is
ignored for GP devices.

Signed-off-by: Madan Srinivas<madans@ti.com>
2 years agoAdded tools folder for packaging REL.PDK.J7.00.08.00.07
Sivaraj R [Thu, 28 Mar 2019 13:55:53 +0000 (19:25 +0530)]
Added tools folder for packaging

Signed-off-by: Sivaraj R <sivaraj@ti.com>
2 years agoDisable APP image generation for J7 REL.PDK.J7.00.08.00.05 REL.PDK.J7.00.08.00.06
Sivaraj R [Tue, 26 Mar 2019 15:54:50 +0000 (21:24 +0530)]
Disable APP image generation for J7

Getting "File does not contain a valid CIL image"
error

Signed-off-by: Sivaraj R <sivaraj@ti.com>
2 years agoPRSDK-4150: Adds support for authenticating app images DEV.SBL.01.00.09.04A
Madan Srinivas [Tue, 19 Mar 2019 21:18:53 +0000 (17:18 -0400)]
PRSDK-4150: Adds support for authenticating app images

This patch adds support for verifying signed app
images using the Sciclient_procBootAuthAndStart API

Verification is mandatory for HS devices. If auth fails,
the boot halts for HS devices. Authetication failure is
ignored for GP devices.

Signed-off-by: Madan Srinivas<madans@ti.com>
2 years agoFix package build
Sivaraj R [Mon, 25 Mar 2019 18:31:07 +0000 (00:01 +0530)]
Fix package build

Signed-off-by: Sivaraj R <sivaraj@ti.com>
2 years agoospi: set xipEnable when opening OSPI driver, if XIP boot is required DEV.PROCESSOR-SDK.05.03.00.05 DEV.SBL.01.00.09.04 REL.PDK.J7.00.08.00.01 REL.PDK.J7.00.08.00.02 REL.PDK.J7.00.08.00.03 REL.PDK.J7.00.08.00.04
Somnath Mukherjee [Mon, 21 Jan 2019 09:31:03 +0000 (15:01 +0530)]
ospi: set xipEnable when opening OSPI driver, if XIP boot is required

Note, this should be enabled only at the last stage of boot or the
last call to ospi drier open().
Also, the OSPI driver close() is skipped when xipEnable = true.
This will be required when boot media configuration is needed by next stage
boot loader, application. For example where application is executing from XIP.

Signed-off-by: Somnath Mukherjee <somnath@ti.com>
2 years agoxip/entry: app provides entry point symbol of the XIP app
Somnath Mukherjee [Fri, 25 Jan 2019 14:30:40 +0000 (20:00 +0530)]
xip/entry: app provides entry point symbol of the XIP app

This symbol is parsed by SBL and provided to SYSFW.

Signed-off-by: Somnath Mukherjee <somnath@ti.com>
2 years agoapp/xip: a sample app that works from XIP flash memory
Somnath Mukherjee [Thu, 24 Jan 2019 13:54:17 +0000 (19:24 +0530)]
app/xip: a sample app that works from XIP flash memory

This app works from mcu1_0.

Signed-off-by: Somnath Mukherjee <somnath@ti.com>
2 years agoPRSDK-4054: Updates SBL to allow ROM reads SYSFW using DMA from OSPI
Madan Srinivas [Wed, 13 Mar 2019 16:29:08 +0000 (12:29 -0400)]
PRSDK-4054: Updates SBL to allow ROM reads SYSFW using DMA from OSPI

This patch adds support to configure OSPI in SDR mode to allow
the ROM read the syfw directly from OSPI using DMA.

After SYSFW is read, the SBL reconfigures the flash to DDR to read
the application with max throughput.

Signed-off-by: Madan Srinivas<madans@ti.com>
2 years agoPRSDK-4150: Add support for x509 signed apps
Madan Srinivas [Tue, 5 Mar 2019 21:05:01 +0000 (16:05 -0500)]
PRSDK-4150: Add support for x509 signed apps

This patch parses the app to see if it is a regular
multicore image or a multicore image that has been
signed and has a x509 certificate.

If the image has a x509 certificate, the SBL loads
it into reserved memory (that is determined at compile
time) verifies it and then parses the multicore image
that is contained within.

Checks are added to display a warning if the SBL detects
a section is attempting to overwrite the reserved memory.

Signed-off-by: Madan Srinivas<madans@ti.com>
2 years agoFix to include stdio.h for snprintf
Mahesh Radhakrishnan [Mon, 11 Mar 2019 15:28:25 +0000 (11:28 -0400)]
Fix to include stdio.h for snprintf

2 years agoMerge pull request #146 in PROCESSOR-SDK/sbl from kedarc_updates to master
Sivaraj R [Thu, 7 Mar 2019 02:30:43 +0000 (20:30 -0600)]
Merge pull request #146 in PROCESSOR-SDK/sbl from kedarc_updates to master

* commit 'dcf8ae49d2594c2443cf1a7ead5acae36d285e06':
  Added .gitignore to ignore generated files

2 years agoAdded .gitignore to ignore generated files
Kedar Chitnis [Wed, 6 Mar 2019 05:45:51 +0000 (11:15 +0530)]
Added .gitignore to ignore generated files

 Updated .gitignore to ignore more generated files/folders

2 years agoMerge pull request #144 in PROCESSOR-SDK/sbl from PRSDK-5490 to master
Mahesh Radhakrishnan [Fri, 1 Mar 2019 15:22:54 +0000 (09:22 -0600)]
Merge pull request #144 in PROCESSOR-SDK/sbl from PRSDK-5490 to master

* commit '4d345421a33fda1bb9a66ce718c11ac43b862643':
  PRSDK-5490: Updates SBL and testcases for SYSFW release 2019.02

2 years agoPRSDK-5490: Updates SBL and testcases for SYSFW release 2019.02
Madan Srinivas [Tue, 26 Feb 2019 21:06:57 +0000 (16:06 -0500)]
PRSDK-5490: Updates SBL and testcases for SYSFW release 2019.02

Signed-off-by: Madan Srinivas<madans@ti.com>
2 years agoMerge pull request #142 in PROCESSOR-SDK/sbl from PRSDK-5448 to master
Mahesh Radhakrishnan [Wed, 27 Feb 2019 19:08:09 +0000 (13:08 -0600)]
Merge pull request #142 in PROCESSOR-SDK/sbl from PRSDK-5448 to master

* commit '85f06055452b8fcb9c0a45ae8afd6caddbd9dbee':
  PRSDK-5448: Fixes reliability issue with MMCSD boot on AM65xx

2 years agoPRSDK-5448: Fixes reliability issue with MMCSD boot on AM65xx
Madan Srinivas [Mon, 18 Feb 2019 05:06:56 +0000 (00:06 -0500)]
PRSDK-5448: Fixes reliability issue with MMCSD boot on AM65xx

The SBL calls f_open twice without calling FATFS_init, FATFS_open
FATFS_close in the proper sequence.

This patch adds a call to FATFS_close after reading the sysfw, and
calls FATFS_init, FATFS_open again before reading the app.

Signed-off-by: Madan Srinivas<madans@ti.com>
2 years agoMerge pull request #141 in PROCESSOR-SDK/sbl from rtos-next to master
Mahesh Radhakrishnan [Sun, 17 Feb 2019 14:20:34 +0000 (08:20 -0600)]
Merge pull request #141 in PROCESSOR-SDK/sbl from rtos-next to master

* commit 'c40367ed3caf5d1bc41e21c9750baa83f3deafc1':
  PDK-3586: Updates SBL with name change from J7 to J721E
  PRSDK-4286: Adds support to build multicore images for J7

2 years agoMerge pull request #140 in PROCESSOR-SDK/sbl from PRSDK-4286 to rtos-next
Madan Srinivas [Sat, 16 Feb 2019 09:02:51 +0000 (03:02 -0600)]
Merge pull request #140 in PROCESSOR-SDK/sbl from PRSDK-4286 to rtos-next

* commit '56da2686701f72ed168f69dafe54528259b0242d':
  PDK-3586: Updates SBL with name change from J7 to J721E
  PRSDK-4286: Adds support to build multicore images for J7

2 years agoPDK-3586: Updates SBL with name change from J7 to J721E
Madan Srinivas [Tue, 12 Feb 2019 04:37:53 +0000 (23:37 -0500)]
PDK-3586: Updates SBL with name change from J7 to J721E

Signed-off-by: Madan Srinivas<madans@ti.com>
2 years agoPRSDK-4286: Adds support to build multicore images for J7
Madan Srinivas [Sun, 27 Jan 2019 03:30:46 +0000 (22:30 -0500)]
PRSDK-4286: Adds support to build multicore images for J7

This patch adds build support in the SBL for the J7 cores. This patch
does not test the functionality of the SBL on J7. Only build for J7
has been tested with the latest J7 nightly.

AM65xx has been validated with this patch to ensure that there is
no regression in build or functionality.

As a side effect, this patch also implements the following JIRAs

PRSDK-4294: Adds support for Slave boot API as library
PRSDK-4279: Adds support for 2 independent A72 cluster SMP boot
PRSDK-4280: Adds support for A72_1 and A72_2 SMP Slave Boot
PRSDK-4282: Adds support for C66x Slave Boot
PRSDK-4283: Adds support for C7x Slave Boot
PRSDK-4281: Adds support for A72 Slave Boot
PRSDK-4290: Adds support for Build time enable/disable of features
PRSDK-4295: Adds support for Selective Logging to reduce UART prints
PRSDK-4292: Adds support for Run with Cache enabled
PRSDK-4296: Adds support for Boot profiling
PRSDK-4264: Adds support for Re-entrant
PRSDK-4287: Adds support for MMCSD Boot Media
PRSDK-4276: Adds support for PM Selective Power/Clock and Module ON/OFF
PRSDK-4260: Adds support for J721E SBL
PRSDK-4270: Adds support for PM CPU OFF if no image is present
PRSDK-4271: Adds support for PM PLL setup as per device OPP
PRSDK-4289: Adds support for MCU0 Boot in non SMP mode
PRSDK-4293: Adds support for MCU0 Boot in Lock-step Mode
PRSDK-4288: Adds support for Main Domain R5F Slave Boot
PRSDK-4904: Adds support for SBL Build from ti/build folder

Signed-off-by: Madan Srinivas<madans@ti.com>
2 years agoMerge pull request #139 in PROCESSOR-SDK/sbl from rtos-next to master
Mahesh Radhakrishnan [Fri, 15 Feb 2019 23:09:11 +0000 (17:09 -0600)]
Merge pull request #139 in PROCESSOR-SDK/sbl from rtos-next to master

* commit '4817b83a50ee4839d11051c18e6f9ee7f7025e23':
  PDK-3586: Updates SBL with name change from J7 to J721E
  PRSDK-4286: Adds support to build multicore images for J7

2 years agoMerge pull request #136 in PROCESSOR-SDK/sbl from PRSDK-4286 to rtos-next
Madan Srinivas [Fri, 15 Feb 2019 23:06:12 +0000 (17:06 -0600)]
Merge pull request #136 in PROCESSOR-SDK/sbl from PRSDK-4286 to rtos-next

* commit 'ddef589d841947b4c68c14a63dac9f88c32143a2':
  PDK-3586: Updates SBL with name change from J7 to J721E
  PRSDK-4286: Adds support to build multicore images for J7

2 years agoPDK-3586: Updates SBL with name change from J7 to J721E
Madan Srinivas [Tue, 12 Feb 2019 04:37:53 +0000 (23:37 -0500)]
PDK-3586: Updates SBL with name change from J7 to J721E

Signed-off-by: Madan Srinivas<madans@ti.com>
2 years agoPRSDK-4286: Adds support to build multicore images for J7
Madan Srinivas [Sun, 27 Jan 2019 03:30:46 +0000 (22:30 -0500)]
PRSDK-4286: Adds support to build multicore images for J7

This patch adds build support in the SBL for the J7 cores. This patch
does not test the functionality of the SBL on J7. Only build for J7
has been tested with the latest J7 nightly.

AM65xx has been validated with this patch to ensure that there is
no regression in build or functionality.

Signed-off-by: Madan Srinivas<madans@ti.com>
2 years agoMerge pull request #135 in PROCESSOR-SDK/sbl from rtos-next to master
Madan Srinivas [Mon, 21 Jan 2019 17:50:23 +0000 (11:50 -0600)]
Merge pull request #135 in PROCESSOR-SDK/sbl from rtos-next to master

* commit 'e9e2e83324c6897be59130de1665bb337682be21':
  PRSDK-5119: Updates for displaying OSPI peak throughput in SBL
  PRSDK-5223: Updates SBL and boot_perf eg to retrieve SBL perf logs

2 years agoMerge pull request #134 in PROCESSOR-SDK/sbl from PRSDK-5119 to rtos-next
Madan Srinivas [Mon, 21 Jan 2019 17:00:53 +0000 (11:00 -0600)]
Merge pull request #134 in PROCESSOR-SDK/sbl from PRSDK-5119 to rtos-next

* commit '05b7e9ee8a52f15a50501e38937fe9dc6235c1e2':
  PRSDK-5119: Updates for displaying OSPI peak throughput in SBL

2 years agoPRSDK-5119: Updates for displaying OSPI peak throughput in SBL
Madan Srinivas [Tue, 8 Jan 2019 01:42:16 +0000 (20:42 -0500)]
PRSDK-5119: Updates for displaying OSPI peak throughput in SBL

This patch updates the boot performance test case, sbl and sbl logs
for demonstrating the SBL's capability to achieve 251 Mbytes per sec
read when booting an image from OSPI flash.

Signed-off-by: Madan Srinivas<madans@ti.com>
2 years agoMerge pull request #128 in PROCESSOR-SDK/sbl from PRSDK-5223 to rtos-next
Madan Srinivas [Mon, 7 Jan 2019 15:08:42 +0000 (09:08 -0600)]
Merge pull request #128 in PROCESSOR-SDK/sbl from PRSDK-5223 to rtos-next

* commit 'f6b99f3cb6710ef7430ef179b2d9979b39165241':
  PRSDK-5223: Updates SBL and boot_perf eg to retrieve SBL perf logs

2 years agoPRSDK-5223: Updates SBL and boot_perf eg to retrieve SBL perf logs
Madan Srinivas [Thu, 3 Jan 2019 23:19:28 +0000 (18:19 -0500)]
PRSDK-5223: Updates SBL and boot_perf eg to retrieve SBL perf logs

Signed-off-by: Madan Srinivas<madans@ti.com>
2 years agoMerge pull request #127 in PROCESSOR-SDK/sbl from PRSDK-5119 to master DEV.SBL.01.00.09.03B
Mahesh Radhakrishnan [Tue, 18 Dec 2018 22:13:26 +0000 (16:13 -0600)]
Merge pull request #127 in PROCESSOR-SDK/sbl from PRSDK-5119 to master

* commit 'e750493738979308e63e6323d430328c5cde3bf4':
  PRSDK-5119: Verified SBL OSPI read throughput at 251Mbytes per sec

2 years agoPRSDK-5119: Verified SBL OSPI read throughput at 251Mbytes per sec
Madan Srinivas [Tue, 18 Dec 2018 21:40:22 +0000 (16:40 -0500)]
PRSDK-5119: Verified SBL OSPI read throughput at 251Mbytes per sec

Boot time from OSPI flash with 1 Mbyte image is uner 40ms-100ms

Signed-off-by: Madan Srinivas<madans@ti.com>
2 years agoMerge pull request #126 in PROCESSOR-SDK/sbl from PRSDK-5034 to master DEV.SBL.01.00.09.03A
Mahesh Radhakrishnan [Tue, 18 Dec 2018 04:33:53 +0000 (22:33 -0600)]
Merge pull request #126 in PROCESSOR-SDK/sbl from PRSDK-5034 to master

* commit 'c1da9ce01d30bda1808ceab54b04541f18b7cafb':
  PRSDK-5034: Adds code to initialize the ATCM before using it.

2 years agoPRSDK-5034: Adds code to initialize the ATCM before using it.
Madan Srinivas [Tue, 18 Dec 2018 00:39:53 +0000 (19:39 -0500)]
PRSDK-5034: Adds code to initialize the ATCM before using it.

Signed-off-by: Madan Srinivas<madans@ti.com>
2 years agoMerge pull request #125 in PROCESSOR-SDK/sbl from PRSDK-5119 to master
Mahesh Radhakrishnan [Mon, 17 Dec 2018 19:55:50 +0000 (13:55 -0600)]
Merge pull request #125 in PROCESSOR-SDK/sbl from PRSDK-5119 to master

* commit '8e203d61525ebbf99727e9153c622d18a49b5fbf':
  PRSDK-5119: Verified SBL OSPI read throughput at 251Mbytes per sec

2 years agoPRSDK-5119: Verified SBL OSPI read throughput at 251Mbytes per sec
Madan Srinivas [Wed, 12 Dec 2018 00:10:15 +0000 (19:10 -0500)]
PRSDK-5119: Verified SBL OSPI read throughput at 251Mbytes per sec

Boot time from OSPI flash with 1 Mbyte image is uner 40ms-100ms

Signed-off-by: Madan Srinivas<madans@ti.com>
2 years agoMerge pull request #121 in PROCESSOR-SDK/sbl from PRSDK-4440 to master DEV.PROCESSOR-SDK.05.02.00.07 DEV.SBL.01.00.09.03
Mahesh Radhakrishnan [Mon, 10 Dec 2018 23:15:42 +0000 (17:15 -0600)]
Merge pull request #121 in PROCESSOR-SDK/sbl from PRSDK-4440 to master

* commit 'cf013ecbe0d74e53e9e8e0a629f16504591cf53d':
  PRSDK-4440: Added source path for AM57x eMMC boot
  Fixes review comments for pull request #120
  PRSDK-4440 Remove MMCSD instance number mapping
  PRSDK-4440 Add eMMc multi partition support
  Fixes review comments for pull request #120
  PRSDK-4440 Remove MMCSD instance number mapping
  PRSDK-4440 Add eMMc multi partition support

2 years agoMerge branch 'PRSDK-4440' of https://bitbucket.itg.ti.com/scm/processor-sdk/sbl into...
M V Pratap Reddy [Fri, 7 Dec 2018 23:04:31 +0000 (04:34 +0530)]
Merge branch 'PRSDK-4440' of https://bitbucket.itg.ti.com/scm/processor-sdk/sbl into PRSDK-4440

2 years agoPRSDK-4440: Added source path for AM57x eMMC boot
M V Pratap Reddy [Fri, 7 Dec 2018 23:03:27 +0000 (04:33 +0530)]
PRSDK-4440: Added source path for AM57x eMMC boot

2 years agoFixes review comments for pull request #120
Madan Srinivas [Fri, 7 Dec 2018 16:49:10 +0000 (11:49 -0500)]
Fixes review comments for pull request #120

2 years agoPRSDK-4440 Remove MMCSD instance number mapping
Sinthu Raja M [Fri, 7 Dec 2018 10:00:05 +0000 (15:30 +0530)]
PRSDK-4440 Remove MMCSD instance number mapping

 Remove MMCSD controller instance number for SD-MMc and EMMC devices for
 SBL booting.

2 years agoPRSDK-4440 Add eMMc multi partition support
Sinthu Raja M [Thu, 6 Sep 2018 12:24:08 +0000 (17:54 +0530)]
PRSDK-4440 Add eMMc multi partition support

 Add eMMc multi partition support to read app and execute the same
 from any available partition not more than 4.

PRSDK-4440 Build scrip update for eMMc boot

 Update build script for eMMC boot to enable yocto build for eMMc
 binaries.

PRSDK-4440 Remove Multi-partition macro

 Remove multi-partition macro.
 Update code to use fatfs library which is common for single and
 multi-partition library.

PRSDK-4440 Enable multi-partition support for MMCSD boot

 Enable multi-partition support for MMCSD boot as a default mode

2 years agoMerge pull request #122 in PROCESSOR-SDK/sbl from PRSDK-5138 to master
Madan Srinivas [Fri, 7 Dec 2018 20:43:58 +0000 (14:43 -0600)]
Merge pull request #122 in PROCESSOR-SDK/sbl from PRSDK-5138 to master

* commit 'fd24b48023be55ed54e925005841af4301c5361f':
  PRSDK-5138: Reduced stack size to fix the SBL build error

2 years agoPRSDK-5138: Reduced stack size to fix the SBL build error
M V Pratap Reddy [Fri, 7 Dec 2018 17:59:50 +0000 (23:29 +0530)]
PRSDK-5138: Reduced stack size to fix the SBL build error

  - C6748 SBL build is failing after enabling FatFs multi-partition
    support. Reduced stack size since stack memory allocation is done more than
    needed.

2 years agoFixes review comments for pull request #120
Madan Srinivas [Fri, 7 Dec 2018 16:49:10 +0000 (11:49 -0500)]
Fixes review comments for pull request #120

2 years agoPRSDK-4440 Remove MMCSD instance number mapping
Sinthu Raja M [Fri, 7 Dec 2018 10:00:05 +0000 (15:30 +0530)]
PRSDK-4440 Remove MMCSD instance number mapping

 Remove MMCSD controller instance number for SD-MMc and EMMC devices for
 SBL booting.

2 years agoPRSDK-4440 Add eMMc multi partition support
Sinthu Raja M [Thu, 6 Sep 2018 12:24:08 +0000 (17:54 +0530)]
PRSDK-4440 Add eMMc multi partition support

 Add eMMc multi partition support to read app and execute the same
 from any available partition not more than 4.

PRSDK-4440 Build scrip update for eMMc boot

 Update build script for eMMC boot to enable yocto build for eMMc
 binaries.

PRSDK-4440 Remove Multi-partition macro

 Remove multi-partition macro.
 Update code to use fatfs library which is common for single and
 multi-partition library.

PRSDK-4440 Enable multi-partition support for MMCSD boot

 Enable multi-partition support for MMCSD boot as a default mode

2 years agoMerge pull request #119 in PROCESSOR-SDK/sbl from PRSDK-4050 to master
Mahesh Radhakrishnan [Wed, 5 Dec 2018 16:33:49 +0000 (10:33 -0600)]
Merge pull request #119 in PROCESSOR-SDK/sbl from PRSDK-4050 to master

* commit '205e9060aef88dbd1581dff1a24efedc64e54009':
  PRSDK-4050: Adds support for running OSPI at 133MHz in SBL
  PRSDK-4816: Partially fixes for Klockworks errors in SBL

2 years agoPRSDK-4050: Adds support for running OSPI at 133MHz in SBL
Madan Srinivas [Wed, 5 Dec 2018 16:23:45 +0000 (11:23 -0500)]
PRSDK-4050: Adds support for running OSPI at 133MHz in SBL

This patch also updates the SBL to load the SYSFW binary as a
separate binary. This change applies to all boot modes and was
needed as the SPI DMA and FAT libs increased the size of the SBL
beyond the ROM limit of 384Kbyes.

Cleanup: moves ospi specific code that was incorectly in sbl_soc.c
to common ospi specific source files

Signed-off-by: Madan Srinivas<madans@ti.com>
2 years agoPRSDK-4816: Partially fixes for Klockworks errors in SBL
Madan Srinivas [Wed, 5 Dec 2018 16:18:01 +0000 (11:18 -0500)]
PRSDK-4816: Partially fixes for Klockworks errors in SBL

Signed-off-by: Madan Srinivas<madans@ti.com>
2 years agoMerge pull request #117 in PROCESSOR-SDK/sbl from PRSDK-4758 to master
Madan Srinivas [Wed, 28 Nov 2018 06:37:25 +0000 (00:37 -0600)]
Merge pull request #117 in PROCESSOR-SDK/sbl from PRSDK-4758 to master

* commit 'fabe33d62d0df9feb4f53cbff82e06047e520fa4':
  PRSDK-4758: Added check to access DSP core ids based on the platforms
  PRSDK-4758: Updated global address of L2 SRAM based on the DSP Core id. The address of L2 SRAM was hard coded to access CorePac0 L2 SRAM. This fails to boot the application from other DSP cores.

2 years agoPRSDK-4758: Added check to access DSP core ids based on the platforms
Dasnavis Sabiya [Wed, 21 Nov 2018 12:50:41 +0000 (18:20 +0530)]
PRSDK-4758: Added check to access DSP core ids based on the platforms