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.

PROCESSOR-SDK-AM437X: am437x idk uboot ccs

Part Number: PROCESSOR-SDK-AM437X

3.1.2.3. Loading Uboot through CCS — Processor SDK Linux for AM437X Documentation

  • You should either see output on the console window of ### ERROR ### Please RESET the board ###

  • This means that SPL has ran and tried to read the U-Boot image from the SD card, the default boot setting for the EVM. The processor now has the SPL context which means means the board is ready for U-Boot.

IMPORTANT: DO NOT RESET YOUR BOARD. If you reset your board at this point you will need to re-run these steps and re-load SPL to go on to the debugging U-Boot

3.1.2.3.7. Step 7: Loading Uboot Image

  • Assuming that you have executed SPL, please use the following steps to the load the U-Boot ELF image:

Execute step6: The output is the same as the document. But executing the step7 does not have any output information. Find that steps 6 and steps 7 have stopped at

if (initcall_run_list(init_sequence_f))

hang();

What is the reason?

  • Hi,
    Please allow some time to look into this.

    ~ Judith

  • Hi,

    In the Register view, please remove thumb mode, Core Registers -> CPSR  -> T = 0.



    The output you see in the doc:



    Is because they are looking at the debug log. You will see this if follow these steps:

    1. Open a terminal and run the following command to find the USB serial adapters available on the system : “dmesg | grep tty”

    [    0.000000] console [tty0] enabled
    [    0.554632] 00:06: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
    [   29.566576] usb 2-1.6.1.1: pl2303 converter now attached to ttyUSB0
    

    2. Launch a serial terminal (the terminal displayed below is created with $minicom -w -s) and configure it as below:


    I did not see "CCCCC" output, but I did see the following after I executed SPL.

    ~/src/psdk/AM437x/08.02.00.24/board-support/u-boot-2021.01+gitAUTOINC+44a87e3ab8-g44a87e3ab8/am347x/spl$ picocom -b 115200 /dev/ttyUSB0
    picocom v3.1
    
    port is        : /dev/ttyUSB0
    flowcontrol    : none
    baudrate is    : 115200
    parity is      : none
    databits are   : 8
    stopbits are   : 1
    escape is      : C-a
    local echo is  : no
    noinit is      : no
    noreset is     : no
    hangup is      : no
    nolock is      : no
    send_cmd is    : sz -vv
    receive_cmd is : rz -vv -E
    imap is        : 
    omap is        : 
    emap is        : crcrlf,delbs,
    logfile is     : none
    initstring     : none
    exit_after is  : not set
    exit is        : no
    
    Type [C-a] [C-h] to see available commands
    Terminal ready
    
    U-Boot SPL 2021.01-00001-g60486038c6-dirty (Jun 29 2023 - 11:14:31 -0500)
    WDT:   Not found!
    SPL: failed to boot from all boot devices
    ### ERROR ### Please RESET the board ###
    


    ~ Judith