Kevin learns ZED 3: Know a little bit, so

The embedded system software and hardware collaborative design combat guide - based on Xilinx ZYNQ> experiment 1.2, is a cool experiment, according to the cat painting tiger, actually ZED board can be a small computer that can run Ubuntu, but more cool, just Run the script, you can actually control the LED on the board, you can actually see the beautiful logo on the OLED screen.

Of course, this is based on the assumption that you follow the steps of the book in a meticulous manner. If one of the steps is not completely correct, the result will be less beautiful. For the rookie, the final result will not come out, the most stupid. The way is to start from scratch, this time is the same. This kind of spirit that is not easy to understand is worth promoting in the study, because, everyone wants to see the results of the chickens quickly, no one wants to see the results before seeing the results. It’s a waste of time to figure out what the meaning of step by step is.

Excited, let's go back and see what we have done. What did the experiment 1.2 do in the end. The ancients cloud, knowing it, we must know why. We don't need 100% at the moment. So, but I know a little bit, so I still have to drop.

First picture:

Kevin learns ZED 3: Know a little bit, so

As you can see, the SD card is divided into two areas, one is FAT, the other is EXT, FAT copies the boot file BOOT.BIN from the CD, and the compressed kernel of linux, zImage. FAT disk file, if you want Copying the past is very simple, just drag the files in linaro_demo.zip between them.

And EXT inside, copied the entire file system of linux, from the root directory, to bin ah, usr ah, God horse drop. This set of Dongdong, directly dragged over, it will not work, because, linux files, and FAT is different, there is permission to drop.

Under the graphical interface, I logged in as Kevin, so if I want to copy the entire linux file system of root identity in EXT, just drag it, the whole system becomes kevin, and some files, such as various device files, must You can copy the past as root.

Therefore you must use the command line.

The remaining problem is to figure out what the device number of the EXT partition is, otherwise it will not work when mount. The book wrote an SD card ext4 parTITIon which means you can find out for yourself, because the device configuration of each machine is not the same. How to find out? There are many methods, such as knocking on mount, which will list all currently used file systems, as shown in the figure:

Kevin learns ZED 3: Know a little bit, so

As can be seen from this, the directory corresponding to the EXT disk is /media/EXT, the device is, /dev/sdb2 means the second scsi hard disk, the meaning of partition 2. The sly SD card reader makes the system look like a scsi hard drive. When copying files to the EXT disk with the command line, you need to right-click to pop up the disk. You do not have this drive letter on the Ubuntu desktop.

The meaning of sudo rsync in the book is to use the root identity to synchronize the entire file system to the SD EXT partition.

In Experiment 1.2, it is not necessary to have a keyboard and mouse display camera, but if you can't find these stuff for the time being.

In 1.2.4, because the led_test.sh script that lights the LED light is accidentally placed in the FAT disk, if you want to run it, you need to install it. In fact, there is no problem with putting it directly under EXT.

The entire development system is fully equipped, and it looks like there are 3 computers with the right truth:

Kevin learns ZED 3: Know a little bit, so

In fact, there is only one real PC. It is the laptop in the middle.

The one on the left is the ZED board, which is equipped with a car, connected to the keyboard and mouse via USB HUB, and the HDMI to DVI converter is connected to the display. Since it is running Ubuntu's ARM board, it looks like a computer.

In the middle, it is Windows. I used to collect Outlook emails from my work, run Putty, and even connect the USB serial port to the ZED board.

The one on the right is just the second monitor of the laptop. I just pulled the window of the Virtualbox virtual machine together with the virtual machine management window to the display on the right.

Here you can see the strength of the ZED board from one side. In the past, the embedded development board always used to run a seemingly high-level character interface on the HyperTerminal, which is daunting, and the ZED board itself can be used as a computer. The text editor, browser, email, and music player are all full, and of course they are fun to use.

Connectors

We have experience and skill to support customers to tooling for their required waterproof connectors, like IP68 series,micro fit connectors. Etop wire assemblies for various industries have been highly recognized by all the customers and widely used for automobiles, electrical and mechanical, medical industry and electrical equipemnts, etc. Products like, wire harness for car audio, power seat, rear-view mirror, POS ATM, Diesel valve Cover gasket fit, elevator, game machine, medical equipment, computer, etc.

JST Connector,Molex Connector, Multi-Contact Connector, Micro Fit Connectors

ETOP WIREHARNESS LIMITED , https://www.etopwireharness.com

Posted on