public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* ubi-utils cleanup
@ 2007-12-17  9:46 Artem Bityutskiy
  2008-01-04  9:42 ` Frank Haverkamp
  0 siblings, 1 reply; 3+ messages in thread
From: Artem Bityutskiy @ 2007-12-17  9:46 UTC (permalink / raw)
  To: Frank Haverkamp; +Cc: Alexander Schmidt, MTD Mailinglist, Andreas Arnez

Hi Frank, Alex, Andreas,

since UBIFS gets tried more, people start using ubi-utils more, and I
got several feed-backs about how untidy mtd-utils,git is, and ubi-utils
are untidy as well.

May you please help me cleaning them up a little? We should re-structure
the repo a bit to start of. I've added few ideas into the ubi-utils/TODO
file.

First of, we should separate out UBI tests from ubi-utils and move them
to tests/ubi-tests. Then we should separate-out the tools which are
NAND-related - indeed, what do they do in ubi-utils? They should go to
nand-tools, and stuff like nanddump and nandwrite should go to
nand-tools as well.

Since most of the stuff in ubi-utils were make by your team, I kindly
ask you to help with re-structuring them.

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ubi-utils cleanup
  2007-12-17  9:46 ubi-utils cleanup Artem Bityutskiy
@ 2008-01-04  9:42 ` Frank Haverkamp
  2008-01-07 13:12   ` Frank Haverkamp
  0 siblings, 1 reply; 3+ messages in thread
From: Frank Haverkamp @ 2008-01-04  9:42 UTC (permalink / raw)
  To: dedekind
  Cc: Monte K. Copeland, MTD Mailinglist, Alexander Schmidt, haver,
	Andreas Arnez

[-- Attachment #1: Type: text/plain, Size: 1874 bytes --]

Hi Artem,

On Mon, 2007-12-17 at 11:46 +0200, Artem Bityutskiy wrote:
> Hi Frank, Alex, Andreas,
> 
> since UBIFS gets tried more, people start using ubi-utils more, and I
> got several feed-backs about how untidy mtd-utils,git is, and ubi-utils
> are untidy as well.
> 
> May you please help me cleaning them up a little? We should re-structure
> the repo a bit to start of. I've added few ideas into the ubi-utils/TODO
> file.

> First of, we should separate out UBI tests from ubi-utils and move them
> to tests/ubi-tests. Then we should separate-out the tools which are
> NAND-related - indeed, what do they do in ubi-utils? They should go to
> nand-tools, and stuff like nanddump and nandwrite should go to
> nand-tools as well.

nand2bin and bin2nand are of the same kind and not UBI dependend. To be
more widely used, those tools need more flexibility where the ECC data
is placed in the OOB. Currently it is pretty much hard-coded for the
layout we are using.

I have nothing against relocating the tools to other directories. What I
like to keep are working install and uninstall rules with the
possibility to define an individual install directory.

> Since most of the stuff in ubi-utils were make by your team, I kindly
> ask you to help with re-structuring them.

Alex is busy with his thesis, I doubt that he can help much. I will try
to follow the discussion and contribute small things if my time permits
it. Please take my colleague Monte Copeland on CC. I don't know how much
time he has, but he is currently responsible for our internal UBI usage.

Regards

Frank

-- 
IBM Deutschland Entwicklung GmbH, Schoenaicher Str. 220, 71032
Boeblingen, Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Herbert Kircher, Sitz der Gesellschaft: Böblingen,
Registergericht: Amtsgericht Stuttgart, HRB 243294

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 5269 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ubi-utils cleanup
  2008-01-04  9:42 ` Frank Haverkamp
@ 2008-01-07 13:12   ` Frank Haverkamp
  0 siblings, 0 replies; 3+ messages in thread
From: Frank Haverkamp @ 2008-01-07 13:12 UTC (permalink / raw)
  To: dedekind
  Cc: Monte K. Copeland, MTD Mailinglist, Alexander Schmidt, haver,
	Andreas Arnez

[-- Attachment #1: Type: text/plain, Size: 1205 bytes --]

Hi,

On Fri, 2008-01-04 at 10:42 +0100, Frank Haverkamp wrote:

> nand2bin and bin2nand are of the same kind and not UBI dependend. To be
> more widely used, those tools need more flexibility where the ECC data
> is placed in the OOB. Currently it is pretty much hard-coded for the
> layout we are using.

I added more flexibility to the nand2bin/bin2nand tools so that
different ECC layouts in the OOB can more easily be added. I did not
move them yet. Josh, this feature is probably what some of your
colleagues might be looking for.

I moved the scripts from the perl- the scripts-sub-directory since two
sub-dirs do not make a lot of sense like you already mentioned. I
changed the Makefile a little so that one can start the tests more
easily. I removed the obsolete documentation file.

You can find my proposed changes in my mtd-utils.git:
  http://git.infradead.org/?p=users/haver/mtd-utils.git;a=summary

Regards,

Frank
-- 
IBM Deutschland Entwicklung GmbH, Schoenaicher Str. 220, 71032
Boeblingen, Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Herbert Kircher, Sitz der Gesellschaft: Böblingen,
Registergericht: Amtsgericht Stuttgart, HRB 243294

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 5269 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-01-07 13:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-17  9:46 ubi-utils cleanup Artem Bityutskiy
2008-01-04  9:42 ` Frank Haverkamp
2008-01-07 13:12   ` Frank Haverkamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox