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>
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>
4 years 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
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>
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>
4 years 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
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>
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>
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>
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>
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>
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>
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>
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>
PRSDK-7170: FIxes klockworks warning in examples
Fixes the following klockwors warning IDs
1300804, 1301786, 2383669,2383562
Signed-off-by: Madan Srinivas<madans@ti.com>
Fixes the following klockwors warning IDs
1300804, 1301786, 2383669,2383562
Signed-off-by: Madan Srinivas<madans@ti.com>
Updated diag build error fix changes
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.
- 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.
4 years 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
PRSDK-4706: Adds support for MCU1_1 split mode on lockstep enabled
devices
Signed-off-by: Madan Srinivas<madans@ti.com>
devices
Signed-off-by: Madan Srinivas<madans@ti.com>
PDK:2666: c++ build fix
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
4 years agoPRSDK-7096: Fixes for klockwors error ID 2344427 REL.PDK.J7.01.00.00.01 REL.PDK.J7.01.00.00.02
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>
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>
PRSDK-5511: Fix for build warnings
PRSDK-6635: XDC Tools (3.55.02.22) mkdir needs drive name.
Signed-off-by: Madan Srinivas<madans@ti.com>
Signed-off-by: Madan Srinivas<madans@ti.com>
4 years 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
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>
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>
Limit the SBL HyperFlash build for j721e
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
- SBL_HYPERFLASH_BASE_ADDRESS and SBL_HYPERFLASH_CTLR_BASE_ADDRESS defined in
sbl_soc_cfg.c
Use board flash library for hyperflash SBL
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
- Do a get config and set config
- The GPIO muxing is actually controlled by the SW3 PIN1 on the J7 EVM
PRSDK-5296: Add support for HyperFlash boot mode in SBL
- Functional on J7 EVM
- Functional on J7 EVM
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>
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>
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>
Adds LVCMOS drive strength workaround.
Enables max logging for SBL and SYSFW
Signed-off-by: Madan Srinivas<madans@ti.com>
Changes based on J7 SOC Alias changes
Signed-off-by: Ankur <a0132173@ti.com>
Signed-off-by: Ankur <a0132173@ti.com>
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>
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>
4 years 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
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>
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>
Revert "Disabling SBL test app APPIMAGEGEN as it is causing build faliure"
This reverts commit c8c7b060c15005d38b78be9627387dee820ab653.
This reverts commit c8c7b060c15005d38b78be9627387dee820ab653.
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>
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>
Disabling SBL test app APPIMAGEGEN as it is causing build faliure
Signed-off-by: Ankur <a0132173@ti.com>
Signed-off-by: Ankur <a0132173@ti.com>
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>
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>
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>
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>
Updating component make to override build profile only for am65xx
Signed-off-by: Ankur <a0132173@ti.com>
Signed-off-by: Ankur <a0132173@ti.com>
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>
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>
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>
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>
Build Fix - Adding i2c dependency
Signed-off-by: Ankur <a0132173@ti.com>
Signed-off-by: Ankur <a0132173@ti.com>
PRSDK-5838: Updates SBL to build for J721E EVM
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>
Adds support for UART boot mode for K3 devices.
Signed-off-by: Madan Srinivas<madans@ti.com>
Updates SBL to work with sysfw 2019.04a release
Migration to SYSFW p2019.18
- Dev IDs and Clock IDs macro changes
Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
- Dev IDs and Clock IDs macro changes
Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
Removing the lib added by mistake
PRSDK-4574: Disabling parallel make when using comp_top.mk
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>
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>
[PDK-3280][R5F]R5F CSL FL Bug fixes
- linker command file changes
Signed-off-by: Dhande <v-dhande@ti.com>
- linker command file changes
Signed-off-by: Dhande <v-dhande@ti.com>
PDK-3867: Migrated to SYSFW p2019.15
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Signed-off-by: Sivaraj R <sivaraj@ti.com>
5 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
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>
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>
Added tools folder for packaging
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Disable APP image generation for J7
Getting "File does not contain a valid CIL image"
error
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Getting "File does not contain a valid CIL image"
error
Signed-off-by: Sivaraj R <sivaraj@ti.com>
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>
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>
Fix package build
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Signed-off-by: Sivaraj R <sivaraj@ti.com>
5 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
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>
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>
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>
This symbol is parsed by SBL and provided to SYSFW.
Signed-off-by: Somnath Mukherjee <somnath@ti.com>
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>
This app works from mcu1_0.
Signed-off-by: Somnath Mukherjee <somnath@ti.com>
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>
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>
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>
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>
Fix to include stdio.h for snprintf
Merge pull request #146 in PROCESSOR-SDK/sbl from kedarc_updates to master
* commit 'dcf8ae49d2594c2443cf1a7ead5acae36d285e06':
Added .gitignore to ignore generated files
* commit 'dcf8ae49d2594c2443cf1a7ead5acae36d285e06':
Added .gitignore to ignore generated files
Added .gitignore to ignore generated files
Updated .gitignore to ignore more generated files/folders
Updated .gitignore to ignore more generated files/folders
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
* commit '4d345421a33fda1bb9a66ce718c11ac43b862643':
PRSDK-5490: Updates SBL and testcases for SYSFW release 2019.02
PRSDK-5490: Updates SBL and testcases for SYSFW release 2019.02
Signed-off-by: Madan Srinivas<madans@ti.com>
Signed-off-by: Madan Srinivas<madans@ti.com>
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
* commit '85f06055452b8fcb9c0a45ae8afd6caddbd9dbee':
PRSDK-5448: Fixes reliability issue with MMCSD boot on AM65xx
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>
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>
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
* commit 'c40367ed3caf5d1bc41e21c9750baa83f3deafc1':
PDK-3586: Updates SBL with name change from J7 to J721E
PRSDK-4286: Adds support to build multicore images for J7
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
* commit '56da2686701f72ed168f69dafe54528259b0242d':
PDK-3586: Updates SBL with name change from J7 to J721E
PRSDK-4286: Adds support to build multicore images for J7
PDK-3586: Updates SBL with name change from J7 to J721E
Signed-off-by: Madan Srinivas<madans@ti.com>
Signed-off-by: Madan Srinivas<madans@ti.com>
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>
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>
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
* commit '4817b83a50ee4839d11051c18e6f9ee7f7025e23':
PDK-3586: Updates SBL with name change from J7 to J721E
PRSDK-4286: Adds support to build multicore images for J7
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
* commit 'ddef589d841947b4c68c14a63dac9f88c32143a2':
PDK-3586: Updates SBL with name change from J7 to J721E
PRSDK-4286: Adds support to build multicore images for J7
PDK-3586: Updates SBL with name change from J7 to J721E
Signed-off-by: Madan Srinivas<madans@ti.com>
Signed-off-by: Madan Srinivas<madans@ti.com>
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>
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>
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
* 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
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
* commit '05b7e9ee8a52f15a50501e38937fe9dc6235c1e2':
PRSDK-5119: Updates for displaying OSPI peak throughput in SBL
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>
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>
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
* commit 'f6b99f3cb6710ef7430ef179b2d9979b39165241':
PRSDK-5223: Updates SBL and boot_perf eg to retrieve SBL perf logs
PRSDK-5223: Updates SBL and boot_perf eg to retrieve SBL perf logs
Signed-off-by: Madan Srinivas<madans@ti.com>
Signed-off-by: Madan Srinivas<madans@ti.com>
5 years agoMerge pull request #127 in PROCESSOR-SDK/sbl from PRSDK-5119 to master DEV.SBL.01.00.09.03B
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
* commit 'e750493738979308e63e6323d430328c5cde3bf4':
PRSDK-5119: Verified SBL OSPI read throughput at 251Mbytes per sec
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>
Boot time from OSPI flash with 1 Mbyte image is uner 40ms-100ms
Signed-off-by: Madan Srinivas<madans@ti.com>
5 years agoMerge pull request #126 in PROCESSOR-SDK/sbl from PRSDK-5034 to master DEV.SBL.01.00.09.03A
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.
* commit 'c1da9ce01d30bda1808ceab54b04541f18b7cafb':
PRSDK-5034: Adds code to initialize the ATCM before using it.
PRSDK-5034: Adds code to initialize the ATCM before using it.
Signed-off-by: Madan Srinivas<madans@ti.com>
Signed-off-by: Madan Srinivas<madans@ti.com>
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
* commit '8e203d61525ebbf99727e9153c622d18a49b5fbf':
PRSDK-5119: Verified SBL OSPI read throughput at 251Mbytes per sec
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>
Boot time from OSPI flash with 1 Mbyte image is uner 40ms-100ms
Signed-off-by: Madan Srinivas<madans@ti.com>
5 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
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
* 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
Merge branch 'PRSDK-4440' of https://bitbucket.itg.ti.com/scm/processor-sdk/sbl into PRSDK-4440
PRSDK-4440: Added source path for AM57x eMMC boot
Fixes review comments for pull request #120
PRSDK-4440 Remove MMCSD instance number mapping
Remove MMCSD controller instance number for SD-MMc and EMMC devices for
SBL booting.
Remove MMCSD controller instance number for SD-MMc and EMMC devices for
SBL booting.
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
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
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
* commit 'fd24b48023be55ed54e925005841af4301c5361f':
PRSDK-5138: Reduced stack size to fix the SBL build error
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.
- C6748 SBL build is failing after enabling FatFs multi-partition
support. Reduced stack size since stack memory allocation is done more than
needed.
Fixes review comments for pull request #120
PRSDK-4440 Remove MMCSD instance number mapping
Remove MMCSD controller instance number for SD-MMc and EMMC devices for
SBL booting.
Remove MMCSD controller instance number for SD-MMc and EMMC devices for
SBL booting.
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
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
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
* commit '205e9060aef88dbd1581dff1a24efedc64e54009':
PRSDK-4050: Adds support for running OSPI at 133MHz in SBL
PRSDK-4816: Partially fixes for Klockworks errors in SBL
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>
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>
PRSDK-4816: Partially fixes for Klockworks errors in SBL
Signed-off-by: Madan Srinivas<madans@ti.com>
Signed-off-by: Madan Srinivas<madans@ti.com>
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.
* 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.
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.
Added a check to update the 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.
Added a check to update the global address of L2 SRAM, based on
the DSP Core id.
Merge pull request #115 in PROCESSOR-SDK/sbl from rtos-next to master
* commit 'cb59a38ff515dd3bd2a3c987ecefadeda002e12c':
Fixes comments for pull request #114
PRSDK-4396: Updates makefile to keep OBJ's in ti/binary instead of source folder
PRSDK-4780: Re-organizes code to keep K3 SBL code common.
Adds support to enable PLLs/clks, and DDR via compile flags
Updates SBL to use CSL entry point and updates SBL linker cmd
PRSDK-4741: Fixes bug while booting MCUs from address 0x0
* commit 'cb59a38ff515dd3bd2a3c987ecefadeda002e12c':
Fixes comments for pull request #114
PRSDK-4396: Updates makefile to keep OBJ's in ti/binary instead of source folder
PRSDK-4780: Re-organizes code to keep K3 SBL code common.
Adds support to enable PLLs/clks, and DDR via compile flags
Updates SBL to use CSL entry point and updates SBL linker cmd
PRSDK-4741: Fixes bug while booting MCUs from address 0x0
Merge pull request #114 in PROCESSOR-SDK/sbl from PRSDK-4741 to rtos-next
* commit '9f048be73bf64fbd903960606af5299e6a0271bd':
Fixes comments for pull request #114
PRSDK-4396: Updates makefile to keep OBJ's in ti/binary instead of source folder
PRSDK-4780: Re-organizes code to keep K3 SBL code common.
Adds support to enable PLLs/clks, and DDR via compile flags
Updates SBL to use CSL entry point and updates SBL linker cmd
PRSDK-4741: Fixes bug while booting MCUs from address 0x0
* commit '9f048be73bf64fbd903960606af5299e6a0271bd':
Fixes comments for pull request #114
PRSDK-4396: Updates makefile to keep OBJ's in ti/binary instead of source folder
PRSDK-4780: Re-organizes code to keep K3 SBL code common.
Adds support to enable PLLs/clks, and DDR via compile flags
Updates SBL to use CSL entry point and updates SBL linker cmd
PRSDK-4741: Fixes bug while booting MCUs from address 0x0
Fixes comments for pull request #114
This commit addresses Thanh's comment to use SBLs own defines to
denote invalid addresses, rather than using CSL_EFAIL, even thouh
they have the same vlaue.
Signed-off-by: Madan Srinivas<madans@ti.com>
This commit addresses Thanh's comment to use SBLs own defines to
denote invalid addresses, rather than using CSL_EFAIL, even thouh
they have the same vlaue.
Signed-off-by: Madan Srinivas<madans@ti.com>
PRSDK-4396: Updates makefile to keep OBJ's in ti/binary instead of source folder
Signed-off-by: Madan Srinivas<madans@ti.com>
Signed-off-by: Madan Srinivas<madans@ti.com>