Re: [PATCH 0/3] Add boot_enable attribute to eMMC device for boot mode operation selection

2013-04-22 Thread Chris Ball
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  
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 0/3] Add boot_enable attribute to eMMC device for boot mode operation selection

2013-04-22 Thread Neil Armstrong
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 0/3] Add boot_enable attribute to eMMC device for boot mode operation selection

2013-04-22 Thread Neil Armstrong
On 04/22/2013 06:55 AM, Namjae Jeon wrote:
 2013/4/19, Neil Armstrong narmstr...@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
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 0/3] Add boot_enable attribute to eMMC device for boot mode operation selection

2013-04-22 Thread Chris Ball
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   c...@laptop.org   http://printf.net/
One Laptop Per Child
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 0/3] Add boot_enable attribute to eMMC device for boot mode operation selection

2013-04-21 Thread Namjae Jeon
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(-)
>
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 0/3] Add boot_enable attribute to eMMC device for boot mode operation selection

2013-04-21 Thread Namjae Jeon
2013/4/19, Neil Armstrong narmstr...@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(-)



--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 0/3] Add boot_enable attribute to eMMC device for boot mode operation selection

2013-04-19 Thread 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.

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(-)


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 0/3] Add boot_enable attribute to eMMC device for boot mode operation selection

2013-04-19 Thread 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.

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(-)


--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/