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: UART connection error

Part Number: TDA4VM


Dear,

I have used TDA4VM, and tested demo 'Vision Apps' successfully.

But now I get the error messages when I connect the board with UART in SD card boot mode.

I reinstalled Linux system(Ubuntu 18.04) and PSDK LA+RA and got same error message. Could you help?

I attach the error message.

Regards,

Yongcheon.

-------------------------------------------------------------------------------------------

Welcome to minicom 2.7.1

OPTIONS: I18n
Compiled on Aug 13 2017, 15:25:34.
Port /dev/ttyUSB0, 16:52:40

Press CTRL-A Z for help on special keys


U-Boot SPL 2019.01-g66126341c8 (Oct 24 2019 - 03:52:25 +0000)
SYSFW ABI: 2.6 (firmware rev 0x0013 '19.8.0-v2019.08 (Terrific Llama')
Trying to boot from MMC2
Loading Environment from MMC... *** Warning - No MMC card found, using default environment

Remoteproc 2 started successfully
** File not found /lib/firmware/j7-mcu-r5f0_0-fw **
Starting ATF on ARM64 core...

NOTICE:  BL31: v2.1(release):ti2019.02-rc4
NOTICE:  BL31: Built : 03:52:00, Oct 24 2019
I/TC:
I/TC: OP-TEE version: ti2019.02-89-ge5a8779-dev (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 Thu O4
I/TC: Initialized

U-Boot SPL 2019.01-g66126341c8 (Oct 24 2019 - 03:52:45 +0000)
Detected: J7X-BASE-CPB rev E3
Detected: J7X-VSC8514-ETH rev E2
Trying to boot from MMC2


U-Boot 2019.01-g66126341c8 (Oct 24 2019 - 03:52:45 +0000)

SoC:   J721E PG 1.0
Model: Texas Instruments K3 J721E SoC
Board: J721EX-PM2-SOM rev E6
DRAM:  4 GiB
Flash: 0 Bytes
MMC:   sdhci@4f80000: 0, sdhci@4fb0000: 1
Loading Environment from MMC... OK
In:    serial@2800000
Out:   serial@2800000
Err:   serial@2800000
Detected: J7X-BASE-CPB rev E3
Detected: J7X-VSC8514-ETH rev E2
Net:   eth0: ethernet@046000000
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc1 is current device
SD/MMC found on device 1
** Unable to read file boot.scr **
81 bytes read in 1 ms (79.1 KiB/s)
Loaded env from uEnv.txt
Importing environment from mmc1 ...
ethernet@046000000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
phy_startup failed
am65_cpsw_start end error
ethernet@046000000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
phy_startup failed
am65_cpsw_start end error
ethernet@046000000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
phy_startup failed
am65_cpsw_start end error
ethernet@046000000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
phy_startup failed
am65_cpsw_start end error
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
ethernet@046000000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
phy_startup failed
am65_cpsw_start end error
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
ethernet@046000000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
phy_startup failed
am65_cpsw_start end error
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
Bad Linux ARM64 Image magic!
=>

  • Hi Yongcheon,

    can you run following commands at the u-boot prompt:

    env default -a

    run findfdt

    and then:

    printenv name_fdt

    and see if it output "k3-j721e-common-proc-board.dtb"

    Regards,

    Yordan

  • Hi Yordan,

    I resolved above issue now and thank you for quick response.

    I'll try to your answer if the same issue occurs.

    And I want to share what I did.

    $ cd ${PSDKLA_PATH}

    $ make all

    $ ./setup.sh

    $ cd ${PSDKRA_PATH}/vision_apps

    $ make vision_apps_scrub

    $ make sdk

    and SD card setup..

    $ cd ${PSDKRA_PATH}

    $ sudo psdk_rtos_auto/scripts/mk-linux-card.sh /dev/SD_CARD_LOCATION

    $ psdk_rtos_auto/scripts/install_to_sd_card.sh

    $ cd vision_apps

    $ make linux_fs_install_sd

    Thank you again.

    Best Regards,

    Yongcheon.