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.
We use 1 ddr3 controller(4 pcs of 2Gb ddr3 chip instead of 8 pcs 1Gb ddr3 chip) on our DM8168 DVR board. And modify u-boot-04.04.00.01 source like the below:
1. Modify the macro USE_EMIF1 value to 0 in the file "arch/arm/include/asm/arch-ti81xx/ddr_defs_ti816x.h"
2. Modify the macro CONFIG_TI816X_TWO_EMIF value to 0 in the file "include/configs/ti8168_evm.h"
3. Modify the DMM_LISA_MAP_0/4 in the file "board/ti/ti8168/evm.c" as 1G contiguous non-interleaved configuration
__raw_writel(0x0, DMM_LISA_MAP__0);
__raw_writel(0x0, DMM_LISA_MAP__1);
__raw_writel(0x0, DMM_LISA_MAP__2);
__raw_writel(0x80600100, DMM_LISA_MAP__3);
After use "make ti8168_evm_min_sd" to make MLO and use "ti8168_evm_config_sd" to make u-boot.bin, and use mksd-ti816x.sh to make SD Card. But SD card can not bootup. Console print information is like below:
U-Boot 2010.06 (Aug 23 2012 - 10:51:19)
DRAM: 2 GiB
MMC: OMAP SD/MMC: 0
Using default environment
Hit any key to stop autoboot: 0
raise: Signal # 8 caught
** Can't read from device 0 **
** Unable to use mmc 0:1 for fatload **
## Starting application at 0x80800000 ...
Then we modify the function mmc_send_cmd() in "drivers/mmc/omap_hsmmc.c" to print the value of mmc_stat, the infomation printed is:
U-Boot 2010.06 (Aug 24 2012 - 10:23:15)
DRAM: 2 GiB
MMC: OMAP SD/MMC: 0
Using default environment
Hit any key to stop autoboot: 0
TI8168_EVM#mmc rescan 0
mmc_stat: 0x1
mmc_stat: 0x1
mmc_stat: 0x1
mmc_stat: 0x1
mmc_stat: 0x1
mmc_stat: 0x1
mmc_stat: 0x1
mmc_stat: 0x1
mmc_stat: 0x1
mmc_stat: 0x1
mmc_stat: 0x1
mmc_stat: 0x1
mmc_stat: 0x1
mmc_stat: 0x1
mmc_stat: 0x1
mmc_stat: 0x1
raise: Signal # 8 caught
mmc_stat: 0x38000
zskent Timeout IE_CTO error
TI8168_EVM#mmcinfo
raise: Signal # 8 caught
mmc_stat: 0x1
mmc_stat: 0x1
mmc_stat: 0x1
mmc_stat: 0x1
mmc_stat: 0x1
mmc_stat: 0x1
mmc_stat: 0x1
mmc_stat: 0x1
mmc_stat: 0x1
mmc_stat: 0x3
mmc_stat: 0x1
mmc_stat: 0x1
mmc_stat: 0x1
mmc_stat: 0x1
mmc_stat: 0x1
mmc_stat: 0x1
raise: Signal # 8 caught
mmc_stat: 0x38000
zskent Timeout IE_CTO error
Device: OMAP SD/MMC
Manufacturer ID: 60
OEM: 4853
Name: 1GU2M
Tran Speed: 25000000
Rd Block Len: 512
SD version 2.0
High Capacity: No
Capacity: 999292928
Bus Width: 4-bit
TI8168_EVM#fatls mmc 0
mmc_stat: 0x38000
zskent Timeout IE_CTO error
** Can't read from device 0 **
** Unable to use mmc 0:1 for fatls **
When access SD card, the mmc_stat will be 0x38000 and Timeout.
Could anyone help me? Thanks.