freebsd-nq/sys/boot/arm/at91
Warner Losh 304d0536ab All SD cards have a block size of 512. The READ_BL_LEN field in the
CSD is usually 512 (well, 9), but for 2GB (and the rogue 4GB SD cards)
it is 1024 (or 2048 for 4GB).  This value doesn't work for the block
read commands (which really want 512).  Hardcode 512 for those.  This
may break really old MMC cards that don't have a 512 block size (I've
never seen one: make my day and send me one :-), but since the MMC
side of the house is currently broken, it should only have the effect
that 2GB (and non-conforming 4GB) SD cards will work.

My 'non-conforming' 4GB SD card also works now too.  The
non-conforming 4GB SD cards were sold for a while before the SD
association was worried they would be (a) incompatible (different FAT
flavor on them) and (b) confusing for the new SDHC standard and
cracked down on suppliers' bogus use of the SD trademark...
2007-03-28 22:31:32 +00:00
..
boot0 Move to using a common arm_init.S. These things are more similar than 2006-11-16 00:53:28 +00:00
boot0iic Move to using a common arm_init.S. These things are more similar than 2006-11-16 00:53:28 +00:00
boot0spi MFp4: Delay a second or two after the upload before printing Done. 2006-12-20 17:50:02 +00:00
boot2 Various buglets fixed (from submitter): 2007-03-28 21:18:45 +00:00
bootiic Move to using a common arm_init.S. These things are more similar than 2006-11-16 00:53:28 +00:00
bootspi Remove vestiges of very specific fpga support for my company's board. 2007-03-15 03:31:49 +00:00
libat91 All SD cards have a block size of 512. The READ_BL_LEN field in the 2007-03-28 22:31:32 +00:00
linker.cfg MFp4 (checkpoint of work in progress): 2006-04-19 17:16:49 +00:00
Makefile MFp4: boot2 should now build 2006-11-09 20:45:22 +00:00
Makefile.inc MFp4: bwct is a new board choice. 2006-12-20 17:47:54 +00:00