{"id":260081,"date":"2015-06-25T05:47:02","date_gmt":"2015-06-25T01:47:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=260081"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=260081","title":{"rendered":"\u041a\u0430\u043a \u044f \u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043b OpenWRT \u043d\u0430 ASUS DSL N12U"},"content":{"rendered":"<p>     \t\u0427\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0435\u0441\u043b\u0438 \u0432\u0430\u0448\u0435\u0433\u043e \u0440\u043e\u0443\u0442\u0435\u0440\u0430 \u043d\u0435 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0432 \u0441\u043f\u0438\u0441\u043a\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 OpenWRT? \u041a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u043f\u043e\u0440\u0442. \u042d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0431\u044b\u0441\u0442\u0440\u043e, \u0435\u0441\u043b\u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0434\u0430\u043d\u043d\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b \u0443\u0436\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u0430.<br \/>  \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u0432 \u0446\u0435\u043b\u043e\u043c \u0438 \u043e \u043c\u043e\u0435\u043c \u043e\u043f\u044b\u0442\u0435 \u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f OpenWRT \u043d\u0430 ASUS DSL N12U.<\/p>\n<p>  <a name=\"habracut\"><\/a><\/p>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u043e\u043e\u0431\u0449\u0435 \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0440\u0435\u0430\u043b\u044c\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u0443\u0437\u043d\u0430\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e \u0441\u0432\u043e\u0435\u0433\u043e \u0440\u043e\u0443\u0442\u0435\u0440\u0430. \u0422\u0443\u0442 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043c\u043d\u043e\u0433\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044f \u0441\u043e\u0431\u044b\u0442\u0438\u0439, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u043c\u043e\u0439 \u0440\u043e\u0443\u0442\u0435\u0440 \u043f\u043e\u043a\u0430\u0437\u0430\u043b \u0432\u0441\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0432 \u043b\u043e\u0433\u0435 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0438 \u0432 dmesg. \u0417\u0434\u0435\u0441\u044c \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0442\u043e\u0447\u043d\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u043e\u0431\u044a\u0435\u043c\u044b RAM, ROM, \u0430\u0434\u0440\u0435\u0441\u0430 \u043f\u0430\u0440\u0442\u0438\u0446\u0438\u0439 \u0432 mtd, \u0438 \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435, \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u043a\u0430\u043a\u043e\u0433\u043e \u0447\u0438\u043f\u0430 \u0441\u0434\u0435\u043b\u0430\u043d \u0441\u0430\u043c \u0440\u043e\u0443\u0442\u0435\u0440.<\/p>\n<p>  \u041f\u0440\u0438\u043c\u0435\u0440 \u043f\u043e\u043b\u043d\u043e\u0433\u043e \u043b\u043e\u0433\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0432 \u043c\u043e\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0435\u0441\u0442\u044c <a href=\"http:\/\/wiki.openwrt.org\/toh\/asus\/dsl-n12u\">\u0437\u0434\u0435\u0441\u044c<\/a>.<\/p>\n<p>  \u042f \u0436\u0435 \u043e\u0442\u043c\u0435\u0447\u0443 \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0432\u0430\u0436\u043d\u044b\u0435 \u0434\u043b\u044f \u043d\u0430\u0441 \u0441\u0442\u0440\u043e\u043a\u0438:<\/p>\n<pre><code class=\"bash\">M25P128(20 20180000) (16384 Kbytes) mtd .name = raspi, .size = 0x01000000 (16M) .erasesize = 0x00040000 (256K) .numeraseregions = 0 Creating 5 MTD partitions on &quot;raspi&quot;: 0x00000000-0x01000000 : &quot;ALL&quot; 0x00000000-0x00040000 : &quot;Bootloader&quot; 0x00040000-0x00080000 : &quot;Config&quot; 0x00080000-0x000c0000 : &quot;Factory&quot; 0x000c0000-0x00800000 : &quot;Kernel&quot;<\/code><\/pre>\n<p>  \u0417\u0434\u0435\u0441\u044c \u0435\u0441\u0442\u044c \u0430\u0434\u0440\u0435\u0441\u0430 \u043f\u0430\u0440\u0442\u0438\u0446\u0438\u0439, \u0435\u0441\u0442\u044c \u043e\u0431\u044a\u0435\u043c \u0438 \u0442\u0438\u043f ROM \u043f\u0430\u043c\u044f\u0442\u0438. \u0423\u0440\u0430.<\/p>\n<p>  \u0422\u0430\u043a \u0436\u0435 \u0435\u0441\u0442\u044c \u043e\u0431\u044a\u0435\u043c \u043f\u0430\u043c\u044f\u0442\u0438 \u0438 \u0443\u043a\u0430\u0437\u0430\u043d\u0430 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u0430\u044f \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430:  <\/p>\n<pre><code class=\"bash\">ASIC 3052F (DSL-N12U) (Port5&lt;-&gt;None) Total memory: 32 MBytes<\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0441\u0442\u0430\u0440\u0430\u0442\u044c\u0441\u044f \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0442\u044c \u0432 <a href=\"http:\/\/wiki.openwrt.org\/toh\/start\">\u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432<\/a> \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0445\u043e\u0436\u0438\u0439 \u043d\u0430 \u0412\u0430\u0448 \u0440\u043e\u0443\u0442\u0435\u0440 (\u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u044d\u0442\u043e \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430), \u0435\u0441\u043b\u0438 \u0442\u0430\u043c \u043d\u0435\u0442 \u043d\u0438\u0447\u0435\u0433\u043e \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0433\u043e, \u0442\u043e \u044d\u0442\u0430 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u0432\u0430\u043c \u0443\u0436\u0435 \u043d\u0435 \u043f\u043e\u043c\u043e\u0436\u0435\u0442.<\/p>\n<p>  \u041c\u043e\u0439 \u0440\u043e\u0443\u0442\u0435\u0440 \u043f\u043e\u043a\u0430\u0437\u0430\u043b \u0432\u0441\u044e \u043d\u0443\u0436\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0432 dmesg \u0438 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u043d\u0430 \u043f\u043e\u0440\u0442. \u041d\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b \u0434\u0440\u0443\u0433\u0438\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u0438 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u044d\u0442\u043e\u0439 \u0438 \u0434\u0440\u0443\u0433\u043e\u0439 \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438. \u041e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u044d\u0442\u043e GPL \u0440\u0435\u043b\u0438\u0437 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 (\u0435\u0441\u043b\u0438 \u043e\u043d \u0435\u0441\u0442\u044c) \u0438 \u0434\u0430\u043c\u043f \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u0440\u043e\u0443\u0442\u0435\u0440\u0430.<\/p>\n<p>  \u0422\u0430\u043a \u0436\u0435 \u043d\u0430\u043c \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043a UART \u0438\u043b\u0438 Serial \u043f\u043e\u0440\u0442\u0443 \u0440\u043e\u0443\u0442\u0435\u0440\u0430, \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c \u0443\u0441\u043f\u0435\u0445\u0430 \u0437\u0430\u0442\u0435\u0438 \u0431\u0435\u0437 \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0441\u0442\u0440\u0435\u043c\u0438\u0442\u0441\u044f \u043a \u043d\u0443\u043b\u044e. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 USB -&gt; UART \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Arduino, \u043d\u043e \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u043c\u043d\u0438\u0442\u044c \u0447\u0442\u043e \u0432 Arduino \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0441\u0438\u0433\u043d\u0430\u043b\u0430 5V (\u0430 \u0443 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0430 \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 3.3V). \u0418 \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u0438\u043d\u044f\u0442\u044c \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u043f\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044e \u044d\u0442\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b (\u043a\u0430\u043a \u043c\u0438\u043d\u0438\u043c\u0443\u043c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0440\u0435\u0437\u0438\u0441\u0442\u043e\u0440 \u043d\u0430 RX \u0440\u043e\u0443\u0442\u0435\u0440\u0430).<\/p>\n<p>  \u041a\u0430\u043a \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0442\u044c Serial \u043f\u043e\u0440\u0442 \u044d\u0442\u043e \u0442\u0435\u043c\u0430 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438, \u043d\u043e \u043e\u0431\u044b\u0447\u043d\u043e \u043e\u043d \u0435\u0441\u0442\u044c \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0443 \u043b\u044e\u0431\u043e\u0433\u043e \u0440\u043e\u0443\u0442\u0435\u0440\u0430 \u0438\u043b\u0438 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0441 Linux \u0432\u043d\u0443\u0442\u0440\u0438, \u0432 \u043c\u043e\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0445\u0432\u0430\u0442\u0438\u043b\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0433\u0443\u0433\u043b\u0430.<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u043a \u0441\u0431\u043e\u0440\u043a\u0435 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438.<\/p>\n<p>  \u0412 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u043a\u0430\u043a \u043c\u0438\u043d\u0438\u043c\u0443\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u044b \u043f\u0430\u043a\u0435\u0442\u044b \u0434\u043b\u044f \u0441\u0431\u043e\u0440\u043a\u0438 toolchain:  <\/p>\n<pre><code class=\"bash\">sudo apt-get install subversion git build-essential<\/code><\/pre>\n<p>  \u042f \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u043b \u0441\u0431\u043e\u0440\u043a\u0443 \u043d\u0430 Debian 7, \u043d\u043e \u0432 \u0446\u0435\u043b\u043e\u043c \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u043d\u0430 \u044d\u0442\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u0431\u044b\u0442\u044c \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u043e.<\/p>\n<p>  \u041a\u043b\u043e\u043d\u0438\u0440\u0443\u0435\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439:  <\/p>\n<pre><code class=\"bash\">svn co svn:\/\/svn.openwrt.org\/openwrt\/trunk wrt<\/code><\/pre>\n<p>  \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0440\u0435\u043a\u0443\u0440\u0441\u0438\u0432\u043d\u043e\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u0438 \u0442\u0443\u043b\u0447\u0435\u0439\u043d\u0430:  <\/p>\n<pre><code class=\"bash\">cd ~\/wrt .\/scripts\/feeds update -a .\/scripts\/feeds install -a<\/code><\/pre>\n<p>  \u0421\u043e\u0431\u0438\u0440\u0430\u0435\u043c \u0442\u0443\u043b\u0447\u0435\u0439\u043d:  <\/p>\n<pre><code class=\"bash\">make prereq<\/code><\/pre>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0443 \u043d\u0430 \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0445\u043e\u0436\u0443\u044e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u0443\u044e \u043c\u043e\u0434\u0435\u043b\u044c \u0440\u043e\u0443\u0442\u0435\u0440\u0430  <\/p>\n<pre><code class=\"bash\">make menuconfig<\/code><\/pre>\n<p>  \u0417\u0434\u0435\u0441\u044c \u043d\u0430\u0441 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0442 \u043f\u043e\u043b\u044f:  <\/p>\n<pre><code class=\"bash\">Target System (Ralink RT288x\/RT3xxx)  ---&gt;  Subtarget (RT3x5x\/RT5350 based boards)  ---&gt;  Target Profile (Asus RT-N13U)  ---&gt;      <\/code><\/pre>\n<p>  \u042f \u0432\u044b\u0431\u0440\u0430\u043b ASUS RT-N13U \u043a\u0430\u043a \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0445\u043e\u0436\u0438\u0439 \u043d\u0430 \u043c\u043e\u0439 \u0440\u043e\u0443\u0442\u0435\u0440. \u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u044d\u0442\u043e\u0442 \u0432\u044b\u0431\u043e\u0440 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0432\u0430\u0436\u0435\u043d, \u0442\u0430\u043a \u043a\u0430\u043a \u0440\u0430\u0437\u043d\u0438\u0446\u0430 \u0432 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0445 \u043f\u0440\u043e\u0444\u0438\u043b\u044f\u0445 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u0430, \u0438 \u043c\u044b \u043f\u043e\u043f\u0440\u0430\u0432\u0438\u043c \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u0440\u0430\u0437\u043b\u0438\u0447\u0438\u0439, \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0443\u0433\u0430\u0434\u0430\u0442\u044c \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0443.<\/p>\n<p>  \u0411\u043e\u043b\u0435\u0435 \u0432 menuconfig \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u043c\u0435\u043d\u044f\u0442\u044c \u043d\u0438\u0447\u0435\u0433\u043e.<\/p>\n<p>  \u041f\u0440\u0438 \u043f\u0435\u0440\u0432\u043e\u0439 \u0441\u0431\u043e\u0440\u043a\u0435 \u0442\u0430\u043a\u0436\u0435 \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u043e\u0434\u0438\u043d \u0440\u0430\u0437 \u0442\u0443\u043b\u0447\u0435\u0439\u043d \u0438 \u0443\u0442\u0438\u043b\u0438\u0442\u044b:  <\/p>\n<pre><code class=\"bash\">make tools\/install -j9 V=-1 && make toolchain\/install -j9 V=-1<\/code><\/pre>\n<p>  \u0421\u0430\u043c\u0430 \u0441\u0431\u043e\u0440\u043a\u0430 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442\u044c \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438  <\/p>\n<pre><code class=\"bash\">make -j9 V=-1<\/code><\/pre>\n<p>  \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0431\u0443\u0434\u0435\u0442 \u043b\u0435\u0436\u0430\u0442\u044c \u0432 bin\/ramips<\/p>\n<p>  Ramips \u0434\u043b\u044f \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 DTS \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043b\u0435\u0436\u0430\u0442 \u0432 target\/linux\/ramips\/dts. \u041e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0439 DTS \u0434\u043b\u044f ASUS DSL RT-N13U \u043b\u0435\u0436\u0438\u0442 <a href=\"https:\/\/github.com\/openwrt-mirror\/openwrt\/blob\/master\/target\/linux\/ramips\/dts\/RT-N13U.dts\">\u0442\u0443\u0442<\/a>.<\/p>\n<p>  \u0417\u0434\u0435\u0441\u044c \u043c\u044b \u0437\u0430\u043c\u0435\u043d\u0438\u043c \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0431\u043b\u043e\u043a cfi@1f000000 \u043d\u0430 \u043d\u0430\u0448, \u043d\u043e\u0432\u044b\u0439. \u041e\u0447\u0435\u0432\u0438\u0434\u043d\u043e \u0447\u0442\u043e \u044d\u0442\u043e \u043d\u0435 \u0442\u043e, \u0447\u0442\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0433\u043e ROM \u0447\u0438\u043f\u0430. \u0411\u044b\u0441\u0442\u0440\u044b\u0439 \u043f\u043e\u0438\u0441\u043a \u043f\u043e \u0441\u043e\u0441\u0435\u0434\u043d\u0438\u043c dts \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u043b \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0442\u044c, \u0447\u0442\u043e \u043f\u0440\u0438\u043c\u0435\u0440 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0434\u043e\u043b\u0436\u0435\u043d \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u043a\u0430\u043a-\u0442\u043e \u0442\u0430\u043a (\u044d\u0442\u043e \u043e\u043f\u044f\u0442\u044c \u0436\u0435 \u0431\u043b\u043e\u043a \u0434\u043b\u044f DTS):<\/p>\n<pre><code class=\"bash\">palmbus@10000000 {     spi@b00 {         status = &quot;okay&quot;;         m25p80@0 {             #address-cells = &lt;1&gt;;             #size-cells = &lt;1&gt;;             compatible = &quot;m25p128&quot;;             reg = &lt;0 0&gt;;             linux,modalias = &quot;m25p80&quot;, &quot;m25p128&quot;;             spi-max-frequency = &lt;10000000&gt;;              partition@0 {                 label = &quot;u-boot&quot;;                 reg = &lt;0x0 0x30000&gt;;                 read-only;             };              partition@30000 {                 label = &quot;u-boot-env&quot;;                 reg = &lt;0x30000 0x10000&gt;;                 read-only;             };              factory: partition@40000 {                 label = &quot;factory&quot;;                 reg = &lt;0x40000 0x10000&gt;;                 read-only;             };              partition@50000 {                 label = &quot;firmware&quot;;                 reg = &lt;0x50000 0xfb0000&gt;;             };         };     }; }; <\/code><\/pre>\n<p>  \u041d\u0430\u0434\u0435\u044f\u0441\u044c \u043d\u0430 \u0431\u043b\u0430\u0433\u043e\u043f\u043e\u043b\u0443\u0447\u043d\u044b\u0439 \u0438\u0441\u0445\u043e\u0434 \u0441 \u043c\u0438\u043d\u0438\u043c\u0443\u043c\u043e\u043c \u0440\u0430\u0431\u043e\u0442\u044b \u044f \u0441\u043e\u0431\u0440\u0430\u043b \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0443 \u0434\u043b\u044f ASUS RT-N13U c \u0432\u043d\u0435\u0441\u0435\u043d\u043d\u044b\u043c\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u043c\u0438 \u0438 \u043f\u043e\u043f\u044b\u0442\u0430\u043b\u0441\u044f \u0435\u0451 \u0437\u0430\u043b\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 recovery \u0440\u0435\u0436\u0438\u043c, \u043d\u043e \u0440\u043e\u0443\u0442\u0435\u0440 \u043e\u0442\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u0435\u0435 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439 <br \/>  wrong product id.<\/p>\n<p>  \u041d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u044f \u043d\u0435 \u0441\u043c\u043e\u0433 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0442\u044c, \u043a\u0430\u043a\u043e\u0439 \u0438\u043c\u0435\u043d\u043d\u043e id \u043e\u043d \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u0431\u0435\u0437 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a Serial \u043f\u043e\u0440\u0442\u0443 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u0430.<\/p>\n<p>  \u041d\u043e \u0440\u043e\u0443\u0442\u0435\u0440 \u0431\u0435\u0437 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u043f\u0440\u043e\u0448\u0438\u043b\u0441\u044f \u0432\u043e 2 \u0440\u0435\u0436\u0438\u043c\u0435 uboot  <\/p>\n<pre><code class=\"bash\">2: System Load Linux Kernel then write to Flash via TFTP.  Warning!! Erase Linux in Flash then burn new one. Are you sure?(Y\/N)  Please Input new ones \/or Ctrl-C to discard         Input device IP (192.168.1.1) ==:192.168.0.2         Input server IP (192.168.1.20) ==:192.168.0.20         Input Linux Kernel filename () ==:fw.bin<\/code><\/pre>\n<p>  \u0412 \u043d\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043d\u0435 TFTP \u0441\u0435\u0440\u0432\u0435\u0440, \u043a\u0430\u043a \u0432 recovery \u043e\u0442 ASUS, \u0430 \u0440\u043e\u0443\u0442\u0435\u0440 \u0441\u0430\u043c \u0438\u0434\u0435\u0442 \u043d\u0430 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0438 \u043a\u0430\u0447\u0430\u0435\u0442 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b.<br \/>  \u0421 \u043f\u0435\u0440\u0432\u043e\u0439 \u043f\u043e\u043f\u044b\u0442\u043a\u0438 \u0440\u043e\u0443\u0442\u0435\u0440 \u043d\u0435 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b\u0441\u044f \u0438\u0437-\u0437\u0430 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u0440\u0438\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \/, \u043d\u043e \u043b\u043e\u0433 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043f\u043e\u043a\u0430\u0437\u0430\u043b \u0447\u0442\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 ROM&#8217;\u043e\u043c<\/p>\n<pre><code class=\"bash\">[    0.550000] m25p80 spi32766.0: found mr25h256, expected w25q128 [    0.560000] m25p80 spi32766.0: mr25h256 (32 Kbytes) [    0.570000] 4 ofpart partitions found on MTD device spi32766.0 [    0.580000] Creating 4 MTD partitions on &quot;spi32766.0&quot;: [    0.590000] 0x000000000000-0x000000030000 : &quot;u-boot&quot; [    0.600000] mtd: partition &quot;u-boot&quot; extends beyond the end of device &quot;spi32766.0&quot; -- size truncated to 0x8000 [    0.620000] 0x000000030000-0x000000040000 : &quot;u-boot-env&quot; [    0.640000] mtd: partition &quot;u-boot-env&quot; is out of reach -- disabled [    0.650000] 0x000000040000-0x000000050000 : &quot;factory&quot; [    0.660000] mtd: partition &quot;factory&quot; is out of reach -- disabled [    0.670000] 0x000000050000-0x000001000000 : &quot;firmware&quot; [    0.680000] mtd: partition &quot;firmware&quot; is out of reach -- disabled<\/code><\/pre>\n<p>  \u0411\u044b\u0441\u0442\u0440\u044b\u0439 \u0432\u0437\u0433\u043b\u044f\u0434 \u0432 \u0434\u0440\u0430\u0439\u0432\u0435\u0440 <a href=\"http:\/\/lxr.free-electrons.com\/source\/drivers\/mtd\/devices\/m25p80\">m25p80<\/a> \u0432 \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0438 \u0441 \u043f\u043e\u0434\u043e\u0437\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u043e\u0448\u0438\u0431\u043a\u043e\u0439<\/p>\n<pre><code class=\"bash\">[    0.470000] rt2880-pinmux pinctrl: pin io3 already requested by pinctrl; cannot claim for 10000b00.spi [    0.490000] rt2880-pinmux pinctrl: pin-3 (10000b00.spi) status -22 [    0.500000] rt2880-pinmux pinctrl: could not request pin 3 (io3) from group spi  on device rt2880-pinmux<\/code><\/pre>\n<p>  \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u043b \u043f\u043e\u043d\u044f\u0442\u044c \u0447\u0442\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432 \u043d\u0435\u043a\u043e\u0435\u043c pinctr \u0438 \u043f\u043e\u0445\u043e\u0436\u0435, \u0447\u0442\u043e \u0434\u0440\u0430\u0439\u0432\u0435\u0440 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0447\u0438\u043f\u0443 (\u043e\u043d \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043b \u0435\u0433\u043e \u043a\u0430\u043a \u0441\u0430\u043c\u044b\u0439 \u043f\u0440\u0438\u043c\u0438\u0442\u0438\u0432\u043d\u044b\u0439 \u0441 id 0). \u041a\u0430\u043a \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0431\u044b\u043b\u043e \u0441\u0442\u0435\u0440\u0435\u0442\u044c \u0432 DTS \u0438\u0437 \u0441\u0435\u043a\u0446\u0438\u0438 pinctrl \u0441\u0442\u0440\u043e\u0447\u043a\u0443 \u0441 spi, \u0438\u043c\u0435\u043d\u043d\u043e \u043e\u043d\u0430 \u043c\u0435\u0448\u0430\u043b\u0430 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0443 m25p80 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a spi.<\/p>\n<p>  \u041f\u0440\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0441\u0442\u0430\u043b\u043e \u044f\u0441\u043d\u043e, \u0447\u0442\u043e ROM \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043b\u0441\u044f \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e, \u0438 \u0434\u0435\u043b\u043e \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0437\u0430 \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0445 \u0430\u0434\u0440\u0435\u0441\u043e\u0432 mtd \u043f\u0430\u0440\u0442\u0438\u0446\u0438\u0439.<\/p>\n<p>  \u0412 \u0438\u0442\u043e\u0433\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0442\u0430\u043a:<\/p>\n<pre><code class=\"bash\">palmbus@10000000 {     spi@b00 {         status = &quot;okay&quot;;         m25p80@0 {             #address-cells = &lt;1&gt;;             #size-cells = &lt;1&gt;;             compatible = &quot;m25p128&quot;;             reg = &lt;0 0&gt;;             linux,modalias = &quot;m25p80&quot;, &quot;m25p128&quot;;             spi-max-frequency = &lt;10000000&gt;;              partition@0 {                 label = &quot;u-boot&quot;;                 reg = &lt;0x0 0x40000&gt;;                 read-only;             };              partition@40000 {                 label = &quot;u-boot-env&quot;;                 reg = &lt;0x40000 0x40000&gt;;                 read-only;             };              factory: partition@80000 {                 label = &quot;factory&quot;;                 reg = &lt;0x80000 0x40000&gt;;                 read-only;             };              partition@c0000 {                 label = &quot;firmware&quot;;                 reg = &lt;0xc0000 0x740000&gt;;             };         };     }; }; <\/code><\/pre>\n<p>  \u041f\u0440\u043e\u0448\u0438\u0432\u0430\u0435\u043c, \u0438 \u0432\u043d\u0435\u0437\u0430\u043f\u043d\u043e \u0432\u0441\u0435 \u0433\u0440\u0443\u0437\u0438\u0442\u0441\u044f, \u0423\u0420\u0410!<\/p>\n<p>  <a href=\"http:\/\/pastebin.com\/2SYeunsh\">\u041b\u043e\u0433<\/a> \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0439 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430.<\/p>\n<p>  \u0412 \u0438\u0442\u043e\u0433\u0435 \u043d\u0430 \u044d\u0442\u043e\u043c \u0432\u0441\u0435: \u0440\u043e\u0443\u0442\u0435\u0440 \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b \u043d\u0430 OpenWRT \u0431\u0435\u0437 \u043a\u0430\u043a\u0438\u0445 \u043b\u0438\u0431\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0438 \u0441\u0431\u043e\u0435\u0432. \u0415\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e DSL \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u043d\u043e \u0432\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043b\u0443\u0447\u0448\u0435 \u0447\u0435\u043c \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0435. \u0414\u0430\u0436\u0435 \u0438\u043d\u0434\u0438\u043a\u0430\u0446\u0438\u044f \u043d\u0430 \u043a\u043e\u0440\u043f\u0443\u0441\u0435 \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0430 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e.<\/p>\n<p>  \u042d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0430 \u0434\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c, \u0447\u0442\u043e \u0437\u0430\u043f\u0443\u0441\u043a OpenWRT \u043d\u0430 \u043d\u043e\u0432\u043e\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435 (\u043f\u0440\u0438 \u0443\u0441\u043b\u043e\u0432\u0438\u0438 \u0447\u0442\u043e \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f) \u2014 \u044d\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e, \u043d\u0430\u0434\u0435\u044e\u0441\u044c \u043e\u043d\u0430 \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u043a\u043e\u043c\u0443-\u043d\u0438\u0431\u0443\u0434\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u043e\u0440\u0442 OpenWRT \u0438 \u043d\u0430 \u0441\u0432\u043e\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e.     \t<\/p>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/261115\/\"> http:\/\/habrahabr.ru\/post\/261115\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>     \t\u0427\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0435\u0441\u043b\u0438 \u0432\u0430\u0448\u0435\u0433\u043e \u0440\u043e\u0443\u0442\u0435\u0440\u0430 \u043d\u0435 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0432 \u0441\u043f\u0438\u0441\u043a\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 OpenWRT? \u041a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u043f\u043e\u0440\u0442. \u042d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0431\u044b\u0441\u0442\u0440\u043e, \u0435\u0441\u043b\u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0434\u0430\u043d\u043d\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b \u0443\u0436\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u0430.<br \/>  \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u0432 \u0446\u0435\u043b\u043e\u043c \u0438 \u043e \u043c\u043e\u0435\u043c \u043e\u043f\u044b\u0442\u0435 \u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f OpenWRT \u043d\u0430 ASUS DSL N12U.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-260081","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/260081","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=260081"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/260081\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=260081"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=260081"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=260081"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}