From 19e87df825acf95528d86ede0a581a0bd297aefc Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Fri, 5 Nov 2010 22:00:13 -0300 Subject: [PATCH] Add DFU to BOOKSHELF. Add MMC driver unloading instructions to f32x/README - BOOKSHELF: added the DFU specification 1.1 as "dfu" - f32x/README: the kernel's MMC driver has to be unloaded before using the uSD interface for bit-banging --- BOOKSHELF | 3 +++ f32x/README | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/BOOKSHELF b/BOOKSHELF index f1b9803..4915474 100644 --- a/BOOKSHELF +++ b/BOOKSHELF @@ -20,3 +20,6 @@ D: http://www.ftdichip.com/Support/Documents/AppNotes/AN232R-01_FT232RBitBangMod N: c2 D: http://www.silabs.com/Support%20Documents/TechnicalDocs/C2spec.pdf + +N: dfu +D: http://www.usb.org/developers/devclass_docs/DFU_1.1.pdf diff --git a/f32x/README b/f32x/README index c8893b0..b4d2ac5 100644 --- a/f32x/README +++ b/f32x/README @@ -11,3 +11,9 @@ CLK 3 SPI_CLK0 E13 C2CK C2D MOSI 4 SPI_MOSI0 E12 C2D - MISO 5 SPI_MISO0 E11 - C2CK nSS 6 SS0 G2 - - + + +On the Ben, the kernel driver has to release the MMC port before it +can be used by f32x: + +echo jz4740-mmc.0 >/sys/bus/platform/drivers/jz4740-mmc/unbind