From: Gary Bisson <gary.bisson@boundarydevices.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 02/14] kobs-ng: remove obsolete package
Date: Wed, 9 Sep 2015 22:20:51 +0200 [thread overview]
Message-ID: <1441830063-8190-3-git-send-email-gary.bisson@boundarydevices.com> (raw)
In-Reply-To: <1441830063-8190-1-git-send-email-gary.bisson@boundarydevices.com>
In favor of imx-kobs maintained by Freescale.
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
---
package/Config.in | 1 -
package/kobs-ng/0001-fix-mtd-defines.patch | 73 ------------------------------
package/kobs-ng/Config.in | 9 ----
package/kobs-ng/kobs-ng.hash | 2 -
package/kobs-ng/kobs-ng.mk | 13 ------
5 files changed, 98 deletions(-)
delete mode 100644 package/kobs-ng/0001-fix-mtd-defines.patch
delete mode 100644 package/kobs-ng/Config.in
delete mode 100644 package/kobs-ng/kobs-ng.hash
delete mode 100644 package/kobs-ng/kobs-ng.mk
diff --git a/package/Config.in b/package/Config.in
index 9bd4190..5f6914b 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -162,7 +162,6 @@ menu "Filesystem and flash utilities"
source "package/genext2fs/Config.in"
source "package/genpart/Config.in"
source "package/genromfs/Config.in"
- source "package/kobs-ng/Config.in"
source "package/makedevs/Config.in"
source "package/mmc-utils/Config.in"
source "package/mtd/Config.in"
diff --git a/package/kobs-ng/0001-fix-mtd-defines.patch b/package/kobs-ng/0001-fix-mtd-defines.patch
deleted file mode 100644
index 3ffba71..0000000
--- a/package/kobs-ng/0001-fix-mtd-defines.patch
+++ /dev/null
@@ -1,73 +0,0 @@
-Newer kernel headers renamed mtd mode defines and no longer support
-MEMSETOOBSEL. Allow code to work with both older and newer kernel
-versions.
-
-Signed-off-by: Paul B. Henson <henson@acm.org>
-Signed-off-by: Sergey Alyoshin <alyoshin.s@gmail.com>
-
-diff -u -r kobs-ng-3.0.35-4.0.0-orig/src/mtd.c kobs-ng-3.0.35-4.0.0/src/mtd.c
---- kobs-ng-3.0.35-4.0.0-orig/src/mtd.c 2012-12-17 22:37:40.000000000 -0800
-+++ kobs-ng-3.0.35-4.0.0/src/mtd.c 2013-07-28 19:39:59.000000000 -0700
-@@ -852,8 +852,11 @@
- mp = &md->part[i];
-
- if (mp->fd != -1) {
-+/* Newer kernels dropped MEMSETOOBSEL */
-+#ifdef MEMSETOOBSEL
- (void)ioctl(mp->fd, MEMSETOOBSEL,
- &mp->old_oobinfo);
-+#endif
- close(mp->fd);
- }
-
-@@ -896,6 +899,8 @@
- continue;
- }
-
-+/* Newer kernels dropped MEMSETOOBSEL */
-+#ifdef MEMSETOOBSEL
- if (r == -ENOTTY) {
- r = ioctl(mp->fd, MEMSETOOBSEL, &mp->old_oobinfo);
- if (r != 0) {
-@@ -904,6 +909,7 @@
- }
- mp->oobinfochanged = 0;
- }
-+#endif
- } else {
- r = ioctl(mp->fd, MTDFILEMODE, (void *)MTD_MODE_RAW);
- if (r != 0 && r != -ENOTTY) {
-@@ -911,6 +917,8 @@
- continue;
- }
-
-+/* Newer kernels dropped MEMSETOOBSEL */
-+#ifdef MEMSETOOBSEL
- if (r == -ENOTTY) {
- r = ioctl(mp->fd, MEMSETOOBSEL, &none_oobinfo);
- if (r != 0) {
-@@ -920,6 +928,7 @@
- mp->oobinfochanged = 1;
- } else
- mp->oobinfochanged = 2;
-+#endif
- }
-
- mp->ecc = ecc;
-diff -u -r kobs-ng-3.0.35-4.0.0-orig/src/mtd.h kobs-ng-3.0.35-4.0.0/src/mtd.h
---- kobs-ng-3.0.35-4.0.0-orig/src/mtd.h 2012-12-17 22:37:40.000000000 -0800
-+++ kobs-ng-3.0.35-4.0.0/src/mtd.h 2013-07-28 19:33:57.000000000 -0700
-@@ -31,6 +31,13 @@
- #include "BootControlBlocks.h"
- #include "rom_nand_hamming_code_ecc.h"
-
-+// Newer kernel headers renamed define
-+#include <linux/version.h>
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 2, 0)
-+# define MTD_MODE_NORMAL MTD_FILE_MODE_NORMAL
-+# define MTD_MODE_RAW MTD_FILE_MODE_RAW
-+#endif
-+
- //------------------------------------------------------------------------------
- // Re-definitions of true and false, because the standard ones aren't good
- // enough?
diff --git a/package/kobs-ng/Config.in b/package/kobs-ng/Config.in
deleted file mode 100644
index 1f6b2d1..0000000
--- a/package/kobs-ng/Config.in
+++ /dev/null
@@ -1,9 +0,0 @@
-config BR2_PACKAGE_KOBS_NG
- bool "kobs-ng"
- depends on BR2_arm
- help
- The kobs-ng tool is used for writing images to NAND on i.MX
- platforms.
-
- This utility is provided by Freescale as-is and doesn't have an
- upstream.
diff --git a/package/kobs-ng/kobs-ng.hash b/package/kobs-ng/kobs-ng.hash
deleted file mode 100644
index 3e527da..0000000
--- a/package/kobs-ng/kobs-ng.hash
+++ /dev/null
@@ -1,2 +0,0 @@
-# From http://repository.timesys.com/buildsources/k/kobs-ng/kobs-ng-3.0.35-4.0.0/kobs-ng-3.0.35-4.0.0.tar.gz.md5sum
-md5 26104c577f59a6b81782a5bd16aadd82 kobs-ng-3.0.35-4.0.0.tar.gz
diff --git a/package/kobs-ng/kobs-ng.mk b/package/kobs-ng/kobs-ng.mk
deleted file mode 100644
index 13d1faf..0000000
--- a/package/kobs-ng/kobs-ng.mk
+++ /dev/null
@@ -1,13 +0,0 @@
-################################################################################
-#
-# kobs-ng
-#
-################################################################################
-
-# kobs-ng versions have never made much sense :(
-KOBS_NG_VERSION = 3.0.35-4.0.0
-KOBS_NG_SITE = http://repository.timesys.com/buildsources/k/kobs-ng/kobs-ng-$(KOBS_NG_VERSION)
-KOBS_NG_LICENSE = GPLv2+
-KOBS_NG_LICENSE_FILES = COPYING
-
-$(eval $(autotools-package))
--
2.5.1
next prev parent reply other threads:[~2015-09-09 20:20 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-09 20:20 [Buildroot] [PATCH 00/14] Update Freescale packages to 3.14.28-1.0.0_ga Gary Bisson
2015-09-09 20:20 ` [Buildroot] [PATCH 01/14] freescale-imx: bump to 3.14.28-1.0.0_ga release Gary Bisson
2015-09-09 20:20 ` Gary Bisson [this message]
2015-09-10 3:55 ` [Buildroot] [PATCH 02/14] kobs-ng: remove obsolete package Baruch Siach
2015-09-10 8:08 ` Gary Bisson
2015-09-09 20:20 ` [Buildroot] [PATCH 03/14] imx-kobs: add new package Gary Bisson
2015-09-09 20:20 ` [Buildroot] [PATCH 04/14] imx-gpu-viv: bump version to 5.0.11 p4.5 Gary Bisson
2015-09-09 20:20 ` [Buildroot] [PATCH 05/14] xdriver_xf86-video-imx-viv: bump to version " Gary Bisson
2015-09-09 20:20 ` [Buildroot] [PATCH 06/14] libfslcodec: bump version to 4.0.3 Gary Bisson
2015-09-09 20:20 ` [Buildroot] [PATCH 07/14] libfslparser: " Gary Bisson
2015-09-09 20:20 ` [Buildroot] [PATCH 08/14] libfslvpuwrap: bump version to 1.0.58 Gary Bisson
2015-09-09 20:20 ` [Buildroot] [PATCH 09/14] gst-fsl-plugins: bump version to 4.0.3 Gary Bisson
2015-09-10 12:17 ` Thomas Petazzoni
2015-09-10 16:30 ` Arnout Vandecappelle
2015-09-09 20:20 ` [Buildroot] [PATCH 10/14] gst1-imx: bump version to 0.11.1 Gary Bisson
2015-09-09 20:21 ` [Buildroot] [PATCH 11/14] freescale_imx6*_defconfig: bump version to 3.14.28-1.0.0_ga Gary Bisson
2015-09-09 20:21 ` [Buildroot] [PATCH 12/14] qmx6_defconfig: bump version to 3.14.28_1.0.0 Gary Bisson
2015-09-09 20:21 ` [Buildroot] [PATCH 13/14] nitrogen6x_defconfig: bump version to 3.14.28-1.0.0 Gary Bisson
2015-09-09 20:21 ` [Buildroot] [PATCH 14/14] board/boundarydevices: update u-boot script for 3.14 kernels Gary Bisson
2015-09-19 13:42 ` [Buildroot] [PATCH 00/14] Update Freescale packages to 3.14.28-1.0.0_ga Thomas Petazzoni
2015-09-19 13:43 ` Thomas Petazzoni
2015-09-21 8:11 ` Gary Bisson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1441830063-8190-3-git-send-email-gary.bisson@boundarydevices.com \
--to=gary.bisson@boundarydevices.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox