* [PATCH 0/3] Add boot_enable attribute to eMMC device for boot mode operation selection
@ 2013-04-19 12:41 Neil Armstrong
2013-04-22 4:55 ` Namjae Jeon
0 siblings, 1 reply; 4+ messages in thread
From: Neil Armstrong @ 2013-04-19 12:41 UTC (permalink / raw)
To: linux-mmc
Cc: Chris Ball, Namjae Jeon, Linus Walleij, Seungwon Jeon,
Subhash Jadavani, linux-kernel
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.
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(-)
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH 0/3] Add boot_enable attribute to eMMC device for boot mode operation selection
2013-04-19 12:41 [PATCH 0/3] Add boot_enable attribute to eMMC device for boot mode operation selection Neil Armstrong
@ 2013-04-22 4:55 ` Namjae Jeon
2013-04-22 7:23 ` Neil Armstrong
0 siblings, 1 reply; 4+ messages in thread
From: Namjae Jeon @ 2013-04-22 4:55 UTC (permalink / raw)
To: narmstrong
Cc: linux-mmc, Chris Ball, Linus Walleij, Seungwon Jeon,
Subhash Jadavani, linux-kernel@vger.kernel.org, Nam-Jae Jeon
2013/4/19, Neil Armstrong <narmstrong@neotion.com>:
> 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(-)
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 0/3] Add boot_enable attribute to eMMC device for boot mode operation selection
2013-04-22 4:55 ` Namjae Jeon
@ 2013-04-22 7:23 ` Neil Armstrong
2013-04-22 11:41 ` Chris Ball
0 siblings, 1 reply; 4+ messages in thread
From: Neil Armstrong @ 2013-04-22 7:23 UTC (permalink / raw)
To: Namjae Jeon
Cc: linux-mmc, 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 <narmstrong@neotion.com>:
>> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 0/3] Add boot_enable attribute to eMMC device for boot mode operation selection
2013-04-22 7:23 ` Neil Armstrong
@ 2013-04-22 11:41 ` Chris Ball
0 siblings, 0 replies; 4+ messages in thread
From: Chris Ball @ 2013-04-22 11:41 UTC (permalink / raw)
To: Neil Armstrong
Cc: Namjae Jeon, linux-mmc, Linus Walleij, Seungwon Jeon,
Subhash Jadavani, linux-kernel@vger.kernel.org, Nam-Jae Jeon
Hi Neil,
On Mon, Apr 22 2013, Neil Armstrong wrote:
> 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.
Where do you think a good place for documentating the mmc tool would
be, such that you would have seen it while investigating?
It'd be nice to avoid having to document the commands themselves,
since the userspace tool may be updated out of sync with the kernel.
Thanks,
- Chris.
--
Chris Ball <cjb@laptop.org> <http://printf.net/>
One Laptop Per Child
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-04-22 11:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-19 12:41 [PATCH 0/3] Add boot_enable attribute to eMMC device for boot mode operation selection Neil Armstrong
2013-04-22 4:55 ` Namjae Jeon
2013-04-22 7:23 ` Neil Armstrong
2013-04-22 11:41 ` Chris Ball
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox