This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Sitara Linux Program the eMMC on Beaglebone Black

Other Parts Discussed in Thread: UNIFLASH

I have been trying to program the eMMC on beaglebone black using uniflash through ethernet interface. I have gathered all the files based on the below URL,

But  I am not able to flash the board. Please find the error that i am getting below, 

" U-Boot SPL 2014.07-00107-gd28f2b9 <Feb 18 2016 - 20:31:36> ### ERROR ### Please RESET the board ### "

 

This is the first step i have done and i have been using ti-sdk-am335x-evm-08.00.00.00. Then somebody in the ti e2e forum suggested me to use the latest SDK from repository. I have tried that also(ti-processor-sdk-linux-am335x-evm-02.00.01.07). With this i am getting a new error. Please find the error below,

" U-Boot SPL 2015.07-00080-gfa53e9d-dirty <Feb 22 2016 - 17:00:39> SPL: Unsupported Boot Device! ### ERROR ### Please RESET the board ### "

 

Can somebody please provide any help on this issue as we are stuck at this.

Note:We are tried with flasher image with ethernet support. To support boot from ethernet we removed R67 and Mounted R92 on the beaglebone black board.

  • I will forward this to the software team.
  • HI Biser,

    Thanks for your reply.

    I would like to know when i can expect the response on this one.

    Regards,
    Jitheesh Surendran
  • They will post directly here. Your thread is in the queue already.
  • Hi,

    Can you provide the steps, you've used to build the u-boot? Have you modified am335x_evm.h, ti_am335x_common.h or ti_armv7_common.h? 

    You can track your error in common/spl.c, in board_init_r():

    	boot_device = spl_boot_device();
    	debug("boot device - %d\n", boot_device);
    	switch (boot_device) {
    #ifdef CONFIG_SPL_RAM_DEVICE
    	case BOOT_DEVICE_RAM:
    		spl_ram_load_image();
    		break;
    #endif
    #ifdef CONFIG_SPL_MMC_SUPPORT
    	case BOOT_DEVICE_MMC1:
    	case BOOT_DEVICE_MMC2:
    	case BOOT_DEVICE_MMC2_2:
    		spl_mmc_load_image();
    		break;
    #endif
    #ifdef CONFIG_SPL_NAND_SUPPORT
    	case BOOT_DEVICE_NAND:
    		spl_nand_load_image();
    		break;
    #endif
    #ifdef CONFIG_SPL_ONENAND_SUPPORT
    	case BOOT_DEVICE_ONENAND:
    		spl_onenand_load_image();
    		break;
    #endif
    #ifdef CONFIG_SPL_NOR_SUPPORT
    	case BOOT_DEVICE_NOR:
    		spl_nor_load_image();
    		break;
    #endif
    #ifdef CONFIG_SPL_YMODEM_SUPPORT
    	case BOOT_DEVICE_UART:
    		spl_ymodem_load_image();
    		break;
    #endif
    #ifdef CONFIG_SPL_SPI_SUPPORT
    	case BOOT_DEVICE_SPI:
    		spl_spi_load_image();
    		break;
    #endif
    #ifdef CONFIG_SPL_ETH_SUPPORT
    	case BOOT_DEVICE_CPGMAC:
    #ifdef CONFIG_SPL_ETH_DEVICE
    		spl_net_load_image(CONFIG_SPL_ETH_DEVICE);
    #else
    		spl_net_load_image(NULL);
    #endif
    		break;
    #endif
    #ifdef CONFIG_SPL_USBETH_SUPPORT
    	case BOOT_DEVICE_USBETH:
    		spl_net_load_image("usb_ether");
    		break;
    #endif
    #ifdef CONFIG_SPL_USB_SUPPORT
    	case BOOT_DEVICE_USB:
    		spl_usb_load_image();
    		break;
    #endif
    #ifdef CONFIG_SPL_SATA_SUPPORT
    	case BOOT_DEVICE_SATA:
    		spl_sata_load_image();
    		break;
    #endif
    #ifdef CONFIG_SPL_BOARD_LOAD_IMAGE
    	case BOOT_DEVICE_BOARD:
    		spl_board_load_image();
    		break;
    #endif
    	default:
    #if defined(CONFIG_SPL_SERIAL_SUPPORT) && defined(CONFIG_SPL_LIBCOMMON_SUPPORT)
    		puts("SPL: Unsupported Boot Device!\n");
    #endif
    		hang();
    	}

    Add #define DEBUG in include/configs/ti_am335x_common.h to enable all debug messages in SPL. Also put some additional debug prints in spl_boot_device(). Another relevant file is  arch/arm/include/asm/arch-arm-am33xx/spl.h, where the boot devices are listed. 

    Best Regards, 
    Yordan