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.

SPI Boot Console No Active



Hi,

   My coustom board can boot from nand flash normally,but when I boot from SPI flash,the console can not active.The differ between coustom board and EVM is that EVM use uart2 as consloe output and coustom use uart0 as consloe output. I also change uart2 to uart0 in u-boot. So the nand boot can work normal. But I'm confused that Why the console can not work from SPI boot mode as the same  circute between custom board and EVM?

 

Regard,

Chen

 

  • Hi Chen,

    I need some more details. Are you using EZSDK? If yes, what version? Do you configure the u-boot for SPI (ti8168_evm_config_spi)? Do you turn on the SPI flash (SW4.SPI = ON)?

    Regards,

    Pavel

  • You can also check here:

    http://processors.wiki.ti.com/index.php/TI81xx_PSP_Porting_Guide#Using_different_UART_than_the_default_EVM_configuration_as_console

    http://processors.wiki.ti.com/index.php/TI81XX_PSP_McSPI_Driver_User_Guide#Porting_to_custom_hardware

    BR,

    Pavel

  • Hi Pavel,

       The SDK version is ti-ezsdk_dm816x-evm_5_01_01_80

    .  I also configure u-boot for SPI (ti8168_evm_config_spi),and turn on SPI flash(SPI=ON)!

      Today I modify u-boot in include/configs/ti8168_evm.h file uart2 to uart0 as follow:

     

    I have the test on Spectrum EVM.When I recompiled  the u-boot as nand boot u-boot.noxip.bin,and flash this file into NAND flash, The console of subboard (uart0) can print the boot log info of u-boot stage. But when I recompiled the u-boot into u-boot.noxip.bin.spi and flash this file into SPI flash the subboard's console can not work. What's the problem?Do I have to change the other file in u-boot dircetory? and which file I have to modify?

     

    Thanks,

    Chen

     

      

  • Chen,

    You are using one very old version of the EZSDK. Please try with the latest version (5.05.02.00), where we have lots of improvements and bugs fixed:

    http://software-dl.ti.com/dsps/dsps_public_sw/ezsdk/latest/index_FDS.html

    BR,

    Pavel

  • Some info here also:

    http://processors.wiki.ti.com/index.php/TI81XX_PSP_User_Guide#Using_The_Correct_Console_Device

    Regards,

    Pavel