Falcon on bb-black: SPL jumps to 'u-boot.img', although 'args' file exists.
Greetings Tom,
Requesting a tiny help.
A have read u-boots documentation on FALCON, and also consulted doc/board/ti/am335x_evm.rst and some examples from bootlin doc on falcon[1].
I am unable to understand why falcon_image_file and falcon_args_file are not being loaded, I have boot_os=yes. I have followed the FAT SD cards section of your Documentation, yet I am finding that SPL is loading u-boot.img from SD-card.
My config is as follows:CONFIG_ARM=yCONFIG_ARCH_CPU_INIT=yCONFIG_ARCH_OMAP2PLUS=yCONFIG_TI_COMMON_CMD_OPTIONS=yCONFIG_SF_DEFAULT_SPEED=24000000CONFIG_DEFAULT_DEVICE_TREE="am335x-evm"CONFIG_AM33XX=yCONFIG_CLOCK_SYNTHESIZER=yCONFIG_AM335X_USB0=yCONFIG_AM335X_USB0_PERIPHERAL=yCONFIG_AM335X_USB1=yCONFIG_SYS_BOOTM_LEN=0x1000000CONFIG_SPL=yCONFIG_TIMESTAMP=yCONFIG_FIT_SIGNATURE=yCONFIG_FIT_VERBOSE=yCONFIG_SPL_LOAD_FIT=yCONFIG_DISTRO_DEFAULTS=yCONFIG_OF_BOARD_SETUP=yCONFIG_BOOTCOMMAND="run findfdt; run init_console; run finduuid; rundistro_bootcmd"CONFIG_LOGLEVEL=3CONFIG_SYS_CONSOLE_INFO_QUIET=yCONFIG_SPL_SYS_MALLOC=yCONFIG_SPL_SYS_MALLOC_SIZE=0x800000CONFIG_SPL_FIT_IMAGE_TINY=yCONFIG_SPL_ETH=y
# CONFIG_SPL_FS_EXT4 is not setCONFIG_SPL_FS_LOAD_PAYLOAD_NAME="u-boot.img"CONFIG_SPL_MTD=yCONFIG_SPL_MUSB_NEW=yCONFIG_SPL_NAND_DRIVERS=yCONFIG_SPL_NAND_ECC=yCONFIG_SPL_NAND_BASE=yCONFIG_SPL_NET=yCONFIG_SPL_NET_VCI_STRING="AM335x U-Boot SPL"CONFIG_SPL_OS_BOOT=yCONFIG_SYS_NAND_SPL_KERNEL_OFFS=0x200000CONFIG_SPL_FALCON_BOOT_MMCSD=yCONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR=0x1700CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR=0x1500CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS=0x200CONFIG_CMD_EXTENSION=yCONFIG_CMD_SPL=yCONFIG_CMD_SPL_NAND_OFS=0x00080000CONFIG_SYS_I2C_EEPROM_ADDR_LEN=2CONFIG_CMD_NAND=y
# CONFIG_CMD_SETEXPR is not setCONFIG_BOOTP_DNS2=yCONFIG_CMD_MTDPARTS=yCONFIG_MTDIDS_DEFAULT="nand0=nand.0" CONFIG_MTDPARTS_DEFAULT="mtdparts=nand.0:128k(NAND.SPL),128k(NAND.SPL.backup1),128k(NAND.SPL.backup2),128k(NAND.SPL.backup3),256k(NAND.u-boot-spl-os),1m(NAND.u-boot),128k(NAND.u-boot-env),128k(NAND.u-boot-env.backup1),8m(NAND.kernel),-(NAND.file-system)" # CONFIG_SPL_EFI_PARTITION is not setCONFIG_OF_CONTROL=yCONFIG_OF_LIST="am335x-evm am335x-bone am335x-sancloud-bbe
am335x-sancloud-bbe-lite am335x-sancloud-bbe-extended-wifi
am335x-boneblack am335x-evmsk am335x-bonegreen am335x-icev2
am335x-pocketbeagle am335x-bonegreen-eco"CONFIG_ENV_OVERWRITE=yCONFIG_ENV_RELOC_GD_ENV_ADDR=yCONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=yCONFIG_SPL_ENV_IS_NOWHERE=yCONFIG_VERSION_VARIABLE=yCONFIG_NET_RETRY_COUNT=10CONFIG_BOOTP_SEND_HOSTNAME=yCONFIG_BOOTCOUNT_LIMIT=yCONFIG_SYS_BOOTCOUNT_BE=yCONFIG_CLK=yCONFIG_CLK_CDCE9XX=yCONFIG_CLK_TI_CTRL=yCONFIG_DFU_TFTP=yCONFIG_DFU_MMC=yCONFIG_DFU_NAND=yCONFIG_DFU_RAM=yCONFIG_USB_FUNCTION_FASTBOOT=yCONFIG_FASTBOOT_FLASH=yCONFIG_FASTBOOT_FLASH_MMC_DEV=1CONFIG_FASTBOOT_CMD_OEM_FORMAT=yCONFIG_DM_I2C=yCONFIG_MISC=yCONFIG_SYS_I2C_EEPROM_ADDR=0x50
# CONFIG_MMC_HW_PARTITIONING is not setCONFIG_MMC_OMAP_HS=yCONFIG_MTD=yCONFIG_MTD_RAW_NAND=yCONFIG_SYS_NAND_BLOCK_SIZE=0x20000CONFIG_SYS_NAND_ONFI_DETECTION=yCONFIG_SYS_NAND_PAGE_SIZE=0x800CONFIG_SYS_NAND_OOBSIZE=0x40CONFIG_SYS_NAND_U_BOOT_LOCATIONS=yCONFIG_SYS_NAND_U_BOOT_OFFS=0xc0000CONFIG_DM_SPI_FLASH=yCONFIG_SPI_FLASH_STMICRO=yCONFIG_SPI_FLASH_WINBOND=yCONFIG_PHY_ATHEROS=yCONFIG_PHY_SMSC=yCONFIG_PHY_TI_DP83867=yCONFIG_PHY_GIGE=yCONFIG_MII=yCONFIG_DRIVER_TI_CPSW=yCONFIG_DM_PMIC=y
# CONFIG_SPL_DM_PMIC is not setCONFIG_PMIC_TPS65217=yCONFIG_SPL_POWER_TPS65910=yCONFIG_SPI=yCONFIG_DM_SPI=yCONFIG_OMAP3_SPI=yCONFIG_TIMER=yCONFIG_OMAP_TIMER=yCONFIG_USB=yCONFIG_DM_USB_GADGET=yCONFIG_SPL_DM_USB_GADGET=yCONFIG_USB_MUSB_HOST=yCONFIG_USB_MUSB_GADGET=yCONFIG_USB_MUSB_TI=yCONFIG_USB_GADGET=yCONFIG_SPL_USB_GADGET=yCONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"CONFIG_USB_GADGET_VENDOR_NUM=0x0451CONFIG_USB_GADGET_PRODUCT_NUM=0xd022CONFIG_USB_ETHER=yCONFIG_SPL_USB_ETHER=yCONFIG_WDT=y
# CONFIG_SPL_WDT is not setCONFIG_DYNAMIC_CRC_TABLE=yCONFIG_LZO=y
Signature · 2 lines
Thanks, Sidharth Seela
Quoted 9 lines · Sidharth Seela
Greetings Tom,
Requesting a tiny help.
A have read u-boots documentation on FALCON, and also consulteddoc/board/ti/am335x_evm.rstand some examples from bootlin doc on falcon[1].I am unable to understand why
falcon_image_fileandfalcon_args_fileare not being loaded, I have boot_os=yes. I have followed the FAT SD cards section of your Documentation, yet I am finding that SPL is loading u-boot.img from SD-card.
It's been quite a while since anyone took this specific path, yes. You'll likely need to instrument things with some printf statements to see what's going on, and then patches to code or documentation once you've got this working would be much appreciated.
Signature · 1 line
Tom
Quoted 4 lines · Tom Rini
It's been quite a while since anyone took this specific path, yes. You'll likely need to instrument things with some printf statements to see what's going on, and then patches to code or documentation once you've got this working would be much appreciated.
Thankyou for replying, Tom. I hope to keep you updated, and would highly appreciate feedback along the way.
Signature · 2 lines
Thanks, Sidharth Seela