Commit Graph

33 Commits

Author SHA1 Message Date
Robert Marko 272f55e87f treewide: refresh hashes after move to use ZSTD as default
With the recent move to using ZSTD as the default compression format
for packaging git repo clones we must refresh all of the hashes for
the packages feed as well.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-04-07 12:06:34 +02:00
Michael Heimpold d8bd171f83 mmc-utils: update to upstream's e1281d4de916 commit
Included upstream changes:
e1281d4de916 mmc-utils: mmc_cmds: fix type-punned warning on &ext_csd[] casting
b5ca140312d2 mmc-utils: lsmmc: Fix emmc capacity calculation
d1d8a05eeb4b mmc-utils: lsmmc: Disintegrade print_mmc_csd
3b055a2129bf mmc-utils: lsmmc: Simplify interface processing functions
e82719f1d29c mmc-utils: lsmmc: Simplify prinitng manufacturer name

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2024-03-19 23:08:03 +01:00
Michael Heimpold 51a7d7850d mmc-utils: update to latest upstream revision
This also requires updating our patch for fortify-ing.
We now also pass the version as define during compilation.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-10-03 20:39:45 +02:00
Michael Heimpold 4a2645b33f mmc-utils: update to latest upstream revision
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-03-12 17:47:46 +01:00
Michael Heimpold e49423d43f mmc-utils: update to latest upstream revision
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-11-12 23:13:05 +01:00
Michael Heimpold 659f587289 mmc-utils: update to latest upstream revision
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-09-25 22:13:16 +02:00
Michael Heimpold dbec421e86 mmc-utils: update to latest upstream revision
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-05-07 09:18:51 +02:00
Michael Heimpold 72781d3ff2 mmc-utils: update to latest upstream revision
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-03-19 21:28:50 +01:00
Michael Heimpold c71b09aa92 mmc-utils: update to latest git head
While at, update project's reference URL.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-01-16 15:30:18 +01:00
Michael Heimpold 7970955024 mmc-utils: update to latest git head
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-12-11 17:17:41 +01:00
Michael Heimpold 7b61ab9fce mmc-utils: update to latest upstream revision
While at, switch to offical repo URL, adjust license tag to newer style
and remove obsolete/already mainlined patches.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-10-02 13:41:11 +02:00
Ilya Lipnitskiy 5d8d4fbbcb
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00
Michael Heimpold 85bdb3f281 mmc-utils: add patch for cache size scaling
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2020-02-18 22:30:03 +01:00
Michael Heimpold 7c5ea5841e mmc-utils: update to latest git head
Remove already upstreamed patches, add another one from mailing-list.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2019-10-15 21:35:34 +02:00
Michael Heimpold c1b2943e8a mmc-utils: update to latest git head
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2019-09-12 22:26:56 +02:00
Michael Heimpold 6aab70df4c mmc-utils: update to latest git head
Also add some valueable patches from mailing-list - upstream seems not
to care so much about, but giving them a broader audience does not hurt.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2019-04-15 21:38:41 +02:00
Michael Heimpold 84100190cf mmc-utils: update to latest git revision
This also includes a fix for the trimming function and thus fixes #7306.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-12-09 16:26:52 +01:00
Michael Heimpold 0fbed12528 mmc-utils: update to latest git version
Also drop obsolete patch.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-04-18 21:28:58 +02:00
Etienne Champetier 760eb3d190 mmc-utils: fix PKG_MIRROR_HASH
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-09-22 21:53:40 -07:00
Michael Heimpold 77dd883e3e mmc-utils: rely on common variables
Instead of assigning various variables ourself, rely on the common logic
provided by "packaging framework". This brings this package in sync with
other ones which also use git repos as source, dates and commit ids as
version etc. This results also in using xz for tarballs. While at,
populate the PKG_MIRROR_HASH.

Thanks @diizzyy for suggesting these improvements.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-03-29 22:52:54 +02:00
Michael Heimpold f8be06e956 mmc-utils: upgrade to latest revision
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-03-27 21:44:48 +02:00
Michael Heimpold e7b11e0366 mmc-utils: fix compilation on mips64
This commit adds a patch to remove a superfluous include.
Removing this include prevents the following error (detected by LEDE
project's buildbot while compiling for mips64 architecture):

(Note: directory names shorted for better readability)

In file included from mmc.h:20:0,
                 from mmc_cmds.c:37:
/srv/.../include/asm-generic/int-ll64.h:29:44: error: conflicting types for '__s64'
 __extension__ typedef __signed__ long long __s64;
                                            ^
In file included from /srv/.../include/asm/types.h:22:0,
                 from /srv/.../include/linux/types.h:4,
                 from /srv/.../include/linux/fs.h:11,
                 from mmc_cmds.c:35:
/srv/.../include/asm-generic/int-l64.h:28:25: note: previous declaration of '__s64' was here
 typedef __signed__ long __s64;
                         ^
In file included from mmc.h:20:0,
                 from mmc_cmds.c:37:
/srv/.../include/asm-generic/int-ll64.h:30:42: error: conflicting types for '__u64'
 __extension__ typedef unsigned long long __u64;
                                          ^
In file included from /srv/.../include/asm/types.h:22:0,
                 from /srv/.../include/linux/types.h:4,
                 from /srv/.../include/linux/fs.h:11,
                 from mmc_cmds.c:35:
/srv/.../include/asm-generic/int-l64.h:29:23: note: previous declaration of '__u64' was here
 typedef unsigned long __u64;
                       ^
Makefile:36: recipe for target 'mmc_cmds.o' failed

The patch was already sent upstream, no response yet.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2016-09-24 21:25:13 +02:00
Michael Heimpold be6eb2b71d mmc-utils: upgrade to latest revision
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2016-09-11 18:04:37 +02:00
Michael Heimpold 4e402c8685 mmc-utils: upgrade to latest revision
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2016-06-28 22:55:35 +02:00
Michael Heimpold 45840cf56d mmc-utils: upgrade to latest revision
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2016-05-20 17:54:36 +02:00
Michael Heimpold 1382bd46e3 mmc-utils: upgrade to latest revision
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2016-02-27 22:13:14 +01:00
Michael Heimpold 0db8bac00c mmc-utils: don't set -D_FORTIFY_SOURCE in Makefile, take 2
Also already mentioned in ba4338d6f7,
the security feature FORTIFY_SOURCE could be set globally.
The current approach tries to undefine and redefine it, however,
the order on the command line prevents this from being successfully, e.g.:

arm-openwrt-linux-muslgnueabi-gcc  ... -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 ... -D_FORTIFY_SOURCE=1 ...
                                       `---------------v-------------------'     `--------v--------'
                                                   AM_CFLAGS                        OpenWrt params

So to have the original source (static) _FORTIFY_SOURCE=2 define,
the only option is to remove it from AM_CFLAGS completely, and
to pass it after the OpenWrt settings explicitely in the Makefile.

This should fix the buildbots finally.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2015-08-30 14:33:46 +02:00
Michael Heimpold 4020ee4fb6 mmc-utils: upgrade to latest revision
New features are commands for eMMC cache control and gp partition
creation.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2015-05-31 23:31:12 +02:00
Daniel Golle 692ee8cf18 mmc-utils: bump to 2015-03-25 snapshot
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-04-03 22:17:48 +02:00
Daniel Golle 360122ed5d mmc-utils: restore FORTIFY_SOURCE=2
The previous commit
ba4338d mmc-utils: don't set -D_FORTIFY_SOURCE in Makefile
applied the global value of FORITFY_SOURCE also to mmc-utils.
As the package was meant to be built with FORTIFY_SOURCE upstream,
restore that behaviour and make it play nice with the global setting
by undefining the macro before defining it.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-04-03 22:17:07 +02:00
Daniel Golle ba4338d6f7 mmc-utils: don't set -D_FORTIFY_SOURCE in Makefile
Now that security features are set globally, having the
FORTIFY_SOURCE option set in Makefile breaks the build when
CONFIG_PKG_FORTIFY_SOURCE_{1,2} is enabled as well.

arm-openwrt-linux-uclibcgnueabi-gcc  -Wall -Werror -Wuninitialized -Wundef -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -Os -pipe -march=armv6k -mtune=mpcore -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -mfloat-abi=soft -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Wp,-MMD,./.mmc.o.d,-MT,mmc.o -c mmc.c -o mmc.o
<command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
<command-line>:0:0: note: this is the location of the previous definition
cc1: all warnings being treated as errors
Makefile:35: recipe for target 'mmc.o' failed

Fix this by removing -D_FORTIFY_SOURCE=2 from Makefile.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2015-03-15 20:51:51 +01:00
Michael Heimpold ec44072a4c mmc-utils: fix typo in Makefile
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2015-03-07 22:47:51 +01:00
Michael Heimpold a05ece16a9 mmc-utils: add new package
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2015-03-06 23:31:54 +01:00