|
View:
New views
10 Messages
—
Rating Filter:
Alert me
|
|
|
Building a new kernel outside OpenEmbeddedIs it possible to build a new kernel for an Overo Fire outside the
OpenEmbedded system? If so, is there any particular version and configuration that I should be using to avoid any known issues with the Overo hardware? I've tried cross-building and installing a kernel (2.6.31 from the linux-omap-2.6 tree), but the boot process only gets as far as uncompressing Linux and attempting to boot it - after which, nothing happens, so I've clearly done something wrong. David ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ gumstix-users mailing list gumstix-users@... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
|
|
Re: Building a new kernel outside OpenEmbeddedDavid Boddie wrote:
> Is it possible to build a new kernel for an Overo Fire outside the > OpenEmbedded system? If so, is there any particular version and > configuration that I should be using to avoid any known issues with the > Overo hardware? > > I've tried cross-building and installing a kernel (2.6.31 from the > linux-omap-2.6 tree), but the boot process only gets as far as uncompressing > Linux and attempting to boot it - after which, nothing happens, so I've > clearly done something wrong. > > David > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > gumstix-users mailing list > gumstix-users@... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > in mind. (but I run gentoo and have cross compiled a kernel for my phone) Can you compare the .config of the working overo kernel to what you created? I am making a Wild guess that you are creating kernel code for non-existent hardware. Does the overo have a MMU or a northbridge chipset for example. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ gumstix-users mailing list gumstix-users@... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
|
|
Re: Building a new kernel outside OpenEmbeddedthere is an Overo defconfig you can/should use to start off with:
cp arch/arm/configs/overo_defconfig .config make oldconfig make menuconfig make uImage yours, Bobby On Wed, Oct 28, 2009 at 10:23 AM, Jeff Shanab <jshanab@...> wrote: > David Boddie wrote: >> Is it possible to build a new kernel for an Overo Fire outside the >> OpenEmbedded system? If so, is there any particular version and >> configuration that I should be using to avoid any known issues with the >> Overo hardware? >> >> I've tried cross-building and installing a kernel (2.6.31 from the >> linux-omap-2.6 tree), but the boot process only gets as far as uncompressing >> Linux and attempting to boot it - after which, nothing happens, so I've >> clearly done something wrong. >> >> David >> >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >> http://p.sf.net/sfu/devconference >> _______________________________________________ >> gumstix-users mailing list >> gumstix-users@... >> https://lists.sourceforge.net/lists/listinfo/gumstix-users >> >> > I don't yet have and overo to play with, So take this with that context > in mind. (but I run gentoo and have cross compiled a kernel for my phone) > > Can you compare the .config of the working overo kernel to what you > created? I am making a Wild guess that you are creating kernel code for > non-existent hardware. Does the overo have a MMU or a northbridge > chipset for example. > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > gumstix-users mailing list > gumstix-users@... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ gumstix-users mailing list gumstix-users@... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
|
|
Re: Building a new kernel outside OpenEmbeddedOn Wednesday 28 October 2009 15:23, Jeff Shanab wrote:
> I don't yet have and overo to play with, So take this with that context > in mind. (but I run gentoo and have cross compiled a kernel for my phone) I'll bear that in mind. :-) > Can you compare the .config of the working overo kernel to what you > created? I am making a Wild guess that you are creating kernel code for > non-existent hardware. Does the overo have a MMU or a northbridge > chipset for example. I'm unsure about where the .config file has been installed in these pre-built images: http://www.sakoman.com/feeds/omap3/glibc/images/overo/ I've been configuring with the overo_defconfig configuration so far, but I'm aware that maybe it needs some tweaking. Thanks, David ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ gumstix-users mailing list gumstix-users@... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
|
|
Re: Building a new kernel outside OpenEmbeddedOn Thursday 29 October 2009 00:51, David Boddie wrote:
> I'm unsure about where the .config file has been installed in these > pre-built images: > > http://www.sakoman.com/feeds/omap3/glibc/images/overo/ > > I've been configuring with the overo_defconfig configuration so far, but > I'm aware that maybe it needs some tweaking. OK, I used the scripts/extract-ikconfig tool from the kernel tree to take the configuration from the pre-built uImage-overo-200910121635.bin image. It looks like the configuration file needs updating, either using the oldconfig or menuconfig Makefile rules, but building the kernel is pretty straightforward from there. It seems to boot fine with an updated palmtop system image, though I should repeat the process to see exactly what needs to be on the SD card. :-) Thanks for your help, Jeff. David ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ gumstix-users mailing list gumstix-users@... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
|
|
Re: Building a new kernel outside OpenEmbeddedOn Wednesday 28 October 2009 15:32, Bobby Powers wrote:
> there is an Overo defconfig you can/should use to start off with: > cp arch/arm/configs/overo_defconfig .config > make oldconfig > make menuconfig > make uImage I have previously tried the following without producing a bootable kernel: make overo_defconfig make uImage make modules make modules_install I passed suitable ARCH and CROSS_COMPILE values for these, and used a value for INSTALL_MOD_PATH for the last one. Do I need to perform a step after the "make overo_defconfig" step? I took Jeff's advice and examined the configuration for an existing image, and there appears to be some differences. I can build a working kernel with that configuration, so I'll explore further to see why I couldn't get the overo_defconfig configuration to work. Thanks, David ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ gumstix-users mailing list gumstix-users@... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
|
|
Re: Building a new kernel outside OpenEmbeddedDavid Boddie skrev:
> On Thursday 29 October 2009 00:51, David Boddie wrote: > > >> I'm unsure about where the .config file has been installed in these >> pre-built images: >> >> http://www.sakoman.com/feeds/omap3/glibc/images/overo/ >> >> I've been configuring with the overo_defconfig configuration so far, but >> I'm aware that maybe it needs some tweaking. >> > > OK, I used the scripts/extract-ikconfig tool from the kernel tree to take > the configuration from the pre-built uImage-overo-200910121635.bin image. > > It looks like the configuration file needs updating, either using the > oldconfig or menuconfig Makefile rules, but building the kernel is > pretty straightforward from there. It seems to boot fine with an updated > palmtop system image, though I should repeat the process to see exactly > what needs to be on the SD card. :-) > > Thanks for your help, Jeff. > > David > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > gumstix-users mailing list > gumstix-users@... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > It can be found in /proc/config.gz on a running system. A little curious. Any reason to build the kernel outside OE? /Benny ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ gumstix-users mailing list gumstix-users@... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
|
|
Re: Building a new kernel outside OpenEmbeddedOn Thu, Oct 29, 2009 at 9:11 AM, Benny B. Simonsen <bbs@...> wrote:
> David Boddie skrev: >> On Thursday 29 October 2009 00:51, David Boddie wrote: >> >> >>> I'm unsure about where the .config file has been installed in these >>> pre-built images: >>> >>> http://www.sakoman.com/feeds/omap3/glibc/images/overo/ >>> >>> I've been configuring with the overo_defconfig configuration so far, but >>> I'm aware that maybe it needs some tweaking. >>> >> >> OK, I used the scripts/extract-ikconfig tool from the kernel tree to take >> the configuration from the pre-built uImage-overo-200910121635.bin image. >> >> It looks like the configuration file needs updating, either using the >> oldconfig or menuconfig Makefile rules, but building the kernel is >> pretty straightforward from there. It seems to boot fine with an updated >> palmtop system image, though I should repeat the process to see exactly >> what needs to be on the SD card. :-) >> >> Thanks for your help, Jeff. >> >> David >> >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >> http://p.sf.net/sfu/devconference >> _______________________________________________ >> gumstix-users mailing list >> gumstix-users@... >> https://lists.sourceforge.net/lists/listinfo/gumstix-users >> > Regarding the config file which have been used to build the kernel. > It can be found in /proc/config.gz on a running system. > A little curious. Any reason to build the kernel outside OE? Personally, I'm working on a one-off robot to show off some of my companies networking and control software, and would prefer to use the Debian armel port on the microSD card instead of OpenEmbedded. Part of this is that I have a deadline, and I'm much more familiar with Debian. yours, Bobby > /Benny ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ gumstix-users mailing list gumstix-users@... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
|
|
Re: Building a new kernel outside OpenEmbeddedOn Thursday 29 October 2009 14:11, Benny B. Simonsen wrote:
> Regarding the config file which have been used to build the kernel. > It can be found in /proc/config.gz on a running system. Thanks. I remember reading that somewhere. I'll take a look at that on one of the pre-built systems and compare it to what I got by using the extract-ikconfig script. > A little curious. Any reason to build the kernel outside OE? I found OE a bit heavy to get started with and I'm looking at other environments for cross-building. David ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ gumstix-users mailing list gumstix-users@... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
|
|
Re: Building a new kernel outside OpenEmbedded
Hi,
I have written a convenience script for configuring the kernel in OE. See attached. First I create a user branch and: cp -a com.gumstix.collection/packages/linux USERBRANCH/packages/ mkdir USERBRANCH/bin cp configureKernel.sh USERBRANCH/bin Set up the environment variables correctly in my own ${USERBRANCH}/profile. ----------------------------------------------------------------------------------------------------------------- # # Environment setup for gumstix oe # export GUMSTIXTOP="/home/Gumstix-Verdex" export OEBRANCH="${GUMSTIXTOP}/org.openembedded.snapshot" export GUMSTIXBRANCH="${GUMSTIXTOP}/com.gumstix.collection" export USERBRANCH=`pwd`; echo USERBRANCH=$USERBRANCH export PATH="${USERBRANCH}/bin:${GUMSTIXTOP}/bitbake/bin:${HOME}/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" export BBPATH="${GUMSTIXTOP}/build:${USERBRANCH}:${GUMSTIXBRANCH}:${OEBRANCH}" umask 0002 ----------------------------------------------------------------------------------------------------------------- cd USERBRANCH source profile configureKernel.sh You may need to alter some environment variable for GNOME_TERMINAL if the terminal does not appear. Configuring busybox is done in a similar fashion. Cheers Grahame Jordan Bobby Powers wrote: there is an Overo defconfig you can/should use to start off with: cp arch/arm/configs/overo_defconfig .config make oldconfig make menuconfig make uImage yours, Bobby On Wed, Oct 28, 2009 at 10:23 AM, Jeff Shanab jshanab@... wrote: ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ gumstix-users mailing list gumstix-users@... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
| Free embeddable forum powered by Nabble | Forum Help |