[OE-core] split mtd-utils

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Fri Jan 11 08:40:43 UTC 2013


Along the lines of the oe classic patch I propose to split as follows:


mtd-utils-jffs2 package containing
jffs2dump
jffs2reader
mkfs.jffs2

mtd-utils-ubifs package containing:
mkfs.ubifs
ubiattach
ubicrc32
ubidetach
ubiformat
ubimkvol
ubinfo
ubinize
ubirename
ubirmvol
ubirsvol
ubiupdatevol

mtd-utils package containing:
docfdisk
doc_loadbios
flashcp
flash_erase
flash_eraseall
flash_lock
flash_otp_dump
flash_otp_info
flash_unlock
ftl_check
ftl_format
mtd_debug
mtdinfo
nanddump
nandtest
nandwrite
nftldump
nftl_format
recv_image
rfddump
rfdformat
serve_image
sumtool

Or do we need to make additional packages (like e.g. for (n)tfl )

Best regards, Frans




2013/1/10 Frans Meulenbroeks <fransmeulenbroeks at gmail.com>

> Cool, I'll have a peek at the oe classic recipe and give it a stab along
> the same spirit.
>
> Best regards, Frans
>
>
> 2013/1/10 Andrea Adami <andrea.adami at gmail.com>
>
>> On Wed, Jan 9, 2013 at 6:17 PM, Richard Purdie
>> <richard.purdie at linuxfoundation.org> wrote:
>> > On Wed, 2013-01-09 at 17:12 +0100, Frans Meulenbroeks wrote:
>> >> As I am involved in embedded systems where flash is somewhat sparse
>> >> I'm always eager to save a few bytes where possible.
>> >>
>> >> Today I noticed that mtd-utils (1.5.0 from danny) generates for my
>> >> architecture (powerpc) roughly 780k of binaries in usr/sbin. 423k of
>> >> it is due to ubifs related files.
>> >>
>> >> Would it be desired to put this in a separate package?
>> >>
>> >> e.g. mtd-utils-ubi and mtd-utils-nonubi with mtd-utils itself being
>> >> empty but rdepend on those two?
>> >> that way mtd-utils will still give all packages but those only wanting
>> >> the non ubi stuff can limit themselves to that.
>> >>
>> >> If desired I can give this a stab.
>> >
>> > Sounds like a sensible split to me...
>> >
>> > Cheers,
>> >
>> > Richard
>> >
>> >
>> >
>> > _______________________________________________
>> > Openembedded-core mailing list
>> > Openembedded-core at lists.openembedded.org
>> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>>
>> OE-Classic already has one packaging split:
>> PACKAGES =+ "mkfs-jffs2 mkfs-ubifs
>>
>> Recently I faced this same issue: for ubiattach we have to install
>> full mtd-utils (>700KiB)
>> FYI there is a recipe for ubi-utils-klibc for more extreme size
>> optimization.
>>
>>
>> http://cgit.openembedded.org/meta-openembedded/tree/meta-initramfs/recipes-devtools/mtd
>>
>> Cheers
>>
>> Andrea
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130111/7fed4043/attachment-0002.html>


More information about the Openembedded-core mailing list