On Wed, Oct 6, 2010 at 11:13 AM, Shawn Guo shawn.gsc@gmail.com wrote:
On Thu, Sep 30, 2010 at 5:37 PM, Loïc Minier loic.minier@linaro.org wrote:
- cat > ${TMP_DIR}/boot.cmd << BOOTCMD
+setenv bootcmd 'fatload mmc 0:1 0x90000000 uImage; fatload mmc 0:1 0x90800000 uInitrd; bootm 0x90000000 0x90800000'
no mmc init?
This is something I'm not very clear. This bootcmd is written into boot.scr which has to be loaded out from card first, in order to launch the bootcmd. So we need to get "mmc init" executed before we load fatload boot.scr.
Hmm you're right; I was wondering because the other boards at one, but these boards need to drop it! Fixed
Maybe it's an issue. The u-boot.imx "mmc init" is not working in this case. I have to run "mmcinfo" before the first fatload, or it hangs.
If "mmc init" breaks in mx51evk u-boot, we should probably fix it; you could start by filing a bug against u-boot-linaro to track this, explaining how to trigger the bug.
My investigation shows this may not be a bug. I updated the details in the bug page.