[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] mtd-utils and kernel 2.6.33

From: Stuart Hughes
Subject: Re: [Ltib] mtd-utils and kernel 2.6.33
Date: Thu, 18 Nov 2010 22:26:36 +0000
User-agent: Thunderbird (X11/20080707)

Hi Bruce,

First the reason the host/target have different pkg_map entries is
because the later (target) one depends lzo compression and I didn't want
to introduce that dependency to the host.  Maybe it's time to cave in on
that one.

Do you know if the later 20080618 version would solve your problem, or
do you need an even later one that that?

If you need a later one, then what you need to do is this:

* Create a new .spec file. e.g.  in

Make sure you set the version to something like the current ones (e.g.
20101117) as this will be used when deciding if version a > version b in
 the host rpm install stuff.

* Then you need to edit: config/platform/host/pkg_map and put in your
new mapping.

* Remove .host_wait_warning* so that the host package build gets

* Run: ./ltib

BTW: you may run foul of the lzo dependency.  If so, install it from
your host's package manager.

Regards, Stuart

Bruce wrote:
> Hey all,
> I'm reading that the newer kernel with newer mtd require... yes a newer
> mkfs.jffs2 (mtd-utils) to construct the rootfs.jffs2 file. 
> I don't have a problem pulling the latest mtd-utils and fitting it into
> my local build but I don't quite get how the host mtd-tools are
> installed and how to just have ltib build that one. Do I need to do a
> full distclean and re-run ltib to include my updated mtd-utils package?
> I see ltib/config/platform/host/pkg_map seems to set which one to use
> for the host install. Of course there's another pkg_map file for the
> specific platform I can set to use the same package.
> Currently there are a couple spec files:
> ltib/dist/lfs-5.1/mtd-utils/mtd-utils-20060302.spec
> ltib/dist/lfs-5.1/mtd-utils/mtd-utils.spec
> The 2006 file is for the host and the other is for the target. I'd add a
> separate file for the newer tools...
> This all has to do with the NAND flash chip we are using: "Micron
> 29F4G08AAC 8-bit 2K page 512MB (4Gb) SLC nand"
> It wasn't supported by the distribution we started with.
> Thanks,
> Bruce
> ------------------------------------------------------------------------
> _______________________________________________
> LTIB home page:
> Ltib mailing list
> address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]