<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.terasic.com.tw/wiki/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.terasic.com.tw/wiki/index.php?action=history&amp;feed=atom&amp;title=%E3%80%8AARM%E6%9E%B6%E6%9E%84%E9%87%8C%E8%BF%90%E8%A1%8CPCIe_demo%E3%80%8B</id>
		<title>《ARM架构里运行PCIe demo》 - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.terasic.com.tw/wiki/index.php?action=history&amp;feed=atom&amp;title=%E3%80%8AARM%E6%9E%B6%E6%9E%84%E9%87%8C%E8%BF%90%E8%A1%8CPCIe_demo%E3%80%8B"/>
		<link rel="alternate" type="text/html" href="http://www.terasic.com.tw/wiki/index.php?title=%E3%80%8AARM%E6%9E%B6%E6%9E%84%E9%87%8C%E8%BF%90%E8%A1%8CPCIe_demo%E3%80%8B&amp;action=history"/>
		<updated>2026-04-28T19:50:46Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.5</generator>

	<entry>
		<id>http://www.terasic.com.tw/wiki/index.php?title=%E3%80%8AARM%E6%9E%B6%E6%9E%84%E9%87%8C%E8%BF%90%E8%A1%8CPCIe_demo%E3%80%8B&amp;diff=5358&amp;oldid=prev</id>
		<title>Bingxia at 03:25, 30 May 2025</title>
		<link rel="alternate" type="text/html" href="http://www.terasic.com.tw/wiki/index.php?title=%E3%80%8AARM%E6%9E%B6%E6%9E%84%E9%87%8C%E8%BF%90%E8%A1%8CPCIe_demo%E3%80%8B&amp;diff=5358&amp;oldid=prev"/>
				<updated>2025-05-30T03:25:52Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 03:25, 30 May 2025&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 27:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 27:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''&amp;lt;font size=3&amp;gt;A3. CD里的.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;so是x86架构的，不能用于ARM架构。用交叉编译器编译新的&lt;/del&gt;.so文件，再放到PCIe_SW_KIT\Linux\PCIe_Fundamental里，旧的terasic_pcie_qsys.so不要，再make PCIe_Fundamental生成新的可执行文件（见以下附件），即可运行。&amp;lt;/font&amp;gt;'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''&amp;lt;font size=3&amp;gt;A3. CD里的.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;so是x86架构的，不能用于ARM架构。根据g++版本，用交叉编译器编译新的&lt;/ins&gt;.so文件，再放到PCIe_SW_KIT\Linux\PCIe_Fundamental里，旧的terasic_pcie_qsys.so不要，再make PCIe_Fundamental生成新的可执行文件（见以下附件），即可运行。&amp;lt;/font&amp;gt;'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:De10 pro pcie arm64.zip]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:De10 pro pcie arm64.zip]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[File:G++version.jpg|900px]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bingxia</name></author>	</entry>

	<entry>
		<id>http://www.terasic.com.tw/wiki/index.php?title=%E3%80%8AARM%E6%9E%B6%E6%9E%84%E9%87%8C%E8%BF%90%E8%A1%8CPCIe_demo%E3%80%8B&amp;diff=5356&amp;oldid=prev</id>
		<title>Bingxia at 03:14, 30 May 2025</title>
		<link rel="alternate" type="text/html" href="http://www.terasic.com.tw/wiki/index.php?title=%E3%80%8AARM%E6%9E%B6%E6%9E%84%E9%87%8C%E8%BF%90%E8%A1%8CPCIe_demo%E3%80%8B&amp;diff=5356&amp;oldid=prev"/>
				<updated>2025-05-30T03:14:37Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 03:14, 30 May 2025&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''&amp;lt;font size=3&amp;gt;A1. 可以直接修改driver，把altera_pcie.c里所有access_ok的第一个参数拿掉，access_ok的定义从access_ok(type, addr, size)变更为access_ok(addr, size)。移除第一个type参数例如 VERIFY_READ 或 VERIFY_WRITE。&amp;lt;/font&amp;gt;'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''&amp;lt;font size=3&amp;gt;A1. 可以直接修改driver，把altera_pcie.c里所有access_ok的第一个参数拿掉，access_ok的定义从access_ok(type, addr, size)变更为access_ok(addr, size)。移除第一个type参数例如 VERIFY_READ 或 VERIFY_WRITE。&amp;lt;/font&amp;gt;'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:Modify driver.png|1000px]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:Modify driver.png|1000px]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''&amp;lt;font size=3&amp;gt;Q2. 改了驱动后再编译没问题了，但是sh load_driver有问题提示Matching Device Not Found；lspci看起来没有正常识别PCIe设备。&amp;lt;/font&amp;gt;'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''&amp;lt;font size=3&amp;gt;Q2. 改了驱动后再编译没问题了，但是sh load_driver有问题提示Matching Device Not Found；lspci看起来没有正常识别PCIe设备。&amp;lt;/font&amp;gt;'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bingxia</name></author>	</entry>

	<entry>
		<id>http://www.terasic.com.tw/wiki/index.php?title=%E3%80%8AARM%E6%9E%B6%E6%9E%84%E9%87%8C%E8%BF%90%E8%A1%8CPCIe_demo%E3%80%8B&amp;diff=5355&amp;oldid=prev</id>
		<title>Bingxia at 03:14, 30 May 2025</title>
		<link rel="alternate" type="text/html" href="http://www.terasic.com.tw/wiki/index.php?title=%E3%80%8AARM%E6%9E%B6%E6%9E%84%E9%87%8C%E8%BF%90%E8%A1%8CPCIe_demo%E3%80%8B&amp;diff=5355&amp;oldid=prev"/>
				<updated>2025-05-30T03:14:11Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 03:14, 30 May 2025&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''&amp;lt;font size=3&amp;gt;A1. 可以直接修改driver，把altera_pcie.c里所有access_ok的第一个参数拿掉，access_ok的定义从access_ok(type, addr, size)变更为access_ok(addr, size)。移除第一个type参数例如 VERIFY_READ 或 &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;VERIFY_WRITE)。&lt;/del&gt;&amp;lt;/font&amp;gt;'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''&amp;lt;font size=3&amp;gt;A1. 可以直接修改driver，把altera_pcie.c里所有access_ok的第一个参数拿掉，access_ok的定义从access_ok(type, addr, size)变更为access_ok(addr, size)。移除第一个type参数例如 VERIFY_READ 或 &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;VERIFY_WRITE。&lt;/ins&gt;&amp;lt;/font&amp;gt;'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:Modify driver.png|1000px]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:Modify driver.png|1000px]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bingxia</name></author>	</entry>

	<entry>
		<id>http://www.terasic.com.tw/wiki/index.php?title=%E3%80%8AARM%E6%9E%B6%E6%9E%84%E9%87%8C%E8%BF%90%E8%A1%8CPCIe_demo%E3%80%8B&amp;diff=5354&amp;oldid=prev</id>
		<title>Bingxia at 03:11, 30 May 2025</title>
		<link rel="alternate" type="text/html" href="http://www.terasic.com.tw/wiki/index.php?title=%E3%80%8AARM%E6%9E%B6%E6%9E%84%E9%87%8C%E8%BF%90%E8%A1%8CPCIe_demo%E3%80%8B&amp;diff=5354&amp;oldid=prev"/>
				<updated>2025-05-30T03:11:46Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 03:11, 30 May 2025&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''&amp;lt;font size=3&amp;gt;A2. 可以改Demonstrations\FPGA\PCIe_Fundamental这个demo的pcie IP设置，再Generate HDL并重新编译Quartus工程生成sof然后烧到FPGA。如下图所示，打开.qsys将pcie ip的Class &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Code改为非0即可。解决方案参考此链接&lt;/del&gt;[https://community.intel.com/t5/FPGA-SoC-And-CPLD-Boards-And/Using-PCI-Express-on-Linux-with-DE10-Pro-GX-280-4G-Stratix-10/m-p/656624]里的内容。&amp;lt;/font&amp;gt;'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''&amp;lt;font size=3&amp;gt;A2. 可以改Demonstrations\FPGA\PCIe_Fundamental这个demo的pcie IP设置，再Generate HDL并重新编译Quartus工程生成sof然后烧到FPGA。如下图所示，打开.qsys将pcie ip的Class &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Code改为非0即可，如果Device ID是0也改成非0。解决方案参考此链接&lt;/ins&gt;[https://community.intel.com/t5/FPGA-SoC-And-CPLD-Boards-And/Using-PCI-Express-on-Linux-with-DE10-Pro-GX-280-4G-Stratix-10/m-p/656624]里的内容。&amp;lt;/font&amp;gt;'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:Modify pcie classcode.png|900px]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:Modify pcie classcode.png|900px]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[File:Modify pcie classcode2.png|900px]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bingxia</name></author>	</entry>

	<entry>
		<id>http://www.terasic.com.tw/wiki/index.php?title=%E3%80%8AARM%E6%9E%B6%E6%9E%84%E9%87%8C%E8%BF%90%E8%A1%8CPCIe_demo%E3%80%8B&amp;diff=5352&amp;oldid=prev</id>
		<title>Bingxia at 02:59, 30 May 2025</title>
		<link rel="alternate" type="text/html" href="http://www.terasic.com.tw/wiki/index.php?title=%E3%80%8AARM%E6%9E%B6%E6%9E%84%E9%87%8C%E8%BF%90%E8%A1%8CPCIe_demo%E3%80%8B&amp;diff=5352&amp;oldid=prev"/>
				<updated>2025-05-30T02:59:00Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 02:59, 30 May 2025&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 24:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 24:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''&amp;lt;font size=3&amp;gt;A3. CD里的.so是x86架构的，不能用于ARM架构。用交叉编译器编译新的.so文件，再放到PCIe_SW_KIT\Linux\PCIe_Fundamental里，旧的terasic_pcie_qsys.so不要，再make &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;PCIe_Fundamental生成新的可执行文件，即可运行。&lt;/del&gt;&amp;lt;/font&amp;gt;'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''&amp;lt;font size=3&amp;gt;A3. CD里的.so是x86架构的，不能用于ARM架构。用交叉编译器编译新的.so文件，再放到PCIe_SW_KIT\Linux\PCIe_Fundamental里，旧的terasic_pcie_qsys.so不要，再make &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;PCIe_Fundamental生成新的可执行文件（见以下附件），即可运行。&lt;/ins&gt;&amp;lt;/font&amp;gt;'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:De10 pro pcie arm64.zip]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:De10 pro pcie arm64.zip]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bingxia</name></author>	</entry>

	<entry>
		<id>http://www.terasic.com.tw/wiki/index.php?title=%E3%80%8AARM%E6%9E%B6%E6%9E%84%E9%87%8C%E8%BF%90%E8%A1%8CPCIe_demo%E3%80%8B&amp;diff=5351&amp;oldid=prev</id>
		<title>Bingxia at 02:57, 30 May 2025</title>
		<link rel="alternate" type="text/html" href="http://www.terasic.com.tw/wiki/index.php?title=%E3%80%8AARM%E6%9E%B6%E6%9E%84%E9%87%8C%E8%BF%90%E8%A1%8CPCIe_demo%E3%80%8B&amp;diff=5351&amp;oldid=prev"/>
				<updated>2025-05-30T02:57:59Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 02:57, 30 May 2025&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''&amp;lt;font size=3&amp;gt;A3. CD里的.so是x86架构的，不能用于ARM架构。用交叉编译器编译新的.so文件，再放到PCIe_SW_KIT\Linux\PCIe_Fundamental里，旧的terasic_pcie_qsys.so不要，再make PCIe_Fundamental生成新的可执行文件，即可运行。&amp;lt;/font&amp;gt;'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''&amp;lt;font size=3&amp;gt;A3. CD里的.so是x86架构的，不能用于ARM架构。用交叉编译器编译新的.so文件，再放到PCIe_SW_KIT\Linux\PCIe_Fundamental里，旧的terasic_pcie_qsys.so不要，再make PCIe_Fundamental生成新的可执行文件，即可运行。&amp;lt;/font&amp;gt;'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[File:De10 pro pcie arm64.zip]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bingxia</name></author>	</entry>

	<entry>
		<id>http://www.terasic.com.tw/wiki/index.php?title=%E3%80%8AARM%E6%9E%B6%E6%9E%84%E9%87%8C%E8%BF%90%E8%A1%8CPCIe_demo%E3%80%8B&amp;diff=5349&amp;oldid=prev</id>
		<title>Bingxia at 02:55, 30 May 2025</title>
		<link rel="alternate" type="text/html" href="http://www.terasic.com.tw/wiki/index.php?title=%E3%80%8AARM%E6%9E%B6%E6%9E%84%E9%87%8C%E8%BF%90%E8%A1%8CPCIe_demo%E3%80%8B&amp;diff=5349&amp;oldid=prev"/>
				<updated>2025-05-30T02:55:58Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 02:55, 30 May 2025&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 18:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 18:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''&amp;lt;font size=3&amp;gt;Q3. 改了之后烧录新的sof再load driver没问题了。但是直接运行CD里的PCIe_Fundamental可执行文件会报错Command not found，在ARM架构里make &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;PCIe_Fundamental生成新的可执行文件，运行时也有错&lt;/del&gt;&amp;lt;/font&amp;gt;'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''&amp;lt;font size=3&amp;gt;Q3. 改了之后烧录新的sof再load driver没问题了。但是直接运行CD里的PCIe_Fundamental可执行文件会报错Command not found，在ARM架构里make &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;PCIe_Fundamental生成新的可执行文件，运行时也有错。&lt;/ins&gt;&amp;lt;/font&amp;gt;'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:Run error1.jpg|900px]]&amp;nbsp;  &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:Run error1.jpg|900px]]&amp;nbsp;  &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:Run error2.jpg|900px]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:Run error2.jpg|900px]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;'''&amp;lt;font size=3&amp;gt;A3. CD里的.so是x86架构的，不能用于ARM架构。用交叉编译器编译新的.so文件，再放到PCIe_SW_KIT\Linux\PCIe_Fundamental里，旧的terasic_pcie_qsys.so不要，再make PCIe_Fundamental生成新的可执行文件，即可运行。&amp;lt;/font&amp;gt;'''&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bingxia</name></author>	</entry>

	<entry>
		<id>http://www.terasic.com.tw/wiki/index.php?title=%E3%80%8AARM%E6%9E%B6%E6%9E%84%E9%87%8C%E8%BF%90%E8%A1%8CPCIe_demo%E3%80%8B&amp;diff=5348&amp;oldid=prev</id>
		<title>Bingxia at 02:52, 30 May 2025</title>
		<link rel="alternate" type="text/html" href="http://www.terasic.com.tw/wiki/index.php?title=%E3%80%8AARM%E6%9E%B6%E6%9E%84%E9%87%8C%E8%BF%90%E8%A1%8CPCIe_demo%E3%80%8B&amp;diff=5348&amp;oldid=prev"/>
				<updated>2025-05-30T02:52:01Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 02:52, 30 May 2025&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 6:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 6:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:Modify driver.png|1000px]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:Modify driver.png|1000px]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''&amp;lt;font size=3&amp;gt;Q2. 改了驱动后再编译没问题了，但是sh load_driver有问题提示Matching Device Not &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Found；lspci看起来没有正常识别PCIe设备&lt;/del&gt;&amp;lt;/font&amp;gt;'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''&amp;lt;font size=3&amp;gt;Q2. 改了驱动后再编译没问题了，但是sh load_driver有问题提示Matching Device Not &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Found；lspci看起来没有正常识别PCIe设备。&lt;/ins&gt;&amp;lt;/font&amp;gt;'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:Loaddriver error.jpg|900px]]&amp;nbsp;  &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:Loaddriver error.jpg|900px]]&amp;nbsp;  &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''&amp;lt;font size=3&amp;gt;A2. 可以改Demonstrations\FPGA\PCIe_Fundamental这个demo的pcie IP设置，再Generate HDL并重新编译Quartus工程生成sof然后烧到FPGA。如下图所示，打开.qsys将pcie ip的Class Code改为非0即可。解决方案参考此链接[https://community.intel.com/t5/FPGA-SoC-And-CPLD-Boards-And/Using-PCI-Express-on-Linux-with-DE10-Pro-GX-280-4G-Stratix-10/m-p/656624]&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;里的内容&lt;/del&gt;&amp;lt;/font&amp;gt;'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''&amp;lt;font size=3&amp;gt;A2. 可以改Demonstrations\FPGA\PCIe_Fundamental这个demo的pcie IP设置，再Generate HDL并重新编译Quartus工程生成sof然后烧到FPGA。如下图所示，打开.qsys将pcie ip的Class Code改为非0即可。解决方案参考此链接[https://community.intel.com/t5/FPGA-SoC-And-CPLD-Boards-And/Using-PCI-Express-on-Linux-with-DE10-Pro-GX-280-4G-Stratix-10/m-p/656624]&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;里的内容。&lt;/ins&gt;&amp;lt;/font&amp;gt;'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:Modify pcie classcode.png|900px]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:Modify pcie classcode.png|900px]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;'''&amp;lt;font size=3&amp;gt;Q3. 改了之后烧录新的sof再load driver没问题了。但是直接运行CD里的PCIe_Fundamental可执行文件会报错Command not found，在ARM架构里make PCIe_Fundamental生成新的可执行文件，运行时也有错&amp;lt;/font&amp;gt;'''&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[File:Run error1.jpg|900px]]&amp;nbsp;  &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[File:Run error2.jpg|900px]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bingxia</name></author>	</entry>

	<entry>
		<id>http://www.terasic.com.tw/wiki/index.php?title=%E3%80%8AARM%E6%9E%B6%E6%9E%84%E9%87%8C%E8%BF%90%E8%A1%8CPCIe_demo%E3%80%8B&amp;diff=5345&amp;oldid=prev</id>
		<title>Bingxia at 02:43, 30 May 2025</title>
		<link rel="alternate" type="text/html" href="http://www.terasic.com.tw/wiki/index.php?title=%E3%80%8AARM%E6%9E%B6%E6%9E%84%E9%87%8C%E8%BF%90%E8%A1%8CPCIe_demo%E3%80%8B&amp;diff=5345&amp;oldid=prev"/>
				<updated>2025-05-30T02:43:44Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 02:43, 30 May 2025&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''&amp;lt;font size=3&amp;gt;A2. 可以改Demonstrations\FPGA\PCIe_Fundamental这个demo的pcie IP设置，再Generate HDL并重新编译Quartus工程生成sof然后烧到FPGA。如下图所示，打开.qsys将pcie ip的Class &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Code改为非0即可。解决方案参考此&lt;/del&gt;[https://community.intel.com/t5/FPGA-SoC-And-CPLD-Boards-And/Using-PCI-Express-on-Linux-with-DE10-Pro-GX-280-4G-Stratix-10/m-p/656624]里的内容&amp;lt;/font&amp;gt;'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''&amp;lt;font size=3&amp;gt;A2. 可以改Demonstrations\FPGA\PCIe_Fundamental这个demo的pcie IP设置，再Generate HDL并重新编译Quartus工程生成sof然后烧到FPGA。如下图所示，打开.qsys将pcie ip的Class &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Code改为非0即可。解决方案参考此链接&lt;/ins&gt;[https://community.intel.com/t5/FPGA-SoC-And-CPLD-Boards-And/Using-PCI-Express-on-Linux-with-DE10-Pro-GX-280-4G-Stratix-10/m-p/656624]里的内容&amp;lt;/font&amp;gt;'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Loaddriver error&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;jpg&lt;/del&gt;|900px]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Modify pcie classcode&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;png&lt;/ins&gt;|900px]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bingxia</name></author>	</entry>

	<entry>
		<id>http://www.terasic.com.tw/wiki/index.php?title=%E3%80%8AARM%E6%9E%B6%E6%9E%84%E9%87%8C%E8%BF%90%E8%A1%8CPCIe_demo%E3%80%8B&amp;diff=5343&amp;oldid=prev</id>
		<title>Bingxia at 02:41, 30 May 2025</title>
		<link rel="alternate" type="text/html" href="http://www.terasic.com.tw/wiki/index.php?title=%E3%80%8AARM%E6%9E%B6%E6%9E%84%E9%87%8C%E8%BF%90%E8%A1%8CPCIe_demo%E3%80%8B&amp;diff=5343&amp;oldid=prev"/>
				<updated>2025-05-30T02:41:50Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 02:41, 30 May 2025&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''&amp;lt;font size=3&amp;gt;A2. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;改了驱动后再编译没问题了，但是sh load_driver有问题提示Matching Device Not Found。&lt;/del&gt;&amp;lt;/font&amp;gt;'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''&amp;lt;font size=3&amp;gt;A2. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;可以改Demonstrations\FPGA\PCIe_Fundamental这个demo的pcie IP设置，再Generate HDL并重新编译Quartus工程生成sof然后烧到FPGA。如下图所示，打开.qsys将pcie ip的Class Code改为非0即可。解决方案参考此[https://community.intel.com/t5/FPGA-SoC-And-CPLD-Boards-And/Using-PCI-Express-on-Linux-with-DE10-Pro-GX-280-4G-Stratix-10/m-p/656624]里的内容&lt;/ins&gt;&amp;lt;/font&amp;gt;'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:Loaddriver error.jpg|900px]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:Loaddriver error.jpg|900px]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bingxia</name></author>	</entry>

	</feed>