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>
PRSDK-4780: Re-organizes code to keep K3 SBL code common.
The K3 SBL is designed to be common for the platform. This patch
moves directories name am65xx_* to a common k3 directory and
updates hte makefiles to reflect this change.
This patch also renames core ids from MCU_CPU* to MCU0_CPU*
This allows adding support for more MCU cores that are present on
other K3 devices.
Signed-off-by: Madan Srinivas<madans@ti.com>
The K3 SBL is designed to be common for the platform. This patch
moves directories name am65xx_* to a common k3 directory and
updates hte makefiles to reflect this change.
This patch also renames core ids from MCU_CPU* to MCU0_CPU*
This allows adding support for more MCU cores that are present on
other K3 devices.
Signed-off-by: Madan Srinivas<madans@ti.com>
Adds support to enable PLLs/clks, and DDR via compile flags
Earlier the SBL used to enable DDR only if it detected a section
load into DDR. This has been modified for the broadmarket usecase
to enable clocks, PLLs and DDR by default.
This patch keeps optimized boot time requirements in mind and allows
these features to be disabled using a compile flag when fast boot
times are desired. Also adds a flag to skip MCU reset for faster
boot times.
Signed-off-by: Madan Srinivas<madans@ti.com>
Earlier the SBL used to enable DDR only if it detected a section
load into DDR. This has been modified for the broadmarket usecase
to enable clocks, PLLs and DDR by default.
This patch keeps optimized boot time requirements in mind and allows
these features to be disabled using a compile flag when fast boot
times are desired. Also adds a flag to skip MCU reset for faster
boot times.
Signed-off-by: Madan Srinivas<madans@ti.com>
Updates SBL to use CSL entry point and updates SBL linker cmd
SBL was using a custom entry point as a leagcy from when it was
using a custom mpu_init. As CSL has been updated, this custom
entry point is no longer needed.
Also, with this change, the SBL linker command file has been updated
to remove the custom entry point and has also been synced up with
the changes made in the toplevel ti/build/am65xx/linker_r5.lds.
Signed-off-by: Madan Srinivas<madans@ti.com>
SBL was using a custom entry point as a leagcy from when it was
using a custom mpu_init. As CSL has been updated, this custom
entry point is no longer needed.
Also, with this change, the SBL linker command file has been updated
to remove the custom entry point and has also been synced up with
the changes made in the toplevel ti/build/am65xx/linker_r5.lds.
Signed-off-by: Madan Srinivas<madans@ti.com>
PRSDK-4741: Fixes bug while booting MCUs from address 0x0
The SBL code incorrectly checks to see if an app has been loaded
for a core, by checking if the entry point is non-zero.
While this is ok for the MPUs, it is not correct for the MCUs,
because 0x0 is a valid entry point, if the code is running from
the TCMs.
This patch updates the code so that 0xFFFFFFFF is treated as an
empty entry point, rather than 0x0.
Signed-off-by: Madan Srinivas<madans@ti.com>
The SBL code incorrectly checks to see if an app has been loaded
for a core, by checking if the entry point is non-zero.
While this is ok for the MPUs, it is not correct for the MCUs,
because 0x0 is a valid entry point, if the code is running from
the TCMs.
This patch updates the code so that 0xFFFFFFFF is treated as an
empty entry point, rather than 0x0.
Signed-off-by: Madan Srinivas<madans@ti.com>
5 years agoMerge pull request #113 in PROCESSOR-SDK/sbl from PRSDK-4653_update_pdkAppImageCreate... DEV.PROCESSOR-SDK.05.01.00.07 DEV.PROCESSOR-SDK.05.01.00.10 DEV.PROCESSOR-SDK.05.01.00.11 DEV.SBL.01.00.09.02
Merge pull request #113 in PROCESSOR-SDK/sbl from PRSDK-4653_update_pdkAppImageCreate to master
* commit '8d3e4e3ac74e8bf1da04a9e1a4773be2e4b414d8':
Add AM65xx image generation scripts
* commit '8d3e4e3ac74e8bf1da04a9e1a4773be2e4b414d8':
Add AM65xx image generation scripts
Add AM65xx image generation scripts
Merge pull request #112 in PROCESSOR-SDK/sbl from rel_5_1_doc_update to master
* commit 'b67d65605fe884dc00ce6e544348f4c8a394d1c9':
Updated the SBL version for release 5.1
* commit 'b67d65605fe884dc00ce6e544348f4c8a394d1c9':
Updated the SBL version for release 5.1
Updated the SBL version for release 5.1
Merge pull request #111 in PROCESSOR-SDK/sbl from PRSDK-4713 to master
* commit '8d0c1569a7a6975d06e7511785de499ec7750589':
PRSDK-4713: Fix for diag build error
* commit '8d0c1569a7a6975d06e7511785de499ec7750589':
PRSDK-4713: Fix for diag build error
PRSDK-4713: Fix for diag build error
Signed-off-by: Madan Srinivas<madans@ti.com>
Signed-off-by: Madan Srinivas<madans@ti.com>
Merge pull request #108 in PROCESSOR-SDK/sbl from PRSDK-4072 to master
* commit 'c9a96aef59555148d6b6fa94e652c88e86bfb666':
PRSDK-4072: Updates to get R5 self reset working with SBL
PRSDK:4658 Changes SBL output folder from img to binary
* commit 'c9a96aef59555148d6b6fa94e652c88e86bfb666':
PRSDK-4072: Updates to get R5 self reset working with SBL
PRSDK:4658 Changes SBL output folder from img to binary
PRSDK-4072: Updates to get R5 self reset working with SBL
Signed-off-by: Madan Srinivas <madans@ti.com>
Signed-off-by: Madan Srinivas <madans@ti.com>
PRSDK:4658 Changes SBL output folder from img to binary
Maxwell breaks the naming convention followed by other socs. On other
SoCs, the SBL is generated in a folder named binary.
This patch changes the name of the output folder from img to binary
Signed-off-by: Madan Srinivas<madans@ti.com>
Maxwell breaks the naming convention followed by other socs. On other
SoCs, the SBL is generated in a folder named binary.
This patch changes the name of the output folder from img to binary
Signed-off-by: Madan Srinivas<madans@ti.com>
Merge pull request #106 in PROCESSOR-SDK/sbl from PRSDK-4630 to master
* commit '95ba9cfd5b863bba549e8c7a72a70c7f7a4923a8':
PRSDK-4630: Fixes build issue on windows
* commit '95ba9cfd5b863bba549e8c7a72a70c7f7a4923a8':
PRSDK-4630: Fixes build issue on windows
PRSDK-4630: Fixes build issue on windows
When building from the component folder, if you use the gmake
that is inside xdctools, there is a bug with the abspath command.
This patch updates the makefile to use toplevel SDK_INSTALL_PATH
if it is defined.
Signed-off-by: Madan Srinivas<madans@ti.com>
When building from the component folder, if you use the gmake
that is inside xdctools, there is a bug with the abspath command.
This patch updates the makefile to use toplevel SDK_INSTALL_PATH
if it is defined.
Signed-off-by: Madan Srinivas<madans@ti.com>
Merge pull request #105 in PROCESSOR-SDK/sbl from PRSDK-4655 to master
* commit '54a09603467a90293c9b9e6bf1ec034dd39a7f8d':
PRSDK-4655: Fix build error for am65xx_idk
* commit '54a09603467a90293c9b9e6bf1ec034dd39a7f8d':
PRSDK-4655: Fix build error for am65xx_idk
PRSDK-4655: Fix build error for am65xx_idk
OSPI is not supported on AM65xx IDK. Force build for MMCSD
even if the user specifies, otherwise.
Signed-off-by: Madan Srinivas<madans@ti.com>
OSPI is not supported on AM65xx IDK. Force build for MMCSD
even if the user specifies, otherwise.
Signed-off-by: Madan Srinivas<madans@ti.com>
Merge pull request #103 in PROCESSOR-SDK/sbl from PRSDK-4630 to master
* commit 'd8455e9651cddc6cdbacbffb3fc4d75005d2e4a2':
PRSDK-4641: Adds support for AM65xx IDK
PRSDK-4630: Updates SBL makefile to fix windows build errors
* commit 'd8455e9651cddc6cdbacbffb3fc4d75005d2e4a2':
PRSDK-4641: Adds support for AM65xx IDK
PRSDK-4630: Updates SBL makefile to fix windows build errors
PRSDK-4641: Adds support for AM65xx IDK
Creates AM65xx_idk SBL by using common SBL sources for AM65xx
Signed-off-by: Madan Srinivas<madans@ti.com>
Creates AM65xx_idk SBL by using common SBL sources for AM65xx
Signed-off-by: Madan Srinivas<madans@ti.com>
PRSDK-4630: Updates SBL makefile to fix windows build errors
Updates the SBL makefile to strip drivenames from PDK_INSTALL_PATH
Also updated the SBL makefile to be able to build the SBL without
calling the psdksetupenv scripts.
Signed-off-by: Madan Srinivas <madans@ti.com>
Updates the SBL makefile to strip drivenames from PDK_INSTALL_PATH
Also updated the SBL makefile to be able to build the SBL without
calling the psdksetupenv scripts.
Signed-off-by: Madan Srinivas <madans@ti.com>
Merge pull request #102 in PROCESSOR-SDK/sbl from PRSDK-4629 to master
* commit '7d4bcfb26244f99fba5254aa5aec6d209808bb31':
PRSDK-4629: Fixes nightly buid error missing sbl_soc.h
* commit '7d4bcfb26244f99fba5254aa5aec6d209808bb31':
PRSDK-4629: Fixes nightly buid error missing sbl_soc.h
PRSDK-4629: Fixes nightly buid error missing sbl_soc.h
The sbl_soc.h is a common header file. It was added to rprc.c as
part of AM65xx development, to dynamically configure the loglevel
for the SBL.
However, as the makefiles of K3 and non K3 are different, the path
specified, relative to PDK_INSTALL_PATH did not work for non K3
builds, as PDK install path is not present by default in the
include search path for non PDK builds.
Updated the path to be relative to SBL root directory and updated
the K3 SBL makefile to add the root directory to teh search path.
Signed-off-by: Madan Srinivas<madans@ti.com>
The sbl_soc.h is a common header file. It was added to rprc.c as
part of AM65xx development, to dynamically configure the loglevel
for the SBL.
However, as the makefiles of K3 and non K3 are different, the path
specified, relative to PDK_INSTALL_PATH did not work for non K3
builds, as PDK install path is not present by default in the
include search path for non PDK builds.
Updated the path to be relative to SBL root directory and updated
the K3 SBL makefile to add the root directory to teh search path.
Signed-off-by: Madan Srinivas<madans@ti.com>
Merge pull request #101 in PROCESSOR-SDK/sbl from PRSDK-4629 to master
* commit '492c83ed5be70fd9b51ca31d535fae056ad77e43':
PRSDK-4629: Fixes nightly buid error missing sbl_soc.h
* commit '492c83ed5be70fd9b51ca31d535fae056ad77e43':
PRSDK-4629: Fixes nightly buid error missing sbl_soc.h
PRSDK-4629: Fixes nightly buid error missing sbl_soc.h
The sbl_soc.h is a common header file. It was added to rprc.c as
part of AM65xx development, to dynamically configure the loglevel
for the SBL.
However, as the makefiles of K3 and non K3 are different, the path
specified, relative to PDK_INSTALL_PATH did not work for non K3
builds, as PDK install path is not present by default in the
include search path for non PDK builds.
Updated the path to be relative to SBL root directory and updated
the K3 SBL makefile to add the root directory to teh search path.
Signed-off-by: Madan Srinivas<madans@ti.com>
The sbl_soc.h is a common header file. It was added to rprc.c as
part of AM65xx development, to dynamically configure the loglevel
for the SBL.
However, as the makefiles of K3 and non K3 are different, the path
specified, relative to PDK_INSTALL_PATH did not work for non K3
builds, as PDK install path is not present by default in the
include search path for non PDK builds.
Updated the path to be relative to SBL root directory and updated
the K3 SBL makefile to add the root directory to teh search path.
Signed-off-by: Madan Srinivas<madans@ti.com>
Merge pull request #100 in PROCESSOR-SDK/sbl from rtos-next to master
* commit '2836e0947129b57c1d07b2bed1324890c5183f07':
PRSDK-4596: Updates SBL to allow loading of custom SYSFW firmware
PRSDK-3500: Enables DDR Init in SBL when an app in loaded into DDR
PRSDK-3500: Enables DDR Init in SBL when an app in loaded into DDR
PRSDK-3500: Enables DDR Init in SBL when an app in loaded into DDR
* commit '2836e0947129b57c1d07b2bed1324890c5183f07':
PRSDK-4596: Updates SBL to allow loading of custom SYSFW firmware
PRSDK-3500: Enables DDR Init in SBL when an app in loaded into DDR
PRSDK-3500: Enables DDR Init in SBL when an app in loaded into DDR
PRSDK-3500: Enables DDR Init in SBL when an app in loaded into DDR
Merge pull request #99 in PROCESSOR-SDK/sbl from PRSDK-4596 to rtos-next
* commit '99230c35f841444c089c7de40fbd52e730026ab1':
PRSDK-4596: Updates SBL to allow loading of custom SYSFW firmware
PRSDK-3500: Enables DDR Init in SBL when an app in loaded into DDR
PRSDK-3500: Enables DDR Init in SBL when an app in loaded into DDR
* commit '99230c35f841444c089c7de40fbd52e730026ab1':
PRSDK-4596: Updates SBL to allow loading of custom SYSFW firmware
PRSDK-3500: Enables DDR Init in SBL when an app in loaded into DDR
PRSDK-3500: Enables DDR Init in SBL when an app in loaded into DDR
Merge pull request #96 in PROCESSOR-SDK/sbl from PRSDK-3500 to rtos-next
* commit 'c642ba2811281be2827e64075b0e185c65edc625':
PRSDK-3500: Enables DDR Init in SBL when an app in loaded into DDR
* commit 'c642ba2811281be2827e64075b0e185c65edc625':
PRSDK-3500: Enables DDR Init in SBL when an app in loaded into DDR
PRSDK-4596: Updates SBL to allow loading of custom SYSFW firmware
Signed-off-by: Madan Srinivas madans@ti.com
Signed-off-by: Madan Srinivas madans@ti.com
PRSDK-3500: Enables DDR Init in SBL when an app in loaded into DDR
PRSDK-3500 states that DDR must be initialised only as needed to
minimize boot time impact. This patch updates the BSL to only
initialize the DDR when am app is loaded into DDR
It also updates the test case to validate this change, by making
the second core of the second A53 cluster to load and run its app
from DDR.
Signed-off-by: Madan Srinivas <madans@ti.com>
PRSDK-3500 states that DDR must be initialised only as needed to
minimize boot time impact. This patch updates the BSL to only
initialize the DDR when am app is loaded into DDR
It also updates the test case to validate this change, by making
the second core of the second A53 cluster to load and run its app
from DDR.
Signed-off-by: Madan Srinivas <madans@ti.com>
PRSDK-3500: Enables DDR Init in SBL when an app in loaded into DDR
PRSDK-3500 states that DDR must be initialised only as needed to
minimize boot time impact. This patch updates the BSL to only
initialize the DDR when am app is loaded into DDR
It also updates the test case to validate this change, by making
the second core of the second A53 cluster to load and run its app
from DDR.
Signed-off-by: Madan Srinivas <madans@ti.com>
PRSDK-3500 states that DDR must be initialised only as needed to
minimize boot time impact. This patch updates the BSL to only
initialize the DDR when am app is loaded into DDR
It also updates the test case to validate this change, by making
the second core of the second A53 cluster to load and run its app
from DDR.
Signed-off-by: Madan Srinivas <madans@ti.com>
PRSDK-3500: Enables DDR Init in SBL when an app in loaded into DDR
PRSDK-3500 states that DDR must be initialised only as needed to
minimize boot time impact. This patch updates the BSL to only
initialize the DDR when am app is loaded into DDR
It also updates the test case to validate this change, by making
the second core of the second A53 cluster to load and run its app
from DDR.
Signed-off-by: Madan Srinivas <madans@ti.com>
PRSDK-3500 states that DDR must be initialised only as needed to
minimize boot time impact. This patch updates the BSL to only
initialize the DDR when am app is loaded into DDR
It also updates the test case to validate this change, by making
the second core of the second A53 cluster to load and run its app
from DDR.
Signed-off-by: Madan Srinivas <madans@ti.com>
Merge pull request #98 in PROCESSOR-SDK/sbl from PRSDK-4546 to master
* commit '7cb02d7b8e3195721aa7587eb274d2d612593947':
PRSDK-4546: Corrected address range for DSP L1D memory
* commit '7cb02d7b8e3195721aa7587eb274d2d612593947':
PRSDK-4546: Corrected address range for DSP L1D memory
PRSDK-4546: Corrected address range for DSP L1D memory
Merge pull request #95 in PROCESSOR-SDK/sbl from rtos-next to master
* commit 'a2a38bfdfc7dc7db5f510b8c59f332c2344db508':
PRSDK-4080: WIP R5 reset support
PRSDK-4533: Enables ATCM for MCU0 and MCU1
* commit 'a2a38bfdfc7dc7db5f510b8c59f332c2344db508':
PRSDK-4080: WIP R5 reset support
PRSDK-4533: Enables ATCM for MCU0 and MCU1
Merge pull request #94 in PROCESSOR-SDK/sbl from PRSDK-4080 to rtos-next
* commit '3bbedb24bac093e5fd9202a14f03018be58645f4':
PRSDK-4080: WIP R5 reset support
* commit '3bbedb24bac093e5fd9202a14f03018be58645f4':
PRSDK-4080: WIP R5 reset support
PRSDK-4080: WIP R5 reset support
This patch enables the R5 to reset itself and start an app.
Currently, the R5 SBL setups the vectors, but the actual powering
downand powering up of the R5 cores is done by the A53 Core 0 test.
Once SYSFW-1785 is implemented, the SBL will be able to reset
itself using DMSC firmware APIs.
If MCU1 image is not provided, MCUSS will conintue in the mode
it is running
If MCU1 image is provided, then MCUSS will be put in mode.
Signed-off-by: Madan Srinivas <madans@ti.com>
This patch enables the R5 to reset itself and start an app.
Currently, the R5 SBL setups the vectors, but the actual powering
downand powering up of the R5 cores is done by the A53 Core 0 test.
Once SYSFW-1785 is implemented, the SBL will be able to reset
itself using DMSC firmware APIs.
If MCU1 image is not provided, MCUSS will conintue in the mode
it is running
If MCU1 image is provided, then MCUSS will be put in mode.
Signed-off-by: Madan Srinivas <madans@ti.com>
PRSDK-4533: Enables ATCM for MCU0 and MCU1
Uses the compile time flag SBL_ENABLE_ATCM to enable MCU0 and
MCU1 ATCMs.
Currenly a temp patch is in place for enabling MCU1 ATCM as
SYSFW does not support it - SYSFW-1789 and SYSFW-1790
Signed-off-by: Madan Srinivas <madans@ti.com>
Uses the compile time flag SBL_ENABLE_ATCM to enable MCU0 and
MCU1 ATCMs.
Currenly a temp patch is in place for enabling MCU1 ATCM as
SYSFW does not support it - SYSFW-1789 and SYSFW-1790
Signed-off-by: Madan Srinivas <madans@ti.com>
Merge pull request #93 in PROCESSOR-SDK/sbl from PRSDK-4123 to master
* commit '4938b584eb155fe006a92d296b51c6cce0effeb2':
PRSDK-4123: Updates SBL testcase names to conform to sys test automation needs
* commit '4938b584eb155fe006a92d296b51c6cce0effeb2':
PRSDK-4123: Updates SBL testcase names to conform to sys test automation needs
PRSDK-4123: Updates SBL testcase names to conform to sys test automation needs
Updates the names of the SBL boot testcase as per system test requirements.
SBL also has a multicore boot test - where one image file has six .outs
stitched together. This image is an exception to the naming convention
and is call *_all_cores_*
The multicore image is used to demonstrate how the SBL can boot all the
cores in a system from a single image. Test images for indivudual cores
have the correct CORE_ID in the nsames.
The SBL boot tests now follow the below naming convention
sbl_$(BUILD_OS_TYPE)_boot_test_$(BOARD)_$(CORE)_TestApp
Eg- sbl_baremetal_boot_test_am65xx_evm_mcu1_0_TestApp_release.appimage
Signed-off-by: Madan Srinivas <madans@ti.com>
Updates the names of the SBL boot testcase as per system test requirements.
SBL also has a multicore boot test - where one image file has six .outs
stitched together. This image is an exception to the naming convention
and is call *_all_cores_*
The multicore image is used to demonstrate how the SBL can boot all the
cores in a system from a single image. Test images for indivudual cores
have the correct CORE_ID in the nsames.
The SBL boot tests now follow the below naming convention
sbl_$(BUILD_OS_TYPE)_boot_test_$(BOARD)_$(CORE)_TestApp
Eg- sbl_baremetal_boot_test_am65xx_evm_mcu1_0_TestApp_release.appimage
Signed-off-by: Madan Srinivas <madans@ti.com>
Merge pull request #90 in PROCESSOR-SDK/sbl from PRSDK-4523 to master
* commit 'c4673fc26e605e34f58ccd46af6d5fbb6028c465':
PRSDK-4523: Move SBL entry point location
* commit 'c4673fc26e605e34f58ccd46af6d5fbb6028c465':
PRSDK-4523: Move SBL entry point location
PRSDK-4523: Move SBL entry point location
SBL entry point is currently 0x41c00000. This is where the
SBL vector table is loaded. However, in the toplevel makefile,
the vector table address is also defined as 0x41c00000
All application use this address, and this also has implications for
CCS loading. When such an application is laoded by the SBL, the SBLs
vector tables will be overwritten during the app load. Moving the
SBLs vector table so that it is not overwritten by the application.
Moving the vector address in the common linker command file will not work,
as it will cause IRQs to stop working when applications are loaded through CCS.
Signed-off-by: Madan Srinivas <madans@ti.com>
SBL entry point is currently 0x41c00000. This is where the
SBL vector table is loaded. However, in the toplevel makefile,
the vector table address is also defined as 0x41c00000
All application use this address, and this also has implications for
CCS loading. When such an application is laoded by the SBL, the SBLs
vector tables will be overwritten during the app load. Moving the
SBLs vector table so that it is not overwritten by the application.
Moving the vector address in the common linker command file will not work,
as it will cause IRQs to stop working when applications are loaded through CCS.
Signed-off-by: Madan Srinivas <madans@ti.com>
Merge pull request #91 in PROCESSOR-SDK/sbl from PRSDK-4530 to master
* commit 'd75370a8aa7f2c403d07c6589d7a06ba4ae5ed5d':
PRSDK-4530: Remove custom __mpu_init from SBL
* commit 'd75370a8aa7f2c403d07c6589d7a06ba4ae5ed5d':
PRSDK-4530: Remove custom __mpu_init from SBL
PRSDK-4530: Remove custom __mpu_init from SBL
Updates SBL to use __mpu_init from CSL.
The custom __mpu_init was added during the intial development
to enable CCS load of SBL. The cusotm __mpu_init disables interrupts
and was needed when CCS was loading the SBL as the R5 ROM did not
exit cleanly.
Now the SBL is loaded by the ROM, so it leaves the R5 in a clean state.
So the custom __mpu_init is no longer needed.
Signed-off-by: Madan Srinivas madans@ti.com
Updates SBL to use __mpu_init from CSL.
The custom __mpu_init was added during the intial development
to enable CCS load of SBL. The cusotm __mpu_init disables interrupts
and was needed when CCS was loading the SBL as the R5 ROM did not
exit cleanly.
Now the SBL is loaded by the ROM, so it leaves the R5 in a clean state.
So the custom __mpu_init is no longer needed.
Signed-off-by: Madan Srinivas madans@ti.com
Merge pull request #89 in PROCESSOR-SDK/sbl from PRSDK-4500 to master
* commit 'a4b785aa4414ebb69529cb43e96eb60d31e35159':
PRSDK-4500: Fixes junk chanracters in SBL logs
* commit 'a4b785aa4414ebb69529cb43e96eb60d31e35159':
PRSDK-4500: Fixes junk chanracters in SBL logs
PRSDK-4500: Fixes junk chanracters in SBL logs
This patch disables MCU UARt TX pin before loading SYSFW and
enables it after SYSFW load to avoid junk chanracters from
getting displayed ont eh SBL logs when SYSFW switches to
OFC5
Signed-off-by: Madan Srinivas <madans@ti.com>
This patch disables MCU UARt TX pin before loading SYSFW and
enables it after SYSFW load to avoid junk chanracters from
getting displayed ont eh SBL logs when SYSFW switches to
OFC5
Signed-off-by: Madan Srinivas <madans@ti.com>
Merge pull request #88 in PROCESSOR-SDK/sbl from PRSDK-4490 to master
* commit '2136a3d3d703ea98348c1b067af50a1add415544':
PRSDK-4490: Fix build issues updates path to mmcsd driver for K2G
* commit '2136a3d3d703ea98348c1b067af50a1add415544':
PRSDK-4490: Fix build issues updates path to mmcsd driver for K2G