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.

BEAGLEBK: UART boot

Part Number: BEAGLEBK

Hi,

The below link was suggested for booting over serial console (minicom in my case).

http://processors.wiki.ti.com/index.php/AM335x_U-Boot_User's_Guide#Boot_Over_UART

The point 5 in the above link is

Select “u-boot.img” for the transfer

On replacing "u-boot.img" with "u-boot.bin",the board booted u-boot.

Regards,

-Adarsh

  • Hello Adarsh,

    u-boot.img contains the binary compiled code of u-boot.bin within, so that it should be possible to boot with u-boot.bin too.

    Best regards,
    Kemal

  • Hello Kemal,

    I re-tried loading u-boot.img and there does'nt seem to be any progress.

    Serial console captures while trying to load u-boot.bin and u-boot.img are attached for your reference.

    u-boot version : 2019.10-rc4

    CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
    U-Boot SPL 2019.10-rc4 (Sep 30 2019 - 02:14:00 -0700)
    Trying to boot from UART
    CCCdem - Cksum mode, 5927(SOH)/0(STX)/0(CAN) packets, 14 retries
    Loaded 758388 bytes
    CCCCCCCCCCCCCCCCCCCCCC

    CCCCCCCCCCCC
    U-Boot SPL 2019.10-rc4 (Sep 30 2019 - 02:14:00 -0700)
    Trying to boot from UART
    CCCCCCLoaded 553253 bytes
    
    
    U-Boot 2019.10-rc4 (Sep 30 2019 - 02:14:00 -0700)
    
    CPU  : AM335X-GP rev 2.1
    Model: TI AM335x EVM
    DRAM:  512 MiB
    WDT:   Started with servicing (60s timeout)
    NAND:  0 MiB
    MMC:   OMAP SD/MMC: 0
    Loading Environment from FAT... <ethaddr> not set. Validating first E-fuse MAC
    Net:   eth0: ethernet@4a100000
    Warning: usb_ether MAC addresses don't match:
    Address in ROM is          de:ad:be:ef:00:01
    Address in environment is  38:d2:69:93:ee:0e
    , eth1: usb_ether
    Hit any key to stop autoboot:  2  1  0 
    BBB=> 
    BBB=> 
    BBB=> 
    BBB=> 
    

    Regards,

    Adarsh

  • Please, try this procedure with the images from the latest AM335x Processor SDK.

  • Hello Kemal,

    The spl and img files from linux-sdk boot properly with my board.

    I downloaded the u-boot-2019.01 code (from u-boot git) and built images.

    spl/u-boot-spl.bin : boots well

    u-boot.img : stops mid-way while loading.(log capture attached)

    Could you please try the u-boot-2019.01 (download from u-boot git) images in your environment also.??

    Regards,

    Adarsh

  • Hello Adarsh,

    You need to apply this patch and git check out the source under arch/arm/lib/ and arch/arm/mach-omap2/.

    Best regards,
    Kemal

  • Hello Adarsh,

    Please, close this thread by clicking on "This resolved my issue" button, if you have managed to resolve this issue.

    Best regards,
    Kemal