[ -e build/qemu ] || \ ( mkdir -p build/qemu ) [ -e build/qemu/Makefile ] || \ ( . ./setup-env && cd build/qemu && \ ${OMDIR}/openmoko/trunk/src/host/qemu-neo1973/configure \ --target-list=arm-softmmu ) [ -e build/qemu/openmoko ] || \ ( . ./setup-env && cd build/qemu && mkdir openmoko && \ for f in ${OMDIR}/openmoko/trunk/src/host/qemu-neo1973/openmoko/* ; do \ ln -s $f openmoko/`basename $f` ; \ done ) ln -sf `pwd`/openmoko/trunk/src/host/qemu-neo1973/openmoko/env build/qemu/openmoko/env [ -d stamps ] || mkdir stamps touch stamps/qemu ( cd build/qemu && make ) make[1]: Entering directory `/home/openmoko/om/build/qemu' make -C arm-softmmu all make[2]: Entering directory `/home/openmoko/om/build/qemu/arm-softmmu' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/openmoko/om/build/qemu/arm-softmmu' make[1]: Leaving directory `/home/openmoko/om/build/qemu' ( cd build && . ../setup-env && \ bitbake openmoko-devel-image uboot-openmoko ) NOTE: Psyco JIT Compiler (http://psyco.sf.net) not available. Install it to increase performance. NOTE: Handling BitBake files: \ (4765/4765) [100 %] NOTE: Parsing finished. 4535 cached, 0 parsed, 230 skipped, 0 masked. NOTE: build 200710211045: started OE Build Configuration: BB_VERSION = "1.8.8" OE_REVISION = "dfd631a0b5b4f71be8f31f84bbfbcbb0747d7002" TARGET_ARCH = "arm" TARGET_OS = "linux-gnueabi" MACHINE = "fic-gta01" DISTRO = "openmoko" DISTRO_VERSION = "P1-Snapshot-20071021" TARGET_FPU = "soft" NOTE: Resolving missing task queue dependencies NOTE: preferred version 0.1 of dfu-util-native not available (for item dfu-util-native) NOTE: preferred version 0.0 of matchbox-stroke not available (for item matchbox-stroke) NOTE: preferred version 0.1 of oh-puzzles not available (for item oh-puzzles) NOTE: preferred version 0.1 of libgsmd not available (for item gsmd) NOTE: preferred version 0.1 of libgsmd not available (for item libgsmd-tools) NOTE: preferred version 1.4.0 of eds-dbus not available (for item eds-dbus) NOTE: preferred version 0.1.0 of neod not available (for item neod) NOTE: preferred version 0.0 of settings-daemon not available (for item settings-daemon) NOTE: preferred version 0.0 of psplash not available (for item psplash) NOTE: preferred version 2007.9-test-20071013 of angstrom-version not available (for item angstrom-version) NOTE: preferred version 2.5 of glibc not available (for item virtual/arm-angstrom-linux-gnueabi-libc-for-gcc) NOTE: preferred version 0.2 of libfakekey not available (for item libfakekey) NOTE: preferred version 0.0 of libowl not available (for item libowl) NOTE: preferred version 0.1 of libgsmd not available (for item libgsmd) NOTE: preferred version 0.0 of webkit-gtk not available (for item webkit-gtk) NOTE: preferred version 1.4.0 of eds-dbus not available (for item eds-dbus) NOTE: preferred version 0.0 of libxcalibrate not available (for item libxcalibrate) NOTE: preferred version 0.0 of fstests not available (for item fstests) NOTE: preferred version 1.4.0 of eds-dbus not available (for item libedata-cal) NOTE: preferred version 0.1 of libgsmd not available (for item gsmd-plugin-machine-tihtc) NOTE: preferred version 0.1 of libgsmd not available (for item gsmd-plugin-machine-generic) NOTE: preferred version 0.1 of libgsmd not available (for item gsmd-plugin-vendor-ti) NOTE: preferred version 0.1 of libgsmd not available (for item gsmd-plugin-vendor-bcm) NOTE: preferred version 0.1 of libgsmd not available (for item gsmd-plugin-vendor-qc) NOTE: preferred version 0.1 of libgsmd not available (for item gsmd-plugin-vendor-tihtc) NOTE: preferred version 0.1 of libgsmd not available (for item libgsmd) NOTE: preferred version 0.1 of libgsmd not available (for item gsmd-plugins) NOTE: preferred version 1.4.0 of eds-dbus not available (for item libedata-book) NOTE: preferred version 2.5 of glibc-initial not available (for item glibc-gconv-iso8859-1) NOTE: preferred version 0.2 of libfakekey not available (for item libfakekey) NOTE: preferred version 0.0 of webkit-gtk not available (for item webkit-gtk) NOTE: preferred version 0.0 of libxcalibrate not available (for item libxcalibrate) NOTE: preferred version 0.0 of calibrateproto not available (for item calibrateproto) NOTE: Preparing runqueue NOTE: Executing runqueue NOTE: Running task 4888 of 4889 (ID: 4, /home/openmoko/om/openembedded/packages/images/openmoko-devel-image.bb, do_rootfs) NOTE: package openmoko-devel-image-1.0: started NOTE: package openmoko-devel-image-1.0-r0: task do_rootfs: started NOTE: package openmoko-devel-image-1.0-r0: task do_rootfs: completed NOTE: package openmoko-devel-image-1.0: completed NOTE: Running task 4889 of 4889 (ID: 5, /home/openmoko/om/openembedded/packages/images/openmoko-devel-image.bb, do_build) NOTE: package openmoko-devel-image-1.0: started NOTE: package openmoko-devel-image-1.0-r0: task do_build: started NOTE: package openmoko-devel-image-1.0-r0: task do_build: completed NOTE: package openmoko-devel-image-1.0: completed NOTE: Tasks Summary: Attempted 4889 tasks of which 4887 didn't need to be rerun and 0 failed. NOTE: build 200710211045: completed [ -d stamps ] || mkdir stamps touch stamps/openmoko-devel-image ( cd build/qemu && openmoko/flash.sh ../tmp/deploy/glibc/images/fic-gta01 ) /usr/bin/gmake which: no gecho in (/opt/kde3/bin:/usr/java/jdk1.6.0_03/bin:/home/po/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/lib/qt3/bin) openmoko/flash.sh: line 27: cd: ../tmp/deploy/glibc/images/fic-gta01: No such file or directory /usr/bin/pngtopnm /usr/bin/ppmtorgb3 gmake[1]: Entering directory `/home/openmoko/om/build/qemu/openmoko' gmake[1]: `splash.gz' is up to date. gmake[1]: Leaving directory `/home/openmoko/om/build/qemu/openmoko' ls: cannot access /home/openmoko/om/build/qemu/uImage-2.6.*-fic-gta01.bin: No such file or directory basename: missing operand Try `basename --help' for more information. ls: cannot access /home/openmoko/om/build/qemu/OpenMoko*.rootfs.jffs2: No such file or directory basename: missing operand Try `basename --help' for more information. ls: cannot access /home/openmoko/om/build/qemu/u-boot-gta01b*.bin: No such file or directory basename: missing operand Try `basename --help' for more information. Using '' as the kernel image. Using '' as the root filesystem image. Using '' as bootloader. gmake[1]: Entering directory `/home/openmoko/om/build/qemu/openmoko' # Making an empty/erased flash image. Need a correct echo behavior. echo -en \\0377\\0377\\0377\\0377\\0377\\0377\\0377\\0377 > .8b cat .8b .8b > .16b # OOB is 16 bytes cat .16b .16b .16b .16b .16b .16b .16b .16b > .512b cat .16b .16b .16b .16b .16b .16b .16b .16b >> .512b cat .16b .16b .16b .16b .16b .16b .16b .16b >> .512b cat .16b .16b .16b .16b .16b .16b .16b .16b >> .512b cat .512b .16b > .sec # A sector is 512 bytes of data + OOB cat .sec .sec .sec .sec .sec .sec .sec .sec > .8sec cat .8sec .8sec .8sec .8sec .8sec .8sec .8sec .8sec > .64sec cat .64sec .64sec .64sec .64sec .64sec .64sec .64sec .64sec > .512sec cat .512sec .512sec .512sec .512sec > .2ksec cat .2ksec .2ksec .2ksec .2ksec .2ksec .2ksec .2ksec .2ksec > .16ksec # Neo NAND is 128k sectors big cat .16ksec .16ksec .16ksec .16ksec .16ksec .16ksec .16ksec .16ksec > openmoko-flash.base rm -rf .8b .16b .512b .sec .8sec .64sec .512sec .2ksec .16ksec gmake[1]: Leaving directory `/home/openmoko/om/build/qemu/openmoko' Please wait, programming the NAND flash... sleep: invalid time interval `setenv' sleep: invalid time interval `dontask' sleep: invalid time interval `y' sleep: invalid time interval `nand' sleep: invalid time interval `createbbt' sleep: invalid time interval `setenv' sleep: invalid time interval `bootcmd' sleep: invalid time interval `\'setenv' sleep: invalid time interval `bootargs' sleep: invalid time interval `${bootargs_base}' sleep: invalid time interval `${mtdparts};' sleep: invalid time interval `bootm' sleep: invalid time interval `0x31000000\'' sleep: invalid time interval `setenv' sleep: invalid time interval `menu_1' sleep: invalid time interval `\'Set' sleep: invalid time interval `console' sleep: invalid time interval `to' sleep: invalid time interval `USB:' sleep: invalid time interval `setenv' sleep: invalid time interval `stdin' sleep: invalid time interval `usbtty;' sleep: invalid time interval `setenv' sleep: invalid time interval `stdout' sleep: invalid time interval `usbtty;' sleep: invalid time interval `setenv' sleep: invalid time interval `stderr' sleep: invalid time interval `usbtty\'' sleep: invalid time interval `setenv' sleep: invalid time interval `menu_2' sleep: invalid time interval `\'Set' sleep: invalid time interval `console' sleep: invalid time interval `to' sleep: invalid time interval `serial:' sleep: invalid time interval `setenv' sleep: invalid time interval `stdin' sleep: invalid time interval `serial;' sleep: invalid time interval `setenv' sleep: invalid time interval `stdout' sleep: invalid time interval `serial;' sleep: invalid time interval `setenv' sleep: invalid time interval `stderr' sleep: invalid time interval `serial\'' sleep: invalid time interval `setenv' sleep: invalid time interval `menu_3' sleep: invalid time interval `\'Power' sleep: invalid time interval `off:' sleep: invalid time interval `neo1973' sleep: invalid time interval `power-off\'' sleep: invalid time interval `setenv' sleep: invalid time interval `splashimage' sleep: invalid time interval `\'nand' sleep: invalid time interval `read.e' sleep: invalid time interval `splash' sleep: invalid time interval `0x5000;' sleep: invalid time interval `unzip' sleep: invalid time interval `0x96000\'' sleep: invalid time interval `setenv' sleep: invalid time interval `mtdids' sleep: invalid time interval `nand0=neo1973-nand' sleep: invalid time interval `setenv' sleep: invalid time interval `mtdparts' sleep: invalid time interval `mtdparts=neo1973-nand:0x00050000(u-boot),0x00004000(u-boot_env),0x00208000(kernel),0x00010000(splash),0x039a4000(rootfs)' sleep: invalid time interval `#dynpart' sleep: invalid time interval `nand' sleep: invalid time interval `write.e' sleep: invalid time interval `u-boot' sleep: invalid time interval `dynenv' sleep: invalid time interval `set' sleep: invalid time interval `u-boot_env' sleep: invalid time interval `saveenv' Try `sleep --help' for more information. openmoko/flash.sh: line 88: 11550 Terminated $qemu -mtdblock "$script_dir/$flash_base" -kernel "$script_dir/$1" -serial stdio -nographic -usb -monitor null 0<&0 U-boot failed to finish writing in setenv dontask y nand createbbt setenv bootcmd 'setenv bootargs ${bootargs_base} ${mtdparts}; bootm 0x31000000' setenv menu_1 'Set console to USB: setenv stdin usbtty; setenv stdout usbtty; setenv stderr usbtty' setenv menu_2 'Set console to serial: setenv stdin serial; setenv stdout serial; setenv stderr serial' setenv menu_3 'Power off: neo1973 power-off' setenv splashimage 'nand read.e 0x36000000 splash 0x5000; unzip 0x36000000 0x33d00000 0x96000' setenv mtdids nand0=neo1973-nand setenv mtdparts mtdparts=neo1973-nand:0x00050000(u-boot),0x00004000(u-boot_env),0x00208000(kernel),0x00010000(splash),0x039a4000(rootfs) #dynpart nand write.e 0x31000000 u-boot 0x1000 dynenv set u-boot_env saveenv seconds, giving up. make: *** [flash-qemu-local] Error 255