U-boot and SDHC

Screwface
Dear all,

Do you know if u-boot is able to manage SDHC MMC cards? I use u-boot 1.3.2
for mini2440 128Mb, and when trying to initialize the card, I get this
error message :

MINI2440 # mmcinit
trying to detect SD Card...
===============> MMC CMD Timeout
MMC found. Card desciption is:
Manufacturer ID = 000000
HW/FW Revision = 0 0
Product Name =
Serial Number = 80ff00
Month = 0
Year = 1997
===============> MMC CMD Timeout
===============> MMC CMD Timeout
READ_BL_LEN=0, C_SIZE_MULT=0, C_SIZE=1020
size = 0
===============> MMC CMD Timeout
===============> MMC CMD Timeout
===============> MMC CMD Timeout
mmc_block_read: err SDIDSTA=0x00000020
MINI2440 #

Any ideas?

Thanks

kevin
As far my experience my u-boot always worked fine with MMC. The kinda msg u
got i got once when the card wasnt in the socket..check if ur socket is
loose or somethin'..
mmcinit and  mmc try both... may be!!

Screwface
Thanks for your advice. But unfortunately, I have already done this test
and the socket is Ok, it works with Qt and WinCE. I thought it could be
something like a wrong MMC type : SD cards (<= 2Gb) do not have the same
addressing as SDHC (> 2Gb) cards as far as I know. And I thought maybe
u-boot supports SD cards but not SDHC ones. But I've read that some people
managed to make u-boot work with 32Gb cards. So I don't know where is my
problem...

amol
MINI2440 # mmcinit
trying to detect SD Card...
===============> MMC CMD Timeout
MMC found. Card desciption is:
Manufacturer ID = 000000
HW/FW Revision = 0 0
Product Name =
Serial Number = 80ff00
Month = 0
Year = 1997
===============> MMC CMD Timeout
===============> MMC CMD Timeout
READ_BL_LEN=0, C_SIZE_MULT=0, C_SIZE=1020
size = 0
===============> MMC CMD Timeout
===============> MMC CMD Timeout
===============> MMC CMD Timeout
mmc_block_read: err SDIDSTA=0x00000020
MINI2440 #
please give the solution for this;
Thanks

amol
MINI2440 # mmcinit
trying to detect SD Card...
===============> MMC CMD Timeout
MMC found. Card desciption is:
Manufacturer ID = 000000
HW/FW Revision = 0 0
Product Name =
Serial Number = 80ff00
Month = 0
Year = 1997
===============> MMC CMD Timeout
===============> MMC CMD Timeout
READ_BL_LEN=0, C_SIZE_MULT=0, C_SIZE=1020
size = 0
===============> MMC CMD Timeout
===============> MMC CMD Timeout
===============> MMC CMD Timeout
mmc_block_read: err SDIDSTA=0x00000020
MINI2440 #
please help me with this

Screwface
Hello amol,

Where did you get your u-boot version? Did you download it from the
download section?

amol
yes, I have downloaded it from download section which is u-boot256.bin.and
I have mini2440 1GB NAND flash.

Screwface
I had the same problem, but I don't remember how I solved it. I have a
128Mb version, so maybe I used Buserror's version. Maybe you can merge his
SDHC patch in the version you use?

In my case, I have chosen to use a NFS server instead: it saves SD card
connector from damages

Screwface
Maybe you could try barebox bootloader instead?