mirror of
https://xff.cz/git/u-boot/
synced 2025-10-02 07:51:17 +02:00
Merge tag 'ti-v2020.04-rc3' of https://gitlab.denx.de/u-boot/custodians/u-boot-ti
K3 J721E/AM65X: - UART boot fixes for J721E - Enabling debug uart for AM65x DRA7xx/AM57xx: - Preveinting boot from Invalid boot configuration for AM57xx Keysonte2: - Linux Boot fixes for K2 platforms. AM33/AM43/Davinci: - Ethernt boot fixes for AM43XX - USB Host boot fixes for AM43XX
This commit is contained in:
@@ -42,3 +42,19 @@
|
|||||||
&i2c0 {
|
&i2c0 {
|
||||||
u-boot,dm-spl;
|
u-boot,dm-spl;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&l4_wkup {
|
||||||
|
u-boot,dm-spl;
|
||||||
|
};
|
||||||
|
|
||||||
|
&scm {
|
||||||
|
u-boot,dm-spl;
|
||||||
|
};
|
||||||
|
|
||||||
|
&scm_conf {
|
||||||
|
u-boot,dm-spl;
|
||||||
|
};
|
||||||
|
|
||||||
|
ðphy0 {
|
||||||
|
u-boot,dm-spl;
|
||||||
|
};
|
||||||
|
@@ -157,9 +157,13 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mcu_uart0 {
|
&mcu_uart0 {
|
||||||
|
/delete-property/ power-domains;
|
||||||
|
/delete-property/ clocks;
|
||||||
|
/delete-property/ clock-names;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&mcu_uart0_pins_default>;
|
pinctrl-0 = <&mcu_uart0_pins_default>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
clock-frequency = <48000000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
&main_uart0 {
|
&main_uart0 {
|
||||||
|
@@ -50,7 +50,7 @@ config SYS_K3_MCU_SCRATCHPAD_SIZE
|
|||||||
config SYS_K3_BOOT_PARAM_TABLE_INDEX
|
config SYS_K3_BOOT_PARAM_TABLE_INDEX
|
||||||
hex
|
hex
|
||||||
default 0x41c7fbfc if SOC_K3_AM6
|
default 0x41c7fbfc if SOC_K3_AM6
|
||||||
default 0x41cffc00 if SOC_K3_J721E
|
default 0x41cffbfc if SOC_K3_J721E
|
||||||
help
|
help
|
||||||
Address at which ROM stores the value which determines if SPL
|
Address at which ROM stores the value which determines if SPL
|
||||||
is booted up by primary boot media or secondary boot media.
|
is booted up by primary boot media or secondary boot media.
|
||||||
|
@@ -109,6 +109,16 @@ void board_init_f(ulong dummy)
|
|||||||
/* Init DM early in-order to invoke system controller */
|
/* Init DM early in-order to invoke system controller */
|
||||||
spl_early_init();
|
spl_early_init();
|
||||||
|
|
||||||
|
#ifdef CONFIG_K3_EARLY_CONS
|
||||||
|
/*
|
||||||
|
* Allow establishing an early console as required for example when
|
||||||
|
* doing a UART-based boot. Note that this console may not "survive"
|
||||||
|
* through a SYSFW PM-init step and will need a re-init in some way
|
||||||
|
* due to changing module clock frequencies.
|
||||||
|
*/
|
||||||
|
early_console_init();
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_K3_LOAD_SYSFW
|
#ifdef CONFIG_K3_LOAD_SYSFW
|
||||||
/*
|
/*
|
||||||
* Process pinctrl for the serial0 a.k.a. WKUP_UART0 module and continue
|
* Process pinctrl for the serial0 a.k.a. WKUP_UART0 module and continue
|
||||||
|
@@ -218,7 +218,7 @@ int print_cpuinfo(void)
|
|||||||
name = "Unknown Silicon";
|
name = "Unknown Silicon";
|
||||||
};
|
};
|
||||||
|
|
||||||
printf("%s PG ", name);
|
printf("%s SR ", name);
|
||||||
switch (rev) {
|
switch (rev) {
|
||||||
case REV_PG1_0:
|
case REV_PG1_0:
|
||||||
name = "1.0";
|
name = "1.0";
|
||||||
|
@@ -36,6 +36,7 @@
|
|||||||
#include <ti-usb-phy-uboot.h>
|
#include <ti-usb-phy-uboot.h>
|
||||||
#include <mmc.h>
|
#include <mmc.h>
|
||||||
#include <dm/uclass.h>
|
#include <dm/uclass.h>
|
||||||
|
#include <hang.h>
|
||||||
|
|
||||||
#include "../common/board_detect.h"
|
#include "../common/board_detect.h"
|
||||||
#include "mux_data.h"
|
#include "mux_data.h"
|
||||||
@@ -707,6 +708,18 @@ void am57x_idk_lcd_detect(void)
|
|||||||
}
|
}
|
||||||
out:
|
out:
|
||||||
env_set("idk_lcd", idk_lcd);
|
env_set("idk_lcd", idk_lcd);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* On AM571x_IDK, no Display with J51 set to LCD is considered as an
|
||||||
|
* invalid configuration and we prevent boot to get user attention.
|
||||||
|
*/
|
||||||
|
if (board_is_am571x_idk() && am571x_idk_needs_lcd() &&
|
||||||
|
!strncmp(idk_lcd, "no", 2)) {
|
||||||
|
printf("%s: Invalid HW configuration: display not detected/supported but J51 is set. Remove J51 to boot without display.\n",
|
||||||
|
__func__);
|
||||||
|
hang();
|
||||||
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -15,6 +15,7 @@ CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=1"
|
|||||||
CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
CONFIG_SYS_CONSOLE_INFO_QUIET=y
|
||||||
# CONFIG_MISC_INIT_R is not set
|
# CONFIG_MISC_INIT_R is not set
|
||||||
CONFIG_VERSION_VARIABLE=y
|
CONFIG_VERSION_VARIABLE=y
|
||||||
|
CONFIG_SPL_ETH_SUPPORT=y
|
||||||
CONFIG_SPL_MTD_SUPPORT=y
|
CONFIG_SPL_MTD_SUPPORT=y
|
||||||
CONFIG_SPL_NET_SUPPORT=y
|
CONFIG_SPL_NET_SUPPORT=y
|
||||||
CONFIG_SPL_NET_VCI_STRING="AM43xx U-Boot SPL"
|
CONFIG_SPL_NET_VCI_STRING="AM43xx U-Boot SPL"
|
||||||
|
@@ -17,6 +17,7 @@ CONFIG_VERSION_VARIABLE=y
|
|||||||
CONFIG_SPL_MTD_SUPPORT=y
|
CONFIG_SPL_MTD_SUPPORT=y
|
||||||
CONFIG_SPL_OS_BOOT=y
|
CONFIG_SPL_OS_BOOT=y
|
||||||
CONFIG_SPL_USB_HOST_SUPPORT=y
|
CONFIG_SPL_USB_HOST_SUPPORT=y
|
||||||
|
CONFIG_SPL_USB_STORAGE=y
|
||||||
CONFIG_SPL_USB_GADGET=y
|
CONFIG_SPL_USB_GADGET=y
|
||||||
CONFIG_SPL_USB_ETHER=y
|
CONFIG_SPL_USB_ETHER=y
|
||||||
CONFIG_CMD_SPL=y
|
CONFIG_CMD_SPL=y
|
||||||
@@ -41,12 +42,19 @@ CONFIG_OF_CONTROL=y
|
|||||||
CONFIG_DEFAULT_DEVICE_TREE="am437x-gp-evm"
|
CONFIG_DEFAULT_DEVICE_TREE="am437x-gp-evm"
|
||||||
CONFIG_OF_LIST="am437x-gp-evm am437x-sk-evm am43x-epos-evm am437x-idk-evm"
|
CONFIG_OF_LIST="am437x-gp-evm am437x-sk-evm am43x-epos-evm am437x-idk-evm"
|
||||||
CONFIG_ENV_IS_IN_FAT=y
|
CONFIG_ENV_IS_IN_FAT=y
|
||||||
|
CONFIG_ENV_FAT_INTERFACE="mmc"
|
||||||
|
CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
|
||||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||||
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
||||||
CONFIG_DM=y
|
CONFIG_DM=y
|
||||||
|
CONFIG_REGMAP=y
|
||||||
|
CONFIG_SPL_REGMAP=y
|
||||||
|
CONFIG_SYSCON=y
|
||||||
|
CONFIG_SPL_SYSCON=y
|
||||||
CONFIG_DFU_MMC=y
|
CONFIG_DFU_MMC=y
|
||||||
CONFIG_DFU_RAM=y
|
CONFIG_DFU_RAM=y
|
||||||
CONFIG_DFU_SF=y
|
CONFIG_DFU_SF=y
|
||||||
|
CONFIG_MISC=y
|
||||||
CONFIG_DM_MMC=y
|
CONFIG_DM_MMC=y
|
||||||
CONFIG_MMC_OMAP_HS=y
|
CONFIG_MMC_OMAP_HS=y
|
||||||
CONFIG_MTD=y
|
CONFIG_MTD=y
|
||||||
@@ -56,6 +64,9 @@ CONFIG_SPI_FLASH_MACRONIX=y
|
|||||||
CONFIG_PHY_GIGE=y
|
CONFIG_PHY_GIGE=y
|
||||||
CONFIG_MII=y
|
CONFIG_MII=y
|
||||||
CONFIG_DRIVER_TI_CPSW=y
|
CONFIG_DRIVER_TI_CPSW=y
|
||||||
|
CONFIG_PHY=y
|
||||||
|
CONFIG_SPL_PHY=y
|
||||||
|
CONFIG_OMAP_USB2_PHY=y
|
||||||
CONFIG_DM_SERIAL=y
|
CONFIG_DM_SERIAL=y
|
||||||
CONFIG_SPI=y
|
CONFIG_SPI=y
|
||||||
CONFIG_TI_QSPI=y
|
CONFIG_TI_QSPI=y
|
||||||
@@ -67,6 +78,7 @@ CONFIG_USB_XHCI_HCD=y
|
|||||||
CONFIG_USB_XHCI_DWC3=y
|
CONFIG_USB_XHCI_DWC3=y
|
||||||
CONFIG_USB_DWC3=y
|
CONFIG_USB_DWC3=y
|
||||||
CONFIG_USB_DWC3_OMAP=y
|
CONFIG_USB_DWC3_OMAP=y
|
||||||
|
CONFIG_USB_DWC3_GENERIC=y
|
||||||
CONFIG_USB_DWC3_PHY_OMAP=y
|
CONFIG_USB_DWC3_PHY_OMAP=y
|
||||||
CONFIG_OMAP_USB_PHY=y
|
CONFIG_OMAP_USB_PHY=y
|
||||||
CONFIG_USB_GADGET=y
|
CONFIG_USB_GADGET=y
|
||||||
|
@@ -5,6 +5,7 @@ CONFIG_SPL_LIBCOMMON_SUPPORT=y
|
|||||||
CONFIG_SPL_LIBGENERIC_SUPPORT=y
|
CONFIG_SPL_LIBGENERIC_SUPPORT=y
|
||||||
CONFIG_SYS_MALLOC_F_LEN=0x70000
|
CONFIG_SYS_MALLOC_F_LEN=0x70000
|
||||||
CONFIG_SOC_K3_J721E=y
|
CONFIG_SOC_K3_J721E=y
|
||||||
|
CONFIG_K3_EARLY_CONS=y
|
||||||
CONFIG_TARGET_J721E_R5_EVM=y
|
CONFIG_TARGET_J721E_R5_EVM=y
|
||||||
CONFIG_ENV_SIZE=0x20000
|
CONFIG_ENV_SIZE=0x20000
|
||||||
CONFIG_ENV_OFFSET=0x680000
|
CONFIG_ENV_OFFSET=0x680000
|
||||||
|
@@ -213,6 +213,7 @@
|
|||||||
"tftp_root=/\0" \
|
"tftp_root=/\0" \
|
||||||
"nfs_root=/export\0" \
|
"nfs_root=/export\0" \
|
||||||
"mem_lpae=1\0" \
|
"mem_lpae=1\0" \
|
||||||
|
"uinitrd_fixup=1\0" \
|
||||||
"addr_ubi=0x82000000\0" \
|
"addr_ubi=0x82000000\0" \
|
||||||
"addr_secdb_key=0xc000000\0" \
|
"addr_secdb_key=0xc000000\0" \
|
||||||
"name_kern=zImage\0" \
|
"name_kern=zImage\0" \
|
||||||
|
Reference in New Issue
Block a user