Difference between revisions of "75XX SD"

From embeddedTS Manuals
 
Line 1: Line 1:
This product contains our SD controller implemented in the FPGA.  This will support both SD and SDHC cards so sizes up to 32GB are supported.  The SD card access is implemented in userspace by acting as an NBD server.  The [[sdctl]] page which will show more advanced usage and the linuxrc script will bring up the nbd-clients in this layout:
This product contains our SD controller implemented in the FPGA.  This will support both SD and SDHC cards, sizes up to 32GB are supported.  The SD card access is implemented in userspace by acting as an NBD server.  The [[sdctl]] page which will show more advanced usage and the linuxrc script will bring up the nbd-clients in this layout:


   /dev/nbd5 - whole disk device of microSD card
   /dev/nbd5 - whole disk device of microSD card
Line 7: Line 7:
   /dev/nbd9 - 4th partition of SD card (Debian EXT3 filesystem on devkit card)
   /dev/nbd9 - 4th partition of SD card (Debian EXT3 filesystem on devkit card)


{{Note|NBD devices do '''not''' report size correctly.  If you are formatting a partition or using dd you will need to specify the size of the underlying block device or partition.}}
{{Note|NBD devices report their size as SIZE_MAX for more flexibility when using them with sdctl.  If you are formatting a partition or using dd you will need to specify the size of the block device or partition.}}

Latest revision as of 11:11, 30 August 2012

This product contains our SD controller implemented in the FPGA. This will support both SD and SDHC cards, sizes up to 32GB are supported. The SD card access is implemented in userspace by acting as an NBD server. The sdctl page which will show more advanced usage and the linuxrc script will bring up the nbd-clients in this layout:

 /dev/nbd5 - whole disk device of microSD card
 /dev/nbd6 - 1st partition of SD card (Windows VFAT filesystem on devkit card)
 /dev/nbd7 - 2nd partition of SD card (kernel partition on devkit card)
 /dev/nbd8 - 3rd partition of SD card (EXT2 initrd partition on devkit card)
 /dev/nbd9 - 4th partition of SD card (Debian EXT3 filesystem on devkit card)
Note: NBD devices report their size as SIZE_MAX for more flexibility when using them with sdctl. If you are formatting a partition or using dd you will need to specify the size of the block device or partition.