Skip navigation

DSpace

機構典藏 DSpace 系統致力於保存各式數位資料(如:文字、圖片、PDF)並使其易於取用。

點此認識 DSpace
DSpace logo
English
中文
  • 瀏覽論文
    • 校院系所
    • 出版年
    • 作者
    • 標題
    • 關鍵字
  • 搜尋 TDR
  • 授權 Q&A
    • 我的頁面
    • 接受 E-mail 通知
    • 編輯個人資料
  1. NTU Theses and Dissertations Repository
  2. 電機資訊學院
  3. 電子工程學研究所
請用此 Handle URI 來引用此文件: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/70875
完整後設資料紀錄
DC 欄位值語言
dc.contributor.advisor鄭振牟(Chen-Mou Cheng)
dc.contributor.authorYu-Tang Liuen
dc.contributor.author劉宇唐zh_TW
dc.date.accessioned2021-06-17T04:41:58Z-
dc.date.available2021-08-13
dc.date.copyright2018-08-13
dc.date.issued2018
dc.date.submitted2018-08-06
dc.identifier.citationReferences
1 'Linaro,' https://www.linaro.org/developers/,accessed:2018-07-04
2 'Embedded Linux on Zedboard Repository,' https://github.com/concise/zedboard-hwswcodesign-example,accessed:2018-07-04
3 'The Userspace I/O HOWTO,' https://www.kernel.org/doc/html/v4.11/driver-api/uio-howto.html,accessed:2018-07-04
4 'Xilinx AXI Reference Guide,' https://www.xilinx.com/support/documentation/ip_documentation/axi_ref_guide/latest/ug1037-vivado-axi-reference-guide.pdf,accessed:2018-07-04
5 'Linux UIO for AXI DMA,' https://github.com/yllibliu/dma,accessed:2018-07-04
6 'Xilinx Linux Kernel Repository,' https://github.com/Xilinx/linux-xlnx,accessed:2018-07-04
7 'Linaro File System,' https://releases.linaro.org/ubuntu/images/developer/15.12/linaro-vivid-developer-20151215-714.tar.gz,accessed:2018-07-04
8 'Xilinx Device Tree Repository,' https://github.com/Xilinx/device-tree-xlnx,accessed:2018-07-04
9 'Interrupt Wiki,' https://en.wikipedia.org/wiki/Interrupt,accessed:2018-07-04
10 'EZDMA project on Github,' https://github.com/jeremytrimble/ezdma,accessed:2018-07-04
11 'AES project on OpenCores,' https://opencores.org/project/tiny_aes,accessed:2018-07-04
12 'OpenCores,' https://opencores.org/,accessed:2018-07-04
dc.identifier.urihttp://tdr.lib.ntu.edu.tw/jspui/handle/123456789/70875-
dc.description.abstract近年來,由於AI、VR產業的崛起,FPGA產業越來越受到重視。為了簡化FPGA的開發流程,使用嵌入式Linux會是一個不錯的方法。透過Linux Kernel提供的UIO驅動程式,我們可以把我們在硬體端設計出來的IP視為一個外部裝置,然後在Linux使用者空間裡的程式中,輕鬆地開發軟體端的應用。然而,有些硬體端的設計,卻無法透過同樣的方法,利用UIO驅動程式,建立裝置節點,而帶有直接記憶體存取IP的設計就是其中之一。由於UIO驅動程式並無法支援此種設計,我們必須擁有'root' 權限,才能使用我們的設計,但是提供'root'給一般使用者並不是一個好方法。在此論文中,我們修改了Linux內建的UIO驅動程式,使得一般用戶也能在使用者空間中使用帶有DMA的硬體設計。zh_TW
dc.description.abstractIn recent year, increasing importance has been attached to FPGAs with the development of AI,VR. To simplify the development process on FPGAs, embedded Linux on FPGAs will be a good way. With UIO driver provided in Linux Kernel, we can mount our block design, that is, custom IP(Intellectual Property) core in Vivado as a device node, and program it in Linux userspace. However, there are some designs that UIO driver cannot recognize. The design with DMA(Direct Memory Access) is one of them. With this kind of design, because UIO driver is not working, we need 'root' to control our IP, and providing root privileges to users is never a good solution. In this thesis, we modify UIO driver so that users can easily use designs with DMA in user-space.en
dc.description.provenanceMade available in DSpace on 2021-06-17T04:41:58Z (GMT). No. of bitstreams: 1
ntu-107-R05943160-1.pdf: 1382029 bytes, checksum: bd5a2860258e25f4f3721cf7a9c6f837 (MD5)
Previous issue date: 2018
en
dc.description.tableofcontents誌謝 i
中文摘要 ii
Abstract iii
Contents iv
List of Figures vi
List of Tables vii
Chapter 1 Introduction 1
1.1 Motivation 1
1.2 Contribution 2
Chapter 2 Preliminaries 3
2.1 Embedded Linux 3
2.1.1 Device Tree 4
2.1.2 Linux Device Driver 5
2.2 UIO 6
2.3 DMA 7
2.3.1 DMA Engine 8
Chapter 3 Proposed Solution 9
3.1 Problems 12
3.1.1 File Operations 12
3.1.2 Continuous Memory For DMA 12
3.1.3 Cache Coherency 12
3.2 Linux UIO Driver for AXI DMA 14
3.2 Implementation 18
3.3.1 Device Tree Format 18
3.3.2 Compile New Kernel 19
3.3.3 Environment Variables Settings in U-boot 19
3.3.4 Example 20
Chapter 4 Environment Framework 22
4.1 Some Issues about Devicetree File 23
Chapter 5 Analysis 25
5.1 Comparison 25
Chapter 6 Conclusion and Future Works 27
References 28
dc.language.isozh-TW
dc.title支援Xilinx AXI DMA的Linux UIO 驅動程式zh_TW
dc.titleLinux UIO Driver for Xilinx AXI DMAen
dc.typeThesis
dc.date.schoolyear106-2
dc.description.degree碩士
dc.contributor.oralexamcommittee陳君明(Jiun-Ming Chen),陳君朋(Jiun-Peng Chen),謝致仁(Jyh-Ren Shieh),洪維志(Wei-chih Hong),楊柏因(Bo-Yin Yang)
dc.subject.keyword賽靈思,直接記憶體存取,AXI,Linux UIO 驅動程式,zh_TW
dc.subject.keywordXilinx,DMA,AXI,Linux UIO Driver,en
dc.relation.page29
dc.identifier.doi10.6342/NTU201802283
dc.rights.note有償授權
dc.date.accepted2018-08-06
dc.contributor.author-college電機資訊學院zh_TW
dc.contributor.author-dept電子工程學研究所zh_TW
顯示於系所單位:電子工程學研究所

文件中的檔案:
檔案 大小格式 
ntu-107-1.pdf
  目前未授權公開取用
1.35 MBAdobe PDF
顯示文件簡單紀錄


系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。

社群連結
聯絡資訊
10617臺北市大安區羅斯福路四段1號
No.1 Sec.4, Roosevelt Rd., Taipei, Taiwan, R.O.C. 106
Tel: (02)33662353
Email: ntuetds@ntu.edu.tw
意見箱
相關連結
館藏目錄
國內圖書館整合查詢 MetaCat
臺大學術典藏 NTU Scholars
臺大圖書館數位典藏館
本站聲明
© NTU Library All Rights Reserved