From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neil Armstrong Subject: Re: [PATCH 0/3] Add boot_enable attribute to eMMC device for boot mode operation selection Date: Mon, 22 Apr 2013 09:23:58 +0200 Message-ID: <5174E58E.8090307@neotion.com> References: <51713B86.2090001@neotion.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from mail.neotion.com ([91.121.222.125]:50799 "EHLO mail.neotion.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753929Ab3DVHYE (ORCPT ); Mon, 22 Apr 2013 03:24:04 -0400 In-Reply-To: Sender: linux-mmc-owner@vger.kernel.org List-Id: linux-mmc@vger.kernel.org To: Namjae Jeon Cc: linux-mmc@vger.kernel.org, Chris Ball , Linus Walleij , Seungwon Jeon , Subhash Jadavani , "linux-kernel@vger.kernel.org" , Nam-Jae Jeon On 04/22/2013 06:55 AM, Namjae Jeon wrote: > 2013/4/19, Neil Armstrong : >> Since eMMC 4.3 a special boot mode operation was introduced to retrieve >> data from the eMMC device with a very simple procedure. Since the Linux >> kernel exports these device boot partitions, it may be useful to select >> the boot partition from the user space. >> >> The patch has been tested on a Toshiba eMMC conforming with eMMC 4.5 >> specifications. > Hi Neil. > We can be enable boot partition using mmc-utils. > See this address. > https://git.kernel.org/cgit/linux/kernel/git/cjb/mmc-utils.git/commit/?id=7bd1320b2cb38f040ab5cf017d17e283496690bf > > So, I don't think this patch is useful. > If you consider to be disable boot partition, you can try to update > mmc-utils base on the address I shared. > > Thanks. >> >> Neil Armstrong (3): >> Add BOOT_PARTITION_ENABLE definition to MMC EXT_CSD PART_CONFIG >> Add boot_enable sysfs attribute to select MMC boot operation >> partition >> Add Documentation for MMC boot_enable attribute >> >> Documentation/mmc/mmc-dev-parts.txt | 6 +++ >> drivers/mmc/card/block.c | 72 >> ++++++++++++++++++++++++++++++++++- >> include/linux/mmc/mmc.h | 1 + >> 3 files changed, 78 insertions(+), 1 deletions(-) >> >> >> > Hi, Thanks for the reply, I was not aware of the mmc-utils tools. I think the tool and the MMC_IOC_CMD interface should be documented in the kernel. Please ignore my patch. Regards, Neil