26
Practical Course of Embedded Systems Based on XUPV2P Development Boards Antonio García Moya and Ángel Barriga Barros, Member, IEEE Chairman:Hung-Chi Yang Presenter:Kai-Hua Chuang Adviser Dr. Pei-Jarn Chen Data 2013/10/02 1

Practical Course of Embedded Systems Based on XUPV2P Development Boards Antonio García Moya and Ángel Barriga Barros, Member, IEEE Chairman:Hung-Chi Yang

Embed Size (px)

Citation preview

Page 1: Practical Course of Embedded Systems Based on XUPV2P Development Boards Antonio García Moya and Ángel Barriga Barros, Member, IEEE Chairman:Hung-Chi Yang

1

Practical Course of Embedded Systems Based on

XUPV2P Development BoardsAntonio García Moya and Ángel Barriga Barros, Member, IEEE

Chairman:Hung-Chi Yang

Presenter:Kai-Hua Chuang

Adviser: Dr. Pei-Jarn Chen

Data: 2013/10/02

Page 2: Practical Course of Embedded Systems Based on XUPV2P Development Boards Antonio García Moya and Ángel Barriga Barros, Member, IEEE Chairman:Hung-Chi Yang

2

OutlineI. INTRODUCTIONII.XUPV2P development boardIII.FPGA FeaturesIV. Embedded SystemsV. Embedded System FeaturesVI. Embedded Linux SystemVII. PetalinuxVIII. Petalinux Setup StepIX. Xilinx Platform Studio(XPS)X. Building and Dowloading a LinuxXI. Conclusion

Page 3: Practical Course of Embedded Systems Based on XUPV2P Development Boards Antonio García Moya and Ángel Barriga Barros, Member, IEEE Chairman:Hung-Chi Yang

3

I. INTRODUCTION This paper describes a embedded systems on field-

programmable gate array(FPGA) .

The paper focuses on Linux operating system for Xilinx’s MicroBlaze based embedded platforms.

XUPV2P development board

Page 4: Practical Course of Embedded Systems Based on XUPV2P Development Boards Antonio García Moya and Ángel Barriga Barros, Member, IEEE Chairman:Hung-Chi Yang

4

II.XUPV2P development board

Page 5: Practical Course of Embedded Systems Based on XUPV2P Development Boards Antonio García Moya and Ángel Barriga Barros, Member, IEEE Chairman:Hung-Chi Yang

5

II.XUPV2P development board

Page 6: Practical Course of Embedded Systems Based on XUPV2P Development Boards Antonio García Moya and Ángel Barriga Barros, Member, IEEE Chairman:Hung-Chi Yang

6

III.FPGA FeaturesFPGA compatible with the PLD

(Programmable Logic Device)and the advantages of universal gate array(NAND and NOR) can achieve large-scale circuitry.

Programming is also very flexible.

It also has a short development cycle design, advanced development tools, standard products without testing, stable quality and a real-time online testing.

Page 7: Practical Course of Embedded Systems Based on XUPV2P Development Boards Antonio García Moya and Ángel Barriga Barros, Member, IEEE Chairman:Hung-Chi Yang

7

IV. Embedded SystemsAn embedded system can be defined as a

special purpose computer .

Many of these systems are focused on performing a multiplex task, or a very limited set of tasks.

Sometimes need to meet some restrictions such as real-time operation, cost, size or power consumption constraints.

Page 8: Practical Course of Embedded Systems Based on XUPV2P Development Boards Antonio García Moya and Ángel Barriga Barros, Member, IEEE Chairman:Hung-Chi Yang

8

V. Embedded System FeaturesReliability and security

The system must be reliable and secure against errors.

Interaction with physical devices The communication of embedded systems is

performed through unusual input/output devices that sometimes require signal conditioning.

Robustness The conditions of the embedded systems operation

may be adverse, so they must be as robust as possible. For example these systems may be placed inside a vehicle with different operating conditions.

Page 9: Practical Course of Embedded Systems Based on XUPV2P Development Boards Antonio García Moya and Ángel Barriga Barros, Member, IEEE Chairman:Hung-Chi Yang

9

VI. Embedded Linux SystemLinux kernel has granularity and

modularity that make it easy to configure it to work on the hardware.

An embedded system may need a flash file system (CRAMFS or JFFS2).

Page 10: Practical Course of Embedded Systems Based on XUPV2P Development Boards Antonio García Moya and Ángel Barriga Barros, Member, IEEE Chairman:Hung-Chi Yang

10

VII. PetalinuxCross-compiler tool chain 、 Linux

kernel 、 GNU software 、 debugger and C/C++ libraries.

PetaLinux incorporates all these features in the development environment that integrates with EDK and ISE Xilinx tools, and through AutoConfig tool simplifies synchronization between hardware and software.

Page 11: Practical Course of Embedded Systems Based on XUPV2P Development Boards Antonio García Moya and Ángel Barriga Barros, Member, IEEE Chairman:Hung-Chi Yang

11

VIII. Petalinux Setup Step

Page 12: Practical Course of Embedded Systems Based on XUPV2P Development Boards Antonio García Moya and Ángel Barriga Barros, Member, IEEE Chairman:Hung-Chi Yang

12

Page 13: Practical Course of Embedded Systems Based on XUPV2P Development Boards Antonio García Moya and Ángel Barriga Barros, Member, IEEE Chairman:Hung-Chi Yang

13

IX. Xilinx Platform Studio(XPS)Select the OS

Page 14: Practical Course of Embedded Systems Based on XUPV2P Development Boards Antonio García Moya and Ángel Barriga Barros, Member, IEEE Chairman:Hung-Chi Yang

14

Select device

Page 15: Practical Course of Embedded Systems Based on XUPV2P Development Boards Antonio García Moya and Ángel Barriga Barros, Member, IEEE Chairman:Hung-Chi Yang

15

Generate file auto-config.in

Page 16: Practical Course of Embedded Systems Based on XUPV2P Development Boards Antonio García Moya and Ángel Barriga Barros, Member, IEEE Chairman:Hung-Chi Yang

16

Set Environment Variables

X. Building and Dowloading a Linux

Page 17: Practical Course of Embedded Systems Based on XUPV2P Development Boards Antonio García Moya and Ángel Barriga Barros, Member, IEEE Chairman:Hung-Chi Yang

17

Installation GNU Compiler Collection(GCC).

Page 18: Practical Course of Embedded Systems Based on XUPV2P Development Boards Antonio García Moya and Ángel Barriga Barros, Member, IEEE Chairman:Hung-Chi Yang

18

uClinux Source packages www.uclinux.org/pub/uClinux/dist/

Page 19: Practical Course of Embedded Systems Based on XUPV2P Development Boards Antonio García Moya and Ángel Barriga Barros, Member, IEEE Chairman:Hung-Chi Yang

19

EDK file import and uClinux basic configuration.

Then autoconfig.in copy to Linux . (/linux-2.4.x/arch/microblaze/platform/uclinux-auto)

make menuconfig

Page 20: Practical Course of Embedded Systems Based on XUPV2P Development Boards Antonio García Moya and Ángel Barriga Barros, Member, IEEE Chairman:Hung-Chi Yang

20

Select CPU

Page 21: Practical Course of Embedded Systems Based on XUPV2P Development Boards Antonio García Moya and Ángel Barriga Barros, Member, IEEE Chairman:Hung-Chi Yang

21

Select driver

Page 22: Practical Course of Embedded Systems Based on XUPV2P Development Boards Antonio García Moya and Ángel Barriga Barros, Member, IEEE Chairman:Hung-Chi Yang

22

Generate file image.bin

Page 23: Practical Course of Embedded Systems Based on XUPV2P Development Boards Antonio García Moya and Ángel Barriga Barros, Member, IEEE Chairman:Hung-Chi Yang

23

Dowloading

Page 24: Practical Course of Embedded Systems Based on XUPV2P Development Boards Antonio García Moya and Ángel Barriga Barros, Member, IEEE Chairman:Hung-Chi Yang

24

Page 25: Practical Course of Embedded Systems Based on XUPV2P Development Boards Antonio García Moya and Ángel Barriga Barros, Member, IEEE Chairman:Hung-Chi Yang

25

XI. Conclusion

Products come more quicklyHigher flexibilityRenewable and design reuseLong product life cycle

資料來源: Gartner(2010)1999 ~ 2014 年 FPGA 中處理器的發展

Page 26: Practical Course of Embedded Systems Based on XUPV2P Development Boards Antonio García Moya and Ángel Barriga Barros, Member, IEEE Chairman:Hung-Chi Yang

26

IX.REFERENCES

 [1] Verification Memorandum of Bachelor in Computer Engineering from the University of Seville, BOE no. 187, Aug. 2009.

[2] Embedded Linux for the Xilinx MicroBlaze Soft Processor, PetaLogix Qld Pty Ltd, Greenslopes, Australia, 2008. [3] Digilent. (2012 Jul.) [Online]. Available: http://www.digilentinc.com/ [4]

A. G. Moya and A. B. Barros, “Prácticas de laboratorio de linux empotrado sobre placas de desarrollo XUPV2P,” in Proc. 10th Congr. Tecnologías Aplicadas Enseñanza Electrónica, Vigo, Spain, Jun. 2012, pp.

100–104. [5] P. Radhavan, A. Lad, and S. Neelakandan, Embedded Linux System—

Design and Development. Boca Raton, FL, USA: Auerbach, 2006. [6] Y.-L. S. Lin, Essential Issues in SOC Design. Designing Complex Systems-on-Chip. New York, NY, USA: Springer-Verlag, 2006. [7] Embedded System Tools Reference Manual. Embedded Development

Kit. EDK 10.1 SP3, Xilinx, San Jose, CA, USA, 2008. [8] Petalogix. (2012, Jul.) [Online]. Available: http://www.petalogix.com/

[9] CENTOS. (2012, Jul.) [Online]. Available: http://www.centos.org/  [10] Opencores. (2012, Jul.) [Online]. Available:

http://www.opencores.org/