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.

TDA4VM: [TDA4 EVM] How to use tftp client load 2.5GB image to RAM in uboot mode?

Part Number: TDA4VM

Hi, Dear Expert :

I try to use tftp client download raw image(rootfs) into RAM, and then burning this raw image into eMMC.

raw image is about 2.5GB, and on board memory is 4GB

uboot return error as below and stop download.

>> TFTP error:trying to overwrite reserved memory...

>> RX dma free_pkt failed -22


Is any way to unlock this limitation without modify/re-compiler u-boot source code?

Many Thanks 

 

  • Hi Gibbs,

    1) Can you share the command you used to tftp the 2.5GB image?
    2) What is the address in RAM that you are trying to copy?
    3) can you paste the out of the command bdinfo from u-boot prompt?

    - Keerthy

  • Hi,  Keerthy :

    1) Can you share the command you used to tftp the 2.5GB image?

    setenv serverip 192.168.10.1

    setenv metmask 255.255.255.0

    saveenv

    (reset)

    tftp 0x80080000 bb.img (image about 2.5G)

    2) What is the address in RAM that you are trying to copy?

    0x80080000

    3) can you paste the out of the command bdinfo from u-boot prompt?

    => bdinfo
    arch_number = 0x0000000000000000
    boot_params = 0x0000000000000000
    DRAM bank = 0x0000000000000000
    -> start = 0x0000000080000000
    -> size = 0x0000000080000000
    DRAM bank = 0x0000000000000001
    -> start = 0x0000000880000000
    -> size = 0x0000000080000000
    baudrate = 115200 bps
    TLB addr = 0x00000000ffff0000
    relocaddr = 0x00000000ffee7000
    reloc off = 0x000000007f6e7000
    irq_sp = 0x00000000fdebbc90
    sp start = 0x00000000fdebbc90
    Early malloc usage: 2d40 / 8000
    fdt_blob = 0x00000000fdebbca8
    =>

     

    Many Thanks

    Gibbs

  • Hi Gibbs,

    This error seems very much possible.

    Load address: 0x80080000 + 0x80000000 (2.0 GB) is already stepping on reserved DT nodes.

    File: arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi

    Example: mcu_r5fss0_core1_dma_memory_region: r5f-dma-memory@fb000000


    I doubt if we have a continuous range of 2.5GB. Can you try loading at 0x0880000000?

    Best Regards,
    Keerthy

  • Hi, Keerthy :

    load to 0x0880000000 , 2GB is ok

    Many Thanks

    Gibbs

    >> #################################
    >> 5.3 MiB/s
    >> done
    >> Bytes transferred = 2097152000 (7d000000 hex)