赛灵思专家大讲堂 - 嵌入式和DSP篇

Page 33

Xilinx

Embedded & DSP

host=ZC702, domain=, nis-domain=(none) bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath= RAMDISK: gzip image found at block 0 VFS: Mounted root (ext2 filesystem) on device 1:0. devtmpfs: mounted Freeing init memory: 148K Starting rcS... ++ Mounting filesystem ++ Setting up mdev ++ Starting telnet daemon ++ Starting http daemon ++ Starting ftp daemon ++ Starting ssh daemon rcS Complete zynq> zynq> df -h Filesystem

Size

none

504.5M

0

1.8G

7.9M

/dev/mmcblk0p1

Used Available Use% Mounted on 504.5M 1.8G

0% /tmp 0% /mnt

zynq>

可以看出: U-Boot 是基于 2012.04.01 的 Linux kernel 版本是 3.5.0 GCC tool chain 版本是 4.6.1

对 Cortex-A9,1 BogoMIPS=1 CPU MHz。双核 2664.03 BogoMIPS 印证了 CPU 的主频是 667MHz。 ZC702 IP 地址配置成了 static: 192.168.1.10 把 ZC702, laptop, 和公司的 Ethernet cable 接到一个 LanSwitch 上,给 VMPlayer 下的 Ubuntu 配置了 static IP: 192.168.1.20,laptop 可以正常上网。ZC702 和 Ubuntu 之间可以 ping 通,延迟大约在 0.5-1.2ms 范围内。以后跑 TFTP 和 NFS 就方便多了。网口线序自适应就是方 便啊。

一些需要注意的点: 1.

现在用 bootm 命令启动 Linux,以前是用 go 命令。

2.

ramdisk 的名字改成了 uramdisk.image.gz (带 U-Boot header),以前是 ramdisk8M.image.gz

3.

Linux kernel 缺省情况下(配置文件用的是 xilinx_zynq_defconfig) 不再把 device tree 硬编 码在 16 MB,而是在 bootm 命令参数里面指定。目前 kernel 还可以把 device tree 硬编 码在固定地址 (16MB),但是未来有可能会移除这个特性。 © Copyright 2011 Xilinx, Inc. XILINX, the Xilinx logo, Virtex, Spartan, ISE, and other designated brands included herein are trademarks of Xilinx in the United States and other countries. PCI, PCIe and PCI Express are trademarks of PCI-SIG and used under license. All other trademarks are the property of their respective owners.


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.