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.

SK-AM62B: FitImage - tftp - boot

Part Number: SK-AM62B

Tool/software:

hi team,

I was able to boot till u-boot using dfu-util, Want to boot  fitimage using ethernet  because of Errata i2329

Q1. how to fetch my FitImage.bin(my fit contains fs,kernel,dtb...) from uboot ?

Q2. Any changes need to do for UBOOT?

Regards,

-RJ

  • Hi,

    I am routing your query to the right expert. Please expect response in the next 24 hours.

    Regards,
    Aparna

  • Hi Aparna,

    Thankyou for the response!

    meanwhile i had  configured tftp/ and dhcp in my host ,

    trying boot fitimage.bin from uboot , attaching uboot log below

    => dhcp                                                                                                                               
    link up on port 1, speed 1000, full duplex                                                                                            
    BOOTP broadcast 1                                                                                                                     
    BOOTP broadcast 2                                                                                                                     
    BOOTP broadcast 3                                                                                                                     
    DHCP client bound to address 10.0.0.5 (1034 ms)                                                                                       
    *** Warning: no boot file name; using '0A000005.img'                                                                                  
    Using ethernet@8000000port@1 device                                                                                                   
    TFTP from server 10.0.0.1; our IP address is 10.0.0.5                                                                                 
    Filename '0A000005.img'.                                                                                                              
    Load address: 0x82000000                                                                                                              
    Loading: *                                                                                                                            
    TFTP error: 'File not found' (1)                                                                                                      
    Not retrying...                                                                                                                       
    am65_cpsw_nuss_port ethernet@8000000port@1: RX dma free_pkt failed -22                                                                
    => 

    my /tftpboot folder contains , FitImage.bin

    regards,

    -rj

  • Hello RJ,

    First a couple of questions

    1. Which SDK version are you using?

    2. Is this a custom board or SK-AM62B EVM you are testing?

    When running the dhcp command, only the following output should show.

    => setenv autoload no; dhcp;
    link up on port 2, speed 1000, full duplex
    BOOTP broadcast 1
    BOOTP broadcast 2
    BOOTP broadcast 3
    DHCP client bound to address 172.168.1.35 (1020 ms)
    =>

    Your output after running dhcp seems like it's also automatically trying to transfer a file via tftp (trying to load 0A000005.img to loadaddr 0x82000000 to be exact). This is not expected as this should occur when running "tftp <your-targeted-loadaddr> <filename>".

    For instance, if your expected loadaddr is 0x82000000, then you should try running "tftp 0x82000000 FitImage.bin" after running your dhcp command.

    -Daolin

  • Hello Daolin,

    Thanks for the update !

    1. Which SDK version are you using?

    ti-processor-sdk-linux-am62xx-evm-09.02.01.10

    2. Is this a custom board or SK-AM62B EVM you are testing?

    SK-AM62B

    When running the dhcp command, only the following output should show.

    Q1 by using setenv autoload no; dhcp; it worked , what's the diff between both commands .

    Q2 When i load the fitImage.bin it worked  but ran to other error while booting, attaching error below,

    => bootm 0x90000000
    ## Loading kernel from FIT Image at 90000000 ...
    Using 'conf-ti_k3-am625-beagleplay.dtb' configuration
    Verifying Hash Integrity ... fit_config_verify_required_keys: No signature node found: FDT_ERR_NOTFOUND
    Bad Data Hash
    ERROR: can't get kernel image!

    i also checked with default fitimage (fitImage-tisdk-tiny-initramfs-am62xx-evm ...) provided in the yocto build rather than my own yocto build , it also shows same error while booting .

    -RJ

  • Hi RJ,

    Q1 by using setenv autoload no; dhcp; it worked , what's the diff between both commands

    To use DHCP to only obtain an IP address you need to set the autoload parameter to no, otherwise it will try to tftp an image

    Q2 When i load the fitImage.bin it worked  but ran to other error while booting, attaching error below

    Just to clarify, the issue you are running into is no longer ethernet tftp issues?

    If so, it looks like for this issue, this is out of the scope of what I can support (I support mainly ethernet topics and this is getting into booting Images from U-boot questions). I will redirect your question to Aparna for the U-boot side support. Please expect a delay in response due to the transfer!

    If there is an issue from the ethernet side feel free to bring that issue up in another thread!

    -Daolin

  • Update:

    Q2 When i load the fitImage.bin it worked  but ran to other error while booting, attaching error below

    Actually, I suggest making another E2E thread for this particular issue, since the issue from the original post seems to be fixed now and we do not want each thread to contain issues and solutions on different support topics (this helps with future searchability).

    -Daolin

  • hello Daolin,

    Thanks for the input!

    attaching fitImage issue in another e2e thread below,

    e2e.ti.com/.../sk-am62b-fitimage---signature-issue---cant-get-kernel-image-error

    Thanks and Regards,

    -RJ