- 积分
- 1
贡献0
飞刀0 FD
注册时间2010-4-20
在线时间0 小时
扫一扫,手机访问本帖
|
1.首先我用H-JTAG烧了光盘上的那个BOOT(2440bootV5.1.bin)到开发板上;
2.然后启动开发板,设置相应的参数;
+------------------------------------------------------------+
| Config parameters |
+------------------------------------------------------------+
[ 0] auto-run : 0x00000002 (2)
[ 1] rundelay : 0x00000003 (3)
[ 2] serial : 0x00000000 (0)
[ 3] AppRunAddr : 0x32000000 (838860800)
[ 4] baudrate : 0x0001c200 (115200)
[ 5] machine : 0x000000c1 (193)
[ 6] runAddr : 0x30201000 (807407616)
[ 7] rootfs : 0x00000003 (3)
[ 8] tty : 0x00000000 (0)
[ 9] displayS : 0x00000002 (2)
[10] displayM : 0x00000002 (2)
[11] initrdA : 0x30200000 (807403520)
[12] initrdL : 0x02000000 (33554432)
[13] memsize : 0x04000000 (67108864)
[14] userpara : 0x00000000 (0)
[15] : Exit
3.通过bootloader烧写内核和文件系统(2.6.12 - zImage2+qte_touch.yaffs)
Please select which region to write : Esc to abort
0 : offset 0x00000000, size 0x00020000 [boot]
1 : offset 0x00020000, size 0x00060000 [bootParam]
2 : offset 0x00080000, size 0x00100000 [pic]
3 : offset 0x00180000, size 0x00380000 [MyApp]
4 : offset 0x00500000, size 0x00300000 [kernel]
5 : offset 0x00800000, size 0x03c00000 [fs_yaffs]
6 : offset 0x04400000, size 0x00080000 [eboot]
7 : offset 0x04480000, size 0x03b80000 [wince]
Now download and write nand flash part [ kernel ]
press [USB Port-->transmit] to choose the file
Now, Downloading [ADDRESS:30800000h,TOTAL:1708750]
RECEIVED FILE SIZE: 1708750
(954.3KB/S,1.8S)
Now, Checksum calculation
Download O.K.
Now write nand flash page 0xa00 from ram address 0x30800000, filesize = 1708750
..............Program nand flash partition success
Now download and write nand flash part [ fs_yaffs ]
press [USB Port-->transmit] to choose the file
Now, Downloading [ADDRESS:30800000h,TOTAL:51228682]
RECEIVED FILE SIZE:51228682
(944.9KB/S,54.2S)
Now, Checksum calculation
Download O.K.
Now write nand flash page 0x1000 from ram address 0x30800000, filesize = 51228682
.....................................................................................................................................s |
|