/usr/bin/pngtopnm /usr/bin/ppmtorgb3 make: `splash.gz' is up to date. Using 'uImage-2.6.24+r5+gitr88bf43840b9df0eb0a077a1394eb564be80a412e-r5-om-gta01.bin' as the kernel image. Using 'Openmoko-openmoko-devel-image-glibc-ipk-P1-Snapshot-20080421-om-gta01.rootfs.jffs2' as the root filesystem image. Using 'u-boot-gta01bv4-1.3.1+gitr16+aa9b0ea7a1c9277fe0e9bfbda5070a9c9d61eaff-r0.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 Please wait, programming the NAND flash... U-Boot 1.3.2+gitr16+aa9b0ea7a1c9277fe0e9bfbda5070a9c9d61eaff (Aug 4 2008 - 00:11:01) 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. jbt6k74_command: Display on. GTA01Bv4 # GTA01Bv4 # GTA01Bv4 # setenv dontask y GTA01Bv4 # nand createbbt Create BBT and erase everything ? 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. Erasin g 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% compl ete. 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 0x35890 NAND write: device 0 offset 0x0, size 0x35890 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 0x11200 -- 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 0x14e00 -- 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 0x18a00 -- 46% complete. Writing data at 0x19200 -- 47% compl ete. 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 0x22400 -- 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 0x 26000 -- 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 0x29c00 -- 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 0x2d800 -- 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 0x31400 -- 92% complete. Writing data at 0x31c00 -- 93% complete. Writing data at 0x32400 -- 94% complete. Writing data at 0x32c00 -- 95% complete. Writing data at 0x33600 -- 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. 219280 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... U-Boot 1.3.2+gitr16+aa9b0ea7a1c9277fe0e9bfbda5070a9c9d61eaff (Aug 4 2008 - 00:11:01) 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. jbt6k74_command: Display 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. Please wait, programming the NAND flash... U-Boot 1.3.2+gitr16+aa9b0ea7a1c9277fe0e9bfbda5070a9c9d61eaff (Aug 4 2008 - 00:11:01) 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. jbt6k74_command: Display on. GTA01Bv4 # GTA01Bv4 # GTA01Bv4 # nand write.e 0x30100000 kernel 0x1d85d0 NAND write: device 0 offset 0x44000, size 0x1d85d0 Writing data at 0x44000 -- 0% complete. Writing data at 0x48a00 -- 1% complete. Writing data at 0x4d600 -- 2% complete. Writing data at 0x52200 -- 3% complete. Writing data at 0x56e00 -- 4% complete. Writing data at 0x5b800 -- 5% complete. Writing data at 0x60400 -- 6% complete. Writing data at 0x65000 -- 7% complete. Writing data at 0x69c00 -- 8% complete. Writing data at 0x6e800 -- 9% complete. Writing data at 0x73200 -- 10% complete. Writing data at 0x77e00 -- 11% complete. Writing data at 0x7ca00 -- 12% complete. Writing data at 0x81600 -- 13% complete. Writing data at 0x86200 -- 14% complete. Writing data at 0x8ac00 -- 15% complete. Writing data at 0x8f800 -- 16% complete. Writing data at 0x94400 -- 17% complete. Writing data at 0x99000 -- 18% complete. Writing data at 0x9da00 -- 19% complete. Writing data at 0xa2600 -- 20% complete. Writing data at 0xa7200 -- 21% complete. Writing data at 0xabe00 -- 22% complete. Writing data at 0xb0a0 0 -- 23% complete. Writing data at 0xb5400 -- 24% complete. Writing data at 0xba000 -- 25% complete. Writing data at 0xbec00 -- 26% complete. Writing data at 0xc3800 -- 27% complete. Writing data at 0xc8400 -- 28% complete. Writing data at 0xcce00 -- 29% complete. Writing data at 0xd1a00 -- 30% complete. Writing data at 0xd6600 -- 31% complete. Writing data at 0xdb200 -- 32% complete. Writing data at 0xdfe00 -- 33% complete. Writing data at 0xe4800 -- 34% complete. Writing data at 0xe9400 -- 35% complete. Writing data at 0xee000 -- 36% complete. Writing data at 0xf2c00 -- 37% complete. Writing data at 0xf7600 -- 38% complete. Writing data at 0xfc200 -- 39% complete. Writing data at 0x100e00 -- 40% complete. Writing data at 0x105a00 -- 41% complete. Writing data at 0x10a600 -- 42% complete. Writing data at 0x10f000 -- 43% complete. Writing data at 0x113c00 -- 44% complete. Writing data at 0x118800 -- 45% complete. Writing data at 0x11d400 -- 46% comple te. Writing data at 0x122000 -- 47% complete. Writing data at 0x126a00 -- 48% complete. Writing data at 0x12b600 -- 49% complete. Writing data at 0x130200 -- 50% complete. Writing data at 0x134e00 -- 51% complete. Writing data at 0x139a00 -- 52% complete. Writing data at 0x13e400 -- 53% complete. Writing data at 0x143000 -- 54% complete. Writing data at 0x147c00 -- 55% complete. Writing data at 0x14c800 -- 56% complete. Writing data at 0x151200 -- 57% complete. Writing data at 0x155e00 -- 58% complete. Writing data at 0x15aa00 -- 59% complete. Writing data at 0x15f600 -- 60% complete. Writing data at 0x164200 -- 61% complete. Writing data at 0x168c00 -- 62% complete. Writing data at 0x16d800 -- 63% complete. Writing data at 0x172400 -- 64% complete. Writing data at 0x177000 -- 65% complete. Writing data at 0x17bc00 -- 66% complete. Writing data at 0x180600 -- 67% complete. Writing data at 0x185200 -- 68% complete. Writing data at 0x189e00 -- 69% comple te. Writing data at 0x18ea00 -- 70% complete. Writing data at 0x193600 -- 71% complete. Writing data at 0x198000 -- 72% complete. Writing data at 0x19cc00 -- 73% complete. Writing data at 0x1a1800 -- 74% complete. Writing data at 0x1a6400 -- 75% complete. Writing data at 0x1aae00 -- 76% complete. Writing data at 0x1afa00 -- 77% complete. Writing data at 0x1b4600 -- 78% complete. Writing data at 0x1b9200 -- 79% complete. Writing data at 0x1bde00 -- 80% complete. Writing data at 0x1c2800 -- 81% complete. Writing data at 0x1c7400 -- 82% complete. Writing data at 0x1cc000 -- 83% complete. Writing data at 0x1d0c00 -- 84% complete. Writing data at 0x1d5800 -- 85% complete. Writing data at 0x1da200 -- 86% complete. Writing data at 0x1dee00 -- 87% complete. Writing data at 0x1e3a00 -- 88% complete. Writing data at 0x1e8600 -- 89% complete. Writing data at 0x1ed200 -- 90% complete. Writing data at 0x1f1c00 -- 91% complete. Writing data at 0x1f6800 -- 92% comple te. Writing data at 0x1fb400 -- 93% complete. Writing data at 0x200000 -- 94% complete. Writing data at 0x204a00 -- 95% complete. Writing data at 0x209600 -- 96% complete. Writing data at 0x20e200 -- 97% complete. Writing data at 0x212e00 -- 98% complete. Writing data at 0x217a00 -- 99% complete. Writing data at 0x21c400 -- 100% complete. 1934800 bytes written: OK GTA01Bv4 # neo1973 power-off poweroff pcf_write: Power-off requested. Please wait, programming the NAND flash... U-Boot 1.3.2+gitr16+aa9b0ea7a1c9277fe0e9bfbda5070a9c9d61eaff (Aug 4 2008 - 00:11:01) 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. jbt6k74_command: Display on. GTA01Bv4 # GTA01Bv4 # GTA01Bv4 # nand write.jffs2 0x30100000 rootfs 0x2c74000 NAND write: device 0 offset 0x2e4000, size 0x2c74000 Writing data at 0x2e4000 -- 0% complete. Writing data at 0x355c00 -- 1% complete. Writing data at 0x3c7800 -- 2% complete. Writing data at 0x439600 -- 3% complete. Writing data at 0x4ab200 -- 4% complete. Writing data at 0x51ce00 -- 5% complete. Writing data at 0x58ec00 -- 6% complete. Writing data at 0x600800 -- 7% complete. Writing data at 0x672600 -- 8% complete. Writing data at 0x6e4200 -- 9% complete. Writing data at 0x755e00 -- 10% complete. Writing data at 0x7c7c00 -- 11% complete. Writing data at 0x839800 -- 12% complete. Writing data at 0x8ab600 -- 13% complete. Writing data at 0x91d200 -- 14% complete. Writing data at 0x98ee00 -- 15% complete. Writing data at 0xa00c00 -- 16% complete. Writing data at 0xa72800 -- 17% complete. Writing data at 0xae4600 -- 18% complete. Writing data at 0xb56200 -- 19% complete. Writing data at 0xbc7e00 -- 20% complete. Writing data at 0xc39c00 -- 21% complete. Writing data at 0xcab800 -- 22% complete. Writing data at 0xd1d600 -- 23% complete. Writing data at 0xd8f200 -- 24% complete. Writing data at 0xe00e00 -- 25% complete. Writing data at 0xe72c00 -- 26% complete. Writing data at 0xee4800 -- 27% complete. Writing data at 0xf56600 -- 28% complete. Writing data at 0xfc8200 -- 29% complete. Writing data at 0x1039e00 -- 30% complete. Writing data at 0x10abc00 -- 31% complete. Writing data at 0x111d800 -- 32% complete. Writing data at 0x118f600 -- 33% complete. Writing data at 0x1201200 -- 34% complete. Writing data at 0x1272e00 -- 35% complete. Writing data at 0x12e4c00 -- 36% complete. Writing data at 0x1356800 -- 37% complete. Writing data at 0x13c8600 -- 38% complete. Writing data at 0x143a200 -- 39% complete. Writing data at 0x14abe00 -- 40% complete. Writing data at 0x151dc00 -- 41% complete. Writing data at 0x158f800 -- 42% complete. Writing data at 0x1601600 -- 43% complete. Writing data at 0x1673200 -- 44% complete. Writing data at 0x16e4e00 - - 45% complete. Writing data at 0x1756c00 -- 46% complete. Writing data at 0x17c8800 -- 47% complete. Writing data at 0x183a600 -- 48% complete. Writing data at 0x18ac200 -- 49% complete. Writing data at 0x191de00 -- 50% complete. Writing data at 0x198fc00 -- 51% complete. Writing data at 0x1a01800 -- 52% complete. Writing data at 0x1a73600 -- 53% complete. Writing data at 0x1ae5200 -- 54% complete. Writing data at 0x1b56e00 -- 55% complete. Writing data at 0x1bc8c00 -- 56% complete. Writing data at 0x1c3a800 -- 57% complete. Writing data at 0x1cac600 -- 58% complete. Writing data at 0x1d1e200 -- 59% complete. Writing data at 0x1d8fe00 -- 60% complete. Writing data at 0x1e01c00 -- 61% complete. Writing data at 0x1e73800 -- 62% complete. Writing data at 0x1ee5600 -- 63% complete. Writing data at 0x1f57200 -- 64% complete. Writing data at 0x1fc8e00 -- 65% complete. Writing data at 0x203ac00 -- 66% complete. Writing data at 0x20ac800 -- 67% complete. Writ ing data at 0x211e600 -- 68% complete. Writing data at 0x2190200 -- 69% complete. Writing data at 0x2201e00 -- 70% complete. Writing data at 0x2273c00 -- 71% complete. Writing data at 0x22e5800 -- 72% complete. Writing data at 0x2357600 -- 73% complete. Writing data at 0x23c9200 -- 74% complete. Writing data at 0x243ae00 -- 75% complete. Writing data at 0x24acc00 -- 76% complete. Writing data at 0x251e800 -- 77% complete. Writing data at 0x2590600 -- 78% complete. Writing data at 0x2602200 -- 79% complete. Writing data at 0x2673e00 -- 80% complete. Writing data at 0x26e5c00 -- 81% complete. Writing data at 0x2757800 -- 82% complete. Writing data at 0x27c9600 -- 83% complete. Writing data at 0x283b200 -- 84% complete. Writing data at 0x28ace00 -- 85% complete. Writing data at 0x291ec00 -- 86% complete. Writing data at 0x2990800 -- 87% complete. Writing data at 0x2a02600 -- 88% complete. Writing data at 0x2a74200 -- 89% complete. Writing data at 0x2ae5e00 -- 90% complete. Writing data at 0x2b57c00 -- 91% complete. Writing data at 0x2bc9800 -- 92% complete. Writing data at 0x2c3b600 -- 93% complete. Writing data at 0x2cad200 -- 94% complete. Writing data at 0x2d1ee00 -- 95% complete. Writing data at 0x2d90c00 -- 96% complete. Writing data at 0x2e02800 -- 97% complete. Writing data at 0x2e74600 -- 98% complete. Writing data at 0x2ee6200 -- 99% complete. Writing data at 0x2f57e00 -- 100% complete. 46612480 bytes written: OK GTA01Bv4 # neo1973 power-off poweroff pcf_write: Power-off requested. ../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 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.