[U-Boot] Broken support for hummingboard i2
Fabio Estevam
festevam at gmail.com
Fri May 29 16:36:18 CEST 2015
Hi Andrei,
On Fri, May 29, 2015 at 8:57 AM, Andrei Gherzan <andrei at gherzan.ro> wrote:
> Hello Otavio,
>
> Same results with:
> $ sudo dd if=SPL of=/dev/mmcblk0 conv=notrunc seek=2 bs=512 ; sync
> [sudo] password for agherzan:
> $ sudo dd if=u-boot.img of=/dev/mmcblk0 conv=notrunc seek=69 bs=1K ; sync
I don't have access to hummingboard dual-lite version, so never tested it.
Just reviewed the code and found some issues.
Could you please try the following?
--- a/board/solidrun/mx6cuboxi/mx6cuboxi.c
+++ b/board/solidrun/mx6cuboxi/mx6cuboxi.c
@@ -536,7 +536,7 @@ static const struct mx6_mmdc_calibration mx6dl_1g_mmcd_calib
.p0_mpdgctrl0 = 0x023C0224,
.p0_mpdgctrl1 = 0x02000220,
.p1_mpdgctrl0 = 0x02200220,
- .p1_mpdgctrl1 = 0x02000220,
+ .p1_mpdgctrl1 = 0x02040208,
.p0_mprddlctl = 0x44444846,
.p1_mprddlctl = 0x4042463C,
.p0_mpwrdlctl = 0x32343032,
@@ -627,7 +627,7 @@ static void spl_dram_init(int width)
else if (is_cpu_type(MXC_CPU_MX6Q))
mx6_dram_cfg(&sysinfo, &mx6q_2g_mmcd_calib, &mem_ddr_4g);
else if (is_cpu_type(MXC_CPU_MX6DL))
- mx6_dram_cfg(&sysinfo, &mx6q_1g_mmcd_calib, &mem_ddr_2g);
+ mx6_dram_cfg(&sysinfo, &mx6dl_1g_mmcd_calib, &mem_ddr_2g);
else if (is_cpu_type(MXC_CPU_MX6SOLO))
mx6_dram_cfg(&sysinfo, &mx6dl_512m_mmcd_calib, &mem_ddr_2g);
}
More information about the U-Boot
mailing list