ltib
[Top][All Lists]
Advanced

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

RE: [Ltib] host side yaffs2 support in ltib


From: Newell, James C.
Subject: RE: [Ltib] host side yaffs2 support in ltib
Date: Tue, 3 Feb 2009 14:01:06 -0500


>-----Original Message-----
>From: address@hidden [mailto:ltib-
>address@hidden On Behalf Of Newell,
>James C.
>Sent: Tuesday, February 03, 2009 1:42 PM
>To: Stuart Hughes
>Cc: address@hidden
>Subject: RE: [Ltib] host side yaffs2 support in ltib
>
>
>
>>-----Original Message-----
>>From: Stuart Hughes [mailto:address@hidden
>>Sent: Tuesday, February 03, 2009 10:43 AM
>>To: Newell, James C.
>>Cc: address@hidden
>>Subject: RE: [Ltib] host side yaffs2 support in ltib
>>
>>Hi Jim,
>>
>>On Tue, 2009-02-03 at 10:09 -0500, Newell, James C. wrote:
>>>
>>> >-----Original Message-----
>>> >From: address@hidden
>>[mailto:ltib-
>>> >address@hidden On Behalf Of Stuart
>>> >Hughes
>>> >Sent: Tuesday, February 03, 2009 3:55 AM
>>> >To: Newell, James C.
>>> >Cc: address@hidden
>>> >Subject: Re: [Ltib] host side yaffs2 support in ltib
>>> >
>>> >Hi James,
>>> >
>>> >You can install a host copy of yaffs by running:
>>> >$ ./ltib --hostcf -p yaffs
>>> I think this should be?  Which made the mkyaffsimage available in
>>> /opt/ltib/usr/bin/mkyaffsimage.
>>> $ ./ltib --hostcf -p yaffs-utils.spec
>>>
>>
>>So did you mean you wanted the yaffs-utils package installed? In which
>>case you can use this command line to try it out and then later add a
>>suitable entry into config/platform/host/ltib.preconfig
>>
>>> >
>>> >To make this permanent, the host support config file
>>> >config/platform/host/ltib.preconfig would need to be updated.
>>> >
>>>
>>> I don't see how to make the hostcf permanent in this ltib.preconfig
>>> file.  This file appears to govern the default image choice.
>>>
>>
>>This file governs the host support packages that get turned on when
you
>>first build an LTIB project.
>
>Got it.
>
>>
>>So for this to take effect, you need to remove the project's copy
>>of  .host_wait_warning* after updating ltib.preconfig then next time
>you
>>run ltib it will re-do the host support package run and update
anything
>>new.
>>
>>> >This will show up in: /opt/ltib/usr/bin/mkyaffs
>>> >(or /opt/freesscale/ltib/...)
>>> >
>>> >If you can explain the command line needed to build the image you
>>want,
>>> >I can help formulate a patch to go into Ltibutils.pm.  This would
be
>>> >controlled by an entry in config/userspace/deployment.lkc
>>>
>>> I'd like to take a shot at it first and post it if that's ok?
>>> Regards,
>>> Jim
>>> >
>
>So, the mkyaffsimage does not have a -D or like option to build the
>device table in the image.  Any ideas on how to handle this in ltib?
>Maybe use fakeroot?
>

Looks like all the rootfs/dev entries are pre-populated.  I should just
be able to point mkyaffsimage to the rootfs directory.

>address@hidden files]$ /opt/ltib/usr/bin/mkyaffsimage
>mkyaffsimage: image building tool for YAFFS built Feb  3 2009
>usage: mkyaffsimage dir image_file [convert]
>           dir        the directory tree to be converted
>           image_file the output file to hold the image
>           'convert'  produce a big-endian image from a little-endian
>machine
>
>>
>>Sure.
>>
>>Regards, Stuart
>>
>>> >Regards, Stuart
>>> >
>>> >On Mon, 2009-02-02 at 16:00 -0500, Newell, James C. wrote:
>>> >> Hello,
>>> >>
>>> >>
>>> >>
>>> >> I noticed yaffs util spec file for the embedded side.  Is there
>>> >> directions about adding such support to the host side?
>>> >>
>>> >>
>>> >>
>>> >> I see where I would have to make some changes to the
Ltibutils.pm,
>>> but
>>> >> I am uncertain on how to add a host side rpm package to the ltib.
>>> >>
>>> >>
>>> >>
>>> >> My goal is to allow ltib create a yaffs2 image using
mkyaffsimage.
>>> >>
>>> >>
>>> >>
>>> >> Regards,
>>> >>
>>> >>
>>> >>
>>> >> Jim Newell
>>> >>
>>> >>
>>> >>
>>> >>
>>> >> _______________________________________________
>>> >> LTIB home page: http://bitshrine.org
>>> >>
>>> >> Ltib mailing list
>>> >> address@hidden
>>> >> http://lists.nongnu.org/mailman/listinfo/ltib
>>> >
>>> >
>>> >
>>> >_______________________________________________
>>> >LTIB home page: http://bitshrine.org
>>> >
>>> >Ltib mailing list
>>> >address@hidden
>>> >http://lists.nongnu.org/mailman/listinfo/ltib
>
>
>
>_______________________________________________
>LTIB home page: http://bitshrine.org
>
>Ltib mailing list
>address@hidden
>http://lists.nongnu.org/mailman/listinfo/ltib




reply via email to

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