[SeaBIOS] [PATCH] Add SD card support

Paul Menzel paulepanter at users.sourceforge.net
Wed Jun 4 22:27:12 CEST 2014


Dear Dave,


thank you for the patch.


Am Mittwoch, den 04.06.2014, 11:15 -0600 schrieb Dave Frodin:
> From fa9dc2154278b428af16899e1688b3e1b1aabcf7 Mon Sep 17 00:00:00 2001
> From: David Babich <david.babich at se-eng.com>
> Date: Thu, 22 May 2014 16:14:29 -0600
> Subject: [PATCH] Add SD card support
> 
> Updated initial commit of SD card boot support.  This has been tested
> with SDHC cards booting Puppy linux.  SDSC and SDXC cards may
> not work.  SD cards pre 1.01 of the SD spec are not supported
> if they use byte addressing and/or block addressing with
> a block size not equal to 512 Bytes.  Also, the drivers are
> written to support boot, but not necessarily for optimal
> speed.  The driver supports read and not write, and only
> implements functions that are required for boot. Some of the
> source is refactored FreeBSD code.
> 
> Signed-off-by: David Babich <david.babich at se-eng.com>
> ---
>  Makefile              |   3 +-
>  src/Kconfig           |  10 +
>  src/block.c           |  33 ++-
>  src/block.h           |   2 +
>  src/config.h          |   1 +
>  src/hw/bar.h          |  65 +++++
>  src/hw/sd.c           | 613 ++++++++++++++++++++++++++++++++++++++++++++
>  src/hw/sd.h           | 275 ++++++++++++++++++++
>  src/hw/sd_if.c        | 413 ++++++++++++++++++++++++++++++
>  src/hw/sd_if.h        |  49 ++++
>  src/hw/sd_utils.c     | 190 ++++++++++++++
>  src/hw/sd_utils.h     | 108 ++++++++
>  src/hw/sdhc_generic.c | 697
> ++++++++++++++++++++++++++++++++++++++++++++++++++

your MUA (mail program) automatically added line breaks, making it hard
to apply the patch. Please send it with `git send-email` or use
different options in your MUA.

[…]


Thanks,

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://www.seabios.org/pipermail/seabios/attachments/20140604/fba4821c/attachment.asc>


More information about the SeaBIOS mailing list