[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: |
Fri, 19 Nov 2010 19:10:03 +0000 |
User-agent: |
Thunderbird 2.0.0.16 (X11/20080707) |
Hi Bruce,
The list of host packages to install is in
config/platform/host/ltib.preconfig
The host tools are just a special case of a LTIB target.
Regards, Stuart
Bruce wrote:
> Thanks Stuart,
> I was able to pull the latest source, build and install like you said
> but that didn't help. I'm in a learning curve with NAND flash so I'm
> reaching a bit.
> I reverted back to the current tool version. Good tip on removing
> .host_wait_warning*! I'll have to remember that. Did a distclean to pick
> up the new package the first time:)
>
> I still don't get where ltib determines the host tools to install. Is
> there a .config file? Where does that magic happen?
>
>
>
> Thanks,
> Bruce
>
>
>
> On Thu, Nov 18, 2010 at 2:26 PM, Stuart Hughes <address@hidden
> <mailto:address@hidden>> wrote:
>
> 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
> dist/lfs-5.1/mtd-utils/mtd-utils-20101117.spec
>
> 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
> re-evaluated
>
> * 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: http://ltib.org
> >
> > Ltib mailing list
> > address@hidden <mailto:address@hidden>
> > http://lists.nongnu.org/mailman/listinfo/ltib
>
>