Add USB boot to HS DRA7xx/AM57xx
v4 cover Add USB boot to HS DRA7xx/AM57xx
Hello all,
This series adds USB boot support to HS DRA7xx/AM57xx platforms.
Thanks,
Andrew
Changes from v3:
- Rebase on upstream
- Sync defconfigs
Changes from v2:
- Only use ISW_ENTRY_ADDR for system with a set default
Changes from v1:
- Drop explicit UART boot support from DRA7xx as this cannot be tested
Andrew F. Davis (5):
defconfigs: dra7xx_hs_evm: Sync HS and non-HS defconfigs
defconfigs: am57xx_hs_evm: Sync HS and non-HS defconfigs
defconfigs: Add config for DRA7xx High Security EVM with USB Boot
support
defconfigs: Add config for AM57xx High Security EVM with USB/UART Boot
support
doc: ti-secure: Add ULO info for AM57xx/DRA7xx secure devices from TI
MAINTAINERS | 2 ++
configs/am57xx_hs_evm_defconfig | 1 +
...hs_evm_defconfig => am57xx_hs_evm_usb_defconfig} | 6 ++++++
configs/dra7xx_hs_evm_defconfig | 8 +++++++-
...hs_evm_defconfig => dra7xx_hs_evm_usb_defconfig} | 13 ++++++++++++-
doc/README.ti-secure | 8 ++++++--
6 files changed, 34 insertions(+), 4 deletions(-)
copy configs/{am57xx_hs_evm_defconfig => am57xx_hs_evm_usb_defconfig} (94%)
copy configs/{dra7xx_hs_evm_defconfig => dra7xx_hs_evm_usb_defconfig} (87%)Signature · 1 line
2.19.1
PATCH v4 1/5 defconfigs: dra7xx_hs_evm: Sync HS and non-HS defconfigs
Additions have been made to the non-HS defconfig without the same being made to the HS defconfig, sync them.
--- configs/dra7xx_hs_evm_defconfig | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
configs/dra7xx_hs_evm_defconfig +7 -1
@@ -2,7 +2,7 @@ CONFIG_ARM=y CONFIG_ARCH_OMAP2PLUS=y CONFIG_TI_SECURE_DEVICE=y CONFIG_TI_COMMON_CMD_OPTIONS=y -CONFIG_SYS_MALLOC_F_LEN=0x2000 +CONFIG_SYS_MALLOC_F_LEN=0x18000 CONFIG_OMAP54XX=y CONFIG_TI_SECURE_EMIF_REGION_START=0xbdb00000 CONFIG_TI_SECURE_EMIF_TOTAL_REGION_SIZE=0x02000000
@@ -37,13 +37,18 @@ CONFIG_OF_CONTROL=y CONFIG_SPL_OF_CONTROL=y CONFIG_DEFAULT_DEVICE_TREE="dra7-evm" CONFIG_OF_LIST="dra7-evm dra72-evm dra72-evm-revc dra71-evm dra76-evm" +CONFIG_SPL_MULTI_DTB_FIT=y +CONFIG_SPL_MULTI_DTB_FIT_UNCOMPRESS_SZ=0x9000 +CONFIG_OF_SPL_REMOVE_PROPS="clocks clock-names interrupt-parent" CONFIG_ENV_IS_IN_MMC=y CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y CONFIG_DM=y CONFIG_SPL_DM=y +CONFIG_SPL_DM_DEVICE_REMOVE=y CONFIG_SPL_DM_SEQ_ALIAS=y CONFIG_SPL_REGMAP=y CONFIG_SPL_SYSCON=y +CONFIG_SPL_OF_TRANSLATE=y CONFIG_DWC_AHCI=y CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y
@@ -62,6 +67,7 @@ CONFIG_DM_MMC=y CONFIG_MMC_IO_VOLTAGE=y CONFIG_MMC_UHS_SUPPORT=y CONFIG_MMC_HS200_SUPPORT=y +CONFIG_SPL_MMC_HS200_SUPPORT=y CONFIG_MMC_OMAP_HS=y CONFIG_DM_SPI_FLASH=y CONFIG_SPI_FLASH=y
Signature · 1 line
2.19.1
PATCH v4 1/5 defconfigs: dra7xx_hs_evm: Sync HS and non-HS defconfigs
Quoted 4 lines · Andrew F. Davis
Additions have been made to the non-HS defconfig without the same being made to the HS defconfig, sync them.
Signed-off-by Andrew F. Davis <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190210/d89af16d/attachment.sig>
PATCH v4 2/5 defconfigs: am57xx_hs_evm: Sync HS and non-HS defconfigs
In reply to Andrew F. DavisAdditions have been made to the non-HS defconfig without the same being made to the HS defconfig, sync them.
--- configs/am57xx_hs_evm_defconfig | 1 + 1 file changed, 1 insertion(+)
configs/am57xx_hs_evm_defconfig +1 -0
@@ -32,6 +32,7 @@ CONFIG_SPL_DMA_SUPPORT=y CONFIG_SPL_SPI_LOAD=y # CONFIG_CMD_FLASH is not set # CONFIG_CMD_SETEXPR is not set +# CONFIG_CMD_PMIC is not set CONFIG_OF_CONTROL=y CONFIG_SPL_OF_CONTROL=y CONFIG_DEFAULT_DEVICE_TREE="am57xx-beagle-x15"
Signature · 1 line
2.19.1
PATCH v4 2/5 defconfigs: am57xx_hs_evm: Sync HS and non-HS defconfigs
Quoted 4 lines · Andrew F. Davis
Additions have been made to the non-HS defconfig without the same being made to the HS defconfig, sync them.
Signed-off-by Andrew F. Davis <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190210/a90e9cff/attachment.sig>
PATCH v4 3/5 defconfigs: Add config for DRA7xx High Security EVM with USB Boot support
In reply to Andrew F. DavisAdd a new defconfig file for the DRA7xx High Security EVM. This config is specific for the case of USB booting.
--- MAINTAINERS | 1 + configs/dra7xx_hs_evm_usb_defconfig | 113 ++++++++++++++++++++++++++++ 2 files changed, 114 insertions(+) create mode 100644 configs/dra7xx_hs_evm_usb_defconfig
MAINTAINERS +1 -0
@@ -690,6 +690,7 @@ F: configs/am335x_hs_evm_uart_defconfig F: configs/am43xx_hs_evm_defconfig F: configs/am57xx_hs_evm_defconfig F: configs/dra7xx_hs_evm_defconfig +F: configs/dra7xx_hs_evm_usb_defconfig F: configs/k2hk_hs_evm_defconfig F: configs/k2e_hs_evm_defconfig F: configs/k2g_hs_evm_defconfig
configs/dra7xx_hs_evm_usb_defconfig new file +113 -0
113 lines not on this page · raw message
Signature · 1 line
2.19.1
PATCH v4 3/5 defconfigs: Add config for DRA7xx High Security EVM with USB Boot support
Quoted 5 lines · Andrew F. Davis
Add a new defconfig file for the DRA7xx High Security EVM. This config is specific for the case of USB booting.
Signed-off-by Andrew F. Davis <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190210/b501883f/attachment.sig>
PATCH v4 4/5 defconfigs: Add config for AM57xx High Security EVM with USB/UART Boot support
In reply to Andrew F. DavisAdd a new defconfig file for the AM57xx High Security EVM. This config is specific for the case of USB/UART booting.
--- MAINTAINERS | 1 + configs/am57xx_hs_evm_usb_defconfig | 98 +++++++++++++++++++++++++++++ 2 files changed, 99 insertions(+) create mode 100644 configs/am57xx_hs_evm_usb_defconfig
MAINTAINERS +1 -0
@@ -689,6 +689,7 @@ F: configs/am335x_hs_evm_defconfig F: configs/am335x_hs_evm_uart_defconfig F: configs/am43xx_hs_evm_defconfig F: configs/am57xx_hs_evm_defconfig +F: configs/am57xx_hs_evm_usb_defconfig F: configs/dra7xx_hs_evm_defconfig F: configs/dra7xx_hs_evm_usb_defconfig F: configs/k2hk_hs_evm_defconfig
configs/am57xx_hs_evm_usb_defconfig new file +98 -0
98 lines not on this page · raw message
Signature · 1 line
2.19.1
PATCH v4 4/5 defconfigs: Add config for AM57xx High Security EVM with USB/UART Boot support
Quoted 5 lines · Andrew F. Davis
Add a new defconfig file for the AM57xx High Security EVM. This config is specific for the case of USB/UART booting.
Signed-off-by Andrew F. Davis <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190210/09ab93d0/attachment.sig>
PATCH v4 5/5 doc: ti-secure: Add ULO info for AM57xx/DRA7xx secure devices from TI
In reply to Andrew F. DavisBooting from UART and USB on HS devices is now supported for this platform. Update documentation for the same.
--- doc/README.ti-secure | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
doc/README.ti-secure +6 -2
@@ -108,7 +108,8 @@ Booting of U-Boot SPL Invoking the script for DRA7xx/AM57xx Secure Devices ==================================================== - create-boot-image.sh <IMAGE_TYPE> <INPUT_FILE> <OUTPUT_FILE> + create-boot-image.sh \ + <IMAGE_TYPE> <INPUT_FILE> <OUTPUT_FILE> <SPL_LOAD_ADDR> <IMAGE_TYPE> is a value that specifies the type of the image to generate OR the action the image generation tool will take. Valid
@@ -116,7 +117,6 @@ Booting of U-Boot SPL X-LOADER - Generates an image for NOR or QSPI boot modes MLO - Generates an image for SD/MMC/eMMC boot modes ULO - Generates an image for USB/UART peripheral boot modes - Note: ULO is not yet used by the u-boot build process <INPUT_FILE> is the full path and filename of the public world boot loader binary file (for this platform, this is always u-boot-spl.bin).
@@ -130,9 +130,13 @@ Booting of U-Boot SPL the device ROM bootloader requires for loading from the FAT partition of an SD card (same as on non-secure devices) + u-boot-spl_HS_ULO - boot image for USB/UART peripheral boot modes u-boot-spl_HS_X-LOADER - boot image for all other flash memories including QSPI and NOR flash + <SPL_LOAD_ADDR> is the address at which SOC ROM should load the + <INPUT_FILE> + Invoking the script for Keystone2 Secure Devices =============================================
Signature · 1 line
2.19.1
PATCH v4 5/5 doc: ti-secure: Add ULO info for AM57xx/DRA7xx secure devices from TI
Quoted 5 lines · Andrew F. Davis
Booting from UART and USB on HS devices is now supported for this platform. Update documentation for the same.
Signed-off-by Andrew F. Davis <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190210/a0e96d55/attachment.sig>