Skip to contentSkip to conversation

mmcinit in U-Boot

U-Boot Valerio Bardelli 2 participants 2 messages Apr 29, 2011

lore
Share & tools
lore
#0 lore raw

Hi all,

we have a board based on AT91SAM9263 (Atmel) CPU and we use your U-Boot to debug the hardware and to boot OpenEmbedded Linux. Very good free product! ;))

In our board we have also a micro SD card reader and we would test it in U-Boot. Over the internet I see that in "some" U-Boot there are "mmcinit" and "fatload" commands, but I'm not be able to reach it in your U-Boot and also in your documentation. Is there any possibility to use the micro SD in your U-Boot?

The version is (result of ver command): U-Boot 2009.06 (gen 20 2010 - 16:17:59)

Just another question... we need to boot from our micro SD and reach the U-Boot (from Micro SD) in order to write the NAND for the first time after board production. We are able to boot from SD card with AT91Bootstrap, but is there the possibility to run also the U-Boot from the SD?

Any help is greatly appreciated.

Thank you very much!

Have a nice day, Valerio

Signature · 40 lines
*///Valerio Bardelli/*
R&D Software Department

?h^? Microhard S.r.l.
Via Primo Maggio, 36
I - 20028 San Vittore Olona (MI)
Telefono +390331514420
Fax +390331514707
C.F. - P.IVA: IT 03827420153

/


Questo messaggio ed i suoi allegati viene spedito solo alle persone 
indicate come destinatarie. Esso contiene informazioni confidenziali 
legalmente privilegiate. Se il lettore non e' indicato come 
destinatario, la lettura, diffusione o copia di questo messaggio o l'uso 
delle informazioni che contiene o degli allegati e' proibita. Se avete 
ricevuto questo messaggio per errore Vi preghiamo di avvisare 
immediatamente il mittente e cancellare il messaggio e gli allegati. Per 
qualunque domanda in proposito Vi preghiamo di contattarci inviando un 
messaggio a info at microhard.biz
<mailto:[email protected]>
This message and its attachments is addressed only to the intended 
recipient. This message contains confidential information legally 
privileged. If the reader is not a representative of the intended 
recipient, any review, dissemination or copying of this message or use 
of the information it contains or its attachments is prohibited. If you 
have received this message in error please notify immediately the sender 
and delete this message and attachments. Should you have any questions, 
please contact us by replying to info at microhard.biz 
<mailto:[email protected]>/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: immagini1
Type: image/jpeg
Size: 12392 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20110429/d7d83e07/attachment.jpeg 
#1 lore raw

Dear Valerio Bardelli,

Quoted 4 lines · In message <[email protected]> you wrote:

we have a board based on AT91SAM9263 (Atmel) CPU and we use your U-Boot to debug the hardware and to boot OpenEmbedded Linux. Very good free product! ;))

The at91sam9263ek board is supported in Mainline U-Boot, but this does not appear to contain any MMC support.

Quoted 5 lines

In our board we have also a micro SD card reader and we would test it in U-Boot. Over the internet I see that in "some" U-Boot there are "mmcinit" and "fatload" commands, but I'm not be able to reach it in your U-Boot and also in your documentation. Is there any possibility to use the micro SD in your U-Boot?

You will have to add / adapt the MMC drivers.

Quoted 2 lines

The version is (result of ver command): U-Boot 2009.06 (gen 20 2010 - 16:17:59)

Ouch. That's very old, and very likely an out-of-tree port. So you will probably have to start with bringing your board support up to date and based on a mainline U-Boot version.

Quoted 5 lines

Just another question... we need to boot from our micro SD and reach the U-Boot (from Micro SD) in order to write the NAND for the first time after board production. We are able to boot from SD card with AT91Bootstrap, but is there the possibility to run also the U-Boot from the SD?

Yes, this is possible. It will require some work, though.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Never give in.  Never give in.  Never. Never. Never."
- Winston Churchill