All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot]  [PATCH v3 0/7] Add USB boot to HS DRA7xx/AM57xx
@ 2019-01-17 19:43 Andrew F. Davis
  2019-01-17 19:43 ` [U-Boot] [PATCH v3 1/7] spl: Kconfig: Drop the _SUPPORT postfix from SPL_DFU Andrew F. Davis
                   ` (6 more replies)
  0 siblings, 7 replies; 20+ messages in thread
From: Andrew F. Davis @ 2019-01-17 19:43 UTC (permalink / raw)
  To: u-boot

Hello all,

This series adds USB boot support to HS DRA7xx/AM57xx platforms.

We start by cleaning up DFU boot in SPL support. What is done in the
first patch for DFU, if acceptable, should be done to the other boot
modes.

The 4th patch is needed as on HS devices a header is added to the
boot image that tells the ROM where to load this image. This only
works for block device booting as the ROM can read the header and
move the image into memory in steps. For streaming boot modes USB/
UART/NET the image is placed in memory as it is received from the
media live. This means the header is ignored and the image has
a fixed offset in memory.

For AM47xx we align the boot modes by making the offset for block
device booting the same as the fixed offset for streaming boot modes,
in this way only one defconfig is needed. For DRA7xx/AM57xx the signing
tools will need to be updated to support specifying this address, when
this is done the offset in the base HS defconfig can be moved to match
the new offset and the defconfigs added here in patch 5 and 6 can be
unified back into the base HS defconfig.

The last patch updates the docs for the same above.

Thanks,
Andrew

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 (7):
  spl: Kconfig: Drop the _SUPPORT postfix from SPL_DFU
  dfu: Make DFU support more SPL friendly
  dfu: Remove dependency on HUSH parser in SPL
  ARM: mach-omap2: Kconfig: Allow OMAP5 devices to set entry point
  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 +
 arch/arm/cpu/armv8/zynqmp/spl.c     |   2 +-
 arch/arm/mach-omap2/Kconfig         |  15 ++++
 arch/arm/mach-omap2/am33xx/Kconfig  |  15 ----
 arch/arm/mach-omap2/boot-common.c   |   2 +-
 common/Makefile                     |   3 +-
 common/cli.c                        |   2 +-
 common/spl/Kconfig                  |   6 +-
 common/spl/Makefile                 |   2 +-
 common/spl/spl_ram.c                |   4 +-
 configs/am57xx_hs_evm_usb_defconfig |  92 ++++++++++++++++++++++++
 configs/dra7xx_hs_evm_usb_defconfig | 106 ++++++++++++++++++++++++++++
 doc/README.ti-secure                |   8 ++-
 drivers/Makefile                    |   3 +-
 drivers/dfu/Makefile                |  12 ++--
 drivers/usb/gadget/Makefile         |   2 +-
 include/configs/dra7xx_evm.h        |   2 +-
 include/configs/ti_omap5_common.h   |   2 +-
 include/configs/xilinx_zynqmp.h     |   4 +-
 include/dfu.h                       |  10 +--
 20 files changed, 248 insertions(+), 46 deletions(-)
 create mode 100644 configs/am57xx_hs_evm_usb_defconfig
 create mode 100644 configs/dra7xx_hs_evm_usb_defconfig

-- 
2.19.1

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2019-01-28 17:43 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-17 19:43 [U-Boot] [PATCH v3 0/7] Add USB boot to HS DRA7xx/AM57xx Andrew F. Davis
2019-01-17 19:43 ` [U-Boot] [PATCH v3 1/7] spl: Kconfig: Drop the _SUPPORT postfix from SPL_DFU Andrew F. Davis
2019-01-22 22:40   ` Lukasz Majewski
2019-01-27  3:52   ` [U-Boot] [U-Boot, v3, " Tom Rini
2019-01-17 19:43 ` [U-Boot] [PATCH v3 2/7] dfu: Make DFU support more SPL friendly Andrew F. Davis
2019-01-22 22:41   ` Lukasz Majewski
2019-01-27  3:52   ` [U-Boot] [U-Boot, v3, " Tom Rini
2019-01-17 19:43 ` [U-Boot] [PATCH v3 3/7] dfu: Remove dependency on HUSH parser in SPL Andrew F. Davis
2019-01-22 22:43   ` Lukasz Majewski
2019-01-22 23:41     ` Tom Rini
2019-01-23  6:54       ` Lukasz Majewski
2019-01-23 14:13         ` Andrew F. Davis
2019-01-27  3:52   ` [U-Boot] [U-Boot, v3, " Tom Rini
2019-01-17 19:43 ` [U-Boot] [PATCH v3 4/7] ARM: mach-omap2: Kconfig: Allow OMAP5 devices to set entry point Andrew F. Davis
2019-01-27  3:52   ` [U-Boot] [U-Boot, v3, " Tom Rini
2019-01-17 19:43 ` [U-Boot] [PATCH v3 5/7] defconfigs: Add config for DRA7xx High Security EVM with USB Boot support Andrew F. Davis
2019-01-27  3:51   ` [U-Boot] [U-Boot, v3, " Tom Rini
2019-01-28 17:43     ` Andrew F. Davis
2019-01-17 19:43 ` [U-Boot] [PATCH v3 6/7] defconfigs: Add config for AM57xx High Security EVM with USB/UART " Andrew F. Davis
2019-01-17 19:43 ` [U-Boot] [PATCH v3 7/7] doc: ti-secure: Add ULO info for AM57xx/DRA7xx secure devices from TI Andrew F. Davis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.