author | Hemant Pedanekar <hemantp@ti.com> | |
Wed, 2 Oct 2013 14:20:27 +0000 (19:50 +0530) | ||
committer | Hemant Pedanekar <hemantp@ti.com> | |
Fri, 4 Oct 2013 13:37:34 +0000 (19:07 +0530) | ||
commit | 40c9f7548fed320e3a83986d77a6a1975de81847 | |
tree | 820a50f592066c8424fa6f6315e73ec902638184 | tree | snapshot (tar.xz tar.gz zip) |
parent | 1d4696f80f0a32b90d8a3120074c6d11209cdd3d | commit | diff |
ARM: OMAP: AM43XX: Add support for peripheral boot mode on HS
On HS devices, the SPL load address changes depending upon memory boot mode
(MMC/SD, NAND etc) v/s peripheral boot mode (UART, USB etc). Add a build
configuration am43xx_hs_evm_perboot to provide peripheral boot mode build.
Note that, the load address of SPL is further impacted by PPA size and any
custom header (if present). Thus, it is advised to run IFT tool to generate the
boot loader image (PPA+SPL) and get the SPL (ISW) start offset from IFT tool's
output to add it to OCMC base (0x40300000). The CONFIG_SPL_TEXT_BASE in
include/configs/am43xx_evm.h should be updated accordingly.
E.g., present build configures CONFIG_SPL_TEXT_BASE as 0x40304750 as per IFT
output below:
-----------------------------------------------------------------
ISW entry point offset from target memory 0x4750
-----------------------------------------------------------------
Signed-off-by: Hemant Pedanekar <hemantp@ti.com>
On HS devices, the SPL load address changes depending upon memory boot mode
(MMC/SD, NAND etc) v/s peripheral boot mode (UART, USB etc). Add a build
configuration am43xx_hs_evm_perboot to provide peripheral boot mode build.
Note that, the load address of SPL is further impacted by PPA size and any
custom header (if present). Thus, it is advised to run IFT tool to generate the
boot loader image (PPA+SPL) and get the SPL (ISW) start offset from IFT tool's
output to add it to OCMC base (0x40300000). The CONFIG_SPL_TEXT_BASE in
include/configs/am43xx_evm.h should be updated accordingly.
E.g., present build configures CONFIG_SPL_TEXT_BASE as 0x40304750 as per IFT
output below:
-----------------------------------------------------------------
ISW entry point offset from target memory 0x4750
-----------------------------------------------------------------
Signed-off-by: Hemant Pedanekar <hemantp@ti.com>
boards.cfg | diff | blob | history | |
include/configs/am43xx_evm.h | diff | blob | history |