|
大四第一学期在Xilinx网站上申请了该板,站上很多人应该都有申请,弄了一个来月终于将Microblaze软核弄上去了,并在上面跑uClinux。后来公司要去实习就没怎么弄了,上面都一层灰,现在工作了才知道笔记的重要,所以把整个流程又走了一次,希望对自己以后和大家都有帮助
1.我用的ISE和EDK的版本是8.2
2.这个版本的环境变量设置不对,要在我的电脑->属性->高级->环境变量里设置
3.修改C:/xilinx/fileset.txt的version=为version=8.2
4.MAC控制器的IP要申请才能用,具体到XILINX网站上申请,得到的好像是一个.Xilinx文件夹,把它放在C:/下就行了
把项目文件弄上去,implementation/download.bit是BIT文件,images目录有u-boot的二进制文件和内核image。Have fun.
启动过程:
=================================================
FS-BOOT First Stage Bootloader (c) 2006 PetaLogix
=================================================
FS-BOOT: System initialisation completed.
FS-BOOT: Booting from FLASH. Press 's' for image download.
FS-BOOT: Booting image...
SDRAM :
Enabling caches :
Icache:OK
Dcache:OK
U-Boot Start:0x27fc0000
Malloc Start:0x27f60000
Board Info Start:0x27f5ffd0
Boot Parameters Start:0x27f4ffd0
FLASH: 16 MB
ETHERNET: MAC:00:0a:35:00:22:01
Hit any key to stop autoboot: 4 3 2 1 0
## Booting image at 220c0000 ...
Image Name: PetaLinux Kernel 2.4
Image Type: Microblaze Linux Kernel Image (uncompressed)
Data Size: 3207203 Bytes = 3.1 MB
Load Address: 24000000
Entry Point: 24000000
Verifying Checksum ... OK
OK
Linux version 2.4.32-uc0 (yslin@DCampusFW_2) (gcc version 3.4.1 ( PetaLinux 0.20 Build -rc1 050607 )) #1 Sun Dec 23 23:39:34 CST 2007
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
CPU: MICROBLAZE
Kernel command line: mtdparts=physmap_auto:256K(boot),256K(bootenv),256K(config),5M(image),10M(spare) macaddr=00:0a:35:00:22:01
Console: xmbserial on UARTLite
Calibrating delay loop... 24.83 BogoMIPS
Memory: 64MB = 64MB total
Memory: 61528KB available (1074K code, 2217K data, 44K init)
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Microblaze UARTlite serial driver version 1.00
ttyS0 at 0x40600000 (irq = 2) is a Microblaze UARTlite
ttyS1 at 0x41400000 (irq = 4) is a Microblaze UARTlite
Starting kswapd
xgpio #0 at 0x40020000 mapped to 0x40020000
xgpio #1 at 0x40040000 mapped to 0x40040000
Xilinx GPIO registered
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
eth0: using fifo mode.
eth0: No PHY detected. Assuming a PHY at address 0.
eth0: Xilinx EMACLite #0 at 0x40E00000 mapped to 0x40E00000, irq=1
physmap_auto flash device: 1000000 at 22000000
physmap_auto probing buswidth 1
cfi_cmdset_0001: Erase suspend on write enabled
0: offset=0x0,size=0x20000,blocks=128
Using buffer write method
physmap_auto: Using Command Line partition definition
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "boot"
0x00040000-0x00080000 : "bootenv"
0x00080000-0x000c0000 : "config"
0x000c0000-0x005c0000 : "image"
0x005c0000-0x00fc0000 : "spare"
uclinux[mtd]: RAM probe address=0x2414c1f8 size=0x1eb000
uclinux[mtd]: root filesystem index=6
Directional Button & Rotary Encoder Driver
(c) 2006 PetaLogix
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing init memory: 44K
Mounting proc:
Mounting var:
Populating /var:
Running local start scripts.
Mounting /etc/config:
Populating /etc/config:
Clock: old time 1970/01/01 - 00:00:03
Clock: new time 1970/01/01 - 00:06:47
flatfsd: Created 7 configuration files (203 bytes)
Setting hostname:
Setting up interface lo:
Setting up interface eth0:
Starting portmap:
Starting thttpd:
S3E-500 login: root
Password:
# ps
PID PORT STAT SIZE SHARED %CPU COMMAND
1 S 139K 0K 1.6 /bin/init
2 S 0K 0K 0.0 keventd
3 R 0K 0K 0.0 ksoftirqd_CPU0
4 S 0K 0K 0.0 kswapd
5 S 0K 0K 0.0 bdflush
6 S 0K 0K 0.0 kupdated
7 S 0K 0K 0.5 mtdblockd
35 S 157K 0K 1.0 /bin/portmap
39 S 151K 0K 1.7 thttpd -c *.cgi
41 S0 S 647K 0K 5.9 -sh
42 S 133K 0K 0.9 /bin/flatfsd
43 S 72K 0K 2.1 /bin/inetd
44 S0 R 71K 0K 0.0 ps
#
(原文件名:3e500.jpg) |
阿莫论坛20周年了!感谢大家的支持与爱护!!
你熬了10碗粥,别人一桶水倒进去,淘走90碗,剩下10碗给你,你看似没亏,其实你那10碗已经没有之前的裹腹了,人家的一桶水换90碗,继续卖。说白了,通货膨胀就是,你的钱是挣来的,他的钱是印来的,掺和在一起,你的钱就贬值了。
|