[#5808] mmc configuration error in make config
Submitted By: Vivi Li
Open Date
2010-01-04 05:26:16 Close Date
2010-03-18 02:27:40
Priority:
Medium Assignee:
Mike Frysinger
Status:
Closed Fixed In Release:
N/A
Found In Release:
2010R1 Release:
Category:
N/A Board:
N/A
Processor:
ALL Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
gcc4.3_trunk3771
App binary format:
N/A
Summary: mmc configuration error in make config
Details:
For BF537-stamp source with default config, MMC is disabled. Run "make config" and do following configuration manually, after that, config is restarted over and over again.
--
*
* MMC/SD/SDIO card support
*
MMC/SD/SDIO card support (MMC) [N/m/y/?] y
MMC debugging (MMC_DEBUG) [N/y/?] (NEW) n
Allow unsafe resume (DANGEROUS) (MMC_UNSAFE_RESUME) [N/y/?] (NEW) n
*
* MMC/SD/SDIO Card Drivers
*
MMC block device driver (MMC_BLOCK) [Y/n/m/?] (NEW) y
Use bounce buffer for simple hosts (MMC_BLOCK_BOUNCE) [Y/n/?] (NEW) y
SDIO UART/GPS class support (SDIO_UART) [N/m/y/?] (NEW) n
MMC host test driver (MMC_TEST) [N/m/y/?] (NEW) n
*
* MMC/SD/SDIO Host Controller Drivers
*
Secure Digital Host Controller Interface support (MMC_SDHCI) [N/m/y/?] (NEW) n
MMC/SD/SDIO over SPI (MMC_SPI) [N/m/y/?] (NEW) y
--
config is restarted again and again, and it won't stop.
--
*
* Restart config...
*
*
* MMC/SD/SDIO card support
*
MMC/SD/SDIO card support (MMC) [Y/n/m/?] y
MMC debugging (MMC_DEBUG) [N/y/?] n
Allow unsafe resume (DANGEROUS) (MMC_UNSAFE_RESUME) [N/y/?] n
*
* MMC/SD/SDIO Card Drivers
*
MMC block device driver (MMC_BLOCK) [Y/n/m/?] y
Use bounce buffer for simple hosts (MMC_BLOCK_BOUNCE) [Y/n/?] y
SDIO UART/GPS class support (SDIO_UART) [N/m/y/?] n
MMC host test driver (MMC_TEST) [N/m/y/?] n
*
* MMC/SD/SDIO Host Controller Drivers
*
Secure Digital Host Controller Interface support (MMC_SDHCI) [N/m/y/?] n
MMC/SD/SDIO over SPI (MMC_SPI) [Y/n/m/?] y
--
Follow-ups
--- Mike Frysinger 2010-01-04 10:50:54
i really dont know what you're doing. post a config file, then show the exact
changes you make to it as well as the commands you then run.
--- Vivi Li 2010-01-04 21:52:09
I attach the file config.spimmc which is configured by hand through "make
menuconfig". This is what I need for spimmc test.
"make menuconfig" can work alright but "make config" can
not work properly when config mmc.
You can reproduce this bug either by build script
(/home/test/work/cruise/checkouts/uclinux-dist/build_spimmc_kernel.exp) or by
run "make config" manually in uclinux-dist directory.
--- Sonic Zhang 2010-01-13 05:43:47
Fixed.
choice option in drivers/mmc/host/Kconfig should be bool instead of tristate.
Otherwise command line configure "make config" gets confused and
traps into a infinite loop.
--- Mike Frysinger 2010-01-13 08:27:40
that change is incorrect. read [#5763] where i explain how current kconfig is
correct, if a little odd.
--- Sonic Zhang 2010-01-13 21:28:37
In this way, you needs to fix the infinite loop bug if run command line kernel
configure into MMC/SD/SDIO submenu "make config".
So, this bug is assigned back to you again.
--- Mike Frysinger 2010-03-13 00:09:10
should be fixed in linux-2.6.33 ... upstream made some kconfig changes
--- Vivi Li 2010-03-18 02:26:28
OK, test script is modified.
Close it.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
config.spimmc application/octet-stream 36132 Vivi Li