Enabling_the_MMC_card_slot - david-macmahon/wiki_convert_test GitHub Wiki

Roach_sd_card.jpg If you have a first generation ROACH, the CPLD will require a reflash before you can use the SD/MMC card slot.

For this, you'll need a standard Xilinx JTAG programmer, and a copy of the most recent CPLD firmware from the SVN repository. Refer to the ROACH_Bringup guide for further information on how to do this.

After the CPLD has been flashed, you'll need to update the kernel and uBoot images to the latest versions. Follow the ROACH kernel uboot update guide to do this.

Next, you'll need to load up the filesystem onto your SD card. Download the filesystem and copy it over to your SD card, making sure to chown the files to 'root'. The filesystem must be placed in the first partition on the card, formatted as ext2, as with the USB boot method. Once you're done, open up your ROACH enclosure and put the card into the SD/MMC card slot.

Finally, when the ROACH boots, interrupt it at the uBoot prompt and run the script called mmcboot:

 run mmcboot

Some links to the relevant SVN directories are given below, to get you started.

ROACH CPLD

ROACH CPLD

Image Locations

UBOOT image

Linux kernel image

SD/MMC/USB Filesystem

Download filesystem