All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lokesh Vutla <lokeshvutla@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 6/7] defconfigs: Add config for AM57xx High Security EVM with UART/USB Boot support
Date: Wed, 5 Dec 2018 18:12:35 +0530	[thread overview]
Message-ID: <17e63e39-1770-8ca5-d7e9-30328b0bd972@ti.com> (raw)
In-Reply-To: <0f3cd554-0ebf-4adc-dad5-d191fc73c3a5@ti.com>



On 05/12/18 3:07 AM, Andrew F. Davis wrote:
> On 12/2/18 11:24 PM, Lokesh Vutla wrote:
>>
>>
>> On 30/11/18 10:41 PM, Andrew F. Davis wrote:
>>> Add a new defconfig file for the AM57xx High Security EVM. This config
>>> is specific for the case of UART/USB booting.
>>
>> Can you share the steps on how you verified uart boot?
>>
> 
> All the verification for this defconfig was with USB boot for the first
> stage (ULO). UART cannot be tested with our DRA7xx EVMs as you pointed
> out and to test on AM57xx special scrips need to be used as the ROM UART
> loading protocol is not standard. UART loading of the second stage is
> possible after loading the first stage using some other boot media.

okay, drop uart support from dra7xx hs defconfig. We should not confuse anyone 
looking at the commit description or code.

Thanks and regards,
Lokesh

> 
> On HS, both USB and UART are special in their load address requirements,
> this patch set fixes that. The UART support on HS cannot work with the
> old defconfig.
> 
> Andrew
> 
>> Thanks and regards,
>> Lokesh
>>
>>>
>>> Signed-off-by: Andrew F. Davis <afd@ti.com>
>>> ---
>>>    MAINTAINERS                          |  1 +
>>>    configs/am57xx_hs_evm_uart_defconfig | 92 ++++++++++++++++++++++++++++
>>>    2 files changed, 93 insertions(+)
>>>    create mode 100644 configs/am57xx_hs_evm_uart_defconfig
>>>
>>> diff --git a/MAINTAINERS b/MAINTAINERS
>>> index d0c208b93d..b7366cfc0a 100644
>>> --- a/MAINTAINERS
>>> +++ b/MAINTAINERS
>>> @@ -647,6 +647,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_uart_defconfig
>>>    F:    configs/dra7xx_hs_evm_defconfig
>>>    F:    configs/dra7xx_hs_evm_uart_defconfig
>>>    F:    configs/k2hk_hs_evm_defconfig
>>> diff --git a/configs/am57xx_hs_evm_uart_defconfig
>>> b/configs/am57xx_hs_evm_uart_defconfig
>>> new file mode 100644
>>> index 0000000000..a0c42387ec
>>> --- /dev/null
>>> +++ b/configs/am57xx_hs_evm_uart_defconfig
>>> @@ -0,0 +1,92 @@
>>> +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_OMAP54XX=y
>>> +CONFIG_TI_SECURE_EMIF_REGION_START=0xbdb00000
>>> +CONFIG_TI_SECURE_EMIF_TOTAL_REGION_SIZE=0x02000000
>>> +CONFIG_TI_SECURE_EMIF_PROTECTED_REGION_SIZE=0x01c00000
>>> +CONFIG_ISW_ENTRY_ADDR=0x40306d50
>>> +CONFIG_TARGET_AM57XX_EVM=y
>>> +CONFIG_SPL=y
>>> +CONFIG_SPL_SPI_FLASH_SUPPORT=y
>>> +CONFIG_SPL_SPI_SUPPORT=y
>>> +CONFIG_ARMV7_LPAE=y
>>> +CONFIG_DISTRO_DEFAULTS=y
>>> +CONFIG_NR_DRAM_BANKS=2
>>> +CONFIG_FIT_IMAGE_POST_PROCESS=y
>>> +CONFIG_SPL_LOAD_FIT=y
>>> +CONFIG_SPL_FIT_IMAGE_POST_PROCESS=y
>>> +CONFIG_OF_BOARD_SETUP=y
>>> +CONFIG_USE_BOOTARGS=y
>>> +CONFIG_BOOTARGS="androidboot.serialno=${serial#} console=ttyS2,115200
>>> androidboot.console=ttyS2 androidboot.hardware=beagle_x15board"
>>> +# CONFIG_USE_BOOTCOMMAND is not set
>>> +CONFIG_SYS_CONSOLE_INFO_QUIET=y
>>> +# CONFIG_MISC_INIT_R is not set
>>> +CONFIG_VERSION_VARIABLE=y
>>> +CONFIG_BOARD_EARLY_INIT_F=y
>>> +CONFIG_SPL_SYS_MALLOC_SIMPLE=y
>>> +CONFIG_SPL_SEPARATE_BSS=y
>>> +CONFIG_SPL_DMA_SUPPORT=y
>>> +# CONFIG_SPL_NAND_SUPPORT is not set
>>> +CONFIG_SPL_RAM_SUPPORT=y
>>> +CONFIG_SPL_SPI_LOAD=y
>>> +CONFIG_SPL_USB_GADGET_SUPPORT=y
>>> +CONFIG_SPL_DFU=y
>>> +CONFIG_SPL_YMODEM_SUPPORT=y
>>> +# CONFIG_CMD_FLASH is not set
>>> +# CONFIG_CMD_SETEXPR is not set
>>> +CONFIG_OF_CONTROL=y
>>> +CONFIG_SPL_OF_CONTROL=y
>>> +CONFIG_DEFAULT_DEVICE_TREE="am57xx-beagle-x15"
>>> +CONFIG_OF_LIST="am57xx-beagle-x15 am57xx-beagle-x15-revb1
>>> am57xx-beagle-x15-revc am572x-idk am571x-idk am574x-idk"
>>> +CONFIG_ENV_IS_IN_MMC=y
>>> +CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
>>> +CONFIG_DM=y
>>> +CONFIG_SPL_DM=y
>>> +CONFIG_SCSI_AHCI=y
>>> +# CONFIG_BLK is not set
>>> +CONFIG_DFU_MMC=y
>>> +CONFIG_DFU_RAM=y
>>> +CONFIG_USB_FUNCTION_FASTBOOT=y
>>> +CONFIG_FASTBOOT_BUF_ADDR=0x82000000
>>> +CONFIG_FASTBOOT_BUF_SIZE=0x2F000000
>>> +CONFIG_FASTBOOT_USB_DEV=1
>>> +CONFIG_FASTBOOT_FLASH=y
>>> +CONFIG_FASTBOOT_FLASH_MMC_DEV=1
>>> +CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
>>> +CONFIG_DM_GPIO=y
>>> +CONFIG_DM_I2C=y
>>> +CONFIG_DM_MMC=y
>>> +CONFIG_MMC_OMAP_HS=y
>>> +CONFIG_DM_SPI_FLASH=y
>>> +CONFIG_SPI_FLASH=y
>>> +CONFIG_SPI_FLASH_BAR=y
>>> +CONFIG_SPI_FLASH_SPANSION=y
>>> +CONFIG_PHY_MICREL=y
>>> +CONFIG_PHY_MICREL_KSZ90X1=y
>>> +CONFIG_DM_ETH=y
>>> +CONFIG_MII=y
>>> +CONFIG_DRIVER_TI_CPSW=y
>>> +CONFIG_DM_PMIC=y
>>> +CONFIG_PMIC_PALMAS=y
>>> +CONFIG_DM_REGULATOR=y
>>> +CONFIG_DM_REGULATOR_PALMAS=y
>>> +CONFIG_DM_SERIAL=y
>>> +CONFIG_SPI=y
>>> +CONFIG_DM_SPI=y
>>> +CONFIG_TI_QSPI=y
>>> +CONFIG_USB=y
>>> +CONFIG_USB_XHCI_HCD=y
>>> +CONFIG_USB_XHCI_DWC3=y
>>> +CONFIG_USB_DWC3=y
>>> +CONFIG_USB_DWC3_GADGET=y
>>> +CONFIG_USB_DWC3_OMAP=y
>>> +CONFIG_USB_DWC3_PHY_OMAP=y
>>> +CONFIG_OMAP_USB_PHY=y
>>> +CONFIG_USB_STORAGE=y
>>> +CONFIG_USB_GADGET=y
>>> +CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
>>> +CONFIG_USB_GADGET_VENDOR_NUM=0x0451
>>> +CONFIG_USB_GADGET_PRODUCT_NUM=0xd022
>>>

  reply	other threads:[~2018-12-05 12:42 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-30 17:11 [U-Boot] [PATCH 0/7] Add USB/UART boot to HS DRA7xx/AM57xx Andrew F. Davis
2018-11-30 17:11 ` [U-Boot] [PATCH 1/7] spl: Kconfig: Drop the _SUPPORT postfix from SPL_DFU Andrew F. Davis
2018-11-30 17:11 ` [U-Boot] [PATCH 2/7] dfu: Make DFU support more SPL friendly Andrew F. Davis
2018-11-30 17:11 ` [U-Boot] [PATCH 3/7] dfu: Remove dependency on HUSH parser in SPL Andrew F. Davis
2018-11-30 17:11 ` [U-Boot] [PATCH 4/7] ARM: mach-omap2: Kconfig: Allow OMAP5 devices to set entry point Andrew F. Davis
2018-11-30 17:11 ` [U-Boot] [PATCH 5/7] defconfigs: Add config for DRA7xx High Security EVM with UART/USB Boot support Andrew F. Davis
2018-12-03  5:22   ` Lokesh Vutla
2018-11-30 17:11 ` [U-Boot] [PATCH 6/7] defconfigs: Add config for AM57xx " Andrew F. Davis
2018-12-03  5:24   ` Lokesh Vutla
2018-12-04 21:37     ` Andrew F. Davis
2018-12-05 12:42       ` Lokesh Vutla [this message]
2018-12-05 17:24         ` Andrew F. Davis
2018-11-30 17:11 ` [U-Boot] [PATCH 7/7] doc: ti-secure: Add ULO info for AM57xx/DRA7xx secure devices from TI Andrew F. Davis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17e63e39-1770-8ca5-d7e9-30328b0bd972@ti.com \
    --to=lokeshvutla@ti.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.