Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

SD/MMC support?

Is it possible to use an MMC card like a CF card? As in have the kernel actually treat it as a storage device; I know it will be slower, but there are definitely advantages to using MMC.. it seems like the only way to implement ROM is by on-board FLASH which is expensive, and CF, which is pin-intensive.

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    You should consider using the serial configuration device, eg, EPCS first.

    I think this is the cheapest and lowest pin counts.

    When compressed, most uclinux image should fit in 16Mbit/32M/64M devices.

    I have the vmlinux with Initramfs included, compressed to around 1Mbytes.

    The Nios/II core can boot from EPCS, which can be partition to RBF image and vmlinux.

    You can add a small uncompress boot loader, (4-8Kbytes) before the vmlinux.

    Other space can be set to MTD flash fs.

    If you need more storage space, you can use NIOS SPI to drive MMC/SD interface.

    You can mount/umount it under the Initramfs root.

    --- Quote Start ---

    originally posted by jdhar@Nov 21 2005, 10:36 PM

    is it possible to use an mmc card like a cf card? as in have the kernel actually treat it as a storage device; i know it will be slower, but there are definitely advantages to using mmc.. it seems like the only way to implement rom is by on-board flash which is expensive, and cf, which is pin-intensive.

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=11070)

    --- quote end ---

    --- Quote End ---