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: Environment variable trying to save into eMMC

Part Number: TDA4VM


Dear Sir/Mam,

We are booting from SD card and don't have an eMMC(Removed from custom board for now). For setting the uboot config parameter once for a virgin custom board(To boot first time) we are using :

=>setenv fdtfile k3-j721e-common-proc-board.dtb

=>env save

But it is not able to save it. It seems it is trying to save it in eMMC. Please see the attachment. What is the solution here ? should i save it directly in the deconfig file or can i do something about it ?

U-Boot 2019.01-dirty (Mar 25 2020 - 15:05:21 +0100)

SoC:   J721E PG 1.0
Model: Texas Instruments K3 J721E SoC
Reading on-board EEPROM at 0x50 failed 1
Board: J721EX-PM1-SOM rev E2
DRAM:  1 GiB
Flash: 0 Bytes
MMC:   sdhci@4f80000: 0, sdhci@4fb0000: 1
Loading Environment from MMC... Card did not respond to voltage select!
*** Warning - No block device, using default environment

In:    serial@2800000
Out:   serial@2800000
Err:   serial@2800000
Net:   ERROR: no/invalid speed given in fixed-link node!
Warning: ethernet@046000000 using MAC address from ROM
eth0: ethernet@046000000
Hit any key to stop autoboot:  0
i2c_write: error waiting for data ACK (status=0x116)
Error reading output register
switch to partitions #0, OK
mmc1 is current device
i2c_write: error waiting for data ACK (status=0x116)
Error reading output register
SD/MMC found on device 1
** Unable to read file boot.scr **
0 bytes read in 1 ms (0 Bytes/s)
Loaded env from uEnv.txt
Importing environment from mmc1 ...
Card did not respond to voltage select!
13338632 bytes read in 2094 ms (6.1 MiB/s)
** File not found /boot/ **
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree
=>
U-Boot SPL 2019.01-dirty (Mar 25 2020 - 15:05:44 +0100)
SYSFW ABI: 2.9 (firmware rev 0x0013 '19.12.1-v2019.12a (Terrific Lla')
Reading on-board EEPROM at 0x50 failed 1
j721e_ddrss_probe(dev=41c87c80)
j721e_ddrss_ofdata_to_priv(dev=41c87c80)
j721e_ddrss_power_on(ddrss=41cd6a04)
LPDDR4_Probe: PASS
LPDDR4_Init: PASS
--->>> LPDDR4 Initialization is in progress ... <<<---
j721e_lpddr4_ack_freq_upd_req: received freq change req: req type = 1, req no. = 0
j721e_lpddr4_ack_freq_upd_req: received freq change req: req type = 0, req no. = 1
j721e_lpddr4_ack_freq_upd_req: received freq change req: req type = 1, req no. = 2
j721e_lpddr4_ack_freq_upd_req: received freq change req: req type = 2, req no. = 3
j721e_lpddr4_ack_freq_upd_req: received freq change req: req type = 1, req no. = 4
j721e_lpddr4_ack_freq_upd_req: received freq change req: req type = 2, req no. = 5
LPDDR4_Start: PASS
Trying to boot from MMC2
Loading Environment from MMC... *** Warning - No MMC card found, using default environment

Remoteproc 2 started successfully
Starting ATF on ARM64 core...

NOTICE:  BL31: v2.2(release):ti2019.05-rc1
NOTICE:  BL31: Built : 09:32:00, Feb 17 2020
I/TC:
I/TC: OP-TEE version: ti2019.05-rc1-dev (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 Mon Feb 17 09:40:16 UTC 2020 aarch64
I/TC: Initialized

U-Boot SPL 2019.01-dirty (Mar 25 2020 - 15:05:21 +0100)
Reading on-board EEPROM at 0x50 failed 1
Trying to boot from MMC2
i2c_write: error waiting for data ACK (status=0x116)
Error reading output register


U-Boot 2019.01-dirty (Mar 25 2020 - 15:05:21 +0100)

SoC:   J721E PG 1.0
Model: Texas Instruments K3 J721E SoC
Reading on-board EEPROM at 0x50 failed 1
Board: J721EX-PM1-SOM rev E2
DRAM:  1 GiB
Flash: 0 Bytes
MMC:   sdhci@4f80000: 0, sdhci@4fb0000: 1
Loading Environment from MMC... Card did not respond to voltage select!
*** Warning - No block device, using default environment

In:    serial@2800000
Out:   serial@2800000
Err:   serial@2800000
Net:   ERROR: no/invalid speed given in fixed-link node!
Warning: ethernet@046000000 using MAC address from ROM
eth0: ethernet@046000000
Hit any key to stop autoboot:  0
=> setenv fdtfile k3-j721e-common-proc-board.dtbsetenv fdtfile k3-j721e-common-proc-board.dtb
=> setenv fdtfile k3-j721e-common-proc-board.dtb
=> env save
Saving Environment to MMC... Card did not respond to voltage select!
No block device
Failed (1)
=>
Befehle:
uboot stoppen
setenv fdtfile k3-j721e-common-proc-board.dtb 
boot