[U-Boot] On imx6 Solo the mmc fails to read for a second time..

Dear colleagues,
The u-boot freezes when I try to read mmc for second time. u-boot 2013-10, imx6 Solo CPU
One the first read I do have also an error:
mx6s > run bootmmc reading uImage Error reading cluster ** Unable to read file uImage ** ## Booting kernel from Legacy Image at 12000000 ... Image Name: Linux-3.0.80-rt108+linx-rt+g7ff5 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3862400 Bytes = 3.7 MiB Load Address: 10008000 Entry Point: 10008000 Verifying Checksum ... Bad Data CRC ERROR: can't get kernel image! mx6s >
On the second read: mx6s > run bootmmc <U-BOOT - Freezes > the console freezes and I have to reboot the machine.
bootmmc=run mmcargs; fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage}; bootm bootscript=echo Running bootscript from mmc ...; source console=ttymxc0 mmcargs=setenv bootargs console=${console},${baudrate} root=${mmcroot} rootwait rw mmcdev=0 mmcpart=1 mmcroot=/dev/mmcblk0p2
I produce the SD card image using Ycoto build system.
Have you ever seen something similar?
Best regards, A

I have fixed the problem. The imx6 pads accessing the SD needed some better calibration in my board file
Thank you A
On Sat, Jan 25, 2014 at 2:39 PM, Andy Ng andreas2025@gmail.com wrote:
Dear colleagues,
The u-boot freezes when I try to read mmc for second time. u-boot 2013-10, imx6 Solo CPU
One the first read I do have also an error:
mx6s > run bootmmc reading uImage Error reading cluster ** Unable to read file uImage ** ## Booting kernel from Legacy Image at 12000000 ... Image Name: Linux-3.0.80-rt108+linx-rt+g7ff5 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3862400 Bytes = 3.7 MiB Load Address: 10008000 Entry Point: 10008000 Verifying Checksum ... Bad Data CRC ERROR: can't get kernel image! mx6s >
On the second read: mx6s > run bootmmc <U-BOOT - Freezes > the console freezes and I have to reboot the machine.
bootmmc=run mmcargs; fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage}; bootm bootscript=echo Running bootscript from mmc ...; source console=ttymxc0 mmcargs=setenv bootargs console=${console},${baudrate} root=${mmcroot} rootwait rw mmcdev=0 mmcpart=1 mmcroot=/dev/mmcblk0p2
I produce the SD card image using Ycoto build system.
Have you ever seen something similar?
Best regards, A
participants (1)
-
Andy Ng