u-boot-2009.08在mini2440上的移植(五)

2014-11-24 08:54:37 · 作者: · 浏览: 15
ed '=', ',', ';', 'asm' or '__attribute__' before '*' token
make[1]: *** [speed.o] 错误 1
make[1]: Leaving directory `/root/u-boot-test/u-boot-2009.08/cpu/arm920t/s3c24x0'
make: *** [cpu/arm920t/s3c24x0/libs3c24x0.a] 错误 2
错误发生在/include/s3c2410.h:96行S3C2410_NAND结构定义,将其误写成S3C2440_NAND了,进行更正后重新编译。
编译完成之后,利用mini2440自带的supervivi将根目录u-boot-2009.08下的u-boot.bin文件下载到DRAM中运行测试。确认开发板与主机之间的网线和串口线已经正确连接,给开发板上电,在suppervivi启动完成后,在与开发板相连的终端中执行如下命令:


##### FriendlyARM BIOS 2.0 for 2440 #####
[x] format NAND FLASH for Linux
[v] Download vivi
[k] Download linux kernel
[y] Download root_yaffs image
[a] Absolute User Application
[n] Download Nboot for WinCE
[l] Download WinCE boot-logo
[w] Download WinCE NK.bin
[d] Download & Run
[z] Download zImage into RAM
[g] Boot linux from RAM
[f] Format the nand flash
[b] Boot the system
[s] Set the boot parameters
[u] Backup NAND Flash to HOST through USB(upload)
[r] Restore NAND Flash from HOST through USB
[q] Goto shell of vivi
Enter your selection: d
Clear the free memory
USB host is connected. Waiting a download.


Now, Downloading [ADDRESS:31000000h,TOTAL:99806]
RECEIVED FILE SIZE: 99806 (97KB/S, 1S)
Downloaded file at 0x30000000, size = 99796 bytes



U-Boot 2009.08 ( 5鏈 04 2011 - 17:04:11)


DRAM: 64 MB
Flash: 512 kB
*** Warning - bad CRC, using default environment


In: serial
Out: serial
Err: serial
SMDK2410 #


到此可以看到u-boot的版本和编译时间-Boot 2009.08 ( 4鏈 22 2011 - 17:04:11),以及还未修改的提示符SMDK2410 #。同时还可以看到开发板上的第一个LED灯是亮的,其它三个是灭的。有关Warning ...相关的告警信息,将在下一节解决。


接下来将进入u-boot的第二阶段,为u-boot-2009.08增加norflash支持。