Other Parts Discussed in Thread: DRA821
I am not able to boot from SD card. When I give fatload mmc 1 0x80080000 qnx-ifs, I get mmc_init: -110, time 196. Even the mmc dev 1 command returns same error. Please help
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.
Hello Keerthy,
Please find the log below.
U-Boot 2021.01-g15769936a5 (Dec 21 2021 - 15:43:01 +0000)
SoC: J7200 SR1.0
Model: Texas Instruments K3 J7200 SoC
Board: J7200X-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: am65_cpsw_nuss_slave ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA02102 cpsw_ver: 0x6BA82102 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000
eth0: ethernet@46000000
Hit any key to stop autoboot: 0
mmc_init: -110, time 192
SD/MMC found on device 1
mmc_init: -110, time 192
mmc_init: -110, time 192
mmc_init: -110, time 193
mmc_init: -110, time 191
mmc_init: -110, time 193
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
Bad Linux ARM64 Image magic!
=> fatload mmc 1 80080000 qnx-ifs;
mmc_init: -110, time 192
=> mmc dev 1
mmc_init: -110, time 192
=>
TI SDK used -----
ti-processor-sdk-qnx_j7200_08_01_00.tar.gz along with 3 patches(08_01_05)
ti-processor-sdk-rtos-j7200-evm-08_01_00_11
ti-processor-sdk-linux-j7200-evm-08_01_00_01
The U-boot is loaded from SD card only so the SPL is able to detect the SD card. But in U-boot it is not detecting SD card. I have tried with many SD cards. For formatting the SD card I have used the script given in the TI SDK.
Finally I loaded qnx-ifs from tftp. After that QNX is able to detect the SD card. However when I wanted to mount ext4 partition to /tmp it was not possible. I could mount fat partition to /tmp.
Please suggest.
Thank you.
Regards,
Shrinivas
Hi Shrinivas,
I am able to successfully load images from SD card on my DRA821 EVM. My question is if this is a custom board or you are using a standard TI EVM?
Do you have a different EVM where you have SD functional in U-Boot?
- Keerthy
Hello Keerthy,
Sorry for the late reply.
I am using the standard TI board. I only have one board. Could you please let me know from where to take the u-boot. I have taken the u-boot from boot-j7200-evm.tar.gz from linux SDK. Version 20211221164112.
Thank you.
Regards,
Shrinivas Deshpande.
Hi Shrinivas,
I believe you have installed the latest Linux SDK from here: https://www.ti.com/tool/download/PROCESSOR-SDK-LINUX-J7200
Once you install all the U-Boot binaries that are pre-built will be here: $SDK_PATH/board-support/prebuilt-binaries.
Copy tiboot3.bin, tispl.bin & u-boot.img from $SDK_PATH/board-support/prebuilt-binaries to the boot partition of the SD card.
Let me know if that fails as well.
Best Regards,
Keerthy
Hello Keerthy,
I still face the same issue. Since I am able to boot till u-boot, I think in SPL stage SD card is detected. Only in u-boot it is not detecting SD card is what I feel.
Thank you.
Regards,
Shrinivas Deshpande.
Hi Shrinivas,
We have multiple boards that work fine & boot all the way till Linux kernel. Have you had a chance with different SD cards?
This is not a known issue. Hence the request.
- Keerthy
Hello Keerthy,
I have tried with 3 SD cards it is still not working. However I tried with another board from another team. There SD card boot is working. So not sure what is the problem.
Thank you.
Regards,
Shrinivas Deshpande.
Hi Shrinivas,
Can you add prints in the sdhci driver and let me know where exactly the failure -110 is coming from? I am not able to reproduce this on my board. So any details on the exact point of failure on your board will be really helpful.
- Keerthy