|
跑起来了.
为了学习嵌入系统,决心自己编译运行skyeye和uboot,今天下午有空就把uboot启动了一下,很多地方可能还要再改。但是我是newbie,好多地方搞不明白。
1,uboot编译以后生成三种格式的image,一个是raw binary,一个是ELF的,还有一个是SREC的格式。我试了试,怎么无论是raw binary还是ELF的都能启动呢。
2,串口的波特率随便调什么都能输出信息?
实际上我觉得这也是我们新手一些疑惑的地方,按照常理,debugger要支持一定的image的格式,当然串口的波特率还有串口的参数要设好(不然没显示),这都是我们通常使用硬件首先都注意的地方。但是在skyeye.conf的文档里面,没有看到相关的说明,对于我们这些不是很关心源代码和怎样实现的人来说,使用skyeye的目的是用来替代硬件学习(买不起板子)。所以多希望在这些方面能够得到一点详细的说明和解答。请原谅问的愚蠢。谢谢了。
[code:1]
***************************************************************
**** ****
**** SkyEye Simulator Ver 0.8.5 with GDB 5.3 Interface ****
**** ****
***************************************************************
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This SkyEye was configured as "--host=i686-pc-linux-gnu --target=arm-elf".
(SkyEye) target sim
cpu info: armv4, arm720t, 41807200, ffffff00, 1
mach info: name ep7312, mach_init addr 0x8163f30
SKYEYE: use arm7100 mmu ops
Loaded ROM ./u-boot.bin
Connected to the simulator.
(SkyEye) r
Starting program:
warning: No executable file specified.
warning: No program loaded.
U-Boot 1.1.2 (Dec 21 2004 - 16:08:10)
U-Boot code: C0F80000 -> C0F94EB0 BSS: -> C0F993DC
RAM Configuration:
Bank #0: c0000000 16 MB
Flash: 16 MB
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0
EP7312 #
EP7312 # version
U-Boot 1.1.2 (Dec 21 2004 - 16:08:10)
EP7312 #[/code:1] |
|