<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://photonicat.com/index.php?action=history&amp;feed=atom&amp;title=Build_system_image_for_photonicat2</id>
	<title>Build system image for photonicat2 - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://photonicat.com/index.php?action=history&amp;feed=atom&amp;title=Build_system_image_for_photonicat2"/>
	<link rel="alternate" type="text/html" href="https://photonicat.com/index.php?title=Build_system_image_for_photonicat2&amp;action=history"/>
	<updated>2026-05-27T19:30:25Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://photonicat.com/index.php?title=Build_system_image_for_photonicat2&amp;diff=749&amp;oldid=prev</id>
		<title>2025年8月25日 (一) 07:20 Monstercat</title>
		<link rel="alternate" type="text/html" href="https://photonicat.com/index.php?title=Build_system_image_for_photonicat2&amp;diff=749&amp;oldid=prev"/>
		<updated>2025-08-25T07:20:43Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hans-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2025年8月25日 (一) 15:20的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l30&quot;&gt;第30行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第30行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Get repo files from Github (non-root user):  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Get repo files from Github (non-root user):  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;git clone https://github.com/photonicat/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;rockchip_rk3576_openwrt&lt;/del&gt;.git&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;git clone https://github.com/photonicat/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;rockchip_rk3568_openwrt&lt;/ins&gt;.git&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;cd &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;rockchip_rk3576_openwrt&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;cd &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;rockchip_rk3568_openwrt&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l112&quot;&gt;第112行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第112行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==How to modify your own version of kernel for OpenWRT==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==How to modify your own version of kernel for OpenWRT==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Compile &amp;lt;code&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;rockchip_rk3576_openwrt&lt;/del&gt;&amp;lt;/code&amp;gt; with above steps.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Compile &amp;lt;code&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;rockchip_rk3568_openwrt&lt;/ins&gt;&amp;lt;/code&amp;gt; with above steps.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Modify:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Modify:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*DTB: https://github.com/photonicat/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;rockchip_rk3576_openwrt&lt;/del&gt;/blob/master/target/linux/rockchip/files/arch/arm64/boot/dts/rockchip/rk3576-photonicat2.dts&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*DTB: https://github.com/photonicat/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;rockchip_rk3568_openwrt&lt;/ins&gt;/blob/master/target/linux/rockchip/files/arch/arm64/boot/dts/rockchip/rk3576-photonicat2.dts&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*kernel patches: (we need to add/ modify your version of kernel patches into this dir and recompile): https://github.com/photonicat/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;rockchip_rk3576_openwrt&lt;/del&gt;/tree/master/target/linux/rockchip/patches-6.12&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*kernel patches: (we need to add/ modify your version of kernel patches into this dir and recompile): https://github.com/photonicat/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;rockchip_rk3568_openwrt&lt;/ins&gt;/tree/master/target/linux/rockchip/patches-6.12&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Recompile and done.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Recompile and done.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key pcat_wiki:diff:1.41:old-747:rev-749:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Monstercat</name></author>
	</entry>
	<entry>
		<id>https://photonicat.com/index.php?title=Build_system_image_for_photonicat2&amp;diff=747&amp;oldid=prev</id>
		<title>Monstercat：​/* How to modify your own version of kernel for openwrt */</title>
		<link rel="alternate" type="text/html" href="https://photonicat.com/index.php?title=Build_system_image_for_photonicat2&amp;diff=747&amp;oldid=prev"/>
		<updated>2025-08-25T06:01:59Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;How to modify your own version of kernel for openwrt&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hans-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2025年8月25日 (一) 14:01的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l111&quot;&gt;第111行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第111行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==How to modify your own version of kernel for &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;openwrt&lt;/del&gt;==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==How to modify your own version of kernel for &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;OpenWRT&lt;/ins&gt;==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Compile &amp;lt;code&amp;gt;rockchip_rk3576_openwrt&amp;lt;/code&amp;gt; with above steps.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Compile &amp;lt;code&amp;gt;rockchip_rk3576_openwrt&amp;lt;/code&amp;gt; with above steps.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key pcat_wiki:diff:1.41:old-746:rev-747:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Monstercat</name></author>
	</entry>
	<entry>
		<id>https://photonicat.com/index.php?title=Build_system_image_for_photonicat2&amp;diff=746&amp;oldid=prev</id>
		<title>Monstercat：​Created page with &quot;==Create System Image==  ===Host System Requirements=== At least Debian 12 (bookworm) or Ubuntu 22.04. with Memory &gt;= 16GB and disk space &gt;= 100GB.  ===Build Debian/Ubuntu system image (mainline kernel)=== Check README in https://github.com/photonicat/rockchip_rk3576_linux_mainline for building system image.  ===Build OpenWRT=== ====Host System Requirements==== Debian 11 (bullseye) or Ubuntu 20.04, other distributions may work but not tested.  ====Compiling Requirements=...&quot;</title>
		<link rel="alternate" type="text/html" href="https://photonicat.com/index.php?title=Build_system_image_for_photonicat2&amp;diff=746&amp;oldid=prev"/>
		<updated>2025-08-25T06:01:45Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Create System Image==  ===Host System Requirements=== At least Debian 12 (bookworm) or Ubuntu 22.04. with Memory &amp;gt;= 16GB and disk space &amp;gt;= 100GB.  ===Build Debian/Ubuntu system image (mainline kernel)=== Check README in https://github.com/photonicat/rockchip_rk3576_linux_mainline for building system image.  ===Build OpenWRT=== ====Host System Requirements==== Debian 11 (bullseye) or Ubuntu 20.04, other distributions may work but not tested.  ====Compiling Requirements=...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Create System Image==&lt;br /&gt;
&lt;br /&gt;
===Host System Requirements===&lt;br /&gt;
At least Debian 12 (bookworm) or Ubuntu 22.04. with Memory &amp;gt;= 16GB and disk space &amp;gt;= 100GB.&lt;br /&gt;
&lt;br /&gt;
===Build Debian/Ubuntu system image (mainline kernel)===&lt;br /&gt;
Check README in https://github.com/photonicat/rockchip_rk3576_linux_mainline for building system image.&lt;br /&gt;
&lt;br /&gt;
===Build OpenWRT===&lt;br /&gt;
====Host System Requirements====&lt;br /&gt;
Debian 11 (bullseye) or Ubuntu 20.04, other distributions may work but not tested.&lt;br /&gt;
&lt;br /&gt;
====Compiling Requirements====&lt;br /&gt;
Please a NORMAL USER, not root&lt;br /&gt;
&lt;br /&gt;
On Debian/Ubuntu systems, install the packages:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt update&lt;br /&gt;
sudo apt upgrade -y&lt;br /&gt;
sudo apt install -y ack antlr3 asciidoc autoconf automake autopoint binutils bison build-essential \&lt;br /&gt;
   bzip2 ccache cmake cpio curl device-tree-compiler fastjar flex gawk gettext gcc-multilib g++-multilib \&lt;br /&gt;
   git gperf haveged help2man intltool libc6-dev-i386 libelf-dev libglib2.0-dev libgmp3-dev libltdl-dev \&lt;br /&gt;
   libmpc-dev libmpfr-dev libncurses5-dev libncursesw5-dev libreadline-dev libssl-dev libtool lrzsz \&lt;br /&gt;
   mkisofs msmtp nano ninja-build p7zip p7zip-full patch pkgconf python2.7 python3 python3-pyelftools \&lt;br /&gt;
   libpython3-dev qemu-utils rsync scons squashfs-tools subversion swig texinfo uglifyjs upx-ucl unzip \&lt;br /&gt;
   vim wget xmlto xxd zlib1g-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Get repo files====&lt;br /&gt;
Get repo files from Github (non-root user): &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/photonicat/rockchip_rk3576_openwrt.git&lt;br /&gt;
cd rockchip_rk3576_openwrt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Config build target===&lt;br /&gt;
Run the command below:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./scripts/feeds update -a                 &lt;br /&gt;
./scripts/feeds install -a                                                                        &lt;br /&gt;
cp ./configs/photonicat2_base_defconfig .config&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Build system image===&lt;br /&gt;
Run the command below:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The output path is &amp;lt;code&amp;gt;bin/targets/rockchip/armv8/&amp;lt;/code&amp;gt;, system image will be named like &amp;lt;code&amp;gt;photonicatwrt-25.02.0-rxxxx+xx-xxxxxxxxx-rockchip-armv8-ariaboard_photonicat2-squashfs-sysupgrade.img.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Edit your menuconfig (Optional)===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make menuconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
save and re-run build process again.&lt;br /&gt;
&lt;br /&gt;
IPKs will be under: &amp;lt;pre&amp;gt;bin/targets/rockchip/armv8/packages/&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Build your own package, modules on OpenWRT (Optional)===&lt;br /&gt;
Use &amp;lt;pre&amp;gt;make menuconfig&amp;lt;/pre&amp;gt; to select &amp;lt;pre&amp;gt;&amp;lt;M&amp;gt; package_name&amp;lt;/pre&amp;gt; for your desired package(s).&lt;br /&gt;
If you want to include your own packages to system image, see OpenWRT official documents https://openwrt.org/docs/guide-developer/packages for help.&lt;br /&gt;
&lt;br /&gt;
===Install pcat-manager-web on OpenWRT (Optional)===&lt;br /&gt;
If you want to use original Web management tool, you should change the port used by luci to 8080, edit /etc/config/uhttpd on device, change&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	list listen_http &amp;#039;0.0.0.0:80&amp;#039;&lt;br /&gt;
	list listen_http &amp;#039;[::]:80&amp;#039;&lt;br /&gt;
	list listen_https &amp;#039;0.0.0.0:443&amp;#039;&lt;br /&gt;
	list listen_https &amp;#039;[::]:443&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
to&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	list listen_http &amp;#039;0.0.0.0:8080&amp;#039;&lt;br /&gt;
	list listen_http &amp;#039;[::]:8080&amp;#039;&lt;br /&gt;
	list listen_https &amp;#039;0.0.0.0:8443&amp;#039;&lt;br /&gt;
	list listen_https &amp;#039;[::]:8443&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then install pcat-manager-web on device:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp&lt;br /&gt;
wget https://dl.photonicat.com/repos/photonicatwrt/photonicat2/volatile/pcat-manager-web_2.0.1-27_aarch64_generic.ipk&lt;br /&gt;
opkg install pcat-manager-web_2.0.1-27_aarch64_generic.ipk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Reboot your device to apply changes.&lt;br /&gt;
&lt;br /&gt;
==Flash system images to the onboard eMMC==&lt;br /&gt;
Prepare update tools and files:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone https://github.com/rockchip-linux/rkdeveloptool.git&lt;br /&gt;
cd rkdeveloptool&lt;br /&gt;
sudo apt-get install libudev-dev libusb-1.0-0-dev dh-autoreconf&lt;br /&gt;
aclocal&lt;br /&gt;
autoreconf -i&lt;br /&gt;
autoheader&lt;br /&gt;
automake --add-missing&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
wget https://dl.photonicat.com/images/photonicat2/RK3576_MiniLoaderAll.bin&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Refer: [[Photonicat_快速上手#4G/5G版本按键功能定义]] to enter the firmware update mode, use A-to-A cable to connect USB OTG port to PC, and use the command below:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
gunzip photonicatwrt-25.02.0-rxxxx+xx-xxxxxxxxx-rockchip-armv8-ariaboard_photonicat2-squashfs-sysupgrade.img.gz #Replace file name with the one you get indeed.&lt;br /&gt;
sudo ./rkdeveloptool db MiniLoaderAll.bin&lt;br /&gt;
sudo ./rkdeveloptool wl 0 photonicatwrt-25.02.0-rxxxx+xx-xxxxxxxxx-rockchip-armv8-ariaboard_photonicat2-squashfs-sysupgrade.img&lt;br /&gt;
sudo ./rkdeveloptool rd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==How to modify your own version of kernel for openwrt==&lt;br /&gt;
Compile &amp;lt;code&amp;gt;rockchip_rk3576_openwrt&amp;lt;/code&amp;gt; with above steps.&lt;br /&gt;
&lt;br /&gt;
Modify:&lt;br /&gt;
*DTB: https://github.com/photonicat/rockchip_rk3576_openwrt/blob/master/target/linux/rockchip/files/arch/arm64/boot/dts/rockchip/rk3576-photonicat2.dts&lt;br /&gt;
*kernel patches: (we need to add/ modify your version of kernel patches into this dir and recompile): https://github.com/photonicat/rockchip_rk3576_openwrt/tree/master/target/linux/rockchip/patches-6.12&lt;br /&gt;
&lt;br /&gt;
Recompile and done.&lt;/div&gt;</summary>
		<author><name>Monstercat</name></author>
	</entry>
</feed>