[PATCH 00/13] Add support for USB host and peripheral bootmodes on am65x-idk
Faiz Abbas
faiz_abbas at ti.com
Thu Jul 2 10:02:20 CEST 2020
The following patches add support for USB mass storage and USB dfu
bootmodes on am654x-idk.
Because of space constrains and the size of the USB stack,
there are two different usbmsc and usbdfu defconfigs for building R5 SPL.
Fitting both of these into one defconfig requires some changes in the
USB subsystem which is a longer term effort
Faiz Abbas (13):
spl: usb: Create an API spl_usb_load()
spl: usb: Only init usb once
armv7R: K3: am654: Use full malloc in SPL both pre and post reloc
arm: mach-k3: sysfw-loader: Add support to load SYSFW from USB
arm: mach-k3: am6_init: Gate mmc related configurations with the
appropriate config
arm: mach-k3: am6_init: Do USB fixups to facilitate host and device
boot modes
arm: mach-k3: am6_init: Add support for USB boot mode
arm: dts: k3-am654-r5-base-board: Add USB0 nodes
arm: dts: k3-am654-base-board: Add support for USB0 in SPL
configs: am65x_evm: Add support for DFU related configs
configs: am65x_evm_a53: Enable USB Mass storage and DFU boot modes
configs: Add new config for supporting USB mass storage boot
configs: Add defconfig for USB DFU bootmode
arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 27 +++++
arch/arm/dts/k3-am654-r5-base-board.dts | 35 ++++++
arch/arm/mach-k3/am6_init.c | 96 ++++++++++++++-
arch/arm/mach-k3/include/mach/am6_hardware.h | 2 +
arch/arm/mach-k3/include/mach/am6_spl.h | 3 +-
arch/arm/mach-k3/sysfw-loader.c | 11 ++
common/spl/spl_usb.c | 31 +++--
configs/am65x_evm_a53_defconfig | 9 ++
configs/am65x_evm_r5_usbdfu_defconfig | 119 +++++++++++++++++++
configs/am65x_evm_r5_usbmsc_defconfig | 119 +++++++++++++++++++
include/configs/am65x_evm.h | 10 +-
include/spl.h | 14 +++
12 files changed, 461 insertions(+), 15 deletions(-)
create mode 100644 configs/am65x_evm_r5_usbdfu_defconfig
create mode 100644 configs/am65x_evm_r5_usbmsc_defconfig
--
2.17.1
More information about the U-Boot
mailing list