linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: exynos_defconfig: Use 16 minors per MMC block device
@ 2014-11-14 11:58 Krzysztof Kozlowski
  2014-11-19  7:56 ` Kukjin Kim
  0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Kozlowski @ 2014-11-14 11:58 UTC (permalink / raw)
  To: linux-arm-kernel

16 minors per MMC block device are required to boot Rinato (Gear 2)
board because up to 15 partitions are used.

With default 8 minors booting failed with:
[    1.329092] mmcblk0: mmc0:0001 F5X5MA 3.64 GiB
[    1.329448] mmcblk0boot0: mmc0:0001 F5X5MA partition 1 4.00 MiB
[    1.329627] mmcblk0boot1: mmc0:0001 F5X5MA partition 2 4.00 MiB
[    1.329808] mmcblk0rpmb: mmc0:0001 F5X5MA partition 3 512 KiB
[    1.335717]  mmcblk0: p1 p2 p3 p4 p5 p6 p7
[    1.436553] Waiting for root device /dev/mmcblk0p15...

while the correct list of partitions on mmcblk0 for Gear 2 is:
[    1.436651]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
---
 arch/arm/configs/exynos_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/configs/exynos_defconfig
index 72058b8a6f4d..aa32931bdd30 100644
--- a/arch/arm/configs/exynos_defconfig
+++ b/arch/arm/configs/exynos_defconfig
@@ -134,6 +134,7 @@ CONFIG_USB_STORAGE=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_HSIC_USB3503=y
 CONFIG_MMC=y
+CONFIG_MMC_BLOCK_MINORS=16
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_S3C=y
 CONFIG_MMC_SDHCI_S3C_DMA=y
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] ARM: exynos_defconfig: Use 16 minors per MMC block device
  2014-11-14 11:58 [PATCH] ARM: exynos_defconfig: Use 16 minors per MMC block device Krzysztof Kozlowski
@ 2014-11-19  7:56 ` Kukjin Kim
  0 siblings, 0 replies; 2+ messages in thread
From: Kukjin Kim @ 2014-11-19  7:56 UTC (permalink / raw)
  To: linux-arm-kernel

On 11/14/14 20:58, Krzysztof Kozlowski wrote:
> 16 minors per MMC block device are required to boot Rinato (Gear 2)
> board because up to 15 partitions are used.
> 
> With default 8 minors booting failed with:
> [    1.329092] mmcblk0: mmc0:0001 F5X5MA 3.64 GiB
> [    1.329448] mmcblk0boot0: mmc0:0001 F5X5MA partition 1 4.00 MiB
> [    1.329627] mmcblk0boot1: mmc0:0001 F5X5MA partition 2 4.00 MiB
> [    1.329808] mmcblk0rpmb: mmc0:0001 F5X5MA partition 3 512 KiB
> [    1.335717]  mmcblk0: p1 p2 p3 p4 p5 p6 p7
> [    1.436553] Waiting for root device /dev/mmcblk0p15...
> 
> while the correct list of partitions on mmcblk0 for Gear 2 is:
> [    1.436651]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> ---
>  arch/arm/configs/exynos_defconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/configs/exynos_defconfig
> index 72058b8a6f4d..aa32931bdd30 100644
> --- a/arch/arm/configs/exynos_defconfig
> +++ b/arch/arm/configs/exynos_defconfig
> @@ -134,6 +134,7 @@ CONFIG_USB_STORAGE=y
>  CONFIG_USB_DWC3=y
>  CONFIG_USB_HSIC_USB3503=y
>  CONFIG_MMC=y
> +CONFIG_MMC_BLOCK_MINORS=16
>  CONFIG_MMC_SDHCI=y
>  CONFIG_MMC_SDHCI_S3C=y
>  CONFIG_MMC_SDHCI_S3C_DMA=y

Applied, thanks.

- Kukjin

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-19  7:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-14 11:58 [PATCH] ARM: exynos_defconfig: Use 16 minors per MMC block device Krzysztof Kozlowski
2014-11-19  7:56 ` Kukjin Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).