Linux+qt版:
===================================================================================================================
|
Android版:
====================================================================================================================================
setenv bootcmd 'tftp C0008000 x210/Android/zImage-android; nand read 30A00000 B00000 180000; bootm C0008000 30A00000';saveenv
x210 # setenv bootcmd 'tftp C0008000 x210/Android/zImage-android; nand read 30A00000 B00000 180000; bootm C0008000 30A00000';saveenv Saving Environment to SMDK bootable device... Erasing Nand... Writing to Nand... Saved enviroment variables x210 # boot dm9000 i/o: 0x88000300, id: 0x90000a46 DM9000: running in 16 bit mode MAC: 00:01:02:03:04:05 operating at 100Mbps FULL duplex mode TFTP from server 192.168.1.229; our IP address is 192.168.1.230 Filename 'x210/Android/zImage-android'. Load address: 0xc0008000 Loading: T ################################################################# ################################################################# ################################################################# ########################## done Bytes transferred = 3229696 (0x314800) NAND read: device 0 offset 0xb00000, size 0x180000 Main area read (12 blocks): 1572864 bytes read: OK Boot with zImage get_format -------- 1 -------- ## Loading init Ramdisk from Legacy Image at 30a00000 ... Image Name: ramdisk Created: 2012-06-20 11:48:56 UTC Image Type: ARM Linux RAMDisk Image (uncompressed) Data Size: 142276 Bytes = 138.9 kB Load Address: 30800000 Entry Point: 30800000 Verifying Checksum ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 2.6.35.7+ (lqm@lqm) (gcc version 4.5.1 (Sourcery G++ Lite 2010.09-50) ) #82 PREEMPT Wed Jun 20 16:29:19 CST 2012 [ 0.000000] CPU: ARMv7 Processor [412fc082] revision 2 (ARMv7), cr=10c53c7f [ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache [ 0.000000] Machine: SMDKV210 |
第二步:
setenv bootcmd 'tftp C0008000 x210/Android/zImage-android; tftp 30A00000 x210/Android/x210-uramdisk.img; bootm C0008000 30A00000';saveenv
U-Boot 1.3.4-dirty (Jun 20 2012 - 15:55:57) for SMDKV210 CPU: S5PV210@1000MHz(OK) APLL = 1000MHz, HclkMsys = 200MHz, PclkMsys = 100MHz MPLL = 667MHz, EPLL = 96MHz HclkDsys = 166MHz, PclkDsys = 83MHz HclkPsys = 133MHz, PclkPsys = 66MHz SCLKA2M = 200MHz Serial = CLKUART Board: X210 DRAM: 512 MB Flash: 8 MB SD/MMC: Card init fail! 0 MB NAND: 512 MB In: serial Out: serial Err: serial checking mode for fastboot ... Hit any key to stop autoboot: 0 dm9000 i/o: 0x88000300, id: 0x90000a46 DM9000: running in 16 bit mode MAC: 00:01:02:03:04:05 operating at 100Mbps FULL duplex mode TFTP from server 192.168.1.229; our IP address is 192.168.1.230 Filename 'x210/Android/zImage-android'. Load address: 0xc0008000 Loading: T ################################################################# ################################################################# ################################################################# ########################## done Bytes transferred = 3229696 (0x314800) dm9000 i/o: 0x88000300, id: 0x90000a46 DM9000: running in 16 bit mode MAC: 00:01:02:03:04:05 operating at 100Mbps FULL duplex mode TFTP from server 192.168.1.229; our IP address is 192.168.1.230 Filename 'x210/Android/x210-uramdisk.img'. Load address: 0x30a00000 Loading: T ########## done Bytes transferred = 142340 (0x22c04) Boot with zImage get_format -------- 1 -------- ## Loading init Ramdisk from Legacy Image at 30a00000 ... Image Name: ramdisk Created: 2012-06-20 11:48:56 UTC Image Type: ARM Linux RAMDisk Image (uncompressed) Data Size: 142276 Bytes = 138.9 kB Load Address: 30800000 Entry Point: 30800000 Verifying Checksum ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 2.6.35.7+ (lqm@lqm) (gcc version 4.5.1 (Sourcery G++ Lite 2010.09-50) ) #82 PREEMPT Wed Jun 20 16:29:19 CST 2012 [ 0.000000] CPU: ARMv7 Processor [412fc082] revision 2 (ARMv7), cr=10c53c7f [ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache [ 0.000000] Machine: SMDKV210 |
======================================================================
很想知道uramdisk里边放了什么不要它会怎样所以我要执行下一步:
setenv bootcmd 'tftp C0008000 x210/Android/zImage-android; bootm C0008000 ';saveenv
x210 # setenv bootcmd 'tftp C0008000 x210/Android/zImage-android; bootm C0008000 ';saveenv Saving Environment to SMDK bootable device... Erasing Nand... Writing to Nand... Saved enviroment variables x210 # boot dm9000 i/o: 0x88000300, id: 0x90000a46 DM9000: running in 16 bit mode MAC: 00:01:02:03:04:05 operating at 100Mbps FULL duplex mode TFTP from server 192.168.1.229; our IP address is 192.168.1.230 Filename 'x210/Android/zImage-android'. Load address: 0xc0008000 Loading: T ################################################################# ################################################################# ################################################################# ########################## done Bytes transferred = 3229696 (0x314800) Boot with zImage Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 2.6.35.7+ (lqm@lqm) (gcc version 4.5.1 (Sourcery G++ Lite 2010.09-50) ) #82 PREEMPT Wed Jun 20 16:29:19 CST 2012 [ 0.000000] CPU: ARMv7 Processor [412fc082] revision 2 (ARMv7), cr=10c53c7f [ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache [ 0.000000] Machine: SMDKV210 ------------------------------------------------------------- / # [ 27.665893] warning: `zygote' uses 32-bit capabilities (legacy support in use) [ 29.035598] *** 12 BitS *** [ 29.036212] s3c_sensor_open: ASIC revition ID : 1 [ 37.487392] request_suspend_state: wakeup (3->0) at 36987211753 (2010-01-01 12:11:29.791220751 UTC) / # ls acct init sys cache init.goldfish.rc system config init.rc ueventd.goldfish.rc d init.smdkv210.rc ueventd.rc data mnt ueventd.smdkv210.rc default.prop proc vendor dev sbin etc sdcard / # |
结果居然能启动,这,这,一会再来看看uramdisk里边到底有什么:
根据《x210用户使用手册》上讲的应该是:android初始化脚本(如下截图)。那我不用这个脚本为什么也行呢?郁闷!!!《Android启动脚本init.rc》
还原为NandFlash启动:
|
====================================================================================================================================