[U-Boot] [PATCH 5/5] board: ti: beagleboneai: enable in am57xx_evm_defconfig

Lokesh Vutla lokeshvutla at ti.com
Thu Nov 21 03:45:03 UTC 2019



On 21/11/19 3:39 AM, Caleb Robey wrote:
> Adding the configurations to the evm_defconfig file
> 
> Signed-off-by: Jason Kridner <jdk at ti.com>
> Signed-off-by: Caleb Robey <c-robey at ti.com>
> 
> ---
>  configs/am57xx_evm_defconfig  | 2 +-
>  include/environment/ti/boot.h | 4 +++-
>  2 files changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig
> index 588e58947d..f59305794c 100644
> --- a/configs/am57xx_evm_defconfig
> +++ b/configs/am57xx_evm_defconfig
> @@ -38,7 +38,7 @@ CONFIG_CMD_BCB=y
>  CONFIG_OF_CONTROL=y
>  CONFIG_SPL_OF_CONTROL=y
>  CONFIG_DEFAULT_DEVICE_TREE="am572x-idk"
> -CONFIG_OF_LIST="am57xx-beagle-x15 am57xx-beagle-x15-revb1 am57xx-beagle-x15-revc am572x-idk am571x-idk am574x-idk"
> +CONFIG_OF_LIST="am57xx-beagle-x15 am57xx-beagle-x15-revb1 am57xx-beagle-x15-revc am5729-beagleboneai am572x-idk am571x-idk am574x-idk"
>  CONFIG_ENV_IS_IN_MMC=y
>  CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
>  CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
> diff --git a/include/environment/ti/boot.h b/include/environment/ti/boot.h
> index 684a744f31..d6f153c934 100644
> --- a/include/environment/ti/boot.h
> +++ b/include/environment/ti/boot.h
> @@ -10,7 +10,7 @@
>  #define __TI_BOOT_H
>  
>  #ifndef CONSOLEDEV
> -#define CONSOLEDEV "ttyS2"
> +#define CONSOLEDEV "ttyS0"
>  #endif

This will fail kernel to boot when using the default args. Can you try updating
this dynamically?

Thanks and regards,
Lokesh

>  
>  #define VBMETA_PART_SIZE		(64 * 1024)
> @@ -185,6 +185,8 @@
>  			"setenv fdtfile am57xx-beagle-x15-revb1.dtb; fi;" \
>  		"if test $board_name = beagle_x15_revc; then " \
>  			"setenv fdtfile am57xx-beagle-x15-revc.dtb; fi;" \
> +		"if test $board_name = am5729_beagleboneai; then " \
> +			"setenv fdtfile am5729-beagleboneai.dtb; fi;" \
>  		"if test $board_name = am572x_idk; then " \
>  			"setenv fdtfile am572x-idk.dtb; fi;" \
>  		"if test $board_name = am574x_idk; then " \
> 


More information about the U-Boot mailing list