diff --git a/recipes-bsp/u-boot/files/0001-pengwyn-defconfig.patch b/recipes-bsp/u-boot/files/0001-pengwyn-defconfig.patch new file mode 100644 index 0000000..520bd8d --- /dev/null +++ b/recipes-bsp/u-boot/files/0001-pengwyn-defconfig.patch @@ -0,0 +1,1506 @@ +--- a/configs/pengwyn_defconfig ++++ b/configs/pengwyn_defconfig +@@ -1,67 +1,1503 @@ ++# ++# Automatically generated file; DO NOT EDIT. ++# U-Boot 2020.07 Configuration ++# ++CONFIG_CREATE_ARCH_SYMLINK=y ++# CONFIG_ARC is not set + CONFIG_ARM=y ++# CONFIG_M68K is not set ++# CONFIG_MICROBLAZE is not set ++# CONFIG_MIPS is not set ++# CONFIG_NDS32 is not set ++# CONFIG_NIOS2 is not set ++# CONFIG_PPC is not set ++# CONFIG_RISCV is not set ++# CONFIG_SANDBOX is not set ++# CONFIG_SH is not set ++# CONFIG_X86 is not set ++# CONFIG_XTENSA is not set ++CONFIG_SYS_ARCH="arm" ++CONFIG_SYS_CPU="armv7" ++CONFIG_SYS_SOC="am33xx" ++CONFIG_SYS_VENDOR="silica" ++CONFIG_SYS_BOARD="pengwyn" ++CONFIG_SYS_CONFIG_NAME="pengwyn" ++# CONFIG_SYS_ICACHE_OFF is not set ++# CONFIG_SPL_SYS_ICACHE_OFF is not set ++# CONFIG_SYS_DCACHE_OFF is not set ++# CONFIG_SPL_SYS_DCACHE_OFF is not set ++ ++# ++# ARM architecture ++# ++# CONFIG_GIC_V3_ITS is not set ++CONFIG_HAS_VBAR=y ++CONFIG_HAS_THUMB2=y ++CONFIG_ARM_ASM_UNIFIED=y ++CONFIG_SYS_ARM_CACHE_CP15=y ++CONFIG_SYS_ARM_MMU=y ++# CONFIG_SYS_ARM_MPU is not set ++CONFIG_ARM_CORTEX_A8_CVE_2017_5715=y ++CONFIG_CPU_V7A=y ++CONFIG_SYS_ARM_ARCH=7 ++CONFIG_SYS_CACHE_SHIFT_6=y ++CONFIG_SYS_CACHELINE_SIZE=64 ++CONFIG_SYS_ARM_CACHE_WRITEBACK=y ++# CONFIG_SYS_ARM_CACHE_WRITETHROUGH is not set ++# CONFIG_SYS_ARM_CACHE_WRITEALLOC is not set + CONFIG_ARCH_CPU_INIT=y ++# CONFIG_SYS_ARCH_TIMER is not set ++# CONFIG_ARM_SMCCC is not set ++# CONFIG_SEMIHOSTING is not set ++CONFIG_SYS_THUMB_BUILD=y ++CONFIG_SPL_SYS_THUMB_BUILD=y ++# CONFIG_SYS_L2CACHE_OFF is not set ++# CONFIG_ENABLE_ARM_SOC_BOOT0_HOOK is not set ++CONFIG_USE_ARCH_MEMCPY=y ++CONFIG_SPL_USE_ARCH_MEMCPY=y ++CONFIG_USE_ARCH_MEMSET=y ++CONFIG_SPL_USE_ARCH_MEMSET=y ++# CONFIG_SET_STACK_SIZE is not set ++# CONFIG_ARCH_AT91 is not set ++# CONFIG_TARGET_EDB93XX is not set ++# CONFIG_TARGET_ASPENITE is not set ++# CONFIG_TARGET_GPLUGD is not set ++# CONFIG_ARCH_DAVINCI is not set ++# CONFIG_ARCH_KIRKWOOD is not set ++# CONFIG_ARCH_MVEBU is not set ++# CONFIG_TARGET_APF27 is not set ++# CONFIG_ARCH_ORION5X is not set ++# CONFIG_TARGET_SPEAR300 is not set ++# CONFIG_TARGET_SPEAR310 is not set ++# CONFIG_TARGET_SPEAR320 is not set ++# CONFIG_TARGET_SPEAR600 is not set ++# CONFIG_TARGET_STV0991 is not set ++# CONFIG_TARGET_X600 is not set ++# CONFIG_TARGET_FLEA3 is not set ++# CONFIG_TARGET_MX35PDK is not set ++# CONFIG_ARCH_BCM283X is not set ++# CONFIG_ARCH_BCM63158 is not set ++# CONFIG_ARCH_BCM68360 is not set ++# CONFIG_ARCH_BCM6858 is not set ++# CONFIG_TARGET_VEXPRESS_CA15_TC2 is not set ++# CONFIG_ARCH_BCMSTB is not set ++# CONFIG_TARGET_VEXPRESS_CA5X2 is not set ++# CONFIG_TARGET_VEXPRESS_CA9X4 is not set ++# CONFIG_TARGET_BCM23550_W1D is not set ++# CONFIG_TARGET_BCM28155_AP is not set ++# CONFIG_TARGET_BCMCYGNUS is not set ++# CONFIG_TARGET_BCMNSP is not set ++# CONFIG_TARGET_BCMNS2 is not set ++# CONFIG_ARCH_EXYNOS is not set ++# CONFIG_ARCH_S5PC1XX is not set ++# CONFIG_ARCH_HIGHBANK is not set ++# CONFIG_ARCH_INTEGRATOR is not set ++# CONFIG_ARCH_KEYSTONE is not set ++# CONFIG_ARCH_K3 is not set + CONFIG_ARCH_OMAP2PLUS=y ++# CONFIG_ARCH_MESON is not set ++# CONFIG_ARCH_MEDIATEK is not set ++# CONFIG_ARCH_LPC32XX is not set ++# CONFIG_ARCH_IMX8 is not set ++# CONFIG_ARCH_IMX8M is not set ++# CONFIG_ARCH_IMXRT is not set ++# CONFIG_ARCH_MX23 is not set ++# CONFIG_ARCH_MX25 is not set ++# CONFIG_ARCH_MX28 is not set ++# CONFIG_ARCH_MX31 is not set ++# CONFIG_ARCH_MX7ULP is not set ++# CONFIG_ARCH_MX7 is not set ++# CONFIG_ARCH_MX6 is not set ++CONFIG_SPL_LDSCRIPT="arch/arm/mach-omap2/u-boot-spl.lds" ++# CONFIG_ARCH_MX5 is not set ++# CONFIG_ARCH_OWL is not set ++# CONFIG_ARCH_QEMU is not set ++# CONFIG_ARCH_RMOBILE is not set ++# CONFIG_TARGET_S32V234EVB is not set ++# CONFIG_ARCH_SNAPDRAGON is not set ++# CONFIG_ARCH_SOCFPGA is not set ++# CONFIG_ARCH_SUNXI is not set ++# CONFIG_ARCH_U8500 is not set ++# CONFIG_ARCH_VERSAL is not set ++# CONFIG_ARCH_VF610 is not set ++# CONFIG_ARCH_ZYNQ is not set ++# CONFIG_ARCH_ZYNQMP_R5 is not set ++# CONFIG_ARCH_ZYNQMP is not set ++# CONFIG_ARCH_TEGRA is not set ++# CONFIG_TARGET_VEXPRESS64_AEMV8A is not set ++# CONFIG_TARGET_VEXPRESS64_BASE_FVP is not set ++# CONFIG_TARGET_VEXPRESS64_JUNO is not set ++# CONFIG_TARGET_LS2080A_EMU is not set ++# CONFIG_TARGET_LS2080A_SIMU is not set ++# CONFIG_TARGET_LS1088AQDS is not set ++# CONFIG_TARGET_LS2080AQDS is not set ++# CONFIG_TARGET_LS2080ARDB is not set ++# CONFIG_TARGET_LS2081ARDB is not set ++# CONFIG_TARGET_LX2160ARDB is not set ++# CONFIG_TARGET_LX2160AQDS is not set ++# CONFIG_TARGET_HIKEY is not set ++# CONFIG_TARGET_HIKEY960 is not set ++# CONFIG_TARGET_POPLAR is not set ++# CONFIG_TARGET_LS1012AQDS is not set ++# CONFIG_TARGET_LS1012ARDB is not set ++# CONFIG_TARGET_LS1012A2G5RDB is not set ++# CONFIG_TARGET_LS1012AFRWY is not set ++# CONFIG_TARGET_LS1012AFRDM is not set ++# CONFIG_TARGET_LS1028AQDS is not set ++# CONFIG_TARGET_LS1028ARDB is not set ++# CONFIG_TARGET_LS1088ARDB is not set ++# CONFIG_TARGET_LS1021AQDS is not set ++# CONFIG_TARGET_LS1021ATWR is not set ++# CONFIG_TARGET_LS1021ATSN is not set ++# CONFIG_TARGET_LS1021AIOT is not set ++# CONFIG_TARGET_LS1043AQDS is not set ++# CONFIG_TARGET_LS1043ARDB is not set ++# CONFIG_TARGET_LS1046AQDS is not set ++# CONFIG_TARGET_LS1046ARDB is not set ++# CONFIG_TARGET_LS1046AFRWY is not set ++# CONFIG_TARGET_COLIBRI_PXA270 is not set ++# CONFIG_ARCH_UNIPHIER is not set ++# CONFIG_ARCH_STM32 is not set ++# CONFIG_ARCH_STI is not set ++# CONFIG_ARCH_STM32MP is not set ++# CONFIG_ARCH_ROCKCHIP is not set ++# CONFIG_TARGET_THUNDERX_88XX is not set ++# CONFIG_ARCH_ASPEED is not set ++# CONFIG_TARGET_DURIAN is not set ++# CONFIG_TARGET_PRESIDIO_ASIC is not set ++# CONFIG_TI_SECURE_DEVICE is not set ++CONFIG_ISW_ENTRY_ADDR=0x402F0400 ++CONFIG_SYS_TEXT_BASE=0x80800000 + CONFIG_SPL_GPIO_SUPPORT=y + CONFIG_SPL_LIBCOMMON_SUPPORT=y + CONFIG_SPL_LIBGENERIC_SUPPORT=y ++CONFIG_SYS_MALLOC_F_LEN=0x1000 + CONFIG_ENV_SIZE=0x4000 ++CONFIG_ENV_OFFSET=0x260000 ++CONFIG_DM_GPIO=y ++CONFIG_SPL_TEXT_BASE=0x402F0400 ++# CONFIG_OMAP34XX is not set ++# CONFIG_OMAP44XX is not set ++# CONFIG_OMAP54XX is not set ++# CONFIG_TI814X is not set ++# CONFIG_TI816X is not set ++# CONFIG_AM43XX is not set + CONFIG_AM33XX=y ++CONFIG_SYS_MPUCLK=500 ++# CONFIG_TARGET_AM335X_EVM is not set ++# CONFIG_TARGET_AM335X_BALTOS is not set ++# CONFIG_TARGET_AM335X_IGEP003X is not set ++# CONFIG_TARGET_AM335X_SHC is not set ++# CONFIG_TARGET_AM335X_GUARDIAN is not set ++# CONFIG_TARGET_AM335X_SL50 is not set ++# CONFIG_TARGET_BAV335X is not set ++# CONFIG_TARGET_BRXRE1 is not set ++# CONFIG_TARGET_BRSMARC1 is not set ++# CONFIG_TARGET_BRPPT1 is not set ++# CONFIG_TARGET_CHILIBOARD is not set ++# CONFIG_TARGET_CM_T335 is not set ++# CONFIG_TARGET_DRACO is not set ++# CONFIG_TARGET_ETAMIN is not set ++# CONFIG_TARGET_PCM051 is not set + CONFIG_TARGET_PENGWYN=y ++# CONFIG_TARGET_PEPPER is not set ++# CONFIG_TARGET_PHYCORE_AM335X_R2 is not set ++# CONFIG_TARGET_PXM2 is not set ++# CONFIG_TARGET_RASTABAN is not set ++# CONFIG_TARGET_RUT is not set ++# CONFIG_TARGET_THUBAN is not set ++# CONFIG_TARGET_PDU001 is not set ++CONFIG_PUB_ROM_DATA_SIZE=0x8400 + CONFIG_SPL_MMC_SUPPORT=y + CONFIG_SPL_SERIAL_SUPPORT=y ++# CONFIG_SPL_DRIVERS_MISC_SUPPORT is not set ++CONFIG_SPL_STACK_R_ADDR=0x82000000 ++CONFIG_SPL_SYS_MALLOC_F_LEN=0x1000 ++CONFIG_ERR_PTR_OFFSET=0x0 ++CONFIG_NR_DRAM_BANKS=4 ++CONFIG_SPL_SIZE_LIMIT=0 + CONFIG_SPL=y ++CONFIG_BOOTSTAGE_STASH_ADDR=0 ++CONFIG_IDENT_STRING="" + CONFIG_SPL_FS_FAT=y + CONFIG_SPL_LIBDISK_SUPPORT=y ++# CONFIG_SPL_SPI_SUPPORT is not set ++# CONFIG_ARMV7_LPAE is not set ++CONFIG_CSF_SIZE=0x2060 ++# CONFIG_CMD_DEKBLOB is not set ++# CONFIG_CMD_HDMIDETECT is not set ++# CONFIG_CMD_NANDBCB is not set ++CONFIG_IMX_DCD_ADDR=0x00910000 ++ ++# ++# ARM debug ++# ++# CONFIG_DEBUG_LL is not set ++CONFIG_SPL_PAYLOAD="u-boot.bin" ++CONFIG_BUILD_TARGET="" ++CONFIG_SMBIOS_PRODUCT_NAME="pengwyn" ++# CONFIG_DEBUG_UART is not set ++# CONFIG_AHCI is not set ++# CONFIG_OF_BOARD_FIXUP is not set ++ ++# ++# General setup ++# ++CONFIG_LOCALVERSION="" ++CONFIG_LOCALVERSION_AUTO=y ++CONFIG_CC_OPTIMIZE_FOR_SIZE=y + CONFIG_DISTRO_DEFAULTS=y ++CONFIG_ENV_VARS_UBOOT_CONFIG=y ++# CONFIG_SYS_BOOT_GET_CMDLINE is not set ++# CONFIG_SYS_BOOT_GET_KBD is not set ++CONFIG_SYS_MALLOC_F=y ++CONFIG_EXPERT=y ++CONFIG_SYS_MALLOC_CLEAR_ON_INIT=y ++# CONFIG_SYS_MALLOC_DEFAULT_TO_INIT is not set ++# CONFIG_TOOLS_DEBUG is not set ++# CONFIG_PHYS_64BIT is not set ++CONFIG_SPL_IMAGE="spl/u-boot-spl.bin" ++# CONFIG_SYS_CUSTOM_LDSCRIPT is not set ++CONFIG_PLATFORM_ELFENTRY="_start" ++ ++# ++# Boot images ++# ++# CONFIG_ANDROID_BOOT_IMAGE is not set ++CONFIG_FIT=y ++CONFIG_FIT_EXTERNAL_OFFSET=0x0 ++CONFIG_FIT_ENABLE_SHA256_SUPPORT=y ++# CONFIG_FIT_SIGNATURE is not set ++# CONFIG_FIT_CIPHER is not set ++# CONFIG_FIT_VERBOSE is not set ++# CONFIG_FIT_BEST_MATCH is not set ++# CONFIG_SPL_FIT is not set ++# CONFIG_SPL_LOAD_FIT is not set ++# CONFIG_SPL_LOAD_FIT_FULL is not set ++CONFIG_LEGACY_IMAGE_FORMAT=y ++# CONFIG_OF_BOARD_SETUP is not set ++# CONFIG_OF_SYSTEM_SETUP is not set ++# CONFIG_OF_STDOUT_VIA_ALIAS is not set ++CONFIG_SYS_EXTRA_OPTIONS="" ++CONFIG_HAVE_SYS_TEXT_BASE=y ++CONFIG_ARCH_FIXUP_FDT_MEMORY=y ++ ++# ++# API ++# ++# CONFIG_API is not set ++ ++# ++# Boot timing ++# ++# CONFIG_BOOTSTAGE is not set ++CONFIG_BOOTSTAGE_RECORD_COUNT=30 ++CONFIG_SPL_BOOTSTAGE_RECORD_COUNT=5 ++CONFIG_TPL_BOOTSTAGE_RECORD_COUNT=5 ++CONFIG_BOOTSTAGE_STASH_SIZE=0x1000 ++# CONFIG_SHOW_BOOT_PROGRESS is not set ++ ++# ++# Boot media ++# ++# CONFIG_NAND_BOOT is not set ++# CONFIG_ONENAND_BOOT is not set ++# CONFIG_QSPI_BOOT is not set ++# CONFIG_SATA_BOOT is not set ++# CONFIG_SD_BOOT is not set ++# CONFIG_SPI_BOOT is not set ++CONFIG_BOOTDELAY=2 ++# CONFIG_USE_BOOTARGS is not set + # CONFIG_USE_BOOTCOMMAND is not set ++# CONFIG_USE_PREBOOT is not set ++ ++# ++# Console ++# ++CONFIG_MENU=y ++# CONFIG_CONSOLE_RECORD is not set ++# CONFIG_DISABLE_CONSOLE is not set ++CONFIG_LOGLEVEL=4 ++CONFIG_SPL_LOGLEVEL=4 ++CONFIG_TPL_LOGLEVEL=4 ++# CONFIG_SILENT_CONSOLE is not set ++# CONFIG_PRE_CONSOLE_BUFFER is not set ++# CONFIG_CONSOLE_MUX is not set ++# CONFIG_SYS_CONSOLE_IS_IN_ENV is not set ++# CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE is not set ++# CONFIG_SYS_CONSOLE_ENV_OVERWRITE is not set + CONFIG_SYS_CONSOLE_INFO_QUIET=y ++# CONFIG_SYS_STDIO_DEREGISTER is not set ++ ++# ++# Logging ++# ++CONFIG_LOG=y ++# CONFIG_SPL_LOG is not set ++# CONFIG_TPL_LOG is not set ++CONFIG_LOG_MAX_LEVEL=5 ++CONFIG_LOG_DEFAULT_LEVEL=6 ++CONFIG_LOG_CONSOLE=y ++# CONFIG_LOG_SYSLOG is not set ++# CONFIG_LOG_ERROR_RETURN is not set ++CONFIG_SUPPORT_RAW_INITRD=y ++CONFIG_DEFAULT_FDT_FILE="" ++# CONFIG_MISC_INIT_R is not set + CONFIG_VERSION_VARIABLE=y ++# CONFIG_BOARD_LATE_INIT is not set ++CONFIG_DISPLAY_CPUINFO=y ++CONFIG_DISPLAY_BOARDINFO=y ++# CONFIG_DISPLAY_BOARDINFO_LATE is not set ++# CONFIG_BOUNCE_BUFFER is not set ++# CONFIG_BOARD_TYPES is not set ++ ++# ++# Start-up hooks ++# ++# CONFIG_ARCH_EARLY_INIT_R is not set + CONFIG_ARCH_MISC_INIT=y ++# CONFIG_BOARD_EARLY_INIT_F is not set ++# CONFIG_BOARD_EARLY_INIT_R is not set ++# CONFIG_LAST_STAGE_INIT is not set ++ ++# ++# Security support ++# ++CONFIG_HASH=y ++ ++# ++# Update support ++# ++# CONFIG_UPDATE_TFTP is not set ++# CONFIG_ANDROID_AB is not set ++ ++# ++# Blob list ++# ++# CONFIG_BLOBLIST is not set ++ ++# ++# SPL / TPL ++# ++CONFIG_SUPPORT_SPL=y ++CONFIG_SPL_FRAMEWORK=y ++# CONFIG_SPL_FRAMEWORK_BOARD_INIT_F is not set ++CONFIG_SPL_SYS_STACK_F_CHECK_BYTE=0xaa ++# CONFIG_SPL_SYS_REPORT_STACK_F_USAGE is not set ++ ++# ++# PowerPC and LayerScape SPL Boot options ++# ++CONFIG_SPL_BOARD_INIT=y ++# CONFIG_SPL_BOOTROM_SUPPORT is not set ++# CONFIG_SPL_BOOTCOUNT_LIMIT is not set ++CONFIG_SPL_RAW_IMAGE_SUPPORT=y ++CONFIG_SPL_LEGACY_IMAGE_SUPPORT=y ++# CONFIG_SPL_LEGACY_IMAGE_CRC_CHECK is not set ++# CONFIG_SPL_SYS_MALLOC_SIMPLE is not set ++CONFIG_SPL_STACK_R=y ++# CONFIG_SPL_SEPARATE_BSS is not set ++CONFIG_SPL_BANNER_PRINT=y ++# CONFIG_SPL_EARLY_BSS is not set ++# CONFIG_SPL_DISPLAY_PRINT is not set ++CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y ++CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300 ++CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_DATA_PART_OFFSET=0x0 ++# CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION is not set ++CONFIG_SPL_CRC32_SUPPORT=y ++# CONFIG_SPL_CACHE_SUPPORT is not set ++# CONFIG_SPL_CPU_SUPPORT is not set ++# CONFIG_SPL_CRYPTO_SUPPORT is not set ++# CONFIG_SPL_HASH_SUPPORT is not set ++# CONFIG_SPL_DMA is not set + CONFIG_SPL_ENV_SUPPORT=y ++# CONFIG_SPL_SAVEENV is not set + CONFIG_SPL_ETH_SUPPORT=y + CONFIG_SPL_FS_EXT4=y ++# CONFIG_SPL_FAT_WRITE is not set ++# CONFIG_SPL_FPGA_SUPPORT is not set + CONFIG_SPL_I2C_SUPPORT=y ++# CONFIG_SPL_DM_MAILBOX is not set ++# CONFIG_SPL_MMC_TINY is not set ++# CONFIG_SPL_MMC_WRITE is not set ++# CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT is not set + CONFIG_SPL_MTD_SUPPORT=y ++# CONFIG_SPL_MUSB_NEW_SUPPORT is not set ++CONFIG_SPL_NAND_SUPPORT=y ++# CONFIG_SPL_UBI is not set + CONFIG_SPL_NET_SUPPORT=y + CONFIG_SPL_NET_VCI_STRING="AM335x U-Boot SPL" ++# CONFIG_SPL_NO_CPU_SUPPORT is not set ++# CONFIG_SPL_NOR_SUPPORT is not set ++# CONFIG_SPL_XIP_SUPPORT is not set ++# CONFIG_SPL_ONENAND_SUPPORT is not set + CONFIG_SPL_OS_BOOT=y ++# CONFIG_SPL_PCI is not set ++# CONFIG_SPL_PCH_SUPPORT is not set ++# CONFIG_SPL_POST_MEM_SUPPORT is not set ++# CONFIG_SPL_DM_RESET is not set + CONFIG_SPL_POWER_SUPPORT=y ++# CONFIG_SPL_POWER_DOMAIN is not set ++# CONFIG_SPL_RAM_SUPPORT is not set ++# CONFIG_SPL_REMOTEPROC is not set ++# CONFIG_SPL_RTC_SUPPORT is not set ++# CONFIG_SPL_SATA_SUPPORT is not set ++# CONFIG_SPL_THERMAL is not set ++# CONFIG_SPL_USB_HOST_SUPPORT is not set ++# CONFIG_SPL_USB_GADGET is not set + CONFIG_SPL_WATCHDOG_SUPPORT=y + CONFIG_SPL_YMODEM_SUPPORT=y ++CONFIG_SPL_AM33XX_ENABLE_RTC32K_OSC=y ++# CONFIG_SPL_OPTEE is not set ++ ++# ++# Command line interface ++# ++CONFIG_CMDLINE=y ++CONFIG_HUSH_PARSER=y ++CONFIG_CMDLINE_EDITING=y ++CONFIG_AUTO_COMPLETE=y ++CONFIG_SYS_LONGHELP=y ++CONFIG_SYS_PROMPT="=> " ++CONFIG_SYS_XTRACE="y" ++ ++# ++# Autoboot options ++# ++CONFIG_AUTOBOOT=y ++# CONFIG_AUTOBOOT_KEYED is not set ++# CONFIG_AUTOBOOT_USE_MENUKEY is not set ++ ++# ++# Commands ++# ++ ++# ++# Info commands ++# ++# CONFIG_CMD_ACPI is not set ++CONFIG_CMD_BDI=y ++# CONFIG_CMD_CONFIG is not set ++CONFIG_CMD_CONSOLE=y ++# CONFIG_CMD_CPU is not set ++# CONFIG_CMD_LICENSE is not set ++# CONFIG_CMD_PMC is not set ++ ++# ++# Boot commands ++# ++CONFIG_CMD_BOOTD=y ++CONFIG_CMD_BOOTM=y ++CONFIG_BOOTM_EFI=y ++CONFIG_CMD_BOOTZ=y ++CONFIG_BOOTM_LINUX=y ++CONFIG_BOOTM_NETBSD=y ++# CONFIG_BOOTM_OPENRTOS is not set ++# CONFIG_BOOTM_OSE is not set ++CONFIG_BOOTM_PLAN9=y ++CONFIG_BOOTM_RTEMS=y ++CONFIG_BOOTM_VXWORKS=y ++CONFIG_CMD_BOOTEFI=y ++CONFIG_CMD_BOOTEFI_HELLO_COMPILE=y ++# CONFIG_CMD_BOOTEFI_HELLO is not set ++# CONFIG_CMD_BOOTEFI_SELFTEST is not set ++# CONFIG_CMD_BOOTMENU is not set ++# CONFIG_CMD_ADTIMG is not set ++CONFIG_CMD_ELF=y ++CONFIG_CMD_FDT=y ++CONFIG_CMD_GO=y ++CONFIG_CMD_RUN=y ++CONFIG_CMD_IMI=y ++# CONFIG_CMD_IMLS is not set ++CONFIG_CMD_XIMG=y + CONFIG_CMD_SPL=y + CONFIG_CMD_SPL_NAND_OFS=0x240000 ++CONFIG_CMD_SPL_WRITE_SIZE=0x2000 ++# CONFIG_CMD_THOR_DOWNLOAD is not set ++# CONFIG_CMD_ZBOOT is not set ++ ++# ++# Environment commands ++# + CONFIG_CMD_ASKENV=y ++CONFIG_CMD_EXPORTENV=y ++CONFIG_CMD_IMPORTENV=y ++CONFIG_CMD_EDITENV=y ++# CONFIG_CMD_GREPENV is not set ++CONFIG_CMD_SAVEENV=y ++# CONFIG_CMD_ERASEENV is not set ++CONFIG_CMD_ENV_EXISTS=y ++# CONFIG_CMD_ENV_CALLBACK is not set ++# CONFIG_CMD_ENV_FLAGS is not set ++# CONFIG_CMD_NVEDIT_EFI is not set ++# CONFIG_CMD_NVEDIT_INFO is not set ++ ++# ++# Memory commands ++# ++# CONFIG_CMD_BINOP is not set ++CONFIG_CMD_CRC32=y ++# CONFIG_CRC32_VERIFY is not set + CONFIG_CMD_EEPROM=y ++# CONFIG_CMD_EEPROM_LAYOUT is not set ++# CONFIG_LOOPW is not set ++# CONFIG_CMD_MD5SUM is not set ++# CONFIG_CMD_MEMINFO is not set ++CONFIG_CMD_MEMORY=y ++# CONFIG_CMD_MX_CYCLIC is not set ++# CONFIG_CMD_MEMTEST is not set ++# CONFIG_CMD_SHA1SUM is not set ++# CONFIG_CMD_STRINGS is not set ++ ++# ++# Compression commands ++# ++# CONFIG_CMD_LZMADEC is not set ++# CONFIG_CMD_UNLZ4 is not set ++# CONFIG_CMD_UNZIP is not set ++# CONFIG_CMD_ZIP is not set ++ ++# ++# Device access commands ++# ++# CONFIG_CMD_ARMFLASH is not set ++# CONFIG_CMD_ADC is not set ++# CONFIG_CMD_BCB is not set ++# CONFIG_CMD_BIND is not set ++# CONFIG_CMD_CLK is not set ++# CONFIG_CMD_DEMO is not set ++# CONFIG_CMD_DFU is not set ++CONFIG_CMD_DM=y + # CONFIG_CMD_FLASH is not set ++# CONFIG_CMD_FPGAD is not set ++# CONFIG_CMD_FUSE is not set + CONFIG_CMD_GPIO=y ++# CONFIG_CMD_GPT is not set ++# CONFIG_RANDOM_UUID is not set ++# CONFIG_CMD_IDE is not set ++# CONFIG_CMD_IO is not set ++# CONFIG_CMD_IOTRACE is not set + CONFIG_CMD_I2C=y ++CONFIG_CMD_LOADB=y ++CONFIG_CMD_LOADS=y + CONFIG_CMD_MMC=y ++# CONFIG_CMD_BKOPS_ENABLE is not set ++# CONFIG_CMD_MMC_SWRITE is not set ++# CONFIG_CMD_MTD is not set + CONFIG_CMD_NAND=y ++# CONFIG_CMD_NAND_TRIMFFS is not set ++# CONFIG_CMD_NAND_LOCK_UNLOCK is not set ++# CONFIG_CMD_NAND_TORTURE is not set ++# CONFIG_CMD_ONENAND is not set ++# CONFIG_CMD_OSD is not set ++CONFIG_CMD_PART=y ++# CONFIG_CMD_PCI is not set ++# CONFIG_CMD_PINMUX is not set ++# CONFIG_CMD_POWEROFF is not set ++# CONFIG_CMD_READ is not set ++# CONFIG_CMD_SATA is not set ++# CONFIG_CMD_SAVES is not set ++# CONFIG_CMD_SCSI is not set ++# CONFIG_CMD_SDRAM is not set + CONFIG_CMD_SPI=y ++CONFIG_DEFAULT_SPI_BUS=0 ++CONFIG_DEFAULT_SPI_MODE=0 ++# CONFIG_CMD_TSI148 is not set ++# CONFIG_CMD_UNIVERSE is not set + CONFIG_CMD_USB=y ++# CONFIG_CMD_USB_SDP is not set ++# CONFIG_CMD_USB_MASS_STORAGE is not set ++ ++# ++# Shell scripting commands ++# ++CONFIG_CMD_ECHO=y ++CONFIG_CMD_ITEST=y ++CONFIG_CMD_SOURCE=y + # CONFIG_CMD_SETEXPR is not set ++ ++# ++# Android support commands ++# ++CONFIG_CMD_NET=y ++CONFIG_CMD_BOOTP=y ++CONFIG_CMD_DHCP=y ++CONFIG_BOOTP_BOOTPATH=y ++CONFIG_BOOTP_DNS=y ++# CONFIG_BOOTP_DNS2 is not set ++CONFIG_BOOTP_GATEWAY=y ++CONFIG_BOOTP_HOSTNAME=y ++# CONFIG_BOOTP_PREFER_SERVERIP is not set ++CONFIG_BOOTP_SUBNETMASK=y ++# CONFIG_BOOTP_NTPSERVER is not set ++# CONFIG_CMD_PCAP is not set ++CONFIG_BOOTP_PXE=y ++CONFIG_BOOTP_PXE_CLIENTARCH=0x15 ++CONFIG_BOOTP_VCI_STRING="U-Boot.armv7" ++CONFIG_CMD_TFTPBOOT=y ++# CONFIG_CMD_TFTPPUT is not set ++# CONFIG_CMD_TFTPSRV is not set ++CONFIG_NET_TFTP_VARS=y ++# CONFIG_CMD_RARP is not set ++CONFIG_CMD_NFS=y ++CONFIG_CMD_MII=y ++CONFIG_CMD_MDIO=y ++CONFIG_CMD_PING=y ++# CONFIG_CMD_CDP is not set ++# CONFIG_CMD_SNTP is not set ++# CONFIG_CMD_DNS is not set ++# CONFIG_CMD_LINK_LOCAL is not set ++# CONFIG_CMD_ETHSW is not set ++CONFIG_CMD_PXE=y + CONFIG_CMD_WOL=y ++ ++# ++# Misc commands ++# ++# CONFIG_CMD_BSP is not set ++# CONFIG_CMD_CACHE is not set ++# CONFIG_CMD_CONITRACE is not set ++# CONFIG_CMD_EFIDEBUG is not set ++# CONFIG_CMD_EXCEPTION is not set ++# CONFIG_CMD_DATE is not set ++# CONFIG_CMD_TIME is not set ++# CONFIG_CMD_GETTIME is not set ++CONFIG_CMD_MISC=y ++# CONFIG_MP is not set ++# CONFIG_CMD_TIMER is not set ++CONFIG_CMD_SYSBOOT=y ++# CONFIG_CMD_QFW is not set ++# CONFIG_CMD_TERMINAL is not set ++# CONFIG_CMD_UUID is not set ++ ++# ++# TI specific command line interface ++# ++# CONFIG_CMD_DDR3 is not set ++ ++# ++# Power commands ++# ++ ++# ++# Security commands ++# ++# CONFIG_CMD_AES is not set ++# CONFIG_CMD_BLOB is not set ++# CONFIG_CMD_HASH is not set ++CONFIG_CMD_TPM_V1=y ++CONFIG_CMD_TPM_V2=y ++CONFIG_CMD_TPM=y ++CONFIG_CMD_TPM_TEST=y ++ ++# ++# Firmware commands ++# ++ ++# ++# Filesystem commands ++# ++# CONFIG_CMD_BTRFS is not set ++CONFIG_CMD_EXT2=y ++CONFIG_CMD_EXT4=y + CONFIG_CMD_EXT4_WRITE=y ++CONFIG_CMD_FAT=y ++CONFIG_CMD_FS_GENERIC=y ++# CONFIG_CMD_FS_UUID is not set ++# CONFIG_CMD_JFFS2 is not set + CONFIG_CMD_MTDPARTS=y ++# CONFIG_CMD_MTDPARTS_SPREAD is not set ++# CONFIG_CMD_MTDPARTS_SHOW_NET_SIZES is not set + CONFIG_MTDIDS_DEFAULT="nand0=omap2-nand.0" + CONFIG_MTDPARTS_DEFAULT="mtdparts=omap2-nand.0:512k(SPL),512k(SPL.backup1),512k(SPL.backup2),512k(SPL.backup3),1536k(u-boot),512k(u-boot-spl-os),512k(u-boot-env),5m(kernel),-(rootfs)" ++# CONFIG_CMD_REISER is not set ++# CONFIG_CMD_ZFS is not set ++ ++# ++# Debug commands ++# ++# CONFIG_CMD_BEDBUG is not set + CONFIG_CMD_DIAG=y ++CONFIG_CMD_LOG=y ++# CONFIG_CMD_TRACE is not set ++# CONFIG_CMD_UBI is not set ++ ++# ++# Partition Types ++# ++CONFIG_PARTITIONS=y ++# CONFIG_MAC_PARTITION is not set ++# CONFIG_SPL_MAC_PARTITION is not set ++CONFIG_DOS_PARTITION=y ++CONFIG_SPL_DOS_PARTITION=y ++CONFIG_ISO_PARTITION=y ++# CONFIG_SPL_ISO_PARTITION is not set ++# CONFIG_AMIGA_PARTITION is not set ++# CONFIG_SPL_AMIGA_PARTITION is not set ++CONFIG_EFI_PARTITION=y ++CONFIG_EFI_PARTITION_ENTRIES_NUMBERS=128 ++CONFIG_EFI_PARTITION_ENTRIES_OFF=0 ++CONFIG_SPL_EFI_PARTITION=y ++CONFIG_PARTITION_UUIDS=y ++CONFIG_SPL_PARTITION_UUIDS=y ++# CONFIG_PARTITION_TYPE_GUID is not set ++CONFIG_SUPPORT_OF_CONTROL=y ++CONFIG_DTC=y ++ ++# ++# Device Tree Control ++# ++CONFIG_OF_CONTROL=y ++# CONFIG_SPL_OF_CONTROL is not set ++# CONFIG_OF_LIVE is not set ++CONFIG_OF_SEPARATE=y ++# CONFIG_OF_EMBED is not set ++# CONFIG_OF_BOARD is not set ++# CONFIG_OF_PRIOR_STAGE is not set ++CONFIG_DEFAULT_DEVICE_TREE="am335x-pengwyn" ++# CONFIG_MULTI_DTB_FIT is not set ++# CONFIG_OF_DTB_PROPS_REMOVE is not set ++CONFIG_MKIMAGE_DTC_PATH="dtc" ++ ++# ++# Environment ++# ++CONFIG_ENV_SUPPORT=y ++CONFIG_SAVEENV=y ++# CONFIG_ENV_IS_NOWHERE is not set ++# CONFIG_ENV_IS_IN_EEPROM is not set ++# CONFIG_ENV_IS_IN_FAT is not set ++# CONFIG_ENV_IS_IN_EXT4 is not set ++# CONFIG_ENV_IS_IN_FLASH is not set ++# CONFIG_ENV_IS_IN_MMC is not set + CONFIG_ENV_IS_IN_NAND=y ++# CONFIG_ENV_IS_IN_NVRAM is not set ++# CONFIG_ENV_IS_IN_ONENAND is not set ++# CONFIG_ENV_IS_IN_REMOTE is not set ++# CONFIG_ENV_IS_IN_SPI_FLASH is not set ++# CONFIG_SYS_REDUNDAND_ENVIRONMENT is not set + CONFIG_SYS_RELOC_GD_ENV_ADDR=y ++# CONFIG_USE_DEFAULT_ENV_FILE is not set + CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y ++# CONFIG_ENV_ACCESS_IGNORE_FORCE is not set ++# CONFIG_SPL_ENV_IS_NOWHERE is not set ++CONFIG_SPL_ENV_IS_IN_NAND=y ++CONFIG_NET=y ++# CONFIG_NET_RANDOM_ETHADDR is not set ++# CONFIG_NETCONSOLE is not set ++# CONFIG_IP_DEFRAG is not set ++CONFIG_TFTP_BLOCKSIZE=1468 ++ ++# ++# Device Drivers ++# ++ ++# ++# Generic Driver Options ++# ++CONFIG_DM=y ++# CONFIG_SPL_DM is not set ++CONFIG_DM_WARN=y ++CONFIG_DM_DEBUG=y ++CONFIG_DM_DEVICE_REMOVE=y ++CONFIG_DM_STDIO=y ++CONFIG_DM_SEQ_ALIAS=y ++# CONFIG_REGMAP is not set ++# CONFIG_DEVRES is not set ++CONFIG_SIMPLE_BUS=y ++CONFIG_OF_TRANSLATE=y ++# CONFIG_TRANSLATION_OFFSET is not set ++CONFIG_DM_DEV_READ_INLINE=y ++# CONFIG_ACPIGEN is not set ++# CONFIG_ADC is not set ++# CONFIG_ADC_EXYNOS is not set ++# CONFIG_ADC_SANDBOX is not set ++# CONFIG_SARADC_MESON is not set ++# CONFIG_SARADC_ROCKCHIP is not set ++# CONFIG_SATA is not set ++# CONFIG_SCSI_AHCI is not set ++ ++# ++# SATA/SCSI device support ++# ++# CONFIG_DWC_AHSATA is not set ++# CONFIG_FSL_SATA is not set ++# CONFIG_MVSATA_IDE is not set ++# CONFIG_SATA_SIL is not set ++# CONFIG_SATA_SIL3114 is not set ++# CONFIG_AXI is not set ++# CONFIG_BLK is not set ++CONFIG_HAVE_BLOCK_DEVICE=y ++# CONFIG_IDE is not set ++# CONFIG_BOOTCOUNT_LIMIT is not set ++ ++# ++# Cache Controller drivers ++# ++# CONFIG_CACHE is not set ++# CONFIG_L2X0_CACHE is not set ++# CONFIG_NCORE_CACHE is not set ++ ++# ++# Clock ++# ++# CONFIG_CLK is not set ++# CONFIG_SPL_CLK_CCF is not set ++# CONFIG_CLK_CCF is not set ++# CONFIG_CPU is not set ++ ++# ++# Hardware crypto devices ++# ++# CONFIG_FSL_CAAM is not set ++# CONFIG_SYS_FSL_SEC_BE is not set ++# CONFIG_SYS_FSL_SEC_LE is not set ++ ++# ++# Demo for driver model ++# ++# CONFIG_DM_DEMO is not set ++# CONFIG_BOARD is not set ++ ++# ++# DFU support ++# ++ ++# ++# DMA Support ++# ++# CONFIG_DMA is not set ++# CONFIG_TI_EDMA3 is not set ++ ++# ++# Fastboot support ++# ++# CONFIG_USB_FUNCTION_FASTBOOT is not set ++# CONFIG_UDP_FUNCTION_FASTBOOT is not set ++# CONFIG_FIRMWARE is not set ++# CONFIG_ZYNQMP_FIRMWARE is not set ++ ++# ++# FPGA support ++# ++# CONFIG_FPGA_ALTERA is not set ++# CONFIG_FPGA_SOCFPGA is not set ++# CONFIG_FPGA_XILINX is not set ++ ++# ++# GPIO Support ++# ++# CONFIG_GPIO_HOG is not set ++# CONFIG_ALTERA_PIO is not set ++# CONFIG_DWAPB_GPIO is not set ++# CONFIG_AT91_GPIO is not set ++# CONFIG_ATMEL_PIO4 is not set ++# CONFIG_DA8XX_GPIO is not set ++# CONFIG_INTEL_BROADWELL_GPIO is not set ++# CONFIG_INTEL_GPIO is not set ++# CONFIG_INTEL_ICH6_GPIO is not set ++# CONFIG_IMX_RGPIO2P is not set ++# CONFIG_HSDK_CREG_GPIO is not set ++# CONFIG_LPC32XX_GPIO is not set ++# CONFIG_MSM_GPIO is not set ++# CONFIG_MXC_GPIO is not set ++# CONFIG_MXS_GPIO is not set ++CONFIG_OMAP_GPIO=y ++# CONFIG_CMD_PCA953X is not set ++# CONFIG_ROCKCHIP_GPIO is not set ++# CONFIG_XILINX_GPIO is not set ++# CONFIG_CMD_TCA642X is not set ++# CONFIG_TEGRA_GPIO is not set ++# CONFIG_TEGRA186_GPIO is not set ++# CONFIG_VYBRID_GPIO is not set ++# CONFIG_SIFIVE_GPIO is not set ++# CONFIG_DM_74X164 is not set ++# CONFIG_DM_PCA953X is not set ++# CONFIG_SPL_DM_PCA953X is not set ++# CONFIG_MPC8XXX_GPIO is not set ++ ++# ++# Hardware Spinlock Support ++# ++# CONFIG_DM_HWSPINLOCK is not set ++ ++# ++# I2C support ++# ++# CONFIG_DM_I2C is not set ++# CONFIG_SYS_I2C_DW is not set ++# CONFIG_SYS_I2C_IMX_LPI2C is not set ++# CONFIG_SYS_I2C_MXC is not set ++CONFIG_SYS_I2C_OMAP24XX=y ++CONFIG_SYS_OMAP24_I2C_SLAVE=1 ++CONFIG_SYS_OMAP24_I2C_SPEED=100000 ++CONFIG_SYS_I2C_BUS_MAX=3 ++CONFIG_INPUT=y ++# CONFIG_DM_KEYBOARD is not set ++# CONFIG_CROS_EC_KEYB is not set ++# CONFIG_TEGRA_KEYBOARD is not set ++# CONFIG_TWL4030_INPUT is not set ++ ++# ++# LED Support ++# ++# CONFIG_LED is not set ++# CONFIG_LED_STATUS is not set ++ ++# ++# Mailbox Controller Support ++# ++# CONFIG_DM_MAILBOX is not set ++ ++# ++# Memory Controller drivers ++# ++ ++# ++# Multifunction device drivers ++# ++# CONFIG_MISC is not set ++# CONFIG_CROS_EC is not set ++# CONFIG_SPL_CROS_EC is not set ++# CONFIG_DS4510 is not set ++# CONFIG_FSL_SEC_MON is not set ++# CONFIG_NUVOTON_NCT6102D is not set ++# CONFIG_PWRSEQ is not set ++# CONFIG_PCA9551_LED is not set ++# CONFIG_TWL4030_LED is not set ++# CONFIG_WINBOND_W83627 is not set ++# CONFIG_FS_LOADER is not set ++ ++# ++# MMC Host controller Support ++# ++CONFIG_MMC=y ++CONFIG_MMC_WRITE=y ++# CONFIG_MMC_BROKEN_CD is not set ++# CONFIG_DM_MMC is not set ++CONFIG_MMC_QUIRKS=y ++CONFIG_MMC_HW_PARTITIONING=y ++# CONFIG_SUPPORT_EMMC_RPMB is not set ++# CONFIG_SUPPORT_EMMC_BOOT is not set ++# CONFIG_MMC_IO_VOLTAGE is not set ++# CONFIG_SPL_MMC_IO_VOLTAGE is not set ++# CONFIG_MMC_HS400_ES_SUPPORT is not set ++# CONFIG_SPL_MMC_HS400_ES_SUPPORT is not set ++# CONFIG_MMC_HS400_SUPPORT is not set ++# CONFIG_SPL_MMC_HS400_SUPPORT is not set ++# CONFIG_MMC_HS200_SUPPORT is not set ++# CONFIG_SPL_MMC_HS200_SUPPORT is not set ++CONFIG_MMC_VERBOSE=y ++# CONFIG_MMC_TRACE is not set ++# CONFIG_MMC_DW is not set ++# CONFIG_MMC_MXC is not set ++# CONFIG_MMC_PCI is not set + CONFIG_MMC_OMAP_HS=y ++# CONFIG_MMC_OMAP_HS_ADMA is not set ++# CONFIG_MMC_SDHCI is not set ++# CONFIG_FTSDC010 is not set ++# CONFIG_FSL_ESDHC is not set ++# CONFIG_FSL_ESDHC_IMX is not set ++ ++# ++# MTD Support ++# + CONFIG_MTD=y ++# CONFIG_DM_MTD is not set ++# CONFIG_MTD_NOR_FLASH is not set ++# CONFIG_SYS_MTDPARTS_RUNTIME is not set ++# CONFIG_FLASH_CFI_DRIVER is not set + CONFIG_MTD_RAW_NAND=y ++# CONFIG_SYS_NAND_USE_FLASH_BBT is not set ++# CONFIG_NAND_ATMEL is not set ++# CONFIG_NAND_DAVINCI is not set ++# CONFIG_NAND_LPC32XX_SLC is not set ++CONFIG_NAND_OMAP_GPMC=y ++CONFIG_NAND_OMAP_GPMC_PREFETCH=y ++CONFIG_NAND_OMAP_ELM=y ++# CONFIG_NAND_VF610_NFC is not set ++# CONFIG_NAND_PXA3XX is not set ++# CONFIG_NAND_ARASAN is not set ++# CONFIG_NAND_ZYNQ is not set ++ ++# ++# Generic NAND options ++# ++# CONFIG_SYS_NAND_BUSWIDTH_16BIT is not set ++# CONFIG_SYS_NAND_U_BOOT_LOCATIONS is not set ++CONFIG_SPL_NAND_AM33XX_BCH=y ++# CONFIG_SPL_NAND_DENALI is not set ++ ++# ++# SPI Flash Support ++# ++# CONFIG_DM_SPI_FLASH is not set ++# CONFIG_SPI_FLASH is not set ++ ++# ++# UBI support ++# ++# CONFIG_UBI_SILENCE_MSG is not set ++# CONFIG_MTD_UBI is not set ++# CONFIG_BITBANGMII is not set ++# CONFIG_MV88E6352_SWITCH is not set ++CONFIG_PHYLIB=y ++# CONFIG_PHY_ADDR_ENABLE is not set ++# CONFIG_B53_SWITCH is not set ++# CONFIG_MV88E61XX_SWITCH is not set ++# CONFIG_PHYLIB_10G is not set ++# CONFIG_PHY_AQUANTIA is not set ++# CONFIG_PHY_ATHEROS is not set ++# CONFIG_PHY_BROADCOM is not set ++# CONFIG_PHY_CORTINA is not set ++# CONFIG_PHY_DAVICOM is not set ++# CONFIG_PHY_ET1011C is not set ++# CONFIG_PHY_LXT is not set ++# CONFIG_PHY_MARVELL is not set ++# CONFIG_PHY_MESON_GXL is not set ++# CONFIG_PHY_MICREL is not set ++# CONFIG_PHY_MSCC is not set + CONFIG_PHY_NATSEMI=y + CONFIG_PHY_REALTEK=y ++# CONFIG_RTL8211E_PINE64_GIGABIT_FIX is not set ++# CONFIG_RTL8211X_PHY_FORCE_MASTER is not set ++# CONFIG_RTL8211F_PHY_FORCE_EEE_RXC_ON is not set ++# CONFIG_PHY_SMSC is not set ++# CONFIG_PHY_TERANETICS is not set ++# CONFIG_PHY_TI is not set ++# CONFIG_PHY_VITESSE is not set ++# CONFIG_PHY_XILINX is not set ++# CONFIG_PHY_XILINX_GMII2RGMII is not set ++# CONFIG_FSL_PFE is not set ++# CONFIG_DM_ETH is not set ++# CONFIG_DM_ETH_PHY is not set ++CONFIG_NETDEVICES=y ++# CONFIG_PHY_GIGE is not set ++# CONFIG_BCM_SF2_ETH is not set ++# CONFIG_E1000 is not set ++# CONFIG_ETH_DESIGNWARE is not set ++# CONFIG_ETHOC is not set ++# CONFIG_FMAN_ENET is not set ++# CONFIG_FTMAC100 is not set ++# CONFIG_KS8851_MLL is not set ++# CONFIG_RGMII is not set + CONFIG_MII=y ++# CONFIG_RTL8139 is not set ++# CONFIG_RTL8169 is not set ++# CONFIG_SMC911X is not set ++# CONFIG_SUN7I_GMAC is not set ++# CONFIG_SH_ETHER is not set + CONFIG_DRIVER_TI_CPSW=y ++# CONFIG_DRIVER_TI_EMAC is not set ++# CONFIG_DRIVER_TI_KEYSTONE_NET is not set ++# CONFIG_SYS_DPAA_QBMAN is not set ++# CONFIG_TSEC_ENET is not set ++# CONFIG_PCI is not set ++ ++# ++# PCI Endpoint ++# ++# CONFIG_PCI_ENDPOINT is not set ++# CONFIG_X86_PCH7 is not set ++# CONFIG_X86_PCH9 is not set ++ ++# ++# PHY Subsystem ++# ++# CONFIG_PHY is not set ++# CONFIG_SPL_PHY is not set ++ ++# ++# Rockchip PHY driver ++# ++# CONFIG_MVEBU_COMPHY_SUPPORT is not set ++ ++# ++# Pin controllers ++# ++# CONFIG_PINCTRL is not set ++ ++# ++# Power ++# ++# CONFIG_ACPI_PMC is not set ++# CONFIG_SPL_ACPI_PMC is not set ++# CONFIG_TPL_ACPI_PMC is not set ++ ++# ++# Power Domain Support ++# ++# CONFIG_POWER_DOMAIN is not set ++# CONFIG_DM_PMIC is not set ++# CONFIG_PMIC_AS3722 is not set ++# CONFIG_POWER_MC34VR500 is not set ++# CONFIG_DM_REGULATOR is not set ++# CONFIG_POWER_MT6323 is not set ++# CONFIG_DM_PWM is not set ++# CONFIG_PWM_IMX is not set ++# CONFIG_PWM_SANDBOX is not set ++# CONFIG_U_QE is not set ++# CONFIG_RAM is not set ++ ++# ++# Remote Processor drivers ++# ++ ++# ++# Reset Controller Support ++# ++# CONFIG_DM_RESET is not set ++# CONFIG_DM_RNG is not set ++ ++# ++# Real Time Clock ++# ++# CONFIG_DM_RTC is not set ++# CONFIG_RTC_ENABLE_32KHZ_OUTPUT is not set ++# CONFIG_RTC_RX8025 is not set ++# CONFIG_RTC_PL031 is not set ++# CONFIG_RTC_S35392A is not set ++# CONFIG_RTC_MC146818 is not set ++# CONFIG_RTC_M41T62 is not set ++# CONFIG_SCSI is not set ++ ++# ++# Serial drivers ++# ++CONFIG_BAUDRATE=115200 ++CONFIG_REQUIRE_SERIAL_CONSOLE=y ++CONFIG_SPECIFY_CONSOLE_INDEX=y ++CONFIG_SERIAL_PRESENT=y ++CONFIG_SPL_SERIAL_PRESENT=y ++CONFIG_CONS_INDEX=1 ++CONFIG_DM_SERIAL=y ++# CONFIG_SERIAL_RX_BUFFER is not set ++# CONFIG_SERIAL_SEARCH_ALL is not set ++# CONFIG_ALTERA_JTAG_UART is not set ++# CONFIG_ALTERA_UART is not set ++# CONFIG_ARC_SERIAL is not set ++# CONFIG_ARM_DCC is not set ++# CONFIG_ATMEL_USART is not set ++# CONFIG_BCM6345_SERIAL is not set ++# CONFIG_COREBOOT_SERIAL is not set ++# CONFIG_CORTINA_UART is not set ++# CONFIG_FSL_LINFLEXUART is not set ++# CONFIG_FSL_LPUART is not set ++# CONFIG_MVEBU_A3700_UART is not set ++# CONFIG_MCFUART is not set ++# CONFIG_NULLDEV_SERIAL is not set ++CONFIG_SYS_NS16550=y ++# CONFIG_NS16550_DYNAMIC is not set ++# CONFIG_PL01X_SERIAL is not set ++# CONFIG_MSM_SERIAL is not set ++CONFIG_OMAP_SERIAL=y ++# CONFIG_PXA_SERIAL is not set ++# CONFIG_SIFIVE_SERIAL is not set ++# CONFIG_MTK_SERIAL is not set ++# CONFIG_SMEM is not set ++ ++# ++# Sound support ++# ++# CONFIG_SOUND is not set ++ ++# ++# SOC (System On Chip) specific Drivers ++# ++# CONFIG_SOC_TI is not set + CONFIG_SPI=y ++# CONFIG_DM_SPI=y ++# CONFIG_SPI_MEM is not set ++# CONFIG_ALTERA_SPI is not set ++# CONFIG_ATCSPI200_SPI is not set ++# CONFIG_ATMEL_SPI is not set ++# CONFIG_BCMSTB_SPI is not set ++# CONFIG_CADENCE_QSPI is not set ++# CONFIG_CF_SPI is not set ++# CONFIG_DESIGNWARE_SPI is not set ++# CONFIG_EXYNOS_SPI is not set ++# CONFIG_FSL_DSPI is not set ++# CONFIG_FSL_QSPI is not set ++# CONFIG_ICH_SPI is not set ++# CONFIG_MPC8XXX_SPI is not set ++# CONFIG_MVEBU_A3700_SPI is not set ++# CONFIG_MXS_SPI is not set ++# CONFIG_PL022_SPI is not set ++# CONFIG_ROCKCHIP_SPI is not set ++# CONFIG_SPI_SIFIVE is not set ++# CONFIG_SOFT_SPI is not set ++# CONFIG_SPI_SUNXI is not set ++# CONFIG_TEGRA114_SPI is not set ++# CONFIG_TEGRA20_SFLASH is not set ++# CONFIG_TEGRA20_SLINK is not set ++# CONFIG_TEGRA210_QSPI is not set ++# CONFIG_TI_QSPI is not set ++# CONFIG_XILINX_SPI is not set ++# CONFIG_FSL_ESPI is not set ++# CONFIG_SH_QSPI is not set ++# CONFIG_KIRKWOOD_SPI is not set ++# CONFIG_MXC_SPI is not set + CONFIG_OMAP3_SPI=y ++ ++# ++# SPMI support ++# ++# CONFIG_SPMI is not set ++ ++# ++# System reset device drivers ++# ++# CONFIG_SYSRESET is not set ++# CONFIG_SYSRESET_SYSCON is not set ++# CONFIG_SYSRESET_WATCHDOG is not set ++# CONFIG_SYSRESET_RESETCTL is not set ++# CONFIG_SYSRESET_MPC83XX is not set ++# CONFIG_TEE is not set ++# CONFIG_OPTEE is not set ++# CONFIG_DM_THERMAL is not set ++ ++# ++# Timer Support ++# ++# CONFIG_TIMER is not set ++ ++# ++# TPM support ++# ++CONFIG_TPM_V1=y ++# CONFIG_TPM_ATMEL_TWI is not set ++# CONFIG_TPM_AUTH_SESSIONS is not set ++# CONFIG_TPM_ST33ZP24_SPI is not set ++# CONFIG_TPM_FLUSH_RESOURCES is not set ++# CONFIG_TPM_LOAD_KEY_BY_SHA1 is not set ++# CONFIG_TPM_LIST_RESOURCES is not set ++CONFIG_TPM_V2=y ++# CONFIG_TPM2_TIS_SPI is not set + CONFIG_USB=y ++# CONFIG_DM_USB is not set ++ ++# ++# USB Host Controller Drivers ++# ++# CONFIG_USB_XHCI_HCD is not set ++# CONFIG_USB_EHCI_HCD is not set ++# CONFIG_USB_OHCI_HCD is not set ++# CONFIG_USB_UHCI_HCD is not set ++# CONFIG_USB_DWC2 is not set ++# CONFIG_USB_CDNS3 is not set ++# CONFIG_USB_DWC3 is not set ++ ++# ++# Legacy MUSB Support ++# ++# CONFIG_USB_MUSB_HCD is not set ++# CONFIG_USB_MUSB_UDC is not set ++# CONFIG_USB_OMAP3 is not set ++# CONFIG_USB_AM35X is not set ++ ++# ++# MUSB Controller Driver ++# + CONFIG_USB_MUSB_HOST=y + CONFIG_USB_MUSB_GADGET=y ++# CONFIG_USB_MUSB_OMAP2PLUS is not set ++# CONFIG_USB_MUSB_AM35X is not set + CONFIG_USB_MUSB_DSPS=y ++CONFIG_USB_MUSB_DISABLE_BULK_COMBINE_SPLIT=y ++CONFIG_USB_MUSB_PIO_ONLY=y ++ ++# ++# USB Phy ++# ++# CONFIG_TWL4030_USB is not set ++# CONFIG_OMAP_USB_PHY is not set ++# CONFIG_ROCKCHIP_USB2_PHY is not set ++ ++# ++# ULPI drivers ++# ++ ++# ++# USB peripherals ++# ++CONFIG_USB_STORAGE=y ++# CONFIG_USB_KEYBOARD is not set + CONFIG_USB_GADGET=y ++CONFIG_USB_GADGET_MANUFACTURER="U-Boot" ++CONFIG_USB_GADGET_VENDOR_NUM=0x0 ++CONFIG_USB_GADGET_PRODUCT_NUM=0x0 ++# CONFIG_USB_GADGET_ATMEL_USBA is not set ++# CONFIG_USB_GADGET_BCM_UDC_OTG_PHY is not set ++# CONFIG_USB_GADGET_DWC2_OTG is not set ++# CONFIG_CI_UDC is not set ++CONFIG_USB_GADGET_VBUS_DRAW=2 ++CONFIG_SDP_LOADADDR=0 ++CONFIG_USB_GADGET_DUALSPEED=y ++# CONFIG_USB_GADGET_DOWNLOAD is not set ++# CONFIG_USB_ETHER is not set ++# CONFIG_USB_HOST_ETHER is not set ++ ++# ++# UFS Host Controller Support ++# ++# CONFIG_TI_J721E_UFS is not set ++ ++# ++# Graphics support ++# ++# CONFIG_DM_VIDEO is not set ++# CONFIG_SYS_WHITE_ON_BLACK is not set ++# CONFIG_NO_FB_CLEAR is not set ++ ++# ++# TrueType Fonts ++# ++# CONFIG_VIDEO_VESA is not set ++# CONFIG_VIDEO_LCD_ANX9804 is not set ++# CONFIG_VIDEO_LCD_SSD2828 is not set ++# CONFIG_VIDEO_MVEBU is not set ++# CONFIG_VIDEO_OMAP3 is not set ++# CONFIG_I2C_EDID is not set ++# CONFIG_DISPLAY is not set ++# CONFIG_VIDEO_TEGRA20 is not set ++# CONFIG_VIDEO_BRIDGE is not set ++# CONFIG_VIDEO is not set ++# CONFIG_LCD is not set ++# CONFIG_VIDEO_SIMPLE is not set ++# CONFIG_VIDEO_DT_SIMPLEFB is not set ++# CONFIG_OSD is not set ++ ++# ++# VirtIO Drivers ++# ++# CONFIG_VIRTIO_MMIO is not set ++ ++# ++# 1-Wire support ++# ++# CONFIG_W1 is not set ++ ++# ++# 1-wire EEPROM support ++# ++# CONFIG_W1_EEPROM is not set ++ ++# ++# Watchdog Timer Support ++# ++# CONFIG_WATCHDOG is not set ++CONFIG_WATCHDOG_TIMEOUT_MSECS=60000 ++# CONFIG_WATCHDOG_RESET_DISABLE is not set ++# CONFIG_IMX_WATCHDOG is not set ++# CONFIG_OMAP_WATCHDOG is not set ++# CONFIG_ULP_WATCHDOG is not set ++# CONFIG_DESIGNWARE_WATCHDOG is not set ++# CONFIG_WDT is not set ++# CONFIG_PHYS_TO_BUS is not set ++ ++# ++# File systems ++# ++# CONFIG_FS_BTRFS is not set ++# CONFIG_FS_CBFS is not set ++# CONFIG_SPL_FS_CBFS is not set ++CONFIG_FS_EXT4=y ++CONFIG_EXT4_WRITE=y ++CONFIG_FS_FAT=y + CONFIG_FAT_WRITE=y ++CONFIG_FS_FAT_MAX_CLUSTSIZE=65536 ++# CONFIG_FS_JFFS2 is not set ++# CONFIG_UBIFS_SILENCE_MSG is not set ++# CONFIG_FS_CRAMFS is not set ++# CONFIG_YAFFS2 is not set ++ ++# ++# Library routines ++# ++# CONFIG_BCH is not set ++# CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED is not set ++# CONFIG_DYNAMIC_CRC_TABLE is not set ++CONFIG_HAVE_PRIVATE_LIBGCC=y ++CONFIG_LIB_UUID=y ++CONFIG_PRINTF=y ++CONFIG_SPL_PRINTF=y ++CONFIG_SPRINTF=y ++CONFIG_SPL_SPRINTF=y ++CONFIG_STRTO=y ++CONFIG_SPL_STRTO=y ++CONFIG_USE_PRIVATE_LIBGCC=y ++CONFIG_SYS_HZ=1000 ++CONFIG_SPL_USE_TINY_PRINTF=y ++# CONFIG_PANIC_HANG is not set ++CONFIG_REGEX=y ++# CONFIG_SPL_TINY_MEMSET is not set ++# CONFIG_TPL_TINY_MEMSET is not set ++# CONFIG_BITREVERSE is not set ++# CONFIG_TRACE is not set ++# CONFIG_CMD_DHRYSTONE is not set ++ ++# ++# Security support ++# ++# CONFIG_AES is not set ++# CONFIG_RSA is not set ++# CONFIG_ASYMMETRIC_KEY_TYPE is not set ++CONFIG_TPM=y ++ ++# ++# Android Verified Boot ++# ++ ++# ++# Hashing Support ++# ++CONFIG_SHA1=y ++CONFIG_SHA256=y ++# CONFIG_SHA_HW_ACCEL is not set ++CONFIG_MD5=y ++# CONFIG_SPL_MD5 is not set ++ ++# ++# Compression Support ++# ++# CONFIG_LZ4 is not set ++# CONFIG_LZMA is not set ++# CONFIG_LZO is not set ++CONFIG_GZIP=y ++# CONFIG_BZIP2 is not set ++CONFIG_ZLIB=y ++# CONFIG_ZSTD is not set ++# CONFIG_SPL_LZ4 is not set ++# CONFIG_SPL_LZMA is not set ++# CONFIG_SPL_LZO is not set ++# CONFIG_SPL_GZIP is not set ++# CONFIG_SPL_ZSTD is not set ++# CONFIG_ERRNO_STR is not set ++# CONFIG_HEXDUMP is not set + CONFIG_OF_LIBFDT=y ++CONFIG_OF_LIBFDT_ASSUME_MASK=0 ++CONFIG_OF_LIBFDT_OVERLAY=y ++# CONFIG_SPL_OF_LIBFDT is not set ++CONFIG_SPL_OF_LIBFDT_ASSUME_MASK=0xff ++# CONFIG_TPL_OF_LIBFDT is not set ++CONFIG_TPL_OF_LIBFDT_ASSUME_MASK=0xff ++# CONFIG_FDT_FIXUP_PARTITIONS is not set ++ ++# ++# System tables ++# ++CONFIG_GENERATE_SMBIOS_TABLE=y ++CONFIG_SMBIOS_MANUFACTURER="silica" ++CONFIG_EFI_LOADER=y ++CONFIG_EFI_DEVICE_PATH_TO_TEXT=y ++CONFIG_EFI_LOADER_HII=y ++CONFIG_EFI_UNICODE_COLLATION_PROTOCOL2=y ++CONFIG_EFI_UNICODE_CAPITALIZATION=y ++# CONFIG_EFI_UNICODE_COLLATION_PROTOCOL is not set ++CONFIG_EFI_PLATFORM_LANG_CODES="en-US" ++CONFIG_EFI_GRUB_ARM32_WORKAROUND=y ++# CONFIG_EFI_LOAD_FILE2_INITRD is not set ++# CONFIG_EFI_SECURE_BOOT is not set ++# CONFIG_TEST_FDTDEC is not set ++CONFIG_LIB_ELF=y ++# CONFIG_UNIT_TEST is not set diff --git a/recipes-bsp/u-boot/files/0002-pengwyn-spi-mux.patch b/recipes-bsp/u-boot/files/0002-pengwyn-spi-mux.patch new file mode 100644 index 0000000..5ffb83e --- /dev/null +++ b/recipes-bsp/u-boot/files/0002-pengwyn-spi-mux.patch @@ -0,0 +1,28 @@ +--- a/board/silica/pengwyn/mux.c ++++ b/board/silica/pengwyn/mux.c +@@ -30,6 +30,17 @@ static struct module_pin_mux i2c0_pin_mux[] = { + {-1}, + }; + ++/* SPI0 pins */ ++static struct module_pin_mux spi0_pin_mux[] = { ++ {OFFSET(spi0_sclk), (MODE(0) | RXACTIVE | PULLUDEN)}, /* SPI0_SCLK */ ++ {OFFSET(spi0_d0), (MODE(0) | RXACTIVE | ++ PULLUDEN | PULLUP_EN)}, /* SPI0_D0 */ ++ {OFFSET(spi0_d1), (MODE(0) | RXACTIVE | PULLUDEN)}, /* SPI0_D1 */ ++ {OFFSET(spi0_cs0), (MODE(0) | RXACTIVE | ++ PULLUDEN | PULLUP_EN)}, /* SPI0_CS0 */ ++ {-1}, ++}; ++ + /* MMC0 pins */ + static struct module_pin_mux mmc0_pin_mux[] = { + {OFFSET(mmc0_dat3), (MODE(0) | RXACTIVE | PULLUP_EN)}, /* MMC0_DAT3 */ +@@ -90,6 +101,7 @@ void enable_uart0_pin_mux(void) + void enable_board_pin_mux() + { + configure_module_pin_mux(i2c0_pin_mux); ++ configure_module_pin_mux(spi0_pin_mux); + configure_module_pin_mux(uart0_pin_mux); + configure_module_pin_mux(mii1_pin_mux); + configure_module_pin_mux(mmc0_pin_mux); diff --git a/recipes-bsp/u-boot/files/0003-pengwyn-add-dts-to-makefile.patch b/recipes-bsp/u-boot/files/0003-pengwyn-add-dts-to-makefile.patch new file mode 100644 index 0000000..b60d469 --- /dev/null +++ b/recipes-bsp/u-boot/files/0003-pengwyn-add-dts-to-makefile.patch @@ -0,0 +1,10 @@ +--- a/arch/arm/dts/Makefile ++++ b/arch/arm/dts/Makefile +@@ -321,6 +321,7 @@ dtb-$(CONFIG_AM33XX) += \ + am335x-evmsk.dtb \ + am335x-bonegreen.dtb \ + am335x-icev2.dtb \ ++ am335x-pengwyn.dtb \ + am335x-pocketbeagle.dtb \ + am335x-pxm50.dtb \ + am335x-rut.dtb \ diff --git a/recipes-bsp/u-boot/files/am335x-pengwyn.dts b/recipes-bsp/u-boot/files/am335x-pengwyn.dts new file mode 100644 index 0000000..03f7b91 --- /dev/null +++ b/recipes-bsp/u-boot/files/am335x-pengwyn.dts @@ -0,0 +1,464 @@ +/* + * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ +/dts-v1/; + +#include "am33xx.dtsi" +#include + +/ { + model = "TI AM335x Silica Pengwyn"; + compatible = "ti,am335x-pengwyn", "ti,am33xx"; + + chosen { + stdout-path = &uart0; + tick-timer = &timer2; + }; + + cpus { + cpu@0 { + cpu0-supply = <&vdd1_reg>; + }; + }; + + memory { + device_type = "memory"; + reg = <0x80000000 0x10000000>; /* 256 MB */ + }; + + vbat: fixedregulator@0 { + compatible = "regulator-fixed"; + regulator-name = "vbat"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-boot-on; + }; + + vmmcsd_fixed: fixedregulator0 { + compatible = "regulator-fixed"; + regulator-name = "vmmcsd_fixed"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; +}; + +&am33xx_pinmux { + pinctrl-names = "default"; + pinctrl-0 = <&clkout2_pin>; + + i2c0_pins: pinmux_i2c0_pins { + pinctrl-single,pins = < + 0x188 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_sda.i2c0_sda */ + 0x18c (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_scl.i2c0_scl */ + >; + }; + + spi0_pins: pinmux_spi0_pins { + pinctrl-single,pins = < + 0x150 (PIN_INPUT_PULLDOWN | MUX_MODE0) /* (A17) spi0_sclk.spi0_sclk */ + 0x154 (PIN_OUTPUT | MUX_MODE0) /* (B17) spi0_d0.spi0_d0 */ + 0x158 (PIN_INPUT | MUX_MODE0) /* (B16) spi0_d1.spi0_d1 */ + 0x15c (PIN_OUTPUT | MUX_MODE0) /* (A16) spi0_cs0.spi0_cs0 */ + + /* AM33XX_PADCONF(AM335X_PIN_SPI0_CS0, PIN_INPUT, MUX_MODE0) */ + /* AM33XX_PADCONF(AM335X_PIN_SPI0_D0, PIN_INPUT, MUX_MODE0) */ /* spi0_d0_mosi, external pullup */ + /* AM33XX_PADCONF(AM335X_PIN_SPI0_D1, PIN_INPUT, MUX_MODE0) */ /* spi0_d1_miso */ + /* AM33XX_PADCONF(AM335X_PIN_SPI0_SCLK, PIN_INPUT, MUX_MODE0) */ /* external pullup */ + >; + }; + + uart0_pins: pinmux_uart0_pins { + pinctrl-single,pins = < + 0x170 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart0_rxd.uart0_rxd */ + 0x174 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart0_txd.uart0_txd */ + >; + }; + + clkout2_pin: pinmux_clkout2_pin { + pinctrl-single,pins = < + 0x1b4 (PIN_OUTPUT_PULLDOWN | MUX_MODE3) /* xdma_event_intr1.clkout2 */ + >; + }; + + nandflash_pins_s0: nandflash_pins_s0 { + pinctrl-single,pins = < + 0x0 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad0.gpmc_ad0 */ + 0x4 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad1.gpmc_ad1 */ + 0x8 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad2.gpmc_ad2 */ + 0xc (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad3.gpmc_ad3 */ + 0x10 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad4.gpmc_ad4 */ + 0x14 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad5.gpmc_ad5 */ + 0x18 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad6.gpmc_ad6 */ + 0x1c (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_ad7.gpmc_ad7 */ + 0x70 (PIN_INPUT_PULLUP | MUX_MODE0) /* gpmc_wait0.gpmc_wait0 */ + 0x74 (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_wpn.gpio0_30 */ + 0x7c (PIN_OUTPUT | MUX_MODE0) /* gpmc_csn0.gpmc_csn0 */ + 0x90 (PIN_OUTPUT | MUX_MODE0) /* gpmc_advn_ale.gpmc_advn_ale */ + 0x94 (PIN_OUTPUT | MUX_MODE0) /* gpmc_oen_ren.gpmc_oen_ren */ + 0x98 (PIN_OUTPUT | MUX_MODE0) /* gpmc_wen.gpmc_wen */ + 0x9c (PIN_OUTPUT | MUX_MODE0) /* gpmc_be0n_cle.gpmc_be0n_cle */ + >; + }; + + cpsw_default: cpsw_default { + pinctrl-single,pins = < + /* Slave 1 */ + 0x114 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txen.rgmii1_tctl */ + 0x118 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxdv.rgmii1_rctl */ + 0x11c (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd3.rgmii1_td3 */ + 0x120 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd2.rgmii1_td2 */ + 0x124 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd1.rgmii1_td1 */ + 0x128 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txd0.rgmii1_td0 */ + 0x12c (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mii1_txclk.rgmii1_tclk */ + 0x130 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxclk.rgmii1_rclk */ + 0x134 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd3.rgmii1_rd3 */ + 0x138 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd2.rgmii1_rd2 */ + 0x13c (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd1.rgmii1_rd1 */ + 0x140 (PIN_INPUT_PULLDOWN | MUX_MODE2) /* mii1_rxd0.rgmii1_rd0 */ + >; + }; + + cpsw_sleep: cpsw_sleep { + pinctrl-single,pins = < + /* Slave 1 reset value */ + 0x114 (PIN_INPUT_PULLDOWN | MUX_MODE7) + 0x118 (PIN_INPUT_PULLDOWN | MUX_MODE7) + 0x11c (PIN_INPUT_PULLDOWN | MUX_MODE7) + 0x120 (PIN_INPUT_PULLDOWN | MUX_MODE7) + 0x124 (PIN_INPUT_PULLDOWN | MUX_MODE7) + 0x128 (PIN_INPUT_PULLDOWN | MUX_MODE7) + 0x12c (PIN_INPUT_PULLDOWN | MUX_MODE7) + 0x130 (PIN_INPUT_PULLDOWN | MUX_MODE7) + 0x134 (PIN_INPUT_PULLDOWN | MUX_MODE7) + 0x138 (PIN_INPUT_PULLDOWN | MUX_MODE7) + 0x13c (PIN_INPUT_PULLDOWN | MUX_MODE7) + 0x140 (PIN_INPUT_PULLDOWN | MUX_MODE7) + >; + }; + + davinci_mdio_default: davinci_mdio_default { + pinctrl-single,pins = < + /* MDIO */ + 0x148 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* mdio_data.mdio_data */ + 0x14c (PIN_OUTPUT_PULLUP | MUX_MODE0) /* mdio_clk.mdio_clk */ + >; + }; + + davinci_mdio_sleep: davinci_mdio_sleep { + pinctrl-single,pins = < + /* MDIO reset value */ + 0x148 (PIN_INPUT_PULLDOWN | MUX_MODE7) + 0x14c (PIN_INPUT_PULLDOWN | MUX_MODE7) + >; + }; + + mmc1_pins: pinmux_mmc1_pins { + pinctrl-single,pins = < + 0x160 (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */ + /* AM33XX_PADCONF(AM335X_PIN_MMC0_DAT0, PIN_INPUT_PULLUP, MUX_MODE0) */ + /* AM33XX_PADCONF(AM335X_PIN_MMC0_DAT1, PIN_INPUT_PULLUP, MUX_MODE0) */ + /* AM33XX_PADCONF(AM335X_PIN_MMC0_DAT2, PIN_INPUT_PULLUP, MUX_MODE0) */ + /* AM33XX_PADCONF(AM335X_PIN_MMC0_DAT3, PIN_INPUT_PULLUP, MUX_MODE0) */ + /* AM33XX_PADCONF(AM335X_PIN_MMC0_CMD, PIN_INPUT_PULLUP, MUX_MODE0) */ + /* AM33XX_PADCONF(AM335X_PIN_MMC0_CLK, PIN_INPUT_PULLUP, MUX_MODE0) */ + /* AM33XX_PADCONF(AM335X_PIN_MCASP0_ACLKX, PIN_INPUT, MUX_MODE4) */ /* mcasp0_aclkx.mmc0_sdcd */ + /* AM33XX_PADCONF(AM335X_PIN_MCASP0_ACLKR, PIN_INPUT, MUX_MODE4) */ /* mcasp0_aclkr.mmc0_sdwp */ + >; + }; +}; + +&uart0 { + pinctrl-names = "default"; + pinctrl-0 = <&uart0_pins>; + + status = "okay"; +}; + +&i2c0 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c0_pins>; + + status = "okay"; + clock-frequency = <400000>; + + tps: tps@2d { + reg = <0x2d>; + }; +}; + +&spi0 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&spi0_pins>; + ti,pindir-d0-out-d1-in; + + slb9670@0 { + compatible = "tis,tpm2-spi"; + reg = <1>; + spi-max-frequency = <12000000>; // 12 MHz + }; +}; + +&usb { + status = "okay"; +}; + +&usb_ctrl_mod { + status = "okay"; +}; + +&usb0_phy { + status = "okay"; +}; + +&usb1_phy { + status = "okay"; +}; + +&usb0 { + status = "okay"; +}; + +&usb1 { + status = "okay"; + dr_mode = "host"; +}; + +&cppi41dma { + status = "okay"; +}; + +&lcdc { + status = "okay"; +}; + +&elm { + status = "okay"; +}; + +&gpmc { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&nandflash_pins_s0>; + ranges = <0 0 0x08000000 0x1000000>; /* CS0: 16MB for NAND */ + nand@0,0 { + reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ + ti,nand-ecc-opt = "bch8"; + ti,elm-id = <&elm>; + nand-bus-width = <8>; + gpmc,device-width = <1>; + gpmc,sync-clk-ps = <0>; + gpmc,cs-on-ns = <0>; + gpmc,cs-rd-off-ns = <44>; + gpmc,cs-wr-off-ns = <44>; + gpmc,adv-on-ns = <6>; + gpmc,adv-rd-off-ns = <34>; + gpmc,adv-wr-off-ns = <44>; + gpmc,we-on-ns = <0>; + gpmc,we-off-ns = <40>; + gpmc,oe-on-ns = <0>; + gpmc,oe-off-ns = <54>; + gpmc,access-ns = <64>; + gpmc,rd-cycle-ns = <82>; + gpmc,wr-cycle-ns = <82>; + gpmc,wait-on-read = "true"; + gpmc,wait-on-write = "true"; + gpmc,bus-turnaround-ns = <0>; + gpmc,cycle2cycle-delay-ns = <0>; + gpmc,clk-activation-ns = <0>; + gpmc,wait-monitoring-ns = <0>; + gpmc,wr-access-ns = <40>; + gpmc,wr-data-mux-bus-ns = <0>; + /* MTD partition table */ + /* All SPL-* partitions are sized to minimal length + * which can be independently programmable. For + * NAND flash this is equal to size of erase-block */ + #address-cells = <1>; + #size-cells = <1>; + partition@0 { + label = "NAND.SPL"; + reg = <0x00000000 0x000020000>; + }; + partition@1 { + label = "NAND.SPL.backup1"; + reg = <0x00020000 0x00020000>; + }; + partition@2 { + label = "NAND.SPL.backup2"; + reg = <0x00040000 0x00020000>; + }; + partition@3 { + label = "NAND.SPL.backup3"; + reg = <0x00060000 0x00020000>; + }; + partition@4 { + label = "NAND.u-boot-spl-os"; + reg = <0x00080000 0x00040000>; + }; + partition@5 { + label = "NAND.u-boot"; + reg = <0x000C0000 0x00100000>; + }; + partition@6 { + label = "NAND.u-boot-env"; + reg = <0x001C0000 0x00020000>; + }; + partition@7 { + label = "NAND.u-boot-env.backup1"; + reg = <0x001E0000 0x00020000>; + }; + partition@8 { + label = "NAND.kernel"; + reg = <0x00200000 0x00800000>; + }; + partition@9 { + label = "NAND.file-system"; + reg = <0x00A00000 0x0F600000>; + }; + }; +}; + +#include "tps65910.dtsi" + +&tps { + vcc1-supply = <&vbat>; + vcc2-supply = <&vbat>; + vcc3-supply = <&vbat>; + vcc4-supply = <&vbat>; + vcc5-supply = <&vbat>; + vcc6-supply = <&vbat>; + vcc7-supply = <&vbat>; + vccio-supply = <&vbat>; + + regulators { + vrtc_reg: regulator@0 { + regulator-always-on; + }; + + vio_reg: regulator@1 { + regulator-always-on; + }; + + vdd1_reg: regulator@2 { + /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */ + regulator-name = "vdd_mpu"; + regulator-min-microvolt = <912500>; + regulator-max-microvolt = <1312500>; + regulator-boot-on; + regulator-always-on; + }; + + vdd2_reg: regulator@3 { + /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */ + regulator-name = "vdd_core"; + regulator-min-microvolt = <912500>; + regulator-max-microvolt = <1150000>; + regulator-boot-on; + regulator-always-on; + }; + + vdd3_reg: regulator@4 { + regulator-always-on; + }; + + vdig1_reg: regulator@5 { + regulator-always-on; + }; + + vdig2_reg: regulator@6 { + regulator-always-on; + }; + + vpll_reg: regulator@7 { + regulator-always-on; + }; + + vdac_reg: regulator@8 { + regulator-always-on; + }; + + vaux1_reg: regulator@9 { + regulator-always-on; + }; + + vaux2_reg: regulator@10 { + regulator-always-on; + }; + + vaux33_reg: regulator@11 { + regulator-always-on; + }; + + vmmc_reg: regulator@12 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + }; +}; + +&mac { + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&cpsw_default>; + pinctrl-1 = <&cpsw_sleep>; + status = "okay"; + slaves = <1>; +}; + +&davinci_mdio { + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&davinci_mdio_default>; + pinctrl-1 = <&davinci_mdio_sleep>; + status = "okay"; + + ethphy0: ethernet-phy@0 { + reg = <0>; + }; +}; + +&cpsw_emac0 { + phy-handle = <ðphy0>; + phy-mode = "rgmii-id"; +}; + +&tscadc { + status = "okay"; + tsc { + ti,wires = <4>; + ti,x-plate-resistance = <200>; + ti,coordinate-readouts = <5>; + ti,wire-config = <0x00 0x11 0x22 0x33>; + ti,charge-delay = <0x400>; + }; + + adc { + ti,adc-channels = <4 5 6 7>; + }; +}; + +&mmc1 { + status = "okay"; + vmmc-supply = <&vmmcsd_fixed>; + bus-width = <4>; + pinctrl-names = "default"; + pinctrl-0 = <&mmc1_pins>; + cd-gpios = <&gpio3 14 GPIO_ACTIVE_LOW>; // specify GPIOs for card detection + wp-gpios = <&gpio3 18 GPIO_ACTIVE_HIGH>; /* GPIO1_28 */ +}; + +&edma { + ti,edma-xbar-event-map = /bits/ 16 <1 12 + 2 13>; +}; + +&sham { + status = "okay"; +}; + +&aes { + status = "okay"; +}; diff --git a/recipes-bsp/u-boot/u-boot-ti-staging_2020.07.bb b/recipes-bsp/u-boot/u-boot-ti-staging_2020.07.bb index f089174..c0ec373 100644 --- a/recipes-bsp/u-boot/u-boot-ti-staging_2020.07.bb +++ b/recipes-bsp/u-boot/u-boot-ti-staging_2020.07.bb @@ -10,12 +10,22 @@ PR = "r33" BRANCH = "master" SRC_URI = " \ ${UBOOT_GIT_URI};protocol=${UBOOT_GIT_PROTOCOL};branch=${BRANCH} \ + file://0001-pengwyn-defconfig.patch \ + file://0002-pengwyn-spi-mux.patch \ + file://0003-pengwyn-add-dts-to-makefile.patch \ + file://am335x-pengwyn.dts \ file://uEnv.txt \ " - # Tag: v2020.07 SRCREV = "2f5fbb5b39f7b67044dda5c35e4a4b31685a3109" -do_deploy:append () { +S = "${WORKDIR}/git" + +do_configure:append() { + install -d ${S}/arch/arm/dts + install -m 0644 ${WORKDIR}/am335x-pengwyn.dts ${S}/arch/arm/dts +} + +do_deploy:append() { install -m 0644 ${WORKDIR}/uEnv.txt ${DEPLOY_DIR_IMAGE} }