commit mmc-utils for openSUSE:Factory

2020-02-05 Thread root
Hello community,

here is the log from the commit of package mmc-utils for openSUSE:Factory 
checked in at 2020-02-05 19:41:34

Comparing /work/SRC/openSUSE:Factory/mmc-utils (Old)
 and  /work/SRC/openSUSE:Factory/.mmc-utils.new.26092 (New)


Package is "mmc-utils"

Wed Feb  5 19:41:34 2020 rev:13 rq:770331 version:0.1+git.20191004

Changes:

--- /work/SRC/openSUSE:Factory/mmc-utils/mmc-utils.changes  2019-08-13 
20:44:56.651050704 +0200
+++ /work/SRC/openSUSE:Factory/.mmc-utils.new.26092/mmc-utils.changes   
2020-02-05 19:41:40.187266775 +0100
@@ -1,0 +2,15 @@
+Mon Feb  3 15:56:24 UTC 2020 - Martin Pluskal 
+
+- Update to version 0.1+git.20191004:
+  * Add eMMC vendor Micron to table
+  * Optimize to_binstr() function
+  * Fix parsing of character in to_binstr()
+  * Cleanup memory in error case
+  * Check calloc's return value before using the pointer
+  * mmc-utils: feature spec 5.0+, add secure removal type fields to Extended 
CSD
+  * mmc-utils: use MMC_IOC_MULTI_CMD for RPMB access
+  * use proper type for RPMB blocks_cnt
+  * fix GCC7 build by refactoring trimming routines
+  * fix ENH_START_ADDR overflow
+
+---

Old:

  mmc-utils-0.1+git.20190808.tar.xz

New:

  mmc-utils-0.1+git.20191004.obscpio
  mmc-utils.obsinfo



Other differences:
--
++ mmc-utils.spec ++
--- /var/tmp/diff_new_pack.S1y0Bg/_old  2020-02-05 19:41:40.907267117 +0100
+++ /var/tmp/diff_new_pack.S1y0Bg/_new  2020-02-05 19:41:40.907267117 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mmc-utils
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,24 +17,24 @@
 
 
 Name:   mmc-utils
-Version:0.1+git.20190808
+Version:0.1+git.20191004
 Release:0
 Summary:Tools for MMC/SD devices
 License:GPL-2.0-only
 Group:  Hardware/Other
 URL:http://git.kernel.org/cgit/linux/kernel/git/cjb/mmc-utils.git/
-Source0:%{name}-%{version}.tar.xz
+Source0:%{name}-%{version}.tar.gz
 Source1:https://www.gnu.org/licenses/gpl-2.0.txt
 
 %description
 Userspace tools for controlling and querying MMC/SD storage devices
 
 %prep
-%setup -q
+%autosetup
 cp %{SOURCE1} LICENSE.GPL-2.0
 
 %build
-make %{?_smp_mflags} CFLAGS="%{optflags}" CHECKFLAGS="-Wall -Wuninitialized 
-Wundef"
+%make_build CFLAGS="%{optflags}" CHECKFLAGS="-Wall -Wuninitialized -Wundef"
 
 %install
 %make_install prefix=%{_prefix}

++ _service ++
--- /var/tmp/diff_new_pack.S1y0Bg/_old  2020-02-05 19:41:40.927267127 +0100
+++ /var/tmp/diff_new_pack.S1y0Bg/_new  2020-02-05 19:41:40.927267127 +0100
@@ -1,14 +1,15 @@
 
-  
+  
 git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git
 git
-mmc-utils
 enable
+mmc-utils
 0.1+git.%cd
   
-  
+  
+  
+  
 *.tar
-xz
+gz
   
-  
 

++ _servicedata ++
--- /var/tmp/diff_new_pack.S1y0Bg/_old  2020-02-05 19:41:40.939267133 +0100
+++ /var/tmp/diff_new_pack.S1y0Bg/_new  2020-02-05 19:41:40.939267133 +0100
@@ -1,4 +1,4 @@
 
 
 git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git
-  d40ec535b9d4e4c974e8c2fbfb422cd0348cc5e8
\ No newline at end of file
+  73d6c59af8d1bcedf5de4aa1f5d5b7f765f545f5
\ No newline at end of file

++ mmc-utils.obsinfo ++
name: mmc-utils
version: 0.1+git.20191004
mtime: 1570236453
commit: 73d6c59af8d1bcedf5de4aa1f5d5b7f765f545f5




commit mmc-utils for openSUSE:Factory

2019-08-13 Thread root
Hello community,

here is the log from the commit of package mmc-utils for openSUSE:Factory 
checked in at 2019-08-13 20:44:52

Comparing /work/SRC/openSUSE:Factory/mmc-utils (Old)
 and  /work/SRC/openSUSE:Factory/.mmc-utils.new.9556 (New)


Package is "mmc-utils"

Tue Aug 13 20:44:52 2019 rev:12 rq:723088 version:0.1+git.20190808

Changes:

--- /work/SRC/openSUSE:Factory/mmc-utils/mmc-utils.changes  2018-12-18 
14:57:55.678293449 +0100
+++ /work/SRC/openSUSE:Factory/.mmc-utils.new.9556/mmc-utils.changes
2019-08-13 20:44:56.651050704 +0200
@@ -1,0 +2,7 @@
+Tue Aug 13 14:02:28 UTC 2019 - Martin Pluskal 
+
+- Update to version 0.1+git.20190808:
+  * mmc-utils: feature spec 5.0+, add secure removal type fields to Extended 
CSD
+  * mmc-utils: use MMC_IOC_MULTI_CMD for RPMB access
+
+---

Old:

  mmc-utils-0.1+git.20181208.tar.xz

New:

  mmc-utils-0.1+git.20190808.tar.xz



Other differences:
--
++ mmc-utils.spec ++
--- /var/tmp/diff_new_pack.jvFFoY/_old  2019-08-13 20:44:57.399050489 +0200
+++ /var/tmp/diff_new_pack.jvFFoY/_new  2019-08-13 20:44:57.419050483 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package mmc-utils
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   mmc-utils
-Version:0.1+git.20181208
+Version:0.1+git.20190808
 Release:0
 Summary:Tools for MMC/SD devices
 License:GPL-2.0-only

++ _servicedata ++
--- /var/tmp/diff_new_pack.jvFFoY/_old  2019-08-13 20:44:57.503050459 +0200
+++ /var/tmp/diff_new_pack.jvFFoY/_new  2019-08-13 20:44:57.503050459 +0200
@@ -1,4 +1,4 @@
 
 
 git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git
-  485b05ec40031a06077db9c84ae75a36ebd3db25
\ No newline at end of file
+  d40ec535b9d4e4c974e8c2fbfb422cd0348cc5e8
\ No newline at end of file

++ mmc-utils-0.1+git.20181208.tar.xz -> mmc-utils-0.1+git.20190808.tar.xz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mmc-utils-0.1+git.20181208/mmc.h 
new/mmc-utils-0.1+git.20190808/mmc.h
--- old/mmc-utils-0.1+git.20181208/mmc.h2018-12-08 06:51:37.0 
+0100
+++ new/mmc-utils-0.1+git.20190808/mmc.h2019-08-09 00:42:38.0 
+0200
@@ -116,6 +116,7 @@
 #define EXT_CSD_MODE_CONFIG30
 #define EXT_CSD_MODE_OPERATION_CODES   29  /* W */
 #define EXT_CSD_FFU_STATUS 26  /* R */
+#define EXT_CSD_SECURE_REMOVAL_TYPE16  /* R/W */
 #define EXT_CSD_CMDQ_MODE_EN   15  /* R/W */
 
 /*
@@ -132,6 +133,8 @@
 /*
  * EXT_CSD field definitions
  */
+#define EXT_CSD_CONFIG_SECRM_TYPE  (0x30)
+#define EXT_CSD_SUPPORTED_SECRM_TYPE   (0x0f)
 #define EXT_CSD_FFU_INSTALL(0x01)
 #define EXT_CSD_FFU_MODE   (0x01)
 #define EXT_CSD_NORMAL_MODE(0x00)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mmc-utils-0.1+git.20181208/mmc_cmds.c 
new/mmc-utils-0.1+git.20190808/mmc_cmds.c
--- old/mmc-utils-0.1+git.20181208/mmc_cmds.c   2018-12-08 06:51:37.0 
+0100
+++ new/mmc-utils-0.1+git.20190808/mmc_cmds.c   2019-08-09 00:42:38.0 
+0200
@@ -1766,6 +1766,38 @@
ext_csd[EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_B]);
printf("eMMC Pre EOL information [EXT_CSD_PRE_EOL_INFO]: 
0x%02x\n",
ext_csd[EXT_CSD_PRE_EOL_INFO]);
+   reg = ext_csd[EXT_CSD_SECURE_REMOVAL_TYPE];
+   printf("Secure Removal Type [SECURE_REMOVAL_TYPE]: 0x%02x\n", 
reg);
+   printf(" information is configured to be removed ");
+   /* Bit [5:4]: Configure Secure Removal Type */
+   switch ((reg & EXT_CSD_CONFIG_SECRM_TYPE) >> 4) {
+   case 0x0:
+   printf("by an erase of the physical memory\n");
+   break;
+   case 0x1:
+   printf("by an overwriting the addressed 
locations"
+  " with a character followed by an 
erase\n");
+   break;
+   case 0x2:
+   printf("by an overwriting the addressed 
locations"
+  " with a character, its complement, then 
a random character\n");
+   break;
+  

commit mmc-utils for openSUSE:Factory

2018-12-18 Thread root
Hello community,

here is the log from the commit of package mmc-utils for openSUSE:Factory 
checked in at 2018-12-18 14:56:54

Comparing /work/SRC/openSUSE:Factory/mmc-utils (Old)
 and  /work/SRC/openSUSE:Factory/.mmc-utils.new.28833 (New)


Package is "mmc-utils"

Tue Dec 18 14:56:54 2018 rev:11 rq:658071 version:0.1+git.20181208

Changes:

--- /work/SRC/openSUSE:Factory/mmc-utils/mmc-utils.changes  2018-06-19 
12:05:04.386891821 +0200
+++ /work/SRC/openSUSE:Factory/.mmc-utils.new.28833/mmc-utils.changes   
2018-12-18 14:57:55.678293449 +0100
@@ -1,0 +2,7 @@
+Fri Dec 14 14:59:57 UTC 2018 - Martin Pluskal 
+
+- Update to version 0.1+git.20181208:
+  * use proper type for RPMB blocks_cnt
+  * fix GCC7 build by refactoring trimming routines
+
+---

Old:

  mmc-utils-0.1+git.20180327.tar.xz

New:

  mmc-utils-0.1+git.20181208.tar.xz



Other differences:
--
++ mmc-utils.spec ++
--- /var/tmp/diff_new_pack.rjtAkQ/_old  2018-12-18 14:57:56.094292820 +0100
+++ /var/tmp/diff_new_pack.rjtAkQ/_new  2018-12-18 14:57:56.102292808 +0100
@@ -12,12 +12,12 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:   mmc-utils
-Version:0.1+git.20180327
+Version:0.1+git.20181208
 Release:0
 Summary:Tools for MMC/SD devices
 License:GPL-2.0-only

++ _servicedata ++
--- /var/tmp/diff_new_pack.rjtAkQ/_old  2018-12-18 14:57:56.138292753 +0100
+++ /var/tmp/diff_new_pack.rjtAkQ/_new  2018-12-18 14:57:56.138292753 +0100
@@ -1,4 +1,4 @@
 
 
 git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git
-  b4fe0c8c0e57a74c01755fa9362703b60d7ee49d
\ No newline at end of file
+  485b05ec40031a06077db9c84ae75a36ebd3db25
\ No newline at end of file

++ mmc-utils-0.1+git.20180327.tar.xz -> mmc-utils-0.1+git.20181208.tar.xz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mmc-utils-0.1+git.20180327/lsmmc.c 
new/mmc-utils-0.1+git.20181208/lsmmc.c
--- old/mmc-utils-0.1+git.20180327/lsmmc.c  2018-03-27 08:17:10.0 
+0200
+++ new/mmc-utils-0.1+git.20181208/lsmmc.c  2018-12-08 06:51:37.0 
+0100
@@ -316,8 +316,9 @@
 /* MMC/SD file parsing functions */
 char *read_file(char *name)
 {
-   char *preparsed;
char line[4096];
+   char *preparsed, *start = line;
+   int len;
FILE *f;
 
f = fopen(name, "r");
@@ -348,12 +349,17 @@
}
 
line[sizeof(line) - 1] = '\0';
+   len = strlen(line);
 
-   while (isspace(line[strlen(line) - 1]))
-   line[strlen(line) - 1] = '\0';
+   while (len > 0 && isspace(line[len - 1]))
+   len--;
 
-   while (isspace(line[0]))
-   strncpy(&line[0], &line[1], sizeof(line));
+   while (len > 0 && isspace(*start)) {
+   start++;
+   len--;
+   }
+   memmove(line, start, len);
+   line[len] = '\0';
 
return strdup(line);
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mmc-utils-0.1+git.20180327/mmc_cmds.c 
new/mmc-utils-0.1+git.20181208/mmc_cmds.c
--- old/mmc-utils-0.1+git.20180327/mmc_cmds.c   2018-03-27 08:17:10.0 
+0200
+++ new/mmc-utils-0.1+git.20181208/mmc_cmds.c   2018-12-08 06:51:37.0 
+0100
@@ -2070,7 +2070,12 @@
 int do_rpmb_read_block(int nargs, char **argv)
 {
int i, ret, dev_fd, data_fd, key_fd = -1;
-   uint16_t addr, blocks_cnt;
+   uint16_t addr;
+   /*
+* for reading RPMB, number of blocks is set by CMD23 only, the packet
+* frame field for that is set to 0. So, the type is not u16 but uint!
+*/
+   unsigned int blocks_cnt;
unsigned char key[32];
struct rpmb_frame frame_in = {
.req_resp= htobe16(MMC_RPMB_READ),




commit mmc-utils for openSUSE:Factory

2018-06-19 Thread root
Hello community,

here is the log from the commit of package mmc-utils for openSUSE:Factory 
checked in at 2018-06-19 12:05:03

Comparing /work/SRC/openSUSE:Factory/mmc-utils (Old)
 and  /work/SRC/openSUSE:Factory/.mmc-utils.new (New)


Package is "mmc-utils"

Tue Jun 19 12:05:03 2018 rev:10 rq:617396 version:0.1+git.20180327

Changes:

--- /work/SRC/openSUSE:Factory/mmc-utils/mmc-utils.changes  2018-03-09 
10:45:45.024505625 +0100
+++ /work/SRC/openSUSE:Factory/.mmc-utils.new/mmc-utils.changes 2018-06-19 
12:05:04.386891821 +0200
@@ -1,0 +2,7 @@
+Mon Jun 18 06:51:50 UTC 2018 - mplus...@suse.com
+
+- Update to version 0.1+git.20180327:
+  * fix ENH_START_ADDR overflow
+- Dont build with -Werror
+
+---

Old:

  mmc-utils-0.1+git.20180216.tar.xz

New:

  mmc-utils-0.1+git.20180327.tar.xz



Other differences:
--
++ mmc-utils.spec ++
--- /var/tmp/diff_new_pack.r1U8F6/_old  2018-06-19 12:05:05.038867615 +0200
+++ /var/tmp/diff_new_pack.r1U8F6/_new  2018-06-19 12:05:05.042867466 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   mmc-utils
-Version:0.1+git.20180216
+Version:0.1+git.20180327
 Release:0
 Summary:Tools for MMC/SD devices
 License:GPL-2.0-only
@@ -34,8 +34,7 @@
 cp %{SOURCE1} LICENSE.GPL-2.0
 
 %build
-export CFLAGS="%{optflags}"
-make %{?_smp_mflags}
+make %{?_smp_mflags} CFLAGS="%{optflags}" CHECKFLAGS="-Wall -Wuninitialized 
-Wundef"
 
 %install
 %make_install prefix=%{_prefix}
@@ -45,6 +44,6 @@
 %files
 %license LICENSE.GPL-2.0
 %{_bindir}/mmc
-%{_mandir}/man1/mmc.1%{ext_man}
+%{_mandir}/man1/mmc.1%{?ext_man}
 
 %changelog

++ _servicedata ++
--- /var/tmp/diff_new_pack.r1U8F6/_old  2018-06-19 12:05:05.098865387 +0200
+++ /var/tmp/diff_new_pack.r1U8F6/_new  2018-06-19 12:05:05.098865387 +0200
@@ -1,4 +1,4 @@
 
 
 git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git
-  7bcad171173fd9a9401e7ce81906605bd6f4eddc
\ No newline at end of file
+  b4fe0c8c0e57a74c01755fa9362703b60d7ee49d
\ No newline at end of file

++ mmc-utils-0.1+git.20180216.tar.xz -> mmc-utils-0.1+git.20180327.tar.xz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mmc-utils-0.1+git.20180216/mmc_cmds.c 
new/mmc-utils-0.1+git.20180327/mmc_cmds.c
--- old/mmc-utils-0.1+git.20180216/mmc_cmds.c   2018-02-17 02:19:47.0 
+0100
+++ new/mmc-utils-0.1+git.20180327/mmc_cmds.c   2018-03-27 08:17:10.0 
+0200
@@ -1152,7 +1152,7 @@
 
enh_size_mult = (length_kib + align/2l) / align;
 
-   enh_start_addr = start_kib * 1024 / (is_blockaddresed(ext_csd) ? 512 : 
1);
+   enh_start_addr = start_kib * (1024 / (is_blockaddresed(ext_csd) ? 512 : 
1));
enh_start_addr /= align;
enh_start_addr *= align;
 
@@ -1695,9 +1695,9 @@
(ext_csd[EXT_CSD_ENH_START_ADDR_1] << 8) |
ext_csd[EXT_CSD_ENH_START_ADDR_0];
printf("Enhanced User Data Start Address"
-   " [ENH_START_ADDR]: 0x%06x\n", regl);
-   printf(" i.e. %lu bytes offset\n", (is_blockaddresed(ext_csd) ?
-   512l : 1l) * regl);
+   " [ENH_START_ADDR]: 0x%08x\n", regl);
+   printf(" i.e. %llu bytes offset\n", (is_blockaddresed(ext_csd) ?
+   512ll : 1ll) * regl);
 
/* A441]: reserved [135] */
printf("Bad Block Management mode"




commit mmc-utils for openSUSE:Factory

2018-03-09 Thread root
Hello community,

here is the log from the commit of package mmc-utils for openSUSE:Factory 
checked in at 2018-03-09 10:45:13

Comparing /work/SRC/openSUSE:Factory/mmc-utils (Old)
 and  /work/SRC/openSUSE:Factory/.mmc-utils.new (New)


Package is "mmc-utils"

Fri Mar  9 10:45:13 2018 rev:9 rq:584239 version:0.1+git.20180216

Changes:

--- /work/SRC/openSUSE:Factory/mmc-utils/mmc-utils.changes  2017-04-12 
18:15:00.008275066 +0200
+++ /work/SRC/openSUSE:Factory/.mmc-utils.new/mmc-utils.changes 2018-03-09 
10:45:45.024505625 +0100
@@ -1,0 +2,13 @@
+Thu Mar  8 09:49:09 UTC 2018 - mplus...@suse.com
+
+- Update to version 0.1+git.20180216:
+  * mmc-utils: manpage: fix arguments for TH macro
+  * mmc-utils: remove unused #includes
+  * mmc-utils: move offsetof from mmc.h to only user
+  * mmc-utils: expand .gitignore
+  * mmc-utils: make use of dependency information generated by gcc
+  * mmc-utils: drop unused header
+  * mmc-utils: drop macro CHECK
+- Drop do_not_use_asm_generic.patch
+
+---

Old:

  do_not_use_asm_generic.patch
  mmc-utils-0.1+git.20170320.tar.xz

New:

  mmc-utils-0.1+git.20180216.tar.xz



Other differences:
--
++ mmc-utils.spec ++
--- /var/tmp/diff_new_pack.0QVl8K/_old  2018-03-09 10:45:45.916473497 +0100
+++ /var/tmp/diff_new_pack.0QVl8K/_new  2018-03-09 10:45:45.920473353 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mmc-utils
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,17 +17,14 @@
 
 
 Name:   mmc-utils
-Version:0.1+git.20170320
+Version:0.1+git.20180216
 Release:0
 Summary:Tools for MMC/SD devices
-License:GPL-2.0
+License:GPL-2.0-only
 Group:  Hardware/Other
-Url:http://git.kernel.org/cgit/linux/kernel/git/cjb/mmc-utils.git/
+URL:http://git.kernel.org/cgit/linux/kernel/git/cjb/mmc-utils.git/
 Source0:%{name}-%{version}.tar.xz
 Source1:https://www.gnu.org/licenses/gpl-2.0.txt
-Patch0: do_not_use_asm_generic.patch
-BuildRequires:  xz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 Userspace tools for controlling and querying MMC/SD storage devices
@@ -35,7 +32,6 @@
 %prep
 %setup -q
 cp %{SOURCE1} LICENSE.GPL-2.0
-%patch0 -p1
 
 %build
 export CFLAGS="%{optflags}"
@@ -47,8 +43,7 @@
   %{buildroot}%{_mandir}/man1/mmc.1
 
 %files
-%defattr(-,root,root)
-%doc LICENSE.GPL-2.0
+%license LICENSE.GPL-2.0
 %{_bindir}/mmc
 %{_mandir}/man1/mmc.1%{ext_man}
 

++ _servicedata ++
--- /var/tmp/diff_new_pack.0QVl8K/_old  2018-03-09 10:45:45.968471624 +0100
+++ /var/tmp/diff_new_pack.0QVl8K/_new  2018-03-09 10:45:45.968471624 +0100
@@ -1,4 +1,4 @@
 
 
 git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git
-  37c86e60c0442fef570b75cd81aeb1db4d0cbafd
\ No newline at end of file
+  7bcad171173fd9a9401e7ce81906605bd6f4eddc
\ No newline at end of file

++ mmc-utils-0.1+git.20170320.tar.xz -> mmc-utils-0.1+git.20180216.tar.xz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mmc-utils-0.1+git.20170320/Makefile 
new/mmc-utils-0.1+git.20180216/Makefile
--- old/mmc-utils-0.1+git.20170320/Makefile 2017-03-20 14:58:49.0 
+0100
+++ new/mmc-utils-0.1+git.20180216/Makefile 2018-02-17 02:19:47.0 
+0100
@@ -52,4 +52,6 @@
$(INSTALL) -m755 -d $(DESTDIR)$(bindir)
$(INSTALL) $(progs) $(DESTDIR)$(bindir)
 
+-include $(foreach obj,$(objects), $(dir $(obj))/.$(notdir $(obj)).d)
+
 .PHONY: all clean install manpages install-man
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mmc-utils-0.1+git.20170320/lsmmc.c 
new/mmc-utils-0.1+git.20180216/lsmmc.c
--- old/mmc-utils-0.1+git.20170320/lsmmc.c  2017-03-20 14:58:49.0 
+0100
+++ new/mmc-utils-0.1+git.20180216/lsmmc.c  2018-02-17 02:19:47.0 
+0100
@@ -2348,8 +2348,10 @@
struct config config;
int ret;
 
-   CHECK(argc != 2 && argc != 3, "Usage: Print CSD data from .\n",
- exit(1));
+   if (argc != 2 && argc != 3) {
+   fprintf(stderr, "Usage: Print CSD data from .\n");
+   exit(1);
+   }
 
ret = lsmmc_main(&config, argc, argv);
if (ret)
@@ -2369,8 +2371,10 @@
struct config config;
int ret;
 
-   CHECK(argc != 2 && argc != 3, "Usage: Print CID data from .\n",
- 

commit mmc-utils for openSUSE:Factory

2017-04-12 Thread root
Hello community,

here is the log from the commit of package mmc-utils for openSUSE:Factory 
checked in at 2017-04-12 17:32:42

Comparing /work/SRC/openSUSE:Factory/mmc-utils (Old)
 and  /work/SRC/openSUSE:Factory/.mmc-utils.new (New)


Package is "mmc-utils"

Wed Apr 12 17:32:42 2017 rev:8 rq:482471 version:0.1+git.20170320

Changes:

--- /work/SRC/openSUSE:Factory/mmc-utils/mmc-utils.changes  2016-09-12 
13:26:51.0 +0200
+++ /work/SRC/openSUSE:Factory/.mmc-utils.new/mmc-utils.changes 2017-04-12 
18:15:00.008275066 +0200
@@ -1,0 +2,8 @@
+Fri Mar 24 12:02:21 UTC 2017 - mplus...@suse.com
+
+- Update to version 0.1+git.20170320:
+  * mmc-utils: feature spec 5.0+, device life time estimation for MLC and pSLC 
mode
+  * mmc-utils: feature spec 5.0+, Pre EOL information
+  * mmc-utils: Check for ext_csd_rev only once
+
+---

Old:

  mmc-utils-0.1+git.20160901.tar.xz

New:

  _servicedata
  mmc-utils-0.1+git.20170320.tar.xz



Other differences:
--
++ mmc-utils.spec ++
--- /var/tmp/diff_new_pack.kSnmqf/_old  2017-04-12 18:15:00.536200414 +0200
+++ /var/tmp/diff_new_pack.kSnmqf/_new  2017-04-12 18:15:00.540199849 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package mmc-utils
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   mmc-utils
-Version:0.1+git.20160901
+Version:0.1+git.20170320
 Release:0
 Summary:Tools for MMC/SD devices
 License:GPL-2.0
@@ -42,8 +42,9 @@
 make %{?_smp_mflags}
 
 %install
-make %{?_smp_mflags} install prefix=%{_prefix} DESTDIR=%{buildroot}
-install -D -m 0644 man/mmc.1 %{buildroot}%{_mandir}/man1/mmc.1
+%make_install prefix=%{_prefix}
+install -D -p -m 0644 man/mmc.1 \
+  %{buildroot}%{_mandir}/man1/mmc.1
 
 %files
 %defattr(-,root,root)

++ _servicedata ++


git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git
  37c86e60c0442fef570b75cd81aeb1db4d0cbafd++
 mmc-utils-0.1+git.20160901.tar.xz -> mmc-utils-0.1+git.20170320.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mmc-utils-0.1+git.20160901/mmc.h 
new/mmc-utils-0.1+git.20170320/mmc.h
--- old/mmc-utils-0.1+git.20160901/mmc.h2016-09-01 17:49:01.0 
+0200
+++ new/mmc-utils-0.1+git.20170320/mmc.h2017-03-20 14:58:49.0 
+0100
@@ -61,6 +61,9 @@
 #define EXT_CSD_NUM_OF_FW_SEC_PROG_2   304 /* RO */
 #define EXT_CSD_NUM_OF_FW_SEC_PROG_1   303 /* RO */
 #define EXT_CSD_NUM_OF_FW_SEC_PROG_0   302 /* RO */
+#define EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_B 269 /* RO */
+#define EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_A 268 /* RO */
+#define EXT_CSD_PRE_EOL_INFO   267 /* RO */
 #define EXT_CSD_FIRMWARE_VERSION   254 /* RO */
 #define EXT_CSD_CACHE_SIZE_3   252
 #define EXT_CSD_CACHE_SIZE_2   251
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mmc-utils-0.1+git.20160901/mmc_cmds.c 
new/mmc-utils-0.1+git.20170320/mmc_cmds.c
--- old/mmc-utils-0.1+git.20160901/mmc_cmds.c   2016-09-01 17:49:01.0 
+0200
+++ new/mmc-utils-0.1+git.20170320/mmc_cmds.c   2017-03-20 14:58:49.0 
+0100
@@ -1736,6 +1736,12 @@
if (ext_csd_rev >= 7) {
printf("eMMC Firmware Version: %s\n",
(char*)&ext_csd[EXT_CSD_FIRMWARE_VERSION]);
+   printf("eMMC Life Time Estimation A 
[EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_A]: 0x%02x\n",
+   ext_csd[EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_A]);
+   printf("eMMC Life Time Estimation B 
[EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_B]: 0x%02x\n",
+   ext_csd[EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_B]);
+   printf("eMMC Pre EOL information [EXT_CSD_PRE_EOL_INFO]: 
0x%02x\n",
+   ext_csd[EXT_CSD_PRE_EOL_INFO]);
}
 
if (ext_csd_rev >= 8) {




commit mmc-utils for openSUSE:Factory

2016-09-12 Thread h_root
Hello community,

here is the log from the commit of package mmc-utils for openSUSE:Factory 
checked in at 2016-09-12 13:26:49

Comparing /work/SRC/openSUSE:Factory/mmc-utils (Old)
 and  /work/SRC/openSUSE:Factory/.mmc-utils.new (New)


Package is "mmc-utils"

Changes:

--- /work/SRC/openSUSE:Factory/mmc-utils/mmc-utils.changes  2016-07-01 
10:00:42.0 +0200
+++ /work/SRC/openSUSE:Factory/.mmc-utils.new/mmc-utils.changes 2016-09-12 
13:26:51.0 +0200
@@ -1,0 +2,11 @@
+Fri Sep 09 18:44:54 UTC 2016 - mplus...@suse.com
+
+- Update to version 0.1+git.20160901:
+  * Fix reported offset for enhanced user area start address
+  * Register being set is other than mentioned in printed message.
+  * Add -c option for partitioning commands
+  * Add help texts for -c option
+  * Fix return value check from set_partitioning_setting_completed()
+  * Add missing -c for write_reliability
+
+---

Old:

  mmc-utils-0.1+git.20160623.tar.xz

New:

  mmc-utils-0.1+git.20160901.tar.xz



Other differences:
--
++ mmc-utils.spec ++
--- /var/tmp/diff_new_pack.jR2xJb/_old  2016-09-12 13:26:52.0 +0200
+++ /var/tmp/diff_new_pack.jR2xJb/_new  2016-09-12 13:26:52.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   mmc-utils
-Version:0.1+git.20160623
+Version:0.1+git.20160901
 Release:0
 Summary:Tools for MMC/SD devices
 License:GPL-2.0

++ mmc-utils-0.1+git.20160623.tar.xz -> mmc-utils-0.1+git.20160901.tar.xz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mmc-utils-0.1+git.20160623/mmc.c 
new/mmc-utils-0.1+git.20160901/mmc.c
--- old/mmc-utils-0.1+git.20160623/mmc.c2016-06-29 17:19:02.0 
+0200
+++ new/mmc-utils-0.1+git.20160901/mmc.c2016-09-01 17:49:01.0 
+0200
@@ -88,18 +88,18 @@
  NULL
},
{ do_create_gp_partition, -6,
- "gp create", "<-y|-n> " " " " " " " 
" " "\n"
-   "create general purpose partition for the .\nDry-run 
only unless -y is passed.\nNOTE!  This is a one-time programmable 
(unreversible) change.\nTo set enhanced attribute to general partition being 
created set\n  to 1 else set it to 0.\nTo set extended attribute to 
general partition\n set  to 1,2 else set it to 0",
+ "gp create", "<-y|-n|-c> " " " " " " 
" " " "\n"
+   "Create general purpose partition for the .\nDry-run 
only unless -y or -c is passed.\nUse -c if more partitioning settings are still 
to come.\nNOTE!  This is a one-time programmable (unreversible) change.\nTo set 
enhanced attribute to general partition being created set\n  to 1 
else set it to 0.\nTo set extended attribute to general partition\n set 
 to 1,2 else set it to 0",
  NULL
},
{ do_enh_area_set, -4,
- "enh_area set", "<-y|-n> " " " " " "\n"
-   "Enable the enhanced user area for the .\nDry-run only 
unless -y is passed.\nNOTE!  This is a one-time programmable (unreversible) 
change.",
+ "enh_area set", "<-y|-n|-c> " " " " " 
"\n"
+   "Enable the enhanced user area for the .\nDry-run only 
unless -y or -c is passed.\nUse -c if more partitioning settings are still to 
come.\nNOTE!  This is a one-time programmable (unreversible) change.",
  NULL
},
{ do_write_reliability_set, -2,
- "write_reliability set", "<-y|-n> " " " "\n"
-   "Enable write reliability per partition for the 
.\nDry-run only unless -y is passed.\nNOTE!  This is a one-time 
programmable (unreversible) change.",
+ "write_reliability set", "<-y|-n|-c> " " " "\n"
+   "Enable write reliability per partition for the 
.\nDry-run only unless -y or -c is passed.\nUse -c if more partitioning 
settings are still to come.\nNOTE!  This is a one-time programmable 
(unreversible) change.",
  NULL
},
{ do_status_get, -1,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mmc-utils-0.1+git.20160623/mmc_cmds.c 
new/mmc-utils-0.1+git.20160901/mmc_cmds.c
--- old/mmc-utils-0.1+git.20160623/mmc_cmds.c   2016-06-29 17:19:02.0 
+0200
+++ new/mmc-utils-0.1+git.20160901/mmc_cmds.c   2016-09-01 17:49:01.0 
+0200
@@ -507,7 +507,7 @@
 
if (ret) {
fprintf(stderr, "Could not write 0x%02x to EXT_CSD[%d] 
in %s\n",
-   1, EXT_CSD_BOOT_WP, device);
+   1, EXT_CSD_NATIVE_SECTOR_SIZE, device);
exit(1);
}
printf("MMC disable 512B emulation successful.  

commit mmc-utils for openSUSE:Factory

2016-07-01 Thread h_root
Hello community,

here is the log from the commit of package mmc-utils for openSUSE:Factory 
checked in at 2016-07-01 10:00:40

Comparing /work/SRC/openSUSE:Factory/mmc-utils (Old)
 and  /work/SRC/openSUSE:Factory/.mmc-utils.new (New)


Package is "mmc-utils"

Changes:

--- /work/SRC/openSUSE:Factory/mmc-utils/mmc-utils.changes  2016-05-17 
17:15:22.0 +0200
+++ /work/SRC/openSUSE:Factory/.mmc-utils.new/mmc-utils.changes 2016-07-01 
10:00:42.0 +0200
@@ -1,0 +2,7 @@
+Wed Jun 29 15:19:02 UTC 2016 - mplus...@suse.com
+
+- Update to version 0.1+git.20160623:
+  * mmc-utils: Add ability to configure write protect on an eMMC device
+  * mmc-utils: Add Command Queue fields to Extended CSD
+
+---

Old:

  mmc-utils-0.1+git.20160511.tar.xz

New:

  mmc-utils-0.1+git.20160623.tar.xz



Other differences:
--
++ mmc-utils.spec ++
--- /var/tmp/diff_new_pack.ST2CKr/_old  2016-07-01 10:00:43.0 +0200
+++ /var/tmp/diff_new_pack.ST2CKr/_new  2016-07-01 10:00:43.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   mmc-utils
-Version:0.1+git.20160511
+Version:0.1+git.20160623
 Release:0
 Summary:Tools for MMC/SD devices
 License:GPL-2.0
@@ -27,9 +27,6 @@
 Source1:https://www.gnu.org/licenses/gpl-2.0.txt
 Patch0: do_not_use_asm_generic.patch
 BuildRequires:  xz
-# switch from versioning based only on date of last git commit
-Provides:   %{name} = 20151118
-Obsoletes:  %{name} = 20151118
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description

++ _service ++
--- /var/tmp/diff_new_pack.ST2CKr/_old  2016-07-01 10:00:43.0 +0200
+++ /var/tmp/diff_new_pack.ST2CKr/_new  2016-07-01 10:00:43.0 +0200
@@ -1,14 +1,14 @@
 
-  
+  
 git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git
 git
 mmc-utils
 enable
 0.1+git.%cd
   
-  
+  
 *.tar
 xz
   
-  
+  
 

++ mmc-utils-0.1+git.20160511.tar.xz -> mmc-utils-0.1+git.20160623.tar.xz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mmc-utils-0.1+git.20160511/mmc.c 
new/mmc-utils-0.1+git.20160623/mmc.c
--- old/mmc-utils-0.1+git.20160511/mmc.c2016-05-12 22:45:28.0 
+0200
+++ new/mmc-utils-0.1+git.20160623/mmc.c2016-06-29 17:19:02.0 
+0200
@@ -58,14 +58,28 @@
"Print extcsd data from .",
  NULL
},
-   { do_writeprotect_get, -1,
- "writeprotect get", "\n"
-   "Determine the eMMC writeprotect status of .",
+   { do_writeprotect_boot_get, -1,
+ "writeprotect boot get", "\n"
+   "Print the boot partitions write protect status for .",
  NULL
},
-   { do_writeprotect_set, -1,
- "writeprotect set", "\n"
-   "Set the eMMC writeprotect status of .\nThis sets the 
eMMC to be write-protected until next boot.",
+   { do_writeprotect_boot_set, -1,
+ "writeprotect boot set", "\n"
+   "Set the boot partitions write protect status for 
.\nThis sets the eMMC boot partitions to be write-protected until\nthe 
next boot.",
+ NULL
+   },
+   { do_writeprotect_user_set, -4,
+ "writeprotect user set", "" "" "" 
"\n"
+#ifdef DANGEROUS_COMMANDS_ENABLED
+ "Set the write protect configuration for the specified region\nof the 
user area for .\n must be \"none|temp|pwron|perm\".\n\"none\" 
 - Clear temporary write protection.\n\"temp\"  - Set temporary write 
protection.\n\"pwron\" - Set write protection until the next poweron.\n
\"perm\"  - Set permanent write protection.\n specifies the first 
block of the protected area.\n specifies the size of the protected area 
in blocks.\nNOTE! The area must start and end on Write Protect 
Group\nboundries, Use the \"writeprotect user get\" command to get the\nWrite 
Protect Group size.\nNOTE! \"perm\" is a one-time programmable (unreversible) 
change.",
+#else
+ "Set the write protect configuration for the specified region\nof the 
user area for .\n must be \"none|temp|pwron\".\n\"none\"  - 
Clear temporary write protection.\n\"temp\"  - Set temporary write 
protection.\n\"pwron\" - Set write protection until the next 
poweron.\n specifies the first block of the protected 
area.\n specifies the size of the protected area in blocks.\nNOTE! The 
area must start and end on Write Protect Group\nboundries, Use the 
\"writeprotect user get\" command to get the\nWrite Protect Group size.",
+#endif /* DANGEROUS_COMMANDS_ENABLED */
+ NULL
+   },
+   { do_writeprotect_user_get, -1,
+ "writep

commit mmc-utils for openSUSE:Factory

2016-05-17 Thread h_root
Hello community,

here is the log from the commit of package mmc-utils for openSUSE:Factory 
checked in at 2016-05-17 17:15:21

Comparing /work/SRC/openSUSE:Factory/mmc-utils (Old)
 and  /work/SRC/openSUSE:Factory/.mmc-utils.new (New)


Package is "mmc-utils"

Changes:

--- /work/SRC/openSUSE:Factory/mmc-utils/mmc-utils.changes  2016-03-16 
10:34:35.0 +0100
+++ /work/SRC/openSUSE:Factory/.mmc-utils.new/mmc-utils.changes 2016-05-17 
17:15:22.0 +0200
@@ -1,0 +2,6 @@
+Thu May 12 20:45:28 UTC 2016 - mplus...@suse.com
+
+- Update to version 0.1+git.20160511:
+  * mmc-utils: Add disable partition boot to 'mmc bootpart enable'
+
+---

Old:

  mmc-utils-0.1~git.20160308.tar.xz

New:

  mmc-utils-0.1+git.20160511.tar.xz



Other differences:
--
++ mmc-utils.spec ++
--- /var/tmp/diff_new_pack.070otw/_old  2016-05-17 17:15:23.0 +0200
+++ /var/tmp/diff_new_pack.070otw/_new  2016-05-17 17:15:23.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   mmc-utils
-Version:0.1~git.20160308
+Version:0.1+git.20160511
 Release:0
 Summary:Tools for MMC/SD devices
 License:GPL-2.0

++ _service ++
--- /var/tmp/diff_new_pack.070otw/_old  2016-05-17 17:15:23.0 +0200
+++ /var/tmp/diff_new_pack.070otw/_new  2016-05-17 17:15:23.0 +0200
@@ -4,7 +4,7 @@
 git
 mmc-utils
 enable
-0.1~git.%ad
+0.1+git.%cd
   
   
 *.tar




commit mmc-utils for openSUSE:Factory

2016-03-16 Thread h_root
Hello community,

here is the log from the commit of package mmc-utils for openSUSE:Factory 
checked in at 2016-03-16 10:34:34

Comparing /work/SRC/openSUSE:Factory/mmc-utils (Old)
 and  /work/SRC/openSUSE:Factory/.mmc-utils.new (New)


Package is "mmc-utils"

Changes:

--- /work/SRC/openSUSE:Factory/mmc-utils/mmc-utils.changes  2016-03-07 
13:24:21.0 +0100
+++ /work/SRC/openSUSE:Factory/.mmc-utils.new/mmc-utils.changes 2016-03-16 
10:34:35.0 +0100
@@ -1,0 +2,15 @@
+Wed Mar 09 16:42:06 UTC 2016 - mplus...@suse.com
+
+- Update to version 0.1~git.20160308:
+  + Fit usage to 80 cols
+  + fix building errors on Android
+  + mmc-utils: add check for max enhanced user area
+  + mmc-utils: add support to create gp partition
+  + mmc-utils: Add command to set the boot bus conditions
+  + mmc-utils: add ability to enable/disable optional eMMC cache
+  + mmc_utils: gp create: only allow partition [1-4] to be selected
+  + mmc_utils: doc: add man-page
+  + mmc-utils: Merge the lsmmc tool into mmc-utils
+  + mmc_utils: add ffu support
+
+---

Old:

  mmc-utils-0.1~git.20160223.tar.xz

New:

  mmc-utils-0.1~git.20160308.tar.xz



Other differences:
--
++ mmc-utils.spec ++
--- /var/tmp/diff_new_pack.I2ChmN/_old  2016-03-16 10:34:36.0 +0100
+++ /var/tmp/diff_new_pack.I2ChmN/_new  2016-03-16 10:34:36.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   mmc-utils
-Version:0.1~git.20160223
+Version:0.1~git.20160308
 Release:0
 Summary:Tools for MMC/SD devices
 License:GPL-2.0

++ _service ++
--- /var/tmp/diff_new_pack.I2ChmN/_old  2016-03-16 10:34:36.0 +0100
+++ /var/tmp/diff_new_pack.I2ChmN/_new  2016-03-16 10:34:36.0 +0100
@@ -3,6 +3,7 @@
 git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git
 git
 mmc-utils
+enable
 0.1~git.%ad
   
   

++ do_not_use_asm_generic.patch ++
--- /var/tmp/diff_new_pack.I2ChmN/_old  2016-03-16 10:34:36.0 +0100
+++ /var/tmp/diff_new_pack.I2ChmN/_new  2016-03-16 10:34:36.0 +0100
@@ -9,12 +9,12 @@
  mmc.h |2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
-Index: mmc-utils-20151118/mmc.h
+Index: mmc-utils-0.1~git.20160308/mmc.h
 ===
 mmc-utils-20151118.orig/mmc.h
-+++ mmc-utils-20151118/mmc.h
-@@ -14,7 +14,7 @@
-  * Boston, MA 021110-1307, USA.
+--- mmc-utils-0.1~git.20160308.orig/mmc.h
 mmc-utils-0.1~git.20160308/mmc.h
+@@ -17,7 +17,7 @@
+  * those modifications are Copyright (c) 2016 SanDisk Corp.
   */
  
 -#include 

++ mmc-utils-0.1~git.20160223.tar.xz -> mmc-utils-0.1~git.20160308.tar.xz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mmc-utils-0.1~git.20160223/mmc.c 
new/mmc-utils-0.1~git.20160308/mmc.c
--- old/mmc-utils-0.1~git.20160223/mmc.c2016-03-01 17:38:32.0 
+0100
+++ new/mmc-utils-0.1~git.20160308/mmc.c2016-03-09 17:42:06.0 
+0100
@@ -13,6 +13,9 @@
  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  * Boston, MA 021110-1307, USA.
  *
+ * Modified to add field firmware update support,
+ * those modifications are Copyright (c) 2016 SanDisk Corp.
+ *
  * (This code is based on btrfs-progs/btrfs.c.)
  */
 
@@ -193,6 +196,11 @@
  "The device path should specify the scr file directory.",
  NULL
},
+   { do_ffu, -2,
+ "ffu", " \n"
+   "Run Field Firmware Update with  on .\n",
+ NULL
+   },
{ 0, 0, 0, 0 }
 };
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mmc-utils-0.1~git.20160223/mmc.h 
new/mmc-utils-0.1~git.20160308/mmc.h
--- old/mmc-utils-0.1~git.20160223/mmc.h2016-03-01 17:38:32.0 
+0100
+++ new/mmc-utils-0.1~git.20160308/mmc.h2016-03-09 17:42:06.0 
+0100
@@ -12,6 +12,9 @@
  * License along with this program; if not, write to the
  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  * Boston, MA 021110-1307, USA.
+ *
+ * Modified to add field firmware update support,
+ * those modifications are Copyright (c) 2016 SanDisk Corp.
  */
 
 #include 
@@ -34,6 +37,7 @@
 #define R1_SWITCH_ERROR   (1 << 7)  /* sx, c */
 #define MMC_SWITCH_MODE_WRITE_BYTE 0x03/* Set target to value */
 #define MMC_READ_MULTIPLE_BLOCK  18   /* adtc [31:0] data addr   R1  */
+#define MMC_WRITE_BLOCK24  /* adtc [31:0] data addr
R1  */
 #define MMC_WRITE_MULTIPLE_BLOCK 25   /* adtcR1  */
 
 /*
@@ -42,6 +46,17 @@
 #define EXT_CSD_S_CMD_SET  

commit mmc-utils for openSUSE:Factory

2016-03-07 Thread h_root
Hello community,

here is the log from the commit of package mmc-utils for openSUSE:Factory 
checked in at 2016-03-07 13:24:01

Comparing /work/SRC/openSUSE:Factory/mmc-utils (Old)
 and  /work/SRC/openSUSE:Factory/.mmc-utils.new (New)


Package is "mmc-utils"

Changes:

--- /work/SRC/openSUSE:Factory/mmc-utils/mmc-utils.changes  2016-02-22 
08:57:33.0 +0100
+++ /work/SRC/openSUSE:Factory/.mmc-utils.new/mmc-utils.changes 2016-03-07 
13:24:21.0 +0100
@@ -1,0 +2,6 @@
+Tue Mar  1 15:37:00 UTC 2016 - mplus...@suse.com
+
+- Update to 0.1~20160223
+- Drop old versioning which was based only on date
+
+---

Old:

  mmc-utils-20151118.tar.xz

New:

  mmc-utils-0.1~git.20160223.tar.xz



Other differences:
--
++ mmc-utils.spec ++
--- /var/tmp/diff_new_pack.P07z4D/_old  2016-03-07 13:24:22.0 +0100
+++ /var/tmp/diff_new_pack.P07z4D/_new  2016-03-07 13:24:22.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   mmc-utils
-Version:20151118
+Version:0.1~git.20160223
 Release:0
 Summary:Tools for MMC/SD devices
 License:GPL-2.0
@@ -27,6 +27,9 @@
 Source1:https://www.gnu.org/licenses/gpl-2.0.txt
 Patch0: do_not_use_asm_generic.patch
 BuildRequires:  xz
+# switch from versioning based only on date of last git commit
+Provides:   %{name} = 20151118
+Obsoletes:  %{name} = 20151118
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -39,10 +42,10 @@
 
 %build
 export CFLAGS="%{optflags}"
-make %{?_smp_mflags} all
+make %{?_smp_mflags}
 
 %install
-make install prefix=%{_prefix} DESTDIR=%{buildroot} %{?_smp_mflags}
+make %{?_smp_mflags} install prefix=%{_prefix} DESTDIR=%{buildroot}
 install -D -m 0644 man/mmc.1 %{buildroot}%{_mandir}/man1/mmc.1
 
 %files

++ _service ++
--- /var/tmp/diff_new_pack.P07z4D/_old  2016-03-07 13:24:22.0 +0100
+++ /var/tmp/diff_new_pack.P07z4D/_new  2016-03-07 13:24:22.0 +0100
@@ -3,7 +3,7 @@
 git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git
 git
 mmc-utils
-%ad
+0.1~git.%ad
   
   
 *.tar




commit mmc-utils for openSUSE:Factory

2016-02-21 Thread h_root
Hello community,

here is the log from the commit of package mmc-utils for openSUSE:Factory 
checked in at 2016-02-22 08:57:26

Comparing /work/SRC/openSUSE:Factory/mmc-utils (Old)
 and  /work/SRC/openSUSE:Factory/.mmc-utils.new (New)


Package is "mmc-utils"

Changes:

--- /work/SRC/openSUSE:Factory/mmc-utils/mmc-utils.changes  2015-12-24 
12:15:55.0 +0100
+++ /work/SRC/openSUSE:Factory/.mmc-utils.new/mmc-utils.changes 2016-02-22 
08:57:33.0 +0100
@@ -1,0 +2,5 @@
+Wed Feb 17 17:47:54 UTC 2016 - norm...@linux.vnet.ibm.com
+
+- new do_not_use_asm_generic.patch to avoid PowerPC build error
+
+---

New:

  do_not_use_asm_generic.patch



Other differences:
--
++ mmc-utils.spec ++
--- /var/tmp/diff_new_pack.nDnaay/_old  2016-02-22 08:57:34.0 +0100
+++ /var/tmp/diff_new_pack.nDnaay/_new  2016-02-22 08:57:34.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mmc-utils
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,7 @@
 Url:http://git.kernel.org/cgit/linux/kernel/git/cjb/mmc-utils.git/
 Source0:%{name}-%{version}.tar.xz
 Source1:https://www.gnu.org/licenses/gpl-2.0.txt
+Patch0: do_not_use_asm_generic.patch
 BuildRequires:  xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -34,6 +35,7 @@
 %prep
 %setup -q
 cp %{SOURCE1} LICENSE.GPL-2.0
+%patch0 -p1
 
 %build
 export CFLAGS="%{optflags}"

++ do_not_use_asm_generic.patch ++
From: Michel Normand 
Subject: do not use asm generic
Date: Wed, 17 Feb 2016 18:44:43 +0100

do not use  to avoid build error on PowerPC arch

Signed-off-by: Michel Normand 
---
 mmc.h |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: mmc-utils-20151118/mmc.h
===
--- mmc-utils-20151118.orig/mmc.h
+++ mmc-utils-20151118/mmc.h
@@ -14,7 +14,7 @@
  * Boston, MA 021110-1307, USA.
  */
 
-#include 
+#include 
 #include 
 #include