Zedbroad测试

本文介绍了如何使用SD卡在ZEDboard上启动并测试Linux系统,包括设置串口、波特率、基本命令操作,如LS、ifconfig、ping等,以及USB-OTG、Ethernet、VGA和LED/SWITCH功能的使用。
摘要由CSDN通过智能技术生成

板子要用sd卡启动才能测试板子;

设置串口名和速率115200波特,打开之后进入linux操作页面进行测试

打开之后会出现这个页面,可以进行linux命令操作

ls命令是列出目录中的文件;

ifconfig 命令可查ip地址;

ping+ip地址 用来检测网络连通情况和速度;

write_led 命令是设置led亮灭;

read_sw命令是读取按键;

用显示器HDMI口接板子后,会显示两个小企鹅;

以下是基本的测试步骤

------------------------------------------------
***         ZED DEMONSTRATION IMAGE          ***
------------------------------------------------
*this document is meant to be viewed as a monospaced font

The files on this SD card may be used to boot a simple Linux image with
functionality that demonstrates the basic capabilities of the ZED board.

To boot this image, first insert the SD card into the ZED board, and
ensure that the jumpers are set as follows:

MIO 6: set to GND
MIO 5: set to 3V3
MIO 4: set to 3V3
MIO 3: set to GND
MIO 2: set to GND

VADJ Select: Set to 1V8

JP6: shorted
JP2: shorted

All other jumpers should be left unshorted.

Attach a computer running a terminal emulator to the UART port with a
USB micro cable. Configure the terminal emulator as follows:

Baud : 115200
8 data bits
1 stop bit
no parity

Attach a 12 V power supply to the ZED board and power it on. Connect to
the appropriate COM port in the terminal emulator. The boot process
should finish in about a minute. You will know boot-up has completed
when pressing return at the terminal presents you with a red "zynq>"
prompt.

When you are done using Linux, you should run the command:

poweroff

and then switch off the ZED board.

------------
* FEATURES *
------------

 USB-OTG: To use USB devices with the ZED board, first connect a hub
 to the USB-OTG port. USB devices attached to this hub can then be
 accessed in Linux. USB thumbdrives attached in this manner can be
 mounted with read/write access.

 ETHERNET: After boot-up a dropbear ssh server, fttpd FTP server, and
 a httpd HTTP server will be running. Refer to the documentation on
 these servers if you are interested in using them. A default website
 is hosted on the httpd server that can be reached at the static IP:
 192.168.1.10.

 VGA: A test pattern is output on the VGA connector by the programmable
 logic.

 SWITCHES/LEDS: Scripts are included for writing to the LEDs and reading
 the state of the switches. To read the state of the switches, run the
 command:
 
   read_sw
 
 It will return the state of the switches as both hexadecimal and decimal.
 A script for changing the state of the LEDs is also included. To turn all
 8 LEDs on, run one of the following two commands:
 
   write_led 255
   write_led 0xFF
 
 LD9 is used to indicate read/write activity on the SD card.

 OLED DISPLAY: A default image is displayed on the OLED after Linux
 has finished booting. In order to prolong the life of the OLED display,
 the manufacturer suggests that a specific powerdown sequence be used.
 Running the poweroff command before switching the ZED board off will
 ensure that this procedure is correctly followed.
 
 

  • 6
    点赞
  • 16
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值