ltib
[Top][All Lists]
Advanced

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

Re: [Ltib] Re: Ltib Digest, Vol 19, Issue 2


From: Stuart Hughes
Subject: Re: [Ltib] Re: Ltib Digest, Vol 19, Issue 2
Date: Fri, 02 Nov 2007 09:58:39 +0000

Hi Henry,

Yes, you can make use of the older kernel (why can't you use the newer
one?  I'd be interested).

To do this, don't copy rpm/BUILD/linux, instead add the following patch
to config/platform/imx31ads/main.lkc


diff -u -u -r1.11 main.lkc
--- config/platform/imx31ads/main.lkc   11 Sep 2007 20:37:00 -0000      1.11
+++ config/platform/imx31ads/main.lkc   2 Nov 2007 09:55:09 -0000
@@ -90,6 +90,8 @@
         bool "Linux 2.6.22-mx"
         help
             This is the kernel for the imx31ads platform
+    config KERNEL2
+        bool "kernel-2.6.19-mx"
     config KERNEL_DIR_BUILD
         bool "Local Linux directory build"
         help
@@ -103,6 +105,7 @@
 config PKG_KERNEL
     string
     default "kernel-2.6.22-mx" if KERNEL1
+    default "kernel-2.6.19-mx" if KERNEL2
     default "kernel26-dir-build" if KERNEL_DIR_BUILD

 source ../../userspace/kernel_dir_build.lkc
@@ -110,6 +113,7 @@
 config PKG_KERNEL_PRECONFIG
     string "kernel preconfig"
     default "linux-2.6.22-mx31ads.config" if KERNEL1
+    default "linux-2.6.22-mx31ads.config" if KERNEL2

 config PKG_KERNEL_WANT_HEADERS
     depends ! KERNEL_NONE


I'm guessing that the config file for 2.6.22 will be close enough to
work with the old kernel, if not simply copy the
linux-2.6.19-mx31ads.config (??) from the older BSP to the new on
(config/platform/imx31ads/) and correct the PKG_KERNEL_PRECONFIG in the
patch above.

Once you've done that, simply run: ./ltib --configure and select the
kernel you want.


Regards, Stuart


On Thu, 2007-11-01 at 10:17 -0700, hong zhang wrote:
> Stuart,
> 
> I have modified BSP of 20070128 (kernel 2.19.2). It
> seems packages in 20071008 can meet my needs. May I
> simply move 2.6.19 kernel+BSP to 20071008 ltib?
> For example, copy rpm/BUILD/linux-2.6.19 to replace
> rpm/BUILD/linux-2.6.22 so that I can take advantage of
> recent ltib package and keep same kernel/BSP as 2.6.19
> instead of 2.6.22.
> 
> Also, how do I check most recent package in
> bitshrine.org?
> 
> ---henry
> 
> 
> --- address@hidden wrote:
> 
> > Send Ltib mailing list submissions to
> >     address@hidden
> > 
> > To subscribe or unsubscribe via the World Wide Web,
> > visit
> >     http://lists.nongnu.org/mailman/listinfo/ltib
> > or, via email, send a message with subject or body
> > 'help' to
> >     address@hidden
> > 
> > You can reach the person managing the list at
> >     address@hidden
> > 
> > When replying, please edit your Subject line so it
> > is more specific
> > than "Re: Contents of Ltib digest..."
> > 
> > 
> > Today's Topics:
> > 
> >    1. Re: add -DZ_PREFIX (Stuart Hughes)
> > 
> > 
> >
> ----------------------------------------------------------------------
> > 
> > Message: 1
> > Date: Thu, 01 Nov 2007 13:25:52 +0000
> > From: Stuart Hughes <address@hidden>
> > Subject: [Ltib] Re: add -DZ_PREFIX
> > To: hong zhang <address@hidden>
> > Cc: address@hidden
> > Message-ID: <address@hidden>
> > Content-Type: text/plain
> > 
> > Hi Henry,
> > 
> > I'm busy with other work today, but I wanted to let
> > you know that the
> > changes to make pkg-config work properly didn't go
> > into LTIB until
> > mid-May.  To save yourself a lot of wasted effort,
> > it's worth using the
> > later one you have.  If you need the older kernel,
> > you can either build
> > it in the other instance and save it to
> > /tftpboot/... or you can
> > re-active the older spec file (I think it's still
> > there), this involves
> > updating config/platform/imx31/main.lkc and adding
> > it into the kernel
> > choice list etc (it's in the FAQ I think). Is there
> > any reason for not
> > using the later BSP/kernel?
> > 
> > The includes stuff will be fixed by pkg-config. 
> > pkg-config is a host
> > support package and so should be installed by ltib
> > in /opt/freescale/ltib/usr/bin/pkg-config when you
> > installed the later
> > BSP.  If it's not there, rm .host_wait_warning* in
> > the later BSP and
> > then re-run ./ltib.
> > 
> > I will answer your other emails when I can get back
> > to them.
> > 
> > Regards, Stuart
> > 
> > On Wed, 2007-10-31 at 11:43 -0700, hong zhang wrote:
> > > Stuart,
> > > 
> > > Yes. 20070128 is kernel 2.6.19.2. Another one is
> > > 20071008 is kernel 2.6.22 that I am not using.
> > > 
> > > 1. I do not find pkg-config in rootf/usr/bin in
> > > 20070128.
> > > 
> > > 2. directfb.pc and lite.pc are in
> > /usr/lib/pkgconfig.
> > >    inside directfb.pc,
> > Cflags=-I/usr/include/direcfb
> > >    but inside lite.pc, Cflags does not have 
> > >    -I/usr/include/lite. This causes build error
> > for 
> > >    DFBTerm depends on lite.
> > > 
> > > How do I make lite.pc includes 
> > > Cflags=-I/usr/include/lite where lite header files
> > > sit?
> > > 
> > > Where can I get pkg-config?
> > > 
> > > ---henry
> > > --- Stuart Hughes <address@hidden> wrote:
> > > 
> > > > Hi Henry,
> > > > 
> > > > Do you have the date/identification tag for the
> > iso
> > > > so I can find out if
> > > > it contains the pkg_config updates.  Maybe that
> > > > stuff still needs some
> > > > work?
> > > > 
> > > > I am trying to get an up to date merge out to
> > > > Savannah/bitshrine in the
> > > > next few weeks.  I've been busy on other
> > project,
> > > > but I'm back on it
> > > > now.
> > > > 
> > > > Any help and contributions you can make would be
> > > > appreciated.
> > > > 
> > > > Regards, Stuart
> > > > 
> > > > On Wed, 2007-10-31 at 10:50 -0700, hong zhang
> > wrote:
> > > > > Stuart,
> > > > > 
> > > > > I am using freescale one sio. Download from
> > > > freescale
> > > > > website. Yes. I have problem to add new
> > packages.
> > > > For
> > > > > example, adding LiTE and will be used by
> > DFBTerm.
> > > > LiTE
> > > > > header files locate in rootfs/usr/include/lite
> > and
> > > > > DFBTerm could not find it.
> > > > > 
> > > > > Also, I am thinking I can do some contribution
> > > > onltib
> > > > > packages upgrade.
> > > > > 
> > > > > ---henry
> > > > > 
> > > > > --- Stuart Hughes <address@hidden>
> > wrote:
> > > > > 
> > > > > > Hi Henry,
> > > > > > 
> > > > > > Are you using the LTIB from an iso image, if
> > so
> > > > what
> > > > > > version? or are you
> > > > > > using the version from bitshrine/savannah? 
> > The
> > > > > > reason I ask is that I
> > > > > > pending merge out to bitshrine/savannah that
> > > > makes
> > > > > > pkg_config work
> > > > > > properly in a cross compiled environment and
> > > > > > possibly that will help you
> > > > > > (you won't need to specify the pkg_config
> > files
> > > > on
> > > > > > configure line).  If
> > > > > > you have a recent Freescale ISO it will
> > already
> > > > have
> > > > > > these updates.
> > > > > > 
> > > > > > I didn't understand your question about
> > Z_PREFIX
> > > > ?
> > > > > > 
> > > > > > Regards, Stuart
> > > > > > 
> > > > > > On Wed, 2007-10-31 at 09:45 -0700, hong
> > zhang
> > > > wrote:
> > > > > > > Stuart,
> > > > > > > 
> > > > > > > After adding
> > > > > > >
> > > > LIBPNG_CONFIG="$(HOST_DIR)/bin/libpng12-config"
> > \
> > > > > > >  and DirectFB build successfully with
> > > > > > > --with-gfxdrivers=none. But still have
> > error
> > > > > > without
> > > > > > > --with-gfxdrivers=none.
> > > > > > > 
> > > > > > > Why do you think Z_PREFIX will be turned
> > on
> > > > > > default?
> > > > > > > 
> > > > > > > ---henry
> > > > > > > 
> > > > > > > --- Stuart Hughes <address@hidden>
> > > > wrote:
> > > > > > > 
> > > > > > > > Hi Henry,
> > > > > > > > 
> > > > > > > > LTIB will find the headers in rootfs in
> > > > > > preference
> > > > > > > > to the toolchain.
> > > > > > > > 
> > > > > > > > To add this flag, it would probably work
> > by
> > 
> === message truncated ===
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> 
> _______________________________________________
> 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]