首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 嵌入开发 > 驱动开发 >

移植 u-boot 2011.06 有关问题

2012-12-28 
移植 u-boot 2011.06 问题移植到imx233的开发板上,提示找不到命令,咋办啊??输出调试信息如下:PowerPrep st

移植 u-boot 2011.06 问题
移植到imx233的开发板上,提示找不到命令,咋办啊??
输出调试信息如下:
PowerPrep start initialize power...
Battery Voltage = 1.12V
No battery or bad battery                                       detected!!!.Disabling battery                                   voltage measurements./r/nJul 24 201107:56:44
EMI_CTRL 0x1C084040
FRAC 0x92926152
init_ddr_mt46v32m16_133Mhz
power 0x00820710
Frac 0x92926152
start change cpu freq
hbus 0x00000003
cpu 0x00010002


U-Boot 2011.06 (Jul 28 2011 - 12:53:43)

U-Boot code: 41008000 -> 410259B4  BSS: -> 4102B740
monitor len: 00023740
ramsize: 02000000
TLB table at: 41ff0000
Top of RAM usable for U-Boot at: 41ff0000
Reserving 141k for U-Boot at: 41fcc000
Reserving 320k for malloc() at: 41f7c000
Reserving 24 Bytes for Board Info at: 41f7bfe8
Reserving 120 Bytes for Global Data at: 41f7bf70
New Stack Pointer is: 41f7bf60
RAM Configuration:
Bank #0: 40000000 32 MiB
relocation Offset is: 00fc4000
monitor flash len: 00021774
Now running in RAM - U-Boot at: 41fcc000
Using default environment

Destroy Hash Table: 41025ed0 table = (null)
Create Hash Table: N=90
INSERT: table 41025ed0, filled 1/97 rv 41f7c140 ==> name="bootargs" value="console=ttyAM0,115200n8 root=/dev/ram0"
INSERT: table 41025ed0, filled 2/97 rv 41f7c2b4 ==> name="bootcmd" value="bootm 40000100"
INSERT: table 41025ed0, filled 3/97 rv 41f7c2e4 ==> name="bootdelay" value="2"
INSERT: table 41025ed0, filled 4/97 rv 41f7c194 ==> name="baudrate" value="115200"
INSERT: table 41025ed0, filled 5/97 rv 41f7c56c ==> name="ethaddr" value=""01:01:07:23:02:02""
INSERT: table 41025ed0, filled 6/97 rv 41f7c170 ==> name="ipaddr" value="192.168.189.30"
INSERT: table 41025ed0, filled 7/97 rv 41f7c548 ==> name="serverip" value="192.168.189.73"
INSERT: table 41025ed0, filled 8/97 rv 41f7c344 ==> name="netmask" value="255.255.255.0"
INSERT: table 41025ed0, filled 9/97 rv 41f7c230 ==> name="bootfile" value=""uImage""
INSERT: free(data = 41f7c008)
INSERT: done
In:    serial
Out:   serial
Err:   serial
### main_loop entered: bootdelay=2

### main_loop: bootcmd="bootm 40000100"
Hit any key to stop autoboot:  0 
In function run_command()

In function find_cmd()
__my_start_test=0xe3a02000 
&__my_start_test=0x0 
__my_u_boot_start=0xe3a02000 


&__my_u_boot_start=0x0 
&__u_boot_cmd_start=0x0 
&__u_boot_cmd_end=0x0 
len = 0 
In function find_cmd_tbl() 
cmd = bootm  cannot find !!!
Unknown command 'bootm' - try 'help'
MX23 U-Boot > 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function  等信息都是自己添加的,调试输出信息,串口输出。
目前的问题:  
&__u_boot_cmd_start=0x0 
&__u_boot_cmd_end=0x0 
len = 0  
输入任何命令都输出 Unknown command 'XXX'- try 'help'

哪位大侠可以帮忙啊?     
[解决办法]
楼主的问题解决没?我也遇到了这种情况,,,求指教 qq 834195059

热点排行