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.

automate for 1st u-boot from serial boot

Guru 20755 points

Hello,

I am using serial interface for loading the initial u-boot 1st stage using teraterm (xmodem). the boot option first checks for nand boot, and only then for serial 1st stage, i.e. if nand has something it will start from there.

I would like to know if it is possible to automate load from serial of 1st stage, and also to make it forcible (I mean that even if nand has the 1st stage, it will load 1st stage u-boot from serial)

Is it possible to automate and force it using ttl macros (I tried xmodemsend but it did not work)/other method of script ? 

Thanks for suggestions,

Ran

  • Ran,

    Ran S. said:
    I would like to know if it is possible to automate load from serial of 1st stage, and also to make it forcible (I mean that even if nand has the 1st stage, it will load 1st stage u-boot from serial)

    Boot from UART as first possible source can be configured through the BTMODE[4:0] pins (Boot Mode Sel 1:5 switch on DM814x EVM). See DM814x TRM, section 4.5 Booting and Table 4-8. BTMode[4-0] Configuration Pins


    When you set BTMODE[4:0] (Boot Mode Sel 1:5) = 10000, the ROM code will always try to boot first from UART (then from NOR/XIP, MMC, SPI).

    http://processors.wiki.ti.com/index.php/TI81XX_PSP_UBOOT_User_Guide#EVM_Switch_Settings

    http://processors.wiki.ti.com/index.php/DM814x_AM387x_PSP_U-Boot#UART_boot_mode

    Regards,
    Pavel

  • Hi Pavel,

    I can't change boot mode.

    Thanks,

    Ran

  • I am not quite getting your point.

    Are you requiring for:

    in Nand-Uart-xx-xx bootmode,  mandertoy skip Nand boot,  using Uart boot, but not affect Nand utility?

    maybe you can trick on nand control pins.

    BR,

    Eason