既然系统已经装上了,我们来看看系统中有些什么吧
1、看一下CPU信息,是双核的耶,看到没有
- root@arrow_sockit:~# cat /proc/cpuinfo
- processor : 0
- model name : ARMv7 Processor rev 0 (v7l)
- Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpd32
- CPU implementer : 0x41
- CPU architecture: 7
- CPU variant : 0x3
- CPU part : 0xc09
- CPU revision : 0
- processor : 1
- model name : ARMv7 Processor rev 0 (v7l)
- Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpd32
- CPU implementer : 0x41
- CPU architecture: 7
- CPU variant : 0x3
- CPU part : 0xc09
- CPU revision : 0
- Hardware : Altera SOCFPGA
- Revision : 0000
- Serial : 0000000000000000
2、用top命令看一下当前系统运行情况,有意外惊喜,居然还有个webserver哦
- root@arrow_sockit:~# top
- Mem: 15528K used, 1016500K free, 0K shrd, 904K buff, 5236K cached
- CPU: 0% usr 4% sys 0% nic 95% idle 0% io 0% irq 0% sirq
- Load average: 0.04 0.03 0.02 1/47 191
- PID PPID USER STAT VSZ %VSZ %CPU COMMAND
- 173 1 root S 10628 1% 0% /www/pages/cgi-bin/scroll_server
- 157 1 root S 3592 0% 0% /usr/sbin/sshd
- 188 1 root S 2496 0% 0% -sh
- 168 1 root S 1960 0% 0% /usr/sbin/lighttpd -f /etc/lighttpd.co
- 134 1 root S 1660 0% 0% udhcpc -R -n -p /var/run/udhcpc.eth0.p
- 161 1 root S 1660 0% 0% /sbin/syslogd -n -O /var/log/messages
- 164 1 root S 1660 0% 0% /sbin/klogd -n
- 191 188 root R 1660 0% 0% top
- 189 1 root S 1564 0% 0% /sbin/getty 38400 tty1
- 138 1 daemon S 1460 0% 0% /sbin/portmap
- 1 0 root S 1316 0% 0% init [5]
- 9 2 root SW 0 0% 0% [migration/0]
- 22 2 root SW 0 0% 0% [kworker/0:1]
- 46 2 root SW 0 0% 0% [mmcqd/0]
- 3 2 root SW 0 0% 0% [ksoftirqd/0]
- 6 2 root SW 0 0% 0% [kworker/u4:0]
- 7 2 root SW 0 0% 0% [rcu_sched]
- 4 2 root SW 0 0% 0% [kworker/0:0]
- 27 2 root SW 0 0% 0% [kworker/u4:1]
3、 那么查看一下IP吧
- root@arrow_sockit:~# ifconfig
- eth0 Link encap:Ethernet HWaddr 02:37:49:34:7f:fe
- inet addr:192.168.1.11 Bcast:0.0.0.0 Mask:255.255.255.0
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:7 errors:0 dropped:0 overruns:0 frame:0
- TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:1236 (1.2 KiB) TX bytes:1648 (1.6 KiB)
- Interrupt:152
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:65536 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
ping一下看看网络可通
- root@arrow_sockit:~# ping 192.168.1.1
- PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
- 64 bytes from 192.168.1.1: icmp_req=1 ttl=64 time=2.10 ms
- 64 bytes from 192.168.1.1: icmp_req=2 ttl=64 time=0.958 ms
- 64 bytes from 192.168.1.1: icmp_req=3 ttl=64 time=1.02 ms
- 64 bytes from 192.168.1.1: icmp_req=4 ttl=64 time=0.948 ms
- 64 bytes from 192.168.1.1: icmp_req=5 ttl=64 time=0.941 ms
- 64 bytes from 192.168.1.1: icmp_req=6 ttl=64 time=0.874 ms
- 64 bytes from 192.168.1.1: icmp_req=7 ttl=64 time=0.945 ms
- --- 192.168.1.1 ping statistics ---
- 7 packets transmitted, 7 received, 0% packet loss, time 6003ms
- rtt min/avg/max/mdev = 0.874/1.114/2.109/0.409 ms
一切正常
4、登陆一下web看看是啥东西,哇,居然是个控制界面,这个地方可以控制LED的
5、看看home目录有啥
- root@arrow_sockit:~# ls
- README clear_leds.sh~ led_blink_devices.sh
- altera hello
- clear_leds.sh led_blink
哇,又有新发现,还有两个可执行程序,看看是啥情况呗
- root@arrow_sockit:~# ./hello
- Hello SoC FPGA!
- root@arrow_sockit:~# ./led_blink
流水灯欢快的跑起来啦,你也可以试试哦,稍后继续。
生活就是油盐酱醋再加一点糖,快活就是一天到晚乐呵呵的忙
===================================
做一个简单的人,踏实而务实,不沉溺幻想,不庸人自扰
确实很强大 而且太新了 一时半会也搞不定 所以只能慢慢来了
生活就是油盐酱醋再加一点糖,快活就是一天到晚乐呵呵的忙
===================================
做一个简单的人,踏实而务实,不沉溺幻想,不庸人自扰
支持一下,我一直弄fpga,soc第一次接触soc,好多要请教大家呀呵呵