Skip to contentSkip to conversation

New user - having a few issues with MMC

DISCUSSION George Pontis 2 participants 2 messages Apr 19, 2012

lore
Share & tools
lore
#0 lore raw

Hi fellow barebox users. What a great loader, thanks to all of you for sharing your work on this.

I've brought barebox up on a custom at91sam9g45 board that has both NOR and NAND flash, and one SD card connected to the MMC interface. I was previously using all these with an older version of u-boot and in Linux, so I am pretty sure that the hardware is working properly.

For some reason, I can't access any files on a 4G SD card. After booting into barebox, there is a /dev/disk0. I can mount it without error, for example mount /dev/disk0 fat /mmc. But ls /mmc does not show any content, and I know that there are many files there. The card is not partitioned. Have I overlooked something ? If not, any suggestions where to look for the cause of the problem ?

George

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#1 lore raw
Quoted 12 lines · George Pontis

Hi fellow barebox users. What a great loader, thanks to all of you for sharing your work on this.

I've brought barebox up on a custom at91sam9g45 board that has both NOR and NAND flash, and one SD card connected to the MMC interface. I was previously using all these with an older version of u-boot and in Linux, so I am pretty sure that the hardware is working properly.

Quoted 6 lines

For some reason, I can't access any files on a 4G SD card. After booting into barebox, there is a /dev/disk0. I can mount it without error, for example mount /dev/disk0 fat /mmc. But ls /mmc does not show any content, and I know that there are many files there. The card is not partitioned. Have I overlooked something ? If not, any suggestions where to look for the cause of the problem ?

Sorry, barebox currently can't access anything > 4GB and some pieces may have problems with 2GB. Please try either a smaller SD Card or add partition your SD card and add a partition smaller than 2GB. This is being worked on. Hopefully we have support for bigger SD cards soon.

Sascha

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox