I changed my boot device from a Kingston 8Gb card to a Sandisk SDHC card. My uboot is
$this->bbcode_second_pass_code('', 'U-Boot 2011.12 (Mar 11 2012 - 18:59:46)
Marvell-Sheevaplug - eSATA - SD/MMC')
after the change I noticed that my original bootcmd_mmc
$this->bbcode_second_pass_code('', 'setenv bootargs $(bootargs_console) $(bootargs_root_mmc) $(mtdpartitions);mmc init;ext2load mmc 0:1 0x800000 uImage;bootm 0x00800000')
no longer works. However if I run init mmc at the u-boot prompt then that works and that boot command also works.
I changed the bootcmd_mmc to
$this->bbcode_second_pass_code('', 'mmc init;setenv bootargs $(bootargs_console) $(bootargs_root_mmc) $(mtdpartitions);mmc init;ext2load mmc 0:1 0x800000 uImage;bootm 0x00800000')
and then I find that the first mmc init appears to fail, but the second works eg I see this
$this->bbcode_second_pass_code('', 'U-Boot 2011.12 (Mar 11 2012 - 18:59:46)
Marvell-Sheevaplug - eSATA - SD/MMC
SoC: Kirkwood 88F6281_A1
DRAM: 512 MiB
WARNING: Caches not enabled
NAND: 512 MiB
In: serial
Out: serial
Err: serial
Net: egiga0 [PRIME]
88E1116 Initialized on egiga0
Hit any key to stop autoboot: 0
No MMC card found
SDHC found. Card desciption is:
Manufacturer: 0x03, OEM "SD"
Product name: "SU08G", revision 8.0
Serial number: 1646639994
Manufacturing date: 6/2012
CRC: 0x00, b0 = 0
mmc1 is available
Loading file "uImage" from mmc device 0:1 (xxa1)
3596088 bytes read
## Booting kernel from Legacy Image at 00800000 ...')
Is this just some difference between the cards? I can still boot from the original card, but then I see the init mmc happening twice ie
$this->bbcode_second_pass_code('', '88E1116 Initialized on egiga0
Hit any key to stop autoboot: 0
SDHC found. Card desciption is:
Manufacturer: 0x02, OEM "TM"
Product name: "SD08G", revision 3.8
Serial number: 3225807631
Manufacturing date: 10/2008
CRC: 0x00, b0 = 0
mmc1 is available
SDHC found. Card desciption is:
Manufacturer: 0x02, OEM "TM"
Product name: "SD08G", revision 3.8
Serial number: 3225807631
Manufacturing date: 10/2008
CRC: 0x00, b0 = 0
mmc1 is available
Loading file "uImage" from mmc device 0:1 (xxa1)')
Is there a danger running from the new Sandisk card? I think it's faster than the Kingston one.