rendered paste bodycm@tyst> make flash-qemu-local /home/moko
( cd build/qemu ; openmoko/flash.sh ../tmp/deploy/images )
/usr/bin/gmake
which: no gecho in (/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/games/bin:/opt/vmware/server/bin:/opt/vmware/server/console/bin)
/usr/bin/pngtopnm
/usr/bin/ppmtorgb3
gmake[1]: Entering directory `/home/moko/build/qemu/openmoko'
gmake[1]: `splash.gz' is up to date.
gmake[1]: Leaving directory `/home/moko/build/qemu/openmoko'
Using 'uImage-2.6.21.5-moko10-r1_0_0_2359_0-fic-gta01.bin' as the kernel image.
Using 'openmoko-devel-image-fic-gta01-20070705055227.rootfs.jffs2' as the root filesystem image.
Using 'u-boot-gta01bv4-r10_e4feb7638ca0a2138973f14456424acbc332ae43_0_2348.bin' as bootloader.
gmake[1]: Entering directory `/home/moko/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/moko/build/qemu/openmoko'
Please wait, programming the NAND flash...
Could not configure '/dev/rtc' to have a 1024 Hz timer. This is not a fatal
error, but for better emulation accuracy either use a 2.6 host Linux kernel or
type 'echo 1024 > /proc/sys/dev/rtc/max-user-freq' as root.
openmoko/flash.sh: line 88: 2030 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-local] Error 255