GEC210系统烧写过程记录(fastboot方式)

Windows下USB系统烧写

准备材料:

1、系统镜像——包括u-boot.bin、uImage-7Inch、rootfs-qtopia-finish.img

2、fastboot工具——包括fastboot.exe、adb.exe、AdbWinApi.dll、AdbWinUsbApi.dll


注意:将fastboot.exe、adb.exe、AdbWinApi.dll、AdbWinUsbApi.dll四个文件复制到C:\WINDOWS\system32目录下,运行中输入cmd进入命令行模式,输入fastboot 测试,如果出现“usage: fastboot [


步骤一:

【开发板端】开发板连接SecureCRT终端,进入bootloader模式,输入命令fastboot。(如果是第一次连接,可能会提示安装驱动,可以手动选择目录gec210_android_driver安装,或者自动安装。)

SecureCRT打印的信息——

GEC210 # fastboot

Fastboot: employ default partitioninformation

[Partition table on NAND]

ptn 0 name='uboot' start=0x0len=0x100000(~1024KB)

ptn 1 name='recovery' start=0x100000len=0x500000(~5120KB)

ptn 2 name='kernel' start=0x600000len=0x500000(~5120KB)

ptn 3 name='ramdisk' start=0xB00000len=0x300000(~3072KB)

ptn 4 name='system' start=0xE00000len=0x8200000(~133120KB) (Yaffs)

ptn 5 name='cache' start=0x9000000len=0x3C00000(~61440KB) (Yaffs)

ptn 6 name='userdata' start=0xCC00000len=N/A (Yaffs)



步骤二:

【PC端】运行“cmd”进入命令行模式,切换到u-boot.bin所在目录,输入 fastboot flash uboot u-boot.bin

如果烧写成功,会出现 sending 'uboot' <432 KB> ... OKAY, writing 'uboot' ... OKAY

SecureCRT打印的信息——

Received 17 bytes: download:0006c000

Starting download of 442368 bytes

 

downloading of 442368 bytes finished

Received 11 bytes: flash:uboot

flashing 'uboot'

 

NAND erase: device 0 offset 0x0, size0x100000

Erasing at 0xe0000 -- 100% complete.

OK

 

NAND write: device 0 offset 0x0, size0x80000

Main area write (4 blocks):

 524288 bytes written: OK

partition 'uboot' flashed



步骤三:

【PC端】同样在命令行模式,切换到uImage-7Inch所在目录,输入 fastboot flash kernel uImage-7Inch

如果烧写成功,会出现 sending 'kernel' <3970 KB> ... OKAY, writing 'kernel' ... OKAY

SecureCRT打印的信息——

Received 17 bytes: download:003e08d4

Starting download of 4065492 bytes

...

downloading of 4065492 bytes finished

Received 12 bytes: flash:kernel

flashing 'kernel'

 

NAND erase: device 0 offset 0x600000, size0x500000

Erasing at 0xae0000 -- 100% complete.

OK

 

NAND write: device 0 offset 0x600000, size0x400000

Main area write (32 blocks):

 4194304 bytes written: OK

partition 'kernel' flashed



步骤四:

【PC端】同样在命令行模式,切换到rootfs-qtopia-finish.img所在目录,输入 fastboot flash system rootfs-qtopia-finish.img

如果烧写成功,会出现 sending 'system' <71801 KB> ... OKAY, writing 'system' ... OKAY

SecureCRT打印的信息——

Received 17 bytes: download:0461e740

Starting download of 73525056 bytes

......................................................................

downloading of 73525056 bytes finished

Received 12 bytes: flash:system

flashing 'system'

 

NAND erase: device 0 offset 0xe00000, size0x8200000

Skipping bad block at  0x021e0000                                           

Skipping bad block at  0x03980000                                           

Skipping bad block at  0x06580000                                           

Skipping bad block at  0x07600000                                           

Skipping bad block at  0x079c0000                                           

Skipping bad block at  0x07a20000                                           

Erasing at 0x8fe0000 -- 100% complete.

OK

 

NAND write: device 0 offset 0xe00000, size0x461e740

 

Bad block at 0x21e0000 in erase block from0x21e0000 will be skipped

Bad block at 0x3980000 in erase block from0x3980000 will be skipped

Writing data at 0x523e000 -- 100% complete.

 73525056 bytes written: OK

partition 'system' flashed



步骤五:

【开发板端】重启开发板



你可能感兴趣的:(ARM&系统移植)