[Bug 937] Qemu doesn't want to flash images

bugzilla-daemon at bugzilla.openmoko.org bugzilla-daemon at bugzilla.openmoko.org
Thu Feb 14 21:42:47 CET 2008


http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=937

jisakiel at yahoo.es changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |



------- Additional Comments From jisakiel at yahoo.es  2008-02-14 21:42 -------
Unfortunately I'll have to reopen it. I'm getting the bug again. Kernel
2.6.24-zen1 (zen-sources), amd64 with dynticks on ubuntu gutsy. Compiling and
loading kqemu makes the whole process go faster, but I still get the same error.
With a freshly compiled qemu: 

jisakiel at xpsm1330:~/openmoko/build/qemu$ openmoko/flash.sh 
/usr/bin/pngtopnm
/usr/bin/ppmtorgb3
make: `splash.gz' está actualizado. [meaning: it's updated]
Using 'uImage-2.6.24+svnr4059-r4055-r3-neo1973.bin' as the kernel image.
Using
'OpenMoko-openmoko-devel-image-glibc-ipk-P1-Snapshot-20080213-fic-gta01.rootfs.jffs2'
as the root filesystem image.
Using
'u-boot-gta01bv4-1.3.1+git0ec595243dc99edcd248bbcfbfd5a1dc860bde89+svn3817-r1.bin'
as bootloader.
# 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
neo_gsm_switch: GSM disabled.


U-Boot 1.3.1+git0ec595243dc99edcd248bbcfbfd5a1dc860bde89+svn3817 (Jan 23 2008 -
11:35:09)

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

Please wait, programming the NAND flash...
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'
pcf_write: charging in Qualification Mode.
pcf_write: charge voltage 4.20V.
neo_lcd_rst_switch: LCD reset.
jbt6k74_command: Display on.
neo_vib_switch: Buzz, buzz.
neo_vib_switch: Vibrator stopped.
neo_bl_switch: LCD Backlight now on.
penmoko/flash.sh: line 91:  1222 Terminado               ( sleep $2; kill $pid;
sleep 1; kill -KILL $pid )
openmoko/flash.sh: line 91: 15305 Terminado               $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 60 seconds, giving up.

"Terminado" means "Killed" . 






------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the buglog mailing list