User talk:Vortex

From Openmoko

Revision as of 13:51, 23 August 2008 by Vortex (Talk | contribs)

Jump to: navigation, search

Currently generating OM2008.2, OM2008.8 & FSO builds on the Neo Freerunner from OE (bitbake - portage from first principles!). Painful & time consuming. I'll be sharing the pain here for the pleasure of others.

Generating openmoko environments on a venerable headless, X Windows-less Gentoo box. Last sync'ed on 20080823.

20080823: Starting with Rod Whitby's Mokomakefile, after a few informal & unsuccessful attempts at bitbaking and reading around, I've changed OM_GIT_BRANCH to ASU testing:

Makefile:

-OM_GIT_BRANCH := org.openmoko.dev
+OM_GIT_BRANCH := org.openmoko.asu.testing # ASU testing

Hopefully this will bring some stability to the chaos.

1st issue: make openmoko-qtopia-x11-image fails at /openembedded/packages/qtopia-phone/qtopia-phone-x11_git.bb, do_compile package qtopia-phone-x11-4.3.2+git0+dfc2b2c070c0b5feeeb073f1751f3cab8b8fc9a7-r39.1 appears to want a local, native libXtst available.

Not sure why. Perhaps for local qemu. emerge'd libXtst locally & cranked the bitbake handle again. This time for sure ...

...
NOTE: build 200808230805: completed
[ -d stamps ] || mkdir stamps
touch stamps/openmoko-qtopia-x11-image

Success!

make fso-image

( cd build && . ../setup-env && bitbake fso-image )
NOTE: Removed the following variables from the environment:LESS,LESSOPEN,SSH_CLIENT,CVS_RSH,MAKEFLAGS,INFOPATH,JDK_HOME,SHLVL,CONFIG_PROTECT_MASK,WINDOW,EDITOR,MANPATH,OMDIR,JAVA_HOME,MFLAGS,PYTHONPATH,CLASSPATH,GCC_SPECS,STY,TERMCAP,SSH_CONNECTION,JAVAC,SSH_TTY,OLDPWD,CONFIG_PROTECT,MAKELEVEL,MAIL,LS_COLORS,PAGER
NOTE: Handling BitBake files: | (5431/5431) [100 %]
NOTE: Parsing finished. 5196 cached, 0 parsed, 235 skipped, 0 masked.
NOTE: Cache is clean, not saving.
NOTE: build 200808231343: started

OE Build Configuration:
BB_VERSION     = "1.8.11"
OE_REVISION    = "f17808591dd22fb8c254f6ab52190198a14e7930"
TARGET_ARCH    = "arm"
TARGET_OS      = "linux-gnueabi"
MACHINE        = "om-gta02"
DISTRO         = "openmoko"
DISTRO_VERSION = "P1-Snapshot-20080823"
TARGET_FPU     = "soft"

ERROR: Nothing PROVIDES 'fso-image' (but '[]' DEPENDS on or otherwise requires it)
make: *** [fso-image] Error 1
Personal tools

Currently generating OM2008.2, OM2008.8 & FSO builds on the Neo Freerunner from OE (bitbake - portage from first principles!). Painful & time consuming. I'll be sharing the pain here for the pleasure of others.

Generating openmoko environments on a venerable headless, X Windows-less Gentoo box. Last sync'ed on 20080823.

20080823: Starting with Rod Whitby's Mokomakefile, after a few informal & unsuccessful attempts at bitbaking and reading around, I've changed OM_GIT_BRANCH to ASU testing:

Makefile:

-OM_GIT_BRANCH := org.openmoko.dev
+OM_GIT_BRANCH := org.openmoko.asu.testing # ASU testing

Hopefully this will bring some stability to the chaos.

1st issue: make openmoko-qtopia-x11-image fails at /openembedded/packages/qtopia-phone/qtopia-phone-x11_git.bb, do_compile package qtopia-phone-x11-4.3.2+git0+dfc2b2c070c0b5feeeb073f1751f3cab8b8fc9a7-r39.1 appears to want a local, native libXtst available.

Not sure why. Perhaps for local qemu. emerge'd libXtst locally & cranked the bitbake handle again. This time for sure ...

...
NOTE: build 200808230805: completed
[ -d stamps ] || mkdir stamps
touch stamps/openmoko-qtopia-x11-image

Success!

make fso-image

( cd build && . ../setup-env && bitbake fso-image )
NOTE: Removed the following variables from the environment:LESS,LESSOPEN,SSH_CLIENT,CVS_RSH,MAKEFLAGS,INFOPATH,JDK_HOME,SHLVL,CONFIG_PROTECT_MASK,WINDOW,EDITOR,MANPATH,OMDIR,JAVA_HOME,MFLAGS,PYTHONPATH,CLASSPATH,GCC_SPECS,STY,TERMCAP,SSH_CONNECTION,JAVAC,SSH_TTY,OLDPWD,CONFIG_PROTECT,MAKELEVEL,MAIL,LS_COLORS,PAGER
NOTE: Handling BitBake files: | (5431/5431) [100 %]
NOTE: Parsing finished. 5196 cached, 0 parsed, 235 skipped, 0 masked.
NOTE: Cache is clean, not saving.
NOTE: build 200808231343: started

OE Build Configuration:
BB_VERSION     = "1.8.11"
OE_REVISION    = "f17808591dd22fb8c254f6ab52190198a14e7930"
TARGET_ARCH    = "arm"
TARGET_OS      = "linux-gnueabi"
MACHINE        = "om-gta02"
DISTRO         = "openmoko"
DISTRO_VERSION = "P1-Snapshot-20080823"
TARGET_FPU     = "soft"

ERROR: Nothing PROVIDES 'fso-image' (but '[]' DEPENDS on or otherwise requires it)
make: *** [fso-image] Error 1