[ -x splashimg.pl ] [ -s System_boot.png ] ./splashimg.pl System_boot.png > splash 480 x 640 (255) gzip -c < splash > splash.gz make[1]: Leaving directory `/home/wligtenb/prive/openmoko/build/qemu/openmoko' ls: /home/wligtenb/prive/openmoko/images/openmoko/uImage-2.6.*-neo1973.bin: No such file or directory basename: missing operand Try `basename --help' for more information. Using '' as the kernel image. Using 'OpenMoko-openmoko-devel-image-glibc-P1-August-Snapshot-20070819-fic-gta01.rootfs.jffs2' as the root filesystem image. Using 'u-boot-gta01bv4-1.2.0+git8993e54b6f397973794f3d6f47d3b3c0c98dd4f6+svn20070819-r0.bin' as bootloader. make[1]: Entering directory `/home/wligtenb/prive/openmoko/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 make[1]: Leaving directory `/home/wligtenb/prive/openmoko/build/qemu/openmoko' Please wait, programming the NAND flash... neo_gsm_switch: GSM disabled. U-Boot 1.2.0-moko9_r0 (Aug 19 2007 - 19:17:12) DRAM: 128 MB NAND: Bad block table not found for chip 0 Bad block table not found for chip 0 64 MiB *** Warning - bad CRC or NAND, using default environment Video: 640x480x8 31kHz 59Hz USB: S3C2410 USB Deviced mtdparts variable not set, see 'help mtdparts' mtdparts variable not set, see 'help mtdparts' mtdparts variable not set, see 'help mtdparts' mtdparts variable not set, see 'help mtdparts' mtdparts variable not set, see 'help mtdparts' In: serial Out: serial Err: serial pcf_write: charging in Qualification Mode. pcf_write: charge voltage 4.20V. openmoko/flash.sh: line 88: 15837 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 300 seconds, giving up. make: *** [flash-qemu-official] Error 255 wligtenb@bmt-nb83:~/prive/openmoko$ make qemu [ -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/wligtenb/prive/openmoko/build/qemu' make -C arm-softmmu all make[2]: Entering directory `/home/wligtenb/prive/openmoko/build/qemu/arm-softmmu' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/wligtenb/prive/openmoko/build/qemu/arm-softmmu' make[1]: Leaving directory `/home/wligtenb/prive/openmoko/build/qemu' [ -e images/openmoko ] || mkdir -p images/openmoko ln -sf `pwd`/openmoko/trunk/src/host/qemu-neo1973/openmoko/env images/openmoko/env ( cd images && ../openmoko/trunk/src/host/qemu-neo1973/openmoko/download.sh ) Retrieving available builds list... Kernel is... not found Root filesystem is... OpenMoko-openmoko-devel-image-glibc-P1-August-Snapshot-20070819-fic-gta01.rootfs.jffs2 U-boot is... u-boot-gta01bv4-1.2.0+git8993e54b6f397973794f3d6f47d3b3c0c98dd4f6+svn20070819-r0.bin --12:10:05-- http://buildhost.openmoko.org/snapshots/2007.08/images// => `index.html.1' Resolving buildhost.openmoko.org... 88.198.84.234 Connecting to buildhost.openmoko.org|88.198.84.234|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1,584 (1.5K) [text/html] 100%[=================================================================================>] 1,584 --.--K/s 12:10:05 (56.92 MB/s) - `index.html.1' saved [1584/1584] Now use openmoko/flash.sh to install OpenMoko to NAND Flash. rm -f images/openmoko/env [ -d stamps ] || mkdir stamps touch stamps/images ( cd build/qemu && openmoko/flash.sh ../../images/openmoko ) /usr/bin/pngtopnm /usr/bin/ppmtorgb3 make[1]: Entering directory `/home/wligtenb/prive/openmoko/build/qemu/openmoko' make[1]: `splash.gz' is up to date. make[1]: Leaving directory `/home/wligtenb/prive/openmoko/build/qemu/openmoko' ls: /home/wligtenb/prive/openmoko/images/openmoko/uImage-2.6.*-neo1973.bin: No such file or directory basename: missing operand Try `basename --help' for more information. Using '' as the kernel image. Using 'OpenMoko-openmoko-devel-image-glibc-P1-August-Snapshot-20070819-fic-gta01.rootfs.jffs2' as the root filesystem image. Using 'u-boot-gta01bv4-1.2.0+git8993e54b6f397973794f3d6f47d3b3c0c98dd4f6+svn20070819-r0.bin' as bootloader. make[1]: Entering directory `/home/wligtenb/prive/openmoko/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 make[1]: Leaving directory `/home/wligtenb/prive/openmoko/build/qemu/openmoko' Please wait, programming the NAND flash... neo_gsm_switch: GSM disabled. U-Boot 1.2.0-moko9_r0 (Aug 19 2007 - 19:17:12) DRAM: 128 MB NAND: Bad block table not found for chip 0 Bad block table not found for chip 0 64 MiB *** Warning - bad CRC or NAND, using default environment Video: 640x480x8 31kHz 59Hz USB: S3C2410 USB Deviced mtdparts variable not set, see 'help mtdparts' mtdparts variable not set, see 'help mtdparts' mtdparts variable not set, see 'help mtdparts' mtdparts variable not set, see 'help mtdparts' mtdparts variable not set, see 'help mtdparts' In: serial Out: serial Err: serial pcf_write: charging in Qualification Mode. pcf_write: charge voltage 4.20V. openmoko/flash.sh: line 88: 16480 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 300 seconds, giving up. make: *** [flash-qemu-official] Error 255