help~After using the MokoMakefile to build the qemu, the qemu-neo1973 restart at once when it boot the kernel

lostdays lostdays at 163.com
Tue Nov 25 03:59:12 CET 2008


the image i used are "testing-om-gta01-20081124.uImage.bin",
"testing-om-gta01-20081124.rootfs.jffs2"
"gta01bv4-u-boot.bin".
I followed the Wiki.openmoko.org, firstly installed required software, then
download the mokomakefile, "make qemu","make run-qemu". the qemu lauched
with the menu. But when I choose the boot menu, it failed without any error
message out when loading the kernel and return the boot menu. Any idea for
it?
My OS version is ubuntu 8.04.
Thanks 

Make qemu log is following:
[ -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/flyingcloud/openmoko/build/qemu'
make -C arm-softmmu all
make[2]: Entering directory
`/home/flyingcloud/openmoko/build/qemu/arm-softmmu'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/home/flyingcloud/openmoko/build/qemu/arm-softmmu'
make[1]: Leaving directory `/home/flyingcloud/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... testing-om-gta01-20081124.uImage.bin
    Root filesystem is... testing-om-gta01-20081124.rootfs.jffs2
    U-boot is... gta01bv4-u-boot.bin
Retrieving position

    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/flyingcloud/openmoko/build/qemu/openmoko'
make[1]: `splash.gz' is up to date.
make[1]: Leaving directory `/home/flyingcloud/openmoko/build/qemu/openmoko'
Using 'testing-om-gta01-20081124.uImage.bin' as the kernel image.
Using 'testing-om-gta01-20081124.rootfs.jffs2' as the root filesystem image.
Using 'gta01bv4-u-boot.bin' as bootloader.
make[1]: Entering directory `/home/flyingcloud/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/flyingcloud/openmoko/build/qemu/openmoko'
Please wait, programming the NAND flash...
neo_gsm_switch: GSM disabled.

 
 U-Boot 1.3.2-moko12 (Nov 24 2008 - 18:46:05)
 
 I2C:   ready
 DRAM:  128 MB
 NAND:  Bad block table not found for chip 0
 Bad block table not found for chip 0
 64 MiB
 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.
GTA01Bv4 #                 
 GTA01Bv4 #  
 GTA01Bv4 # setenv dontask y 
 GTA01Bv4 # nand createbbt 
 Create BBT and erase everything ? <y/N>
  Erasing at 0x0 --   0% complete. Erasing at 0xa0000 --   1% complete.
Erasing at 0x144000 --   2% complete. Erasing at 0x1e8000 --   3% complete.
Erasing at 0x28c000 --   4% complete. Erasing at 0x330000 --   5% complete.
Erasing at 0x3d4000 --   6% complete. Erasing at 0x478000 --   7% complete.
Erasing at 0x51c000 --   8% complete. Erasing at 0x5c0000 --   9% complete.
Erasing at 0x664000 --  10% complete. Erasing at 0x708000 --  11% complete.
Erasing at 0x7ac000 --  12% complete. Erasing at 0x850000 --  13% complete.
Erasing at 0x8f4000 --  14% complete. Erasing at 0x998000 --  15% complete.
Erasing at 0xa3c000 --  16% complete. Erasing at 0xae0000 --  17% complete.
Erasing at 0xb84000 --  18% complete. Erasing at 0xc28000 --  19% complete.
Erasing at 0xccc000 --  20% complete. Erasing at 0xd70000 --  21% complete.
Erasing at 0xe14000 --  22% complete. Erasing at 0xeb8000 --  23% complete.
Erasing at 0xf5c000 --  24% complete. Erasing at 0xffc000 --  25% complete.
Erasing at 0x10a0000 --  26% complete. Erasing at 0x1144000 --  27%
complete. Erasing at 0x11e8000 --  28% complete. Erasing at 0x128c000 -- 
29% complete. Erasing at 0x1330000 --  30% complete. Erasing at 0x13d4000 -- 
31% complete. Erasing at 0x1478000 --  32% complete. Erasing at 0x151c000 -- 
33% complete. Erasing at 0x15c0000 --  34% complete. Erasing at 0x1664000 -- 
35% complete. Erasing at 0x1708000 --  36% complete. Erasing at 0x17ac000 -- 
37% complete. Erasing at 0x1850000 --  38% complete. Erasing at 0x18f4000 -- 
39% complete. Erasing at 0x1998000 --  40% complete. Erasing at 0x1a3c000 -- 
41% complete. Erasing at 0x1ae0000 --  42% complete. Erasing at 0x1b84000 -- 
43% complete. Erasing at 0x1c28000 --  44% complete. Erasing at 0x1ccc000 -- 
45% complete. Erasing at 0x1d70000 --  46% complete. Erasing at 0x1e14000 -- 
47% complete. Erasing at 0x1eb8000 --  48% complete. Erasing at 0x1f5c000 -- 
49% complete. Erasing at 0x1ffc000 --  50% complete. Erasing at 0x20a0000 -- 
51% complete. Erasing at 0x2144000 --  52% complete. Erasing at 0x21e8000 -- 
53% complete. Erasing at 0x228c000 --  54% complete. Erasing at 0x2330000 -- 
55% complete. Erasing at 0x23d4000 --  56% complete. Erasing at 0x2478000 -- 
57% complete. Erasing at 0x251c000 --  58% complete. Erasing at 0x25c0000 -- 
59% complete. Erasing at 0x2664000 --  60% complete. Erasing at 0x2708000 -- 
61% complete. Erasing at 0x27ac000 --  62% complete. Erasing at 0x2850000 -- 
63% complete. Erasing at 0x28f4000 --  64% complete. Erasing at 0x2998000 -- 
65% complete. Erasing at 0x2a3c000 --  66% complete. Erasing at 0x2ae0000 -- 
67% complete. Erasing at 0x2b84000 --  68% complete. Erasing at 0x2c28000 -- 
69% complete. Erasing at 0x2ccc000 --  70% complete. Erasing at 0x2d70000 -- 
71% complete. Erasing at 0x2e14000 --  72% complete. Erasing at 0x2eb8000 -- 
73% complete. Erasing at 0x2f5c000 --  74% complete. Erasing at 0x2ffc000 -- 
75% complete. Erasing at 0x30a0000 --  76% complete. Erasing at 0x3144000 -- 
77% complete. Erasing at 0x31e8000 --  78% complete. Erasing at 0x328c000 -- 
79% complete. Erasing at 0x3330000 --  80% complete. Erasing at 0x33d4000 -- 
81% complete. Erasing at 0x3478000 --  82% complete. Erasing at 0x351c000 -- 
83% complete. Erasing at 0x35c0000 --  84% complete. Erasing at 0x3664000 -- 
85% complete. Erasing at 0x3708000 --  86% complete. Erasing at 0x37ac000 -- 
87% complete. Erasing at 0x3850000 --  88% complete. Erasing at 0x38f4000 -- 
89% complete. Erasing at 0x3998000 --  90% complete. Erasing at 0x3a3c000 -- 
91% complete. Erasing at 0x3ae0000 --  92% complete. Erasing at 0x3b84000 -- 
93% complete. Erasing at 0x3c28000 --  94% complete. Erasing at 0x3ccc000 -- 
95% complete. Erasing at 0x3d70000 --  96% complete. Erasing at 0x3e14000 -- 
97% complete. Erasing at 0x3eb8000 --  98% complete. Erasing at 0x3f5c000 -- 
99% complete. Skipping bad block at  0x03ff0000                                            
  Skipping bad block at  0x03ff4000                                            
  Skipping bad block at  0x03ff8000                                            
  Skipping bad block at  0x03ffc000                                            
 
 Creating BBT. Please wait ...Bad block table not found for chip 0
 Bad block table not found for chip 0
 Bad block table written to 0x03ffc000, version 0x01
 Bad block table written to 0x03ff8000, version 0x01
 
 GTA01Bv4 # setenv bootcmd 'setenv bootargs ${bootargs_base} ${mtdparts};
bootm 0x30100000' 
 GTA01Bv4 # setenv menu_1 'Set console to USB: setenv stdin usbtty; setenv
stdout usbtty; setenv stderr usbtty' 
 GTA01Bv4 # setenv menu_2 'Set console to serial: setenv stdin serial;
setenv stdout serial; setenv stderr serial' 
 GTA01Bv4 # setenv menu_3 'Power off: neo1973 power-off' 
 GTA01Bv4 # setenv splashimage 'nand read.e 0x36000000 splash 0x5000; unzip
0x36000000 0x33d00000 0x96000' 
 GTA01Bv4 # setenv mtdids nand0=neo1973-nand 
 GTA01Bv4 # #setenv mtdparts
mtdparts=neo1973-nand:0x00050000(u-boot),0x00004000(u-boot_env),0x00208000(kernel),0x00010000(splash),0x039a4000(rootfs) 
 Unknown command '#setenv' - try 'help'
 GTA01Bv4 # dynpart 
 mtdparts
mtdparts=neo1973-nand:0x00040000(u-boot),0x00004000(u-boot_env),0x00200000(kernel),0x000a0000(splash),0x03d1c000(rootfs)
 GTA01Bv4 # nand write.e 0x30100000 u-boot 0x35840 
 
 NAND write: device 0 offset 0x0, size 0x35840
 
  Writing data at 0x0 --   0% complete. Writing data at 0x800 --   1%
complete. Writing data at 0x1000 --   2% complete. Writing data at 0x1800 --  
3% complete. Writing data at 0x2200 --   4% complete. Writing data at 0x2a00
--   5% complete. Writing data at 0x3200 --   6% complete. Writing data at
0x3a00 --   7% complete. Writing data at 0x4400 --   8% complete. Writing
data at 0x4c00 --   9% complete. Writing data at 0x5400 --  10% complete.
Writing data at 0x5e00 --  11% complete. Writing data at 0x6600 --  12%
complete. Writing data at 0x6e00 --  13% complete. Writing data at 0x7600 -- 
14% complete. Writing data at 0x8000 --  15% complete. Writing data at
0x8800 --  16% complete. Writing data at 0x9000 --  17% complete. Writing
data at 0x9a00 --  18% complete. Writing data at 0xa200 --  19% complete.
Writing data at 0xaa00 --  20% complete. Writing data at 0xb200 --  21%
complete. Writing data at 0xbc00 --  22% complete. Writing data at 0xc400 -- 
23% complete. Writing data at 0xcc00 --  24% complete. Writing data at
0xd600 --  25% complete. Writing data at 0xde00 --  26% complete. Writing
data at 0xe600 --  27% complete. Writing data at 0xee00 --  28% complete.
Writing data at 0xf800 --  29% complete. Writing data at 0x10000 --  30%
complete. Writing data at 0x10800 --  31% complete. Writing data at 0x11000
--  32% complete. Writing data at 0x11a00 --  33% complete. Writing data at
0x12200 --  34% complete. Writing data at 0x12a00 --  35% complete. Writing
data at 0x13400 --  36% complete. Writing data at 0x13c00 --  37% complete.
Writing data at 0x14400 --  38% complete. Writing data at 0x14c00 --  39%
complete. Writing data at 0x15600 --  40% complete. Writing data at 0x15e00
--  41% complete. Writing data at 0x16600 --  42% complete. Writing data at
0x17000 --  43% complete. Writing data at 0x17800 --  44% complete. Writing
data at 0x18000 --  45% complete. Writing data at 0x18800 --  46% complete.
Writing data at 0x19200 --  47% complete. Writing data at 0x19a00 --  48%
complete. Writing data at 0x1a200 --  49% complete. Writing data at 0x1ac00
--  50% complete. Writing data at 0x1b400 --  51% complete. Writing data at
0x1bc00 --  52% complete. Writing data at 0x1c400 --  53% complete. Writing
data at 0x1ce00 --  54% complete. Writing data at 0x1d600 --  55% complete.
Writing data at 0x1de00 --  56% complete. Writing data at 0x1e800 --  57%
complete. Writing data at 0x1f000 --  58% complete. Writing data at 0x1f800
--  59% complete. Writing data at 0x20000 --  60% complete. Writing data at
0x20a00 --  61% complete. Writing data at 0x21200 --  62% complete. Writing
data at 0x21a00 --  63% complete. Writing data at 0x22200 --  64% complete.
Writing data at 0x22c00 --  65% complete. Writing data at 0x23400 --  66%
complete. Writing data at 0x23c00 --  67% complete. Writing data at 0x24600
--  68% complete. Writing data at 0x24e00 --  69% complete. Writing data at
0x25600 --  70% complete. Writing data at 0x25e00 --  71% complete. Writing
data at 0x26800 --  72% complete. Writing data at 0x27000 --  73% complete.
Writing data at 0x27800 --  74% complete. Writing data at 0x28200 --  75%
complete. Writing data at 0x28a00 --  76% complete. Writing data at 0x29200
--  77% complete. Writing data at 0x29a00 --  78% complete. Writing data at
0x2a400 --  79% complete. Writing data at 0x2ac00 --  80% complete. Writing
data at 0x2b400 --  81% complete. Writing data at 0x2be00 --  82% complete.
Writing data at 0x2c600 --  83% complete. Writing data at 0x2ce00 --  84%
complete. Writing data at 0x2d600 --  85% complete. Writing data at 0x2e000
--  86% complete. Writing data at 0x2e800 --  87% complete. Writing data at
0x2f000 --  88% complete. Writing data at 0x2fa00 --  89% complete. Writing
data at 0x30200 --  90% complete. Writing data at 0x30a00 --  91% complete.
Writing data at 0x31200 --  92% complete. Writing data at 0x31c00 --  93%
complete. Writing data at 0x32400 --  94% complete. Writing data at 0x32c00
--  95% complete. Writing data at 0x33400 --  96% complete. Writing data at
0x33e00 --  97% complete. Writing data at 0x34600 --  98% complete. Writing
data at 0x34e00 --  99% complete. Writing data at 0x35800 -- 100% complete.
  219200 bytes written: OK
 GTA01Bv4 # dynenv set u-boot_env 
 device 0 offset 0x40000, size 0x4000
 45 4e 56 30 - 00 00 04 00
 GTA01Bv4 # saveenv 
 Saving Environment to NAND...
 Erasing Nand...Writing to Nand... done
 GTA01Bv4 # neo1973 power-off 
 poweroff
 pcf_write: Power-off requested.
Please wait, programming the NAND flash...
neo_gsm_switch: GSM disabled.

 
 U-Boot 1.3.2-moko12 (Nov 24 2008 - 18:46:05)
 
 I2C:   ready
 DRAM:  128 MB
 NAND:  64 MiB
 Found Environment offset in OOB..
 Video: 640x480x8 31kHz 59Hz
 
 NAND read: device 0 offset 0x244000, size 0x5000
 
  Reading data from 0x244000 --   2% complete. Reading data from 0x244200 --  
5% complete. Reading data from 0x244400 --   7% complete. Reading data from
0x244600 --  10% complete. Reading data from 0x244800 --  12% complete.
Reading data from 0x244a00 --  15% complete. Reading data from 0x244c00 -- 
17% complete. Reading data from 0x244e00 --  20% complete. Reading data from
0x245000 --  22% complete. Reading data from 0x245200 --  25% complete.
Reading data from 0x245400 --  27% complete. Reading data from 0x245600 -- 
30% complete. Reading data from 0x245800 --  32% complete. Reading data from
0x245a00 --  35% complete. Reading data from 0x245c00 --  37% complete.
Reading data from 0x245e00 --  40% complete. Reading data from 0x246000 -- 
42% complete. Reading data from 0x246200 --  45% complete. Reading data from
0x246400 --  47% complete. Reading data from 0x246600 --  50% complete.
Reading data from 0x246800 --  52% complete. Reading data from 0x246a00 -- 
55% complete. Reading data from 0x246c00 --  57% complete. Reading data from
0x246e00 --  60% complete. Reading data from 0x247000 --  62% complete.
Reading data from 0x247200 --  65% complete. Reading data from 0x247400 -- 
67% complete. Reading data from 0x247600 --  70% complete. Reading data from
0x247800 --  72% complete. Reading data from 0x247a00 --  75% complete.
Reading data from 0x247c00 --  77% complete. Reading data from 0x247e00 -- 
80% complete. Reading data from 0x248000 --  82% complete. Reading data from
0x248200 --  85% complete. Reading data from 0x248400 --  87% complete.
Reading data from 0x248600 --  90% complete. Reading data from 0x248800 -- 
92% complete. Reading data from 0x248a00 --  95% complete. Reading data from
0x248c00 --  97% complete. Reading data from 0x248e00 -- 100% complete.
  20480 bytes read: OK
 Error: Bad gzipped data
 USB:   S3C2410 USB Deviced
 In:    serial
 Out:   serial
 Err:   serial
 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.
GTA01Bv4 #                 
 GTA01Bv4 #  
 GTA01Bv4 # nand write.e 0x30100000 splash 0x5000 
 
 NAND write: device 0 offset 0x244000, size 0x5000
 
  Writing data at 0x244000 --   2% complete. Writing data at 0x244200 --  
5% complete. Writing data at 0x244400 --   7% complete. Writing data at
0x244600 --  10% complete. Writing data at 0x244800 --  12% complete.
Writing data at 0x244a00 --  15% complete. Writing data at 0x244c00 --  17%
complete. Writing data at 0x244e00 --  20% complete. Writing data at
0x245000 --  22% complete. Writing data at 0x245200 --  25% complete.
Writing data at 0x245400 --  27% complete. Writing data at 0x245600 --  30%
complete. Writing data at 0x245800 --  32% complete. Writing data at
0x245a00 --  35% complete. Writing data at 0x245c00 --  37% complete.
Writing data at 0x245e00 --  40% complete. Writing data at 0x246000 --  42%
complete. Writing data at 0x246200 --  45% complete. Writing data at
0x246400 --  47% complete. Writing data at 0x246600 --  50% complete.
Writing data at 0x246800 --  52% complete. Writing data at 0x246a00 --  55%
complete. Writing data at 0x246c00 --  57% complete. Writing data at
0x246e00 --  60% complete. Writing data at 0x247000 --  62% complete.
Writing data at 0x247200 --  65% complete. Writing data at 0x247400 --  67%
complete. Writing data at 0x247600 --  70% complete. Writing data at
0x247800 --  72% complete. Writing data at 0x247a00 --  75% complete.
Writing data at 0x247c00 --  77% complete. Writing data at 0x247e00 --  80%
complete. Writing data at 0x248000 --  82% complete. Writing data at
0x248200 --  85% complete. Writing data at 0x248400 --  87% complete.
Writing data at 0x248600 --  90% complete. Writing data at 0x248800 --  92%
complete. Writing data at 0x248a00 --  95% complete. Writing data at
0x248c00 --  97% complete. Writing data at 0x248e00 -- 100% complete.
  20480 bytes written: OK
 GTA01Bv4 # neo1973 power-off 
 poweroff
 pcf_write: Power-off requested.
openmoko/flash.sh: line 91:  6886 Terminated              ( sleep $2; kill
$pid; sleep 1; kill -KILL $pid )
Please wait, programming the NAND flash...
neo_gsm_switch: GSM disabled.

 
 U-Boot 1.3.2-moko12 (Nov 24 2008 - 18:46:05)
 
 I2C:   ready
 DRAM:  128 MB
 NAND:  64 MiB
 Found Environment offset in OOB..
 Video: 640x480x8 31kHz 59Hz
 
 NAND read: device 0 offset 0x244000, size 0x5000
 
  Reading data from 0x244000 --   2% complete. Reading data from 0x244200 --  
5% complete. Reading data from 0x244400 --   7% complete. Reading data from
0x244600 --  10% complete. Reading data from 0x244800 --  12% complete.
Reading data from 0x244a00 --  15% complete. Reading data from 0x244c00 -- 
17% complete. Reading data from 0x244e00 --  20% complete. Reading data from
0x245000 --  22% complete. Reading data from 0x245200 --  25% complete.
Reading data from 0x245400 --  27% complete. Reading data from 0x245600 -- 
30% complete. Reading data from 0x245800 --  32% complete. Reading data from
0x245a00 --  35% complete. Reading data from 0x245c00 --  37% complete.
Reading data from 0x245e00 --  40% complete. Reading data from 0x246000 -- 
42% complete. Reading data from 0x246200 --  45% complete. Reading data from
0x246400 --  47% complete. Reading data from 0x246600 --  50% complete.
Reading data from 0x246800 --  52% complete. Reading data from 0x246a00 -- 
55% complete. Reading data from 0x246c00 --  57% complete. Reading data from
0x246e00 --  60% complete. Reading data from 0x247000 --  62% complete.
Reading data from 0x247200 --  65% complete. Reading data from 0x247400 -- 
67% complete. Reading data from 0x247600 --  70% complete. Reading data from
0x247800 --  72% complete. Reading data from 0x247a00 --  75% complete.
Reading data from 0x247c00 --  77% complete. Reading data from 0x247e00 -- 
80% complete. Reading data from 0x248000 --  82% complete. Reading data from
0x248200 --  85% complete. Reading data from 0x248400 --  87% complete.
Reading data from 0x248600 --  90% complete. Reading data from 0x248800 -- 
92% complete. Reading data from 0x248a00 --  95% complete. Reading data from
0x248c00 --  97% complete. Reading data from 0x248e00 -- 100% complete.
  20480 bytes read: OK
 USB:   S3C2410 USB Deviced
 In:    serial
 Out:   serial
 Err:   serial
 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.
GTA01Bv4 #                 
 GTA01Bv4 #  
 GTA01Bv4 # nand write.e 0x30100000 kernel 0x1ad1e8 
 
 NAND write: device 0 offset 0x44000, size 0x1ad1e8
 
  Writing data at 0x44000 --   0% complete. Writing data at 0x48400 --   1%
complete. Writing data at 0x4c800 --   2% complete. Writing data at 0x50c00
--   3% complete. Writing data at 0x55200 --   4% complete. Writing data at
0x59600 --   5% complete. Writing data at 0x5da00 --   6% complete. Writing
data at 0x62000 --   7% complete. Writing data at 0x66400 --   8% complete.
Writing data at 0x6a800 --   9% complete. Writing data at 0x6ee00 --  10%
complete. Writing data at 0x73200 --  11% complete. Writing data at 0x77600
--  12% complete. Writing data at 0x7bc00 --  13% complete. Writing data at
0x80000 --  14% complete. Writing data at 0x84400 --  15% complete. Writing
data at 0x88a00 --  16% complete. Writing data at 0x8ce00 --  17% complete.
Writing data at 0x91200 --  18% complete. Writing data at 0x95800 --  19%
complete. Writing data at 0x99c00 --  20% complete. Writing data at 0x9e000
--  21% complete. Writing data at 0xa2600 --  22% complete. Writing data at
0xa6a00 --  23% complete. Writing data at 0xaae00 --  24% complete. Writing
data at 0xaf400 --  25% complete. Writing data at 0xb3800 --  26% complete.
Writing data at 0xb7c00 --  27% complete. Writing data at 0xbc200 --  28%
complete. Writing data at 0xc0600 --  29% complete. Writing data at 0xc4a00
--  30% complete. Writing data at 0xc9000 --  31% complete. Writing data at
0xcd400 --  32% complete. Writing data at 0xd1800 --  33% complete. Writing
data at 0xd5e00 --  34% complete. Writing data at 0xda200 --  35% complete.
Writing data at 0xde600 --  36% complete. Writing data at 0xe2c00 --  37%
complete. Writing data at 0xe7000 --  38% complete. Writing data at 0xeb400
--  39% complete. Writing data at 0xefa00 --  40% complete. Writing data at
0xf3e00 --  41% complete. Writing data at 0xf8200 --  42% complete. Writing
data at 0xfc800 --  43% complete. Writing data at 0x100c00 --  44% complete.
Writing data at 0x105000 --  45% complete. Writing data at 0x109600 --  46%
complete. Writing data at 0x10da00 --  47% complete. Writing data at
0x111e00 --  48% complete. Writing data at 0x116400 --  49% complete.
Writing data at 0x11a800 --  50% complete. Writing data at 0x11ec00 --  51%
complete. Writing data at 0x123200 --  52% complete. Writing data at
0x127600 --  53% complete. Writing data at 0x12ba00 --  54% complete.
Writing data at 0x130000 --  55% complete. Writing data at 0x134400 --  56%
complete. Writing data at 0x138800 --  57% complete. Writing data at
0x13ce00 --  58% complete. Writing data at 0x141200 --  59% complete.
Writing data at 0x145600 --  60% complete. Writing data at 0x149c00 --  61%
complete. Writing data at 0x14e000 --  62% complete. Writing data at
0x152400 --  63% complete. Writing data at 0x156a00 --  64% complete.
Writing data at 0x15ae00 --  65% complete. Writing data at 0x15f200 --  66%
complete. Writing data at 0x163800 --  67% complete. Writing data at
0x167c00 --  68% complete. Writing data at 0x16c000 --  69% complete.
Writing data at 0x170600 --  70% complete. Writing data at 0x174a00 --  71%
complete. Writing data at 0x178e00 --  72% complete. Writing data at
0x17d400 --  73% complete. Writing data at 0x181800 --  74% complete.
Writing data at 0x185c00 --  75% complete. Writing data at 0x18a200 --  76%
complete. Writing data at 0x18e600 --  77% complete. Writing data at
0x192a00 --  78% complete. Writing data at 0x197000 --  79% complete.
Writing data at 0x19b400 --  80% complete. Writing data at 0x19f800 --  81%
complete. Writing data at 0x1a3e00 --  82% complete. Writing data at
0x1a8200 --  83% complete. Writing data at 0x1ac600 --  84% complete.
Writing data at 0x1b0c00 --  85% complete. Writing data at 0x1b5000 --  86%
complete. Writing data at 0x1b9400 --  87% complete. Writing data at
0x1bd800 --  88% complete. Writing data at 0x1c1e00 --  89% complete.
Writing data at 0x1c6200 --  90% complete. Writing data at 0x1ca600 --  91%
complete. Writing data at 0x1cec00 --  92% complete. Writing data at
0x1d3000 --  93% complete. Writing data at 0x1d7400 --  94% complete.
Writing data at 0x1dba00 --  95% complete. Writing data at 0x1dfe00 --  96%
complete. Writing data at 0x1e4200 --  97% complete. Writing data at
0x1e8800 --  98% complete. Writing data at 0x1ecc00 --  99% complete.
Writing data at 0x1f1000 -- 100% complete.
  1757672 bytes written: OK
 GTA01Bv4 # neo1973 power-off 
 poweroff
 pcf_write: Power-off requested.
openmoko/flash.sh: line 91:  6892 Terminated              ( sleep $2; kill
$pid; sleep 1; kill -KILL $pid )
Please wait, programming the NAND flash...
neo_gsm_switch: GSM disabled.

 
 U-Boot 1.3.2-moko12 (Nov 24 2008 - 18:46:05)
 
 I2C:   ready
 DRAM:  128 MB
 NAND:  64 MiB
 Found Environment offset in OOB..
 Video: 640x480x8 31kHz 59Hz
 
 NAND read: device 0 offset 0x244000, size 0x5000
 
  Reading data from 0x244000 --   2% complete. Reading data from 0x244200 --  
5% complete. Reading data from 0x244400 --   7% complete. Reading data from
0x244600 --  10% complete. Reading data from 0x244800 --  12% complete.
Reading data from 0x244a00 --  15% complete. Reading data from 0x244c00 -- 
17% complete. Reading data from 0x244e00 --  20% complete. Reading data from
0x245000 --  22% complete. Reading data from 0x245200 --  25% complete.
Reading data from 0x245400 --  27% complete. Reading data from 0x245600 -- 
30% complete. Reading data from 0x245800 --  32% complete. Reading data from
0x245a00 --  35% complete. Reading data from 0x245c00 --  37% complete.
Reading data from 0x245e00 --  40% complete. Reading data from 0x246000 -- 
42% complete. Reading data from 0x246200 --  45% complete. Reading data from
0x246400 --  47% complete. Reading data from 0x246600 --  50% complete.
Reading data from 0x246800 --  52% complete. Reading data from 0x246a00 -- 
55% complete. Reading data from 0x246c00 --  57% complete. Reading data from
0x246e00 --  60% complete. Reading data from 0x247000 --  62% complete.
Reading data from 0x247200 --  65% complete. Reading data from 0x247400 -- 
67% complete. Reading data from 0x247600 --  70% complete. Reading data from
0x247800 --  72% complete. Reading data from 0x247a00 --  75% complete.
Reading data from 0x247c00 --  77% complete. Reading data from 0x247e00 -- 
80% complete. Reading data from 0x248000 --  82% complete. Reading data from
0x248200 --  85% complete. Reading data from 0x248400 --  87% complete.
Reading data from 0x248600 --  90% complete. Reading data from 0x248800 -- 
92% complete. Reading data from 0x248a00 --  95% complete. Reading data from
0x248c00 --  97% complete. Reading data from 0x248e00 -- 100% complete.
  20480 bytes read: OK
 USB:   S3C2410 USB Deviced
 In:    serial
 Out:   serial
 Err:   serial
 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.
GTA01Bv4 #                 
 GTA01Bv4 #  
 GTA01Bv4 # nand write.jffs2 0x30100000 rootfs 0x2318000 
 
 NAND write: device 0 offset 0x2e4000, size 0x2318000
 
  Writing data at 0x2e4000 --   0% complete. Writing data at 0x33dc00 --  
1% complete. Writing data at 0x397a00 --   2% complete. Writing data at
0x3f1800 --   3% complete. Writing data at 0x44b400 --   4% complete.
Writing data at 0x4a5200 --   5% complete. Writing data at 0x4ff000 --   6%
complete. Writing data at 0x558e00 --   7% complete. Writing data at
0x5b2a00 --   8% complete. Writing data at 0x60c800 --   9% complete.
Writing data at 0x666600 --  10% complete. Writing data at 0x6c0200 --  11%
complete. Writing data at 0x71a000 --  12% complete. Writing data at
0x773e00 --  13% complete. Writing data at 0x7cdc00 --  14% complete.
Writing data at 0x827800 --  15% complete. Writing data at 0x881600 --  16%
complete. Writing data at 0x8db400 --  17% complete. Writing data at
0x935000 --  18% complete. Writing data at 0x98ee00 --  19% complete.
Writing data at 0x9e8c00 --  20% complete. Writing data at 0xa42a00 --  21%
complete. Writing data at 0xa9c600 --  22% complete. Writing data at
0xaf6400 --  23% complete. Writing data at 0xb50200 --  24% complete.
Writing data at 0xba9e00 --  25% complete. Writing data at 0xc03c00 --  26%
complete. Writing data at 0xc5da00 --  27% complete. Writing data at
0xcb7800 --  28% complete. Writing data at 0xd11400 --  29% complete.
Writing data at 0xd6b200 --  30% complete. Writing data at 0xdc5000 --  31%
complete. Writing data at 0xe1ee00 --  32% complete. Writing data at
0xe78a00 --  33% complete. Writing data at 0xed2800 --  34% complete.
Writing data at 0xf2c600 --  35% complete. Writing data at 0xf86200 --  36%
complete. Writing data at 0xfe0000 --  37% complete. Writing data at
0x1039e00 --  38% complete. Writing data at 0x1093c00 --  39% complete.
Writing data at 0x10ed800 --  40% complete. Writing data at 0x1147600 -- 
41% complete. Writing data at 0x11a1400 --  42% complete. Writing data at
0x11fb000 --  43% complete. Writing data at 0x1254e00 --  44% complete.
Writing data at 0x12aec00 --  45% complete. Writing data at 0x1308a00 -- 
46% complete. Writing data at 0x1362600 --  47% complete. Writing data at
0x13bc400 --  48% complete. Writing data at 0x1416200 --  49% complete.
Writing data at 0x146fe00 --  50% complete. Writing data at 0x14c9c00 -- 
51% complete. Writing data at 0x1523a00 --  52% complete. Writing data at
0x157d800 --  53% complete. Writing data at 0x15d7400 --  54% complete.
Writing data at 0x1631200 --  55% complete. Writing data at 0x168b000 -- 
56% complete. Writing data at 0x16e4e00 --  57% complete. Writing data at
0x173ea00 --  58% complete. Writing data at 0x1798800 --  59% complete.
Writing data at 0x17f2600 --  60% complete. Writing data at 0x184c200 -- 
61% complete. Writing data at 0x18a6000 --  62% complete. Writing data at
0x18ffe00 --  63% complete. Writing data at 0x1959c00 --  64% complete.
Writing data at 0x19b3800 --  65% complete. Writing data at 0x1a0d600 -- 
66% complete. Writing data at 0x1a67400 --  67% complete. Writing data at
0x1ac1000 --  68% complete. Writing data at 0x1b1ae00 --  69% complete.
Writing data at 0x1b74c00 --  70% complete. Writing data at 0x1bcea00 -- 
71% complete. Writing data at 0x1c28600 --  72% complete. Writing data at
0x1c82400 --  73% complete. Writing data at 0x1cdc200 --  74% complete.
Writing data at 0x1d35e00 --  75% complete. Writing data at 0x1d8fc00 -- 
76% complete. Writing data at 0x1de9a00 --  77% complete. Writing data at
0x1e43800 --  78% complete. Writing data at 0x1e9d400 --  79% complete.
Writing data at 0x1ef7200 --  80% complete. Writing data at 0x1f51000 -- 
81% complete. Writing data at 0x1faae00 --  82% complete. Writing data at
0x2004a00 --  83% complete. Writing data at 0x205e800 --  84% complete.
Writing data at 0x20b8600 --  85% complete. Writing data at 0x2112200 -- 
86% complete. Writing data at 0x216c000 --  87% complete. Writing data at
0x21c5e00 --  88% complete. Writing data at 0x221fc00 --  89% complete.
Writing data at 0x2279800 --  90% complete. Writing data at 0x22d3600 -- 
91% complete. Writing data at 0x232d400 --  92% complete. Writing data at
0x2387000 --  93% complete. Writing data at 0x23e0e00 --  94% complete.
Writing data at 0x243ac00 --  95% complete. Writing data at 0x2494a00 -- 
96% complete. Writing data at 0x24ee600 --  97% complete. Writing data at
0x2548400 --  98% complete. Writing data at 0x25a2200 --  99% complete.
Writing data at 0x25fbe00 -- 100% complete.
  36798464 bytes written: OK
 GTA01Bv4 # neo1973 power-off 
 poweroff
 pcf_write: Power-off requested.
openmoko/flash.sh: line 91:  6895 Terminated              ( sleep $2; kill
$pid; sleep 1; kill -KILL $pid )
openmoko/flash.sh: line 131:  6898 Terminated              ( sleep $2; kill
$pid; sleep 1; kill -KILL $pid )  (wd: ~/openmoko/build/qemu)
make[1]: Entering directory `/home/flyingcloud/openmoko/build/qemu/openmoko'
../qemu-img create -b openmoko-flash.base -f qcow2 openmoko-flash.image
Formatting 'openmoko-flash.image', fmt=qcow2,
backing_file=openmoko-flash.base, size=67584 kB
make[1]: Leaving directory `/home/flyingcloud/openmoko/build/qemu/openmoko'

    All done.

    Read the qemu manual and use a commandline like the following to boot:
 $ arm-softmmu/qemu-system-arm -M gta01 -m 130 -mtdblock
openmoko/openmoko-flash.image -kernel openmoko/openmoko-kernel.bin -usb
-show-cursor

    Append '-snapshot' to make the flash image read-only so that every
    time emulation starts in the original unmodified state.
    Use [Enter] for AUX button, [Space] for POWER.
    Append '-usbdevice keyboard' to attach a standard keyboard.
    
    If you've configured qemu with --enable-phonesim (requieres Qt4 and
    a C++ toolchain), use the following commandline to run phonesim:
 $ (cd phonesim; LD_LIBRARY_PATH=lib ./phonesim -gui
../openmoko/neo1973.xml)&
    The GUI is optional. When phonesim is running, append
    '-serial tcp:localhost:12345' to qemu invocation. Security
    note a la GLSA: phonesim listens on 0.0.0.0.

openmoko/flash.sh: line 156: kill: (-6826) - No such process
( cd build/qemu && arm-softmmu/qemu-system-arm \
        -M gta01 -m 130 -usb -show-cursor \
        -usbdevice keyboard \
        -mtdblock openmoko/openmoko-flash.image \
        -sd openmoko/openmoko-sd.image \
        -kernel openmoko/openmoko-kernel.bin )
neo_gsm_switch: GSM disabled.
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.
neo_gsm_switch: GSM disabled.
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.
pcf_write: Power-off requested.


-- 
View this message in context: http://n2.nabble.com/help%7EAfter-using-the-MokoMakefile-to-build-the-qemu%2C-the-qemu-neo1973-restart-at-once-when-it-boot-the-kernel-tp1574858p1574858.html
Sent from the Openmoko Community mailing list archive at Nabble.com.





More information about the community mailing list