* [UBI] Remove autotools from ubi-utils @ 2006-06-15 4:02 Josh Boyer 2006-06-19 12:27 ` Frank Haverkamp 2006-06-21 12:43 ` Frank Haverkamp 0 siblings, 2 replies; 5+ messages in thread From: Josh Boyer @ 2006-06-15 4:02 UTC (permalink / raw) To: Linux-MTD Mailing List; +Cc: Jörn Engel, Thomas Gleixner, haver Hi, Take a look at the 'haver' branch of my mtd-utils tree. It contains the ubi-tools import that Frank did, and the start of removing the autotools crap from them. http://git.infradead.org/?p=users/jwboyer/mtd-utils;a=shortlog;h=haver Next step would be to finish the standalone Makefiles, then add a couple toplevel Makefiles so that the ubi tools get built with the rest of the mtd-utils. If this isn't the direction that people want to go with this, that's fine. But until someone comes up with something better, it's a start. I'll be out of town for the next few days, so responses will be limited. josh ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [UBI] Remove autotools from ubi-utils 2006-06-15 4:02 [UBI] Remove autotools from ubi-utils Josh Boyer @ 2006-06-19 12:27 ` Frank Haverkamp 2006-06-20 8:50 ` Artem B. Bityutskiy 2006-06-21 12:43 ` Frank Haverkamp 1 sibling, 1 reply; 5+ messages in thread From: Frank Haverkamp @ 2006-06-19 12:27 UTC (permalink / raw) To: Josh Boyer; +Cc: Jörn Engel, Thomas Gleixner, Linux-MTD Mailing List Hi Josh, On Wed, 2006-06-14 at 23:02 -0500, Josh Boyer wrote: > Hi, > > Take a look at the 'haver' branch of my mtd-utils tree. It contains > the ubi-tools import that Frank did, and the start of removing the > autotools crap from them. > > http://git.infradead.org/?p=users/jwboyer/mtd-utils;a=shortlog;h=haver > > Next step would be to finish the standalone Makefiles, then add a > couple toplevel Makefiles so that the ubi tools get built with the > rest of the mtd-utils. > > If this isn't the direction that people want to go with this, that's > fine. But until someone comes up with something better, it's a start. > > I'll be out of town for the next few days, so responses will be limited. > > josh I saw your patches and figured that we should discuss an overall strategy, what we want to do in which fashion. When Oliver started the change to automake he had in mind, that he needed to provide libraries for our users. So he made libraries for everything. Some of the utils share the same libs. Finally (if you look at the configuration) the idea with the shared libs did not fully work out. I had to change some apps to be statically linked to get properly working binaries (automake produced bash scripts and a .bin/... directory which was not what I wanted). Olli was not there anymore and I did not took the time to investigate if this could have been solved differently. Now since you proposed to remove automake stuff and I do not know how to maintain it, I agree with you that we should replace it by something easier looking and better maintainable. When looking at it, I would assume that we should take care that the following stuff is resulting from the build: Tools: * ubimkvol * ubirmvol * ubiwritevol - Artem liked the name ubiupdatevol better * mkpfi * ubimirror * nand2bin * mkpfi * pfiflash * pfi2bin * ubigen * unubi * pddcustomize * mkbootenv Libraries (or linked into the apps?): * libubi I wonder where we put ECC and CRC, error printout logic? We can link the object files to the applications, or put them in a library, whatever. I think the code is very very small, so linking it into the apps has the advantage that we would not have to tweak library paths which I consider to be a big evil. My opinion is that we probably want to push all src into one directory and the interface .h also in one. The non interface .hs we should put in the src directory too. What the makefile is concerned about I would prefer only one if possible, if we can somehow manage to be simple enough. Or multiple small ones including some reasonable Rules.mk files. Artem wanted to beautify libubi, but that is something different. Let us discuss tomorrow how we want to continue. Frank ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [UBI] Remove autotools from ubi-utils 2006-06-19 12:27 ` Frank Haverkamp @ 2006-06-20 8:50 ` Artem B. Bityutskiy 0 siblings, 0 replies; 5+ messages in thread From: Artem B. Bityutskiy @ 2006-06-20 8:50 UTC (permalink / raw) To: haver; +Cc: Jörn Engel, Josh Boyer, Linux-MTD Mailing List, Thomas Gleixner Frank Haverkamp wrote: > * ubiwritevol - Artem liked the name ubiupdatevol better Indeed, UBI allows only "update" operations from, userspace, not random writes... > Artem wanted to beautify libubi, but that is something different. Butify is not really suitable word here. I'd say to write it from scratch cleanly :-) Yes, I've finished most UBI TODOs, and now I want to write few user-space tests. I certainly want to have them on top of a decent UBI library. -- Best Regards, Artem B. Bityutskiy, St.-Petersburg, Russia. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [UBI] Remove autotools from ubi-utils 2006-06-15 4:02 [UBI] Remove autotools from ubi-utils Josh Boyer 2006-06-19 12:27 ` Frank Haverkamp @ 2006-06-21 12:43 ` Frank Haverkamp 2006-06-21 13:40 ` Josh Boyer 1 sibling, 1 reply; 5+ messages in thread From: Frank Haverkamp @ 2006-06-21 12:43 UTC (permalink / raw) To: Josh Boyer; +Cc: Jörn Engel, Thomas Gleixner, Linux-MTD Mailing List Hi, I removed automake and autoconf. libubi is in this version no real library anymore. We can change that later on. Artem said, that he wanted to improve/rewrite the library anyhow. Now he can do without using automake, autoconf. ubiwritevol is now renamed to ubiupdatevol. http://git.infradead.org/?p=users/haver/mtd-utils.git;a=commit;h=a985bce4176b201d10d22036ea6b5f6d0f539e70 On Wed, 2006-06-14 at 23:02 -0500, Josh Boyer wrote: > Take a look at the 'haver' branch of my mtd-utils tree. It contains > the ubi-tools import that Frank did, and the start of removing the > autotools crap from them. > > http://git.infradead.org/?p=users/jwboyer/mtd-utils;a=shortlog;h=haver > > Next step would be to finish the standalone Makefiles, then add a > couple toplevel Makefiles so that the ubi tools get built with the > rest of the mtd-utils. Frank ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [UBI] Remove autotools from ubi-utils 2006-06-21 12:43 ` Frank Haverkamp @ 2006-06-21 13:40 ` Josh Boyer 0 siblings, 0 replies; 5+ messages in thread From: Josh Boyer @ 2006-06-21 13:40 UTC (permalink / raw) To: haver; +Cc: Jörn Engel, Thomas Gleixner, Linux-MTD Mailing List On 6/21/06, Frank Haverkamp <haver@vnet.ibm.com> wrote: > Hi, > Don't top post. You'll make the email police angry ;) > I removed automake and autoconf. libubi is in this version no real > library anymore. We can change that later on. Artem said, that he > wanted to improve/rewrite the library anyhow. Now he can do without > using automake, autoconf. ubiwritevol is now renamed to ubiupdatevol. > > http://git.infradead.org/?p=users/haver/mtd-utils.git;a=commit;h=a985bce4176b201d10d22036ea6b5f6d0f539e70 That looks much better. A simple patch is needed to get things compiling completely for me. The ubi-header.h file in mtd-utils should use the userspace swab functions. I added 64-bit ones to the master mtd-utils repo and merged that into my local 'haver' branch. See: http://git.infradead.org/?p=users/jwboyer/mtd-utils;a=shortlog;h=haver josh ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-06-21 13:40 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2006-06-15 4:02 [UBI] Remove autotools from ubi-utils Josh Boyer 2006-06-19 12:27 ` Frank Haverkamp 2006-06-20 8:50 ` Artem B. Bityutskiy 2006-06-21 12:43 ` Frank Haverkamp 2006-06-21 13:40 ` Josh Boyer
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox