1.u-boot启动时打印的信息
Loading .text @ 0x00010000 (755936 bytes)
Loading .sdata2 @ 0x000c88e0 (312 bytes)
Loading .data @ 0x000c8a18 (10232 bytes)
Loading .sdata @ 0x000cb210 (2224 bytes)
Clearing .sbss @ 0x000cbac0 (1952 bytes)
Clearing .bss @ 0x000cc260 (295768 bytes)
即text 段和sdata段等等依次从0x10000向下排序
2.安装bsp
安装完后,看安装盘中的readme.txt
3.修改bsp内容
根据docs\extensions\eclipse\plugins下的com.windriver.ide.doc.bsp进行修改文件
4.编译bootrom出现问题:
dld: warning: Undefined symbol 'sysSerialConnectAll' in file 'ctmp.o'
dld: error: Undefined symbols found - no output written
dld: error: Undefined symbols found - no output written
查了一下,原因在于
vxbUsrCmdLine.c定义的组件太多
适当的去掉一些宏定义,编译就通过