{"id":328300,"date":"2022-01-20T09:00:23","date_gmt":"2022-01-20T09:00:23","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=328300"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=328300","title":{"rendered":"<span>\u0421\u0442\u0430\u0440\u0442\u0443\u0435\u043c Sipeed LicheeRV \u2014 Nezha CM C906 \u0431\u0435\u0437 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e SDK<\/span>"},"content":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041f\u043e\u043b\u0443\u0447\u0438\u0432 \u0441\u0432\u043e\u0439 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 (\u0437\u0430\u043a\u0430\u0437\u0430\u043b \u0435\u0449\u0435 \u0434\u043e \u0442\u043e\u0433\u043e \u043a\u0430\u043a \u0432\u044b\u0448\u0435\u043b LicheeRV Dock), \u044f \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435 \u043f\u043e\u043b\u0435\u0437 \u0437\u0430 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0435\u0439 \u043a \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044e&#8230;<\/p>\n<p>\u0412 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435, \u044f \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043e\u0432\u0430\u043b\u0441\u044f \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430\u043c\u0438 \u0432\u0440\u043e\u0434\u0435 Banana Pi \u0438\u043b\u0438 Orange Pi \u043e\u0442 Allwinner, \u0432\u0437\u0433\u043b\u044f\u043d\u0443\u0432 \u043d\u0430 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0435 \u0447\u0443\u0434\u043e, \u044f \u043f\u043e\u043d\u044f\u043b \u043f\u043e\u0447\u0435\u043c\u0443 \u043e\u0442 \u044d\u0442\u0438\u0445 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432 \u0432\u0441\u0435 \u0442\u0430\u043a \u0432\u043e\u0440\u043e\u0442\u044f\u0442 \u043d\u043e\u0441:<\/p>\n<ol>\n<li>\n<p>\u041f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u0434\u043b\u044f \u043d\u0435 \u043a\u0438\u0442\u0430\u0439\u0446\u0435\u0432 &#171;\u0437\u0430\u0431\u043e\u0442\u043b\u0438\u0432\u043e&#187; \u043b\u0435\u0436\u0430\u0442 \u043d\u0430 MEGA (\u0445\u043e\u0447\u0435\u0448\u044c \u043a\u0430\u0447\u0430\u0442\u044c &#8212; \u043f\u043b\u0430\u0442\u0438 \u0434\u0435\u043d\u044c\u0433\u0438&#8230;)<\/p>\n<\/li>\n<li>\n<p>\u0414\u043b\u044f \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u043a\u0430\u0440\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f &#171;\u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439&#187; \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u043f\u043e\u0434 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c PhoenixCard (\u0441\u0443\u0434\u044f \u043f\u043e \u043a\u0438\u0442\u0430\u0439\u0441\u043a\u0438\u043c \u0444\u043e\u0440\u0443\u043c\u0430\u043c \u043e\u043d \u043d\u0435 \u0441\u043b\u0443\u0448\u0430\u0435\u0442\u0441\u044f \u0434\u0430\u0436\u0435 \u043a\u0438\u0442\u0430\u0439\u0446\u0435\u0432), \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u043e\u0434 Windows (\u0447\u0442\u043e \u0432\u0441\u0435\u0433\u0434\u0430 \u0445\u043e\u0440\u043e\u0448\u043e!)<\/p>\n<\/li>\n<li>\n<p>\u041e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 &#171;SDK&#187; \u043e\u0431\u0435\u0440\u043d\u0443\u0442 \u0432\u043c\u0435\u0441\u0442\u0435 c rootfs \u0438 \u0440\u0430\u0437\u0431\u0438\u0442 \u043d\u0430 \u0430\u0440\u0445\u0438\u0432\u044b \u043e\u0431\u0449\u0435\u0439 \u0441\u0443\u043c\u043c\u043e\u0439 >10 Gb (\u0434\u0430-\u0434\u0430 \u0438 \u043b\u0435\u0436\u0438\u0442 \u043d\u0430 MEGA &#8212; \u0442\u043e \u0435\u0441\u0442\u044c \u0432\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u0437\u0430\u043f\u043b\u0430\u0442\u0438\u0448\u044c)<\/p>\n<\/li>\n<li>\n<p>\u0418 \u0438\u0437\u044e\u043c\u0438\u043d\u043a\u0430 &#8212; \u0432\u0441\u0435 \u043e\u0431\u0440\u0430\u0437\u044b \u0432 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0442\u0435 \u0440\u0430\u0441\u0447\u0438\u0442\u0430\u043d\u044b \u043d\u0430 \u043a\u0430\u0440\u0442\u044b \u0451\u043c\u043a\u043e\u0441\u0442\u044c\u044e \u0431\u043e\u043b\u044c\u0448\u0435 16 Gib (\u0443 \u043d\u0430\u0448\u0438\u0439 \u0434\u0440\u0443\u0437\u0435\u0439 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e 16 GB &#8212; card_needs_\u226516GB.txt)<\/p>\n<\/li>\n<\/ol>\n<p>\u041a\u0432\u0435\u0441\u0442 \u043f\u0440\u043e \u0440\u0435\u0432\u0435\u0440\u0441 (\u043e\u043d \u0432 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u043c \u0441\u0447\u0435\u0442\u0435 \u043d\u0435 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u043b\u0441\u044f) \u0438 \u043f\u0435\u0447\u0430\u043b\u044c\u043d\u043e\u0435 \u043a\u043e\u0432\u044b\u0440\u044f\u043d\u0438\u0435 \u043f\u0430\u043b\u043a\u043e\u0439 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430 \u0436\u0438\u0437\u043d\u0435\u0434\u0435\u044f\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 (\u0442\u043e \u0447\u0442\u043e \u044f \u0441\u043e\u0431\u0440\u0430\u043b \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e SDK, \u0442\u0430\u043a \u0438 \u043d\u0435 \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e&#8230;) \u043c\u044b \u043e\u043f\u0443\u0441\u0442\u0438\u043c, \u0442\u0430\u043a \u043a\u0430\u043a, \u044f \u043d\u0430\u043a\u043e\u043d\u0435\u0446 \u043d\u0430\u0442\u043a\u043d\u0443\u043b\u0441\u044f \u043d\u0430 \u0433\u0430\u0439\u0434 \u0434\u043b\u044f Sipeed Nezha \u043e\u0442 \u0434\u044f\u0434\u0438 Samuel&#8217;a Holland&#8217;a \u0441\u043f\u0430\u0441\u0438\u0431\u043e \u0435\u043c\u0443 \u0437\u0430 \u044d\u0442\u043e \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0435&#8230;<\/p>\n<p>\u0418 Sipeed LicheeRV \u0438 Sipeed Nezha \u043e\u0431\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 SoC Allwinner D1 (sun20iw1p1), \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043e\u043f\u044b\u0442 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u0434\u043b\u044f Nezha \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u043c \u0438 \u043a \u0434\u0430\u043d\u043d\u043e\u043c\u0443 \u0441\u043b\u0443\u0447\u0430\u044e.<\/p>\n<p>\u042f \u0441\u043e\u0431\u0440\u0430\u043b \u0434\u0430\u043d\u043d\u044b\u0439 \u0433\u0430\u0439\u0434 \u0432 \u043a\u0443\u0447\u0443 \u0438 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u043b \u043f\u043e\u0434 <a href=\"https:\/\/github.com\/maquefel\/licheerv-boot-build\" rel=\"noopener noreferrer nofollow\">\u043e\u0431\u0449\u0438\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c<\/a>.<\/p>\n<h3>\u0421\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435<\/h3>\n<ul>\n<li>\n<p>boot0 : zsbl (zero stage boot loader) \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0432\u043c\u0435\u0441\u0442\u043e U-Boot SPL, \u043a\u0430\u043a \u043f\u0438\u0448\u0435\u0442 \u0430\u0432\u0442\u043e\u0440, \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0438\u0437-\u0437\u0430 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 DRAM<\/p>\n<\/li>\n<li>\n<p>opensbi : \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0430\u043d\u0438\u043b\u044c\u043d\u044b\u0439 \u0441 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u043c\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u043c\u0438 \u0432 MTIMER<\/p>\n<\/li>\n<li>\n<p>u-boot : \u043e\u0447\u0435\u043d\u044c \u0441\u0438\u043b\u044c\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u0435\u043d \u043f\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 \u0432\u0430\u043d\u0438\u043b\u044c\u043d\u044b\u043c, \u043d\u043e \u043a\u0443\u0434\u0430 \u043b\u0443\u0447\u0448\u0435 \u0447\u0435\u043c \u0442\u043e, \u0447\u0442\u043e \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432 SDK<\/p>\n<\/li>\n<li>\n<p>linux : \u043e\u0447\u0435\u043d\u044c \u0431\u043e\u043b\u044c\u0448\u0430\u044f \u043f\u0440\u043e\u0434\u0435\u043b\u0430\u043d\u043d\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u043f\u0440\u0438\u0447\u0435\u043c \u043d\u0430 \u0431\u0430\u0437\u0435 5.16.0-rc1 (\u043f\u043e\u0447\u0442\u0438 \u0441\u0430\u043c\u043e\u0435 \u0441\u0432\u0435\u0436\u0435\u0435)<\/p>\n<\/li>\n<li>\n<p>riscv-gnu-toolchain : \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0435\u0437\u0434\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0439 toolchain \u043e\u0442 RISC-V Foundation<\/p>\n<\/li>\n<\/ul>\n<p>\u041f\u043e\u043a\u0430 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0441\u043b\u0435\u0433\u043a\u0430 \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 dts:<\/p>\n<ul>\n<li>\n<p>\u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d emac<\/p>\n<\/li>\n<li>\n<p>\u0443\u0434\u0430\u043b\u0435\u043d\u0430 \u0437\u0430\u043f\u0438\u0441\u044c spi-nand<\/p>\n<\/li>\n<\/ul>\n<p>\u041f\u043e \u0441\u0445\u0435\u043c\u0430\u0442\u0438\u043a\u0435 \u0432\u0440\u043e\u0434\u0435 emac \u043d\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u0441\u0438\u043b\u044c\u043d\u043e \u043f\u043e\u0440\u0442\u0438\u0442\u044c \u043a\u0430\u0440\u0442\u0438\u043d\u0443 \u0434\u043b\u044f LicheeRV Dock, \u043d\u043e \u043b\u0443\u0447\u0448\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u0432\u0434\u0443\u043c\u0447\u0438\u0432\u043e, \u0442\u0435\u043c \u0431\u043e\u043b\u0435\u0435 \u0441\u0443\u0434\u044f \u043f\u043e \u0432\u0441\u0435\u043c\u0443 \u043e\u043d \u043d\u0435 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c \u0441 LicheeRV 86 Panel, \u0442\u0435\u0436\u0435 \u0441\u0430\u043c\u044b\u0435 \u043c\u044b\u0441\u043b\u0438 \u043f\u043e \u043f\u043e\u0432\u043e\u0434\u0443 NAND &#8212; \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u0435\u0433\u043e \u0442\u043e\u0436\u0435 \u043b\u0443\u0447\u0448\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u0432\u0434\u0443\u043c\u0447\u0438\u0432\u043e.<\/p>\n<h3>\u0421\u0431\u043e\u0440\u043a\u0430<\/h3>\n<p>\u041f\u043e\u0434\u0442\u044f\u0433\u0438\u0432\u0430\u0435\u043c \u0432\u0441\u0435 \u043f\u043e\u0434\u043c\u043e\u0434\u0443\u043b\u0438:<\/p>\n<pre><code>$ git submodule update --init --recursive<\/code><\/pre>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u043c make:<\/p>\n<pre><code>$ make<\/code><\/pre>\n<p>\u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432\u0441\u0451 \u0438 \u0437\u0430\u0442\u0435\u0432\u0430\u043b\u043e\u0441\u044c&#8230;<\/p>\n<p>\u0415\u0441\u043b\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c \u0432\u043d\u0435\u0448\u043d\u0438\u0439 toolchain, \u0430 \u043d\u0435 \u0438\u0434\u0443\u0449\u0438\u0439 \u0432 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0442\u0435 \u043b\u0438\u0431\u043e \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c TARGET_CROSS_PREFIX:<\/p>\n<pre><code>$ TARGET_CROSS_PREFIX=riscv64-unknown-linux-gnu make<\/code><\/pre>\n<p>\u041b\u0438\u0431\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u0431\u0438\u0442\u044c \u0433\u0432\u043e\u0437\u0434\u044f\u043c\u0438 \u043f\u0440\u044f\u043c\u043e \u0432 Makefile \u043f\u043e\u0441\u043b\u0435 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u044f:<\/p>\n<pre><code>TARGET_CROSS_PREFIX=riscv64-unknown-linux-gnu  ifndef TARGET_CROSS_PREFIX ...  $ make<\/code><\/pre>\n<h3>\u0411\u044b\u0441\u0442\u0440\u043e\u0435 \u0440\u0430\u0437\u0432\u0435\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u0435 \u043e\u0431\u0440\u0430\u0437\u0430<\/h3>\n<p>\u0412 \u0438\u0442\u043e\u0433\u0435 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0444\u0430\u0439\u043b\u044b:<\/p>\n<ul>\n<li>\n<p>sun20i_d1_spl\/nboot\/boot0_sdcard_sun20iw1p1.bin<\/p>\n<\/li>\n<li>\n<p>u-boot.toc1<\/p>\n<\/li>\n<li>\n<p>u-boot\/arch\/riscv\/dts\/sun20i-d1-nezha-lichee.dtb<\/p>\n<\/li>\n<li>\n<p>build-linux\/arch\/riscv\/boot\/Image.gz<\/p>\n<\/li>\n<li>\n<p>initramfs.img.gz<\/p>\n<\/li>\n<\/ul>\n<p>boot0 \u0432 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u043e\u0436\u0438\u0434\u0430\u0435\u0442 u-boot, opensbi, dtb \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 TOC1 (\u0447\u0442\u043e \u0431\u044b \u044d\u0442\u043e \u043d\u0438 \u0437\u043d\u0430\u0447\u0438\u043b\u043e), \u043a\u043e\u043d\u0444\u0438\u0433 \u0444\u0430\u0439\u043b \u0434\u043b\u044f \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f \u043e\u0431\u0440\u0430\u0437\u0430 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u0435\u043d:<\/p>\n<pre><code>[opensbi] file = opensbi\/build\/platform\/generic\/firmware\/fw_dynamic.bin addr = 0x40000000 [dtb] file = u-boot\/arch\/riscv\/dts\/sun20i-d1-nezha-lichee.dtb addr = 0x44000000 [u-boot] file = u-boot\/u-boot-nodtb.bin addr = 0x4a000000<\/code><\/pre>\n<p>\u041d\u043e \u0441 \u044d\u0442\u0438\u043c \u0441\u0432\u044f\u0437\u0430\u043d\u0430 \u043e\u0434\u043d\u0430 \u0438\u0437 \u0437\u0430\u0434\u0430\u0447, \u0443\u0431\u0440\u0430\u0442\u044c boot0 \u0441\u043e\u0432\u0441\u0435\u043c \u0438 \u0432\u043c\u0435\u0441\u0442\u043e \u043d\u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c U-Boot SPL.<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u043a\u0430\u0440\u0442\u044b (\u043f\u043e\u0434\u0440\u0430\u0437\u0443\u043c\u0435\u0432\u0430\u0435\u0442\u0441\u044f \u0447\u0442\u043e \u043a\u0430\u0440\u0442\u0430 \u044d\u0442\u043e \/dev\/sdd \u0438 \u043e\u043d\u0430 \u043f\u0443\u0441\u0442\u0430\u044f, \u044f \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u0442\u0435\u0440 \u043d\u0430\u0447\u0430\u043b\u043e &#8212; dd if=\/dev\/zero of=\/dev\/sdd bs=4096 count=100) :<\/p>\n<pre><code># parted \/dev\/sdd --script mklabel gpt # parted \/dev\/sdd --script mkpart primary ext2 40MiB 100MiB # parted \/dev\/sdd --script mkpart primary ext4 100MiB 100% # mkfs.ext2 \/dev\/sdd1 # partion with kernel, dtb, initramfs # mkfs.ext4 \/dev\/sdd2 # partition for rootfs  # mount \/dev\/sdd1 \/mnt\/sdcard\/ # cp build-linux\/arch\/riscv\/boot\/Image.gz \/mnt\/sdcard\/ # cp u-boot\/arch\/riscv\/dts\/sun20i-d1-nezha-lichee.dtb \/mnt\/sdcard\/ # we use dtb from u-boot ! # cp initramfs.img.gz \/mnt\/sdcard\/ # umount \/mnt\/sdcard # dd if=sun20i_d1_spl\/nboot\/boot0_sdcard_sun20iw1p1.bin of=\/dev\/sdd bs=8192 seek=16 # dd if=u-boot.toc1 of=\/dev\/sdd bs=512 seek=32800 # large offset thats why we make first partion on 40 MiB<\/code><\/pre>\n<p>\u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c dtb \u0438\u0437 U-Boot, \u0430 \u043d\u0435 \u043b\u0438\u043d\u0443\u043a\u0441\u043e\u0432\u044b\u0439. \u0420\u0430\u0437\u0434\u0435\u043b\u044b \u043c\u043e\u0436\u043d\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u043b\u044e\u0431\u044b\u0435 &#8212; \u043a\u0430\u043a \u0434\u0443\u0448\u0435 \u0443\u0433\u043e\u0434\u043d\u043e, \u0432 U-Boot \u0435\u0441\u0442\u044c \u0438 fat, \u0438 ext, \u0442\u0430\u043a \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0432\u0441\u0435 \u0437\u0430\u043f\u0438\u0445\u0430\u0442\u044c \u0432 \u043e\u0434\u0438\u043d \u0440\u0430\u0437\u0434\u0435\u043b, \u043f\u043e\u043a\u0430 \u0432 \u043d\u0430\u043b\u0438\u0447\u0438\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0439 rootfs \u0441 busybox, \u044f \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u044e \u043a\u043b\u0430\u0441\u0442\u044c rootfs \u043d\u0430 NFS \u0438 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043d\u0435\u043c\u0443 \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c g_ether \u0438\u043b\u0438 WiFi. \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e Ethernet \u043d\u0435\u0442\u0443, \u0442\u0430\u043a \u043f\u0440\u043e\u0449\u0435 \u0431\u044b\u043b\u043e \u0438 \u044f\u0434\u0440\u043e \u0433\u0440\u0443\u0437\u0438\u0442\u044c \u043f\u043e \u0441\u0435\u0442\u0438 (\u043d\u0430\u0434\u0435\u044e\u0441\u044c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 OpenOCD&#8230;).<\/p>\n<p>\u041a\u043e\u043c\u0430\u043d\u0434\u044b \u0434\u043b\u044f U-Boot (\u043f\u043e\u043a\u0430 \u043d\u0435 \u0441\u0442\u0430\u043b \u0443\u0431\u0438\u0440\u0430\u0442\u044c \u0438\u0445 \u0432 env, \u0442\u0430\u043a \u043a\u0430\u043a \u043d\u0435 \u0440\u0435\u0448\u0438\u043b \u043a\u0430\u043a \u0438\u043c\u0435\u043d\u043d\u043e \u0431\u0443\u0434\u0443 \u0433\u0440\u0443\u0437\u0438\u0442\u044c\u0441\u044f) :<\/p>\n<pre><code>> load mmc 0:1 ${kernel_addr_r} Image.gz > load mmc 0:1 ${ramdisk_addr_r} initramfs.img.gz > load mmc 0:1 ${fdt_addr_r} sun20i-d1-nezha-lichee.dtb > setenv bootargs \"earlycon=sbi console=ttyS0,115200n8 root=\/dev\/ram0 rw rdinit=\/init\" > booti ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r} <\/code><\/pre>\n<p>\u0421\u043c\u043e\u0442\u0440\u0438\u043c:<\/p>\n<pre><code>licheerv # uname -a Linux nezha 5.16.0-rc1-13291-g2ca6d83489cd #2 PREEMPT Tue Jan 18 20:23:04 MSK 2022 riscv64 GNU\/Linux<\/code><\/pre>\n<p>\u0418 \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0430\u0435\u043c \u043a \u0431\u043e\u043b\u0435\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u043c \u0437\u0430\u0434\u0430\u0447\u0430\u043c&#8230;<\/p>\n<h2>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h2>\n<p>\u0410 \u0437\u0430\u0434\u0430\u0447 \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e, \u043e\u0441\u043e\u0431\u043e \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0437\u0434\u0435\u0441\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 toolchain \u0441\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c gcc, \u0443 Xuantie \u0435\u0441\u0442\u044c \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f gcc c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0439 \u0438 \u043d\u0430 \u044d\u0442\u043e \u0434\u0435\u043b\u043e \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432 \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c.<\/p>\n<p>\u0421\u0443\u0434\u044f \u043f\u043e \u0432\u0441\u0435\u043c\u0443 \u0443 Allwinner D1 \u0435\u0441\u0442\u044c \u0434\u0430\u0436\u0435 \u0432\u0435\u043a\u0442\u043e\u0440\u043d\u043e\u0435 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 \u043d\u0430 128 \u0431\u0438\u0442.<\/p>\n<p>\u0415\u0441\u0442\u044c JTAG, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0443\u0436\u043d\u043e \u043e\u0441\u0432\u043e\u0438\u0442\u044c \u0432 \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c, \u0435\u0441\u0442\u044c RISC-V HPM&#8230;<\/p>\n<p>\u041f\u0440\u043e \u0441\u0430\u043c\u0443 \u043f\u043b\u0430\u0442\u0443 \u0445\u043e\u0447\u0443 \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0441\u0442\u043e\u0438\u0442 \u043e\u043d\u0430 1 918,51 \u0440\u0443\u0431. (\u0446\u0435\u043d\u0430 \u043d\u0430 19 \u044f\u043d\u0432\u0430\u0440\u044f 2022, 14:12 &#8212; \u044f \u0435\u0451 \u0443\u0441\u043f\u0435\u043b \u043a\u0443\u043f\u0438\u0442\u044c \u0437\u0430 1 835,14 \u0440\u0443\u0431.) \u0441 carrier board c wifi, \u044d\u0442\u043e \u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0441\u0430\u043c\u044b\u0439 \u0434\u0435\u0448\u0435\u0432\u044b\u0439 Linux SBC \u0441\u0440\u0430\u0437\u0443 \u0433\u043e\u0442\u043e\u0432\u044b\u0439 \u043a \u0440\u0430\u0431\u043e\u0442\u0435 \u0431\u0435\u0437 \u0432\u043e\u0437\u043d\u0438 \u0441 \u043f\u0440\u043e\u0432\u043e\u0434\u0430\u043c\u0438 (\u0438 \u043f\u0443\u0441\u0442\u044c \u043a\u0442\u043e \u0437\u043d\u0430\u0435\u0442 \u0434\u0435\u0448\u0435\u0432\u043b\u0435 \u043d\u0430\u043f\u0438\u0448\u0435\u0442 \u043e\u0431 \u044d\u0442\u043e\u043c, \u0441\u0435\u0440\u044c\u0435\u0437\u043d\u043e \u0445\u043e\u0447\u0443 \u0437\u043d\u0430\u0442\u044c).<\/p>\n<p>\u041d\u0435 \u0433\u043e\u0432\u043e\u0440\u044f \u0443\u0436 \u043f\u0440\u043e, \u0447\u0442\u043e \u044d\u0442\u043e \u0441\u0430\u043c\u044b\u0439 \u0434\u0435\u0448\u0435\u0432\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0439 RISC-V \u0441 MMU \u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442.<\/p>\n<details class=\"spoiler\">\n<summary>\u0411\u0438\u0431\u043b\u0438\u043e\u0433\u0440\u0430\u0444\u0438\u044f<\/summary>\n<div class=\"spoiler__content\">\n<ul>\n<li>\n<p><a href=\"https:\/\/linux-sunxi.org\/Allwinner_Nezha\" rel=\"noopener noreferrer nofollow\">https:\/\/linux-sunxi.org\/Allwinner_Nezha<\/a> &#8212; \u0441\u044e\u0434\u0430 \u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0432 \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c!<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/whycan.com\/t_6440.html\" rel=\"noopener noreferrer nofollow\">https:\/\/whycan.com\/t_6440.html<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/whycan.com\/t_7711_2.html\" rel=\"noopener noreferrer nofollow\">https:\/\/whycan.com\/t_7711_2.html<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/wiki.sipeed.com\/hardware\/zh\/lichee\/RV\/flash.html\" rel=\"noopener noreferrer nofollow\">https:\/\/wiki.sipeed.com\/hardware\/zh\/lichee\/RV\/flash.html<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/github.com\/T-head-Semi\/riscv-aosp\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/T-head-Semi\/riscv-aosp<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/www.eevblog.com\/forum\/embedded-computing\/risc-v-vector-extension-on-the-allwinner-d1\/\" rel=\"noopener noreferrer nofollow\">https:\/\/www.eevblog.com\/forum\/embedded-computing\/risc-v-vector-extension-on-the-allwinner-d1\/<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/github.com\/T-head-Semi\/xuantie-gnu-toolchain\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/T-head-Semi\/xuantie-gnu-toolchain<\/a><\/p>\n<\/li>\n<\/ul>\n<\/div>\n<\/details>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"v-portal\" style=\"display:none;\"><\/div>\n<\/div>\n<p> <!----> <!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/646655\/\"> https:\/\/habr.com\/ru\/post\/646655\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041f\u043e\u043b\u0443\u0447\u0438\u0432 \u0441\u0432\u043e\u0439 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 (\u0437\u0430\u043a\u0430\u0437\u0430\u043b \u0435\u0449\u0435 \u0434\u043e \u0442\u043e\u0433\u043e \u043a\u0430\u043a \u0432\u044b\u0448\u0435\u043b LicheeRV Dock), \u044f \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435 \u043f\u043e\u043b\u0435\u0437 \u0437\u0430 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0435\u0439 \u043a \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044e&#8230;<\/p>\n<p>\u0412 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435, \u044f \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043e\u0432\u0430\u043b\u0441\u044f \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430\u043c\u0438 \u0432\u0440\u043e\u0434\u0435 Banana Pi \u0438\u043b\u0438 Orange Pi \u043e\u0442 Allwinner, \u0432\u0437\u0433\u043b\u044f\u043d\u0443\u0432 \u043d\u0430 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0435 \u0447\u0443\u0434\u043e, \u044f \u043f\u043e\u043d\u044f\u043b \u043f\u043e\u0447\u0435\u043c\u0443 \u043e\u0442 \u044d\u0442\u0438\u0445 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432 \u0432\u0441\u0435 \u0442\u0430\u043a \u0432\u043e\u0440\u043e\u0442\u044f\u0442 \u043d\u043e\u0441:<\/p>\n<ol>\n<li>\n<p>\u041f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u0434\u043b\u044f \u043d\u0435 \u043a\u0438\u0442\u0430\u0439\u0446\u0435\u0432 &#171;\u0437\u0430\u0431\u043e\u0442\u043b\u0438\u0432\u043e&#187; \u043b\u0435\u0436\u0430\u0442 \u043d\u0430 MEGA (\u0445\u043e\u0447\u0435\u0448\u044c \u043a\u0430\u0447\u0430\u0442\u044c &#8212; \u043f\u043b\u0430\u0442\u0438 \u0434\u0435\u043d\u044c\u0433\u0438&#8230;)<\/p>\n<\/li>\n<li>\n<p>\u0414\u043b\u044f \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u043a\u0430\u0440\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f &#171;\u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439&#187; \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u043f\u043e\u0434 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c PhoenixCard (\u0441\u0443\u0434\u044f \u043f\u043e \u043a\u0438\u0442\u0430\u0439\u0441\u043a\u0438\u043c \u0444\u043e\u0440\u0443\u043c\u0430\u043c \u043e\u043d \u043d\u0435 \u0441\u043b\u0443\u0448\u0430\u0435\u0442\u0441\u044f \u0434\u0430\u0436\u0435 \u043a\u0438\u0442\u0430\u0439\u0446\u0435\u0432), \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u043e\u0434 Windows (\u0447\u0442\u043e \u0432\u0441\u0435\u0433\u0434\u0430 \u0445\u043e\u0440\u043e\u0448\u043e!)<\/p>\n<\/li>\n<li>\n<p>\u041e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 &#171;SDK&#187; \u043e\u0431\u0435\u0440\u043d\u0443\u0442 \u0432\u043c\u0435\u0441\u0442\u0435 c rootfs \u0438 \u0440\u0430\u0437\u0431\u0438\u0442 \u043d\u0430 \u0430\u0440\u0445\u0438\u0432\u044b \u043e\u0431\u0449\u0435\u0439 \u0441\u0443\u043c\u043c\u043e\u0439 >10 Gb (\u0434\u0430-\u0434\u0430 \u0438 \u043b\u0435\u0436\u0438\u0442 \u043d\u0430 MEGA &#8212; \u0442\u043e \u0435\u0441\u0442\u044c \u0432\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u0437\u0430\u043f\u043b\u0430\u0442\u0438\u0448\u044c)<\/p>\n<\/li>\n<li>\n<p>\u0418 \u0438\u0437\u044e\u043c\u0438\u043d\u043a\u0430 &#8212; \u0432\u0441\u0435 \u043e\u0431\u0440\u0430\u0437\u044b \u0432 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0442\u0435 \u0440\u0430\u0441\u0447\u0438\u0442\u0430\u043d\u044b \u043d\u0430 \u043a\u0430\u0440\u0442\u044b \u0451\u043c\u043a\u043e\u0441\u0442\u044c\u044e \u0431\u043e\u043b\u044c\u0448\u0435 16 Gib (\u0443 \u043d\u0430\u0448\u0438\u0439 \u0434\u0440\u0443\u0437\u0435\u0439 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e 16 GB &#8212; card_needs_\u226516GB.txt)<\/p>\n<\/li>\n<\/ol>\n<p>\u041a\u0432\u0435\u0441\u0442 \u043f\u0440\u043e \u0440\u0435\u0432\u0435\u0440\u0441 (\u043e\u043d \u0432 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u043c \u0441\u0447\u0435\u0442\u0435 \u043d\u0435 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u043b\u0441\u044f) \u0438 \u043f\u0435\u0447\u0430\u043b\u044c\u043d\u043e\u0435 \u043a\u043e\u0432\u044b\u0440\u044f\u043d\u0438\u0435 \u043f\u0430\u043b\u043a\u043e\u0439 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430 \u0436\u0438\u0437\u043d\u0435\u0434\u0435\u044f\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 (\u0442\u043e \u0447\u0442\u043e \u044f \u0441\u043e\u0431\u0440\u0430\u043b \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e SDK, \u0442\u0430\u043a \u0438 \u043d\u0435 \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e&#8230;) \u043c\u044b \u043e\u043f\u0443\u0441\u0442\u0438\u043c, \u0442\u0430\u043a \u043a\u0430\u043a, \u044f \u043d\u0430\u043a\u043e\u043d\u0435\u0446 \u043d\u0430\u0442\u043a\u043d\u0443\u043b\u0441\u044f \u043d\u0430 \u0433\u0430\u0439\u0434 \u0434\u043b\u044f Sipeed Nezha \u043e\u0442 \u0434\u044f\u0434\u0438 Samuel&#8217;a Holland&#8217;a \u0441\u043f\u0430\u0441\u0438\u0431\u043e \u0435\u043c\u0443 \u0437\u0430 \u044d\u0442\u043e \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0435&#8230;<\/p>\n<p>\u0418 Sipeed LicheeRV \u0438 Sipeed Nezha \u043e\u0431\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 SoC Allwinner D1 (sun20iw1p1), \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043e\u043f\u044b\u0442 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u0434\u043b\u044f Nezha \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u043c \u0438 \u043a \u0434\u0430\u043d\u043d\u043e\u043c\u0443 \u0441\u043b\u0443\u0447\u0430\u044e.<\/p>\n<p>\u042f \u0441\u043e\u0431\u0440\u0430\u043b \u0434\u0430\u043d\u043d\u044b\u0439 \u0433\u0430\u0439\u0434 \u0432 \u043a\u0443\u0447\u0443 \u0438 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u043b \u043f\u043e\u0434 <a href=\"https:\/\/github.com\/maquefel\/licheerv-boot-build\" rel=\"noopener noreferrer nofollow\">\u043e\u0431\u0449\u0438\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c<\/a>.<\/p>\n<h3>\u0421\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435<\/h3>\n<ul>\n<li>\n<p>boot0 : zsbl (zero stage boot loader) \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0432\u043c\u0435\u0441\u0442\u043e U-Boot SPL, \u043a\u0430\u043a \u043f\u0438\u0448\u0435\u0442 \u0430\u0432\u0442\u043e\u0440, \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0438\u0437-\u0437\u0430 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 DRAM<\/p>\n<\/li>\n<li>\n<p>opensbi : \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0430\u043d\u0438\u043b\u044c\u043d\u044b\u0439 \u0441 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u043c\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u043c\u0438 \u0432 MTIMER<\/p>\n<\/li>\n<li>\n<p>u-boot : \u043e\u0447\u0435\u043d\u044c \u0441\u0438\u043b\u044c\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u0435\u043d \u043f\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 \u0432\u0430\u043d\u0438\u043b\u044c\u043d\u044b\u043c, \u043d\u043e \u043a\u0443\u0434\u0430 \u043b\u0443\u0447\u0448\u0435 \u0447\u0435\u043c \u0442\u043e, \u0447\u0442\u043e \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432 SDK<\/p>\n<\/li>\n<li>\n<p>linux : \u043e\u0447\u0435\u043d\u044c \u0431\u043e\u043b\u044c\u0448\u0430\u044f \u043f\u0440\u043e\u0434\u0435\u043b\u0430\u043d\u043d\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u043f\u0440\u0438\u0447\u0435\u043c \u043d\u0430 \u0431\u0430\u0437\u0435 5.16.0-rc1 (\u043f\u043e\u0447\u0442\u0438 \u0441\u0430\u043c\u043e\u0435 \u0441\u0432\u0435\u0436\u0435\u0435)<\/p>\n<\/li>\n<li>\n<p>riscv-gnu-toolchain : \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0435\u0437\u0434\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0439 toolchain \u043e\u0442 RISC-V Foundation<\/p>\n<\/li>\n<\/ul>\n<p>\u041f\u043e\u043a\u0430 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0441\u043b\u0435\u0433\u043a\u0430 \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 dts:<\/p>\n<ul>\n<li>\n<p>\u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d emac<\/p>\n<\/li>\n<li>\n<p>\u0443\u0434\u0430\u043b\u0435\u043d\u0430 \u0437\u0430\u043f\u0438\u0441\u044c spi-nand<\/p>\n<\/li>\n<\/ul>\n<p>\u041f\u043e \u0441\u0445\u0435\u043c\u0430\u0442\u0438\u043a\u0435 \u0432\u0440\u043e\u0434\u0435 emac \u043d\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u0441\u0438\u043b\u044c\u043d\u043e \u043f\u043e\u0440\u0442\u0438\u0442\u044c \u043a\u0430\u0440\u0442\u0438\u043d\u0443 \u0434\u043b\u044f LicheeRV Dock, \u043d\u043e \u043b\u0443\u0447\u0448\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u0432\u0434\u0443\u043c\u0447\u0438\u0432\u043e, \u0442\u0435\u043c \u0431\u043e\u043b\u0435\u0435 \u0441\u0443\u0434\u044f \u043f\u043e \u0432\u0441\u0435\u043c\u0443 \u043e\u043d \u043d\u0435 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c \u0441 LicheeRV 86 Panel, \u0442\u0435\u0436\u0435 \u0441\u0430\u043c\u044b\u0435 \u043c\u044b\u0441\u043b\u0438 \u043f\u043e \u043f\u043e\u0432\u043e\u0434\u0443 NAND &#8212; \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u0435\u0433\u043e \u0442\u043e\u0436\u0435 \u043b\u0443\u0447\u0448\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u0432\u0434\u0443\u043c\u0447\u0438\u0432\u043e.<\/p>\n<h3>\u0421\u0431\u043e\u0440\u043a\u0430<\/h3>\n<p>\u041f\u043e\u0434\u0442\u044f\u0433\u0438\u0432\u0430\u0435\u043c \u0432\u0441\u0435 \u043f\u043e\u0434\u043c\u043e\u0434\u0443\u043b\u0438:<\/p>\n<pre><code>$ git submodule update --init --recursive<\/code><\/pre>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u043c make:<\/p>\n<pre><code>$ make<\/code><\/pre>\n<p>\u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432\u0441\u0451 \u0438 \u0437\u0430\u0442\u0435\u0432\u0430\u043b\u043e\u0441\u044c&#8230;<\/p>\n<p>\u0415\u0441\u043b\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c \u0432\u043d\u0435\u0448\u043d\u0438\u0439 toolchain, \u0430 \u043d\u0435 \u0438\u0434\u0443\u0449\u0438\u0439 \u0432 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0442\u0435 \u043b\u0438\u0431\u043e \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c TARGET_CROSS_PREFIX:<\/p>\n<pre><code>$ TARGET_CROSS_PREFIX=riscv64-unknown-linux-gnu make<\/code><\/pre>\n<p>\u041b\u0438\u0431\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u0431\u0438\u0442\u044c \u0433\u0432\u043e\u0437\u0434\u044f\u043c\u0438 \u043f\u0440\u044f\u043c\u043e \u0432 Makefile \u043f\u043e\u0441\u043b\u0435 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u044f:<\/p>\n<pre><code>TARGET_CROSS_PREFIX=riscv64-unknown-linux-gnu  ifndef TARGET_CROSS_PREFIX ...  $ make<\/code><\/pre>\n<h3>\u0411\u044b\u0441\u0442\u0440\u043e\u0435 \u0440\u0430\u0437\u0432\u0435\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u0435 \u043e\u0431\u0440\u0430\u0437\u0430<\/h3>\n<p>\u0412 \u0438\u0442\u043e\u0433\u0435 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0444\u0430\u0439\u043b\u044b:<\/p>\n<ul>\n<li>\n<p>sun20i_d1_spl\/nboot\/boot0_sdcard_sun20iw1p1.bin<\/p>\n<\/li>\n<li>\n<p>u-boot.toc1<\/p>\n<\/li>\n<li>\n<p>u-boot\/arch\/riscv\/dts\/sun20i-d1-nezha-lichee.dtb<\/p>\n<\/li>\n<li>\n<p>build-linux\/arch\/riscv\/boot\/Image.gz<\/p>\n<\/li>\n<li>\n<p>initramfs.img.gz<\/p>\n<\/li>\n<\/ul>\n<p>boot0 \u0432 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u043e\u0436\u0438\u0434\u0430\u0435\u0442 u-boot, opensbi, dtb \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 TOC1 (\u0447\u0442\u043e \u0431\u044b \u044d\u0442\u043e \u043d\u0438 \u0437\u043d\u0430\u0447\u0438\u043b\u043e), \u043a\u043e\u043d\u0444\u0438\u0433 \u0444\u0430\u0439\u043b \u0434\u043b\u044f \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f \u043e\u0431\u0440\u0430\u0437\u0430 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u0435\u043d:<\/p>\n<pre><code>[opensbi] file = opensbi\/build\/platform\/generic\/firmware\/fw_dynamic.bin addr = 0x40000000 [dtb] file = u-boot\/arch\/riscv\/dts\/sun20i-d1-nezha-lichee.dtb addr = 0x44000000 [u-boot] file = u-boot\/u-boot-nodtb.bin addr = 0x4a000000<\/code><\/pre>\n<p>\u041d\u043e \u0441 \u044d\u0442\u0438\u043c \u0441\u0432\u044f\u0437\u0430\u043d\u0430 \u043e\u0434\u043d\u0430 \u0438\u0437 \u0437\u0430\u0434\u0430\u0447, \u0443\u0431\u0440\u0430\u0442\u044c boot0 \u0441\u043e\u0432\u0441\u0435\u043c \u0438 \u0432\u043c\u0435\u0441\u0442\u043e \u043d\u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c U-Boot SPL.<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u043a\u0430\u0440\u0442\u044b (\u043f\u043e\u0434\u0440\u0430\u0437\u0443\u043c\u0435\u0432\u0430\u0435\u0442\u0441\u044f \u0447\u0442\u043e \u043a\u0430\u0440\u0442\u0430 \u044d\u0442\u043e \/dev\/sdd \u0438 \u043e\u043d\u0430 \u043f\u0443\u0441\u0442\u0430\u044f, \u044f \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u0442\u0435\u0440 \u043d\u0430\u0447\u0430\u043b\u043e &#8212; dd if=\/dev\/zero of=\/dev\/sdd bs=4096 count=100) :<\/p>\n<pre><code># parted \/dev\/sdd --script mklabel gpt # parted \/dev\/sdd --script mkpart primary ext2 40MiB 100MiB # parted \/dev\/sdd --script mkpart primary ext4 100MiB 100% # mkfs.ext2 \/dev\/sdd1 # partion with kernel, dtb, initramfs # mkfs.ext4 \/dev\/sdd2 # partition for rootfs  # mount \/dev\/sdd1 \/mnt\/sdcard\/ # cp build-linux\/arch\/riscv\/boot\/Image.gz \/mnt\/sdcard\/ # cp u-boot\/arch\/riscv\/dts\/sun20i-d1-nezha-lichee.dtb \/mnt\/sdcard\/ # we use dtb from u-boot ! # cp initramfs.img.gz \/mnt\/sdcard\/ # umount \/mnt\/sdcard # dd if=sun20i_d1_spl\/nboot\/boot0_sdcard_sun20iw1p1.bin of=\/dev\/sdd bs=8192 seek=16 # dd if=u-boot.toc1 of=\/dev\/sdd bs=512 seek=32800 # large offset thats why we make first partion on 40 MiB<\/code><\/pre>\n<p>\u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c dtb \u0438\u0437 U-Boot, \u0430 \u043d\u0435 \u043b\u0438\u043d\u0443\u043a\u0441\u043e\u0432\u044b\u0439. \u0420\u0430\u0437\u0434\u0435\u043b\u044b \u043c\u043e\u0436\u043d\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u043b\u044e\u0431\u044b\u0435 &#8212; \u043a\u0430\u043a \u0434\u0443\u0448\u0435 \u0443\u0433\u043e\u0434\u043d\u043e, \u0432 U-Boot \u0435\u0441\u0442\u044c \u0438 fat, \u0438 ext, \u0442\u0430\u043a \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0432\u0441\u0435 \u0437\u0430\u043f\u0438\u0445\u0430\u0442\u044c \u0432 \u043e\u0434\u0438\u043d \u0440\u0430\u0437\u0434\u0435\u043b, \u043f\u043e\u043a\u0430 \u0432 \u043d\u0430\u043b\u0438\u0447\u0438\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0439 rootfs \u0441 busybox, \u044f \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u044e \u043a\u043b\u0430\u0441\u0442\u044c rootfs \u043d\u0430 NFS \u0438 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043d\u0435\u043c\u0443 \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c g_ether \u0438\u043b\u0438 WiFi. \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e Ethernet \u043d\u0435\u0442\u0443, \u0442\u0430\u043a \u043f\u0440\u043e\u0449\u0435 \u0431\u044b\u043b\u043e \u0438 \u044f\u0434\u0440\u043e \u0433\u0440\u0443\u0437\u0438\u0442\u044c \u043f\u043e \u0441\u0435\u0442\u0438 (\u043d\u0430\u0434\u0435\u044e\u0441\u044c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 OpenOCD&#8230;).<\/p>\n<p>\u041a\u043e\u043c\u0430\u043d\u0434\u044b \u0434\u043b\u044f U-Boot (\u043f\u043e\u043a\u0430 \u043d\u0435 \u0441\u0442\u0430\u043b \u0443\u0431\u0438\u0440\u0430\u0442\u044c \u0438\u0445 \u0432 env, \u0442\u0430\u043a \u043a\u0430\u043a \u043d\u0435 \u0440\u0435\u0448\u0438\u043b \u043a\u0430\u043a \u0438\u043c\u0435\u043d\u043d\u043e \u0431\u0443\u0434\u0443 \u0433\u0440\u0443\u0437\u0438\u0442\u044c\u0441\u044f) :<\/p>\n<pre><code>> load mmc 0:1 ${kernel_addr_r} Image.gz > load mmc 0:1 ${ramdisk_addr_r} initramfs.img.gz > load mmc 0:1 ${fdt_addr_r} sun20i-d1-nezha-lichee.dtb > setenv bootargs \"earlycon=sbi console=ttyS0,115200n8 root=\/dev\/ram0 rw rdinit=\/init\" > booti ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r} <\/code><\/pre>\n<p>\u0421\u043c\u043e\u0442\u0440\u0438\u043c:<\/p>\n<pre><code>licheerv # uname -a Linux nezha 5.16.0-rc1-13291-g2ca6d83489cd #2 PREEMPT Tue Jan 18 20:23:04 MSK 2022 riscv64 GNU\/Linux<\/code><\/pre>\n<p>\u0418 \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0430\u0435\u043c \u043a \u0431\u043e\u043b\u0435\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u043c \u0437\u0430\u0434\u0430\u0447\u0430\u043c&#8230;<\/p>\n<h2>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h2>\n<p>\u0410 \u0437\u0430\u0434\u0430\u0447 \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e, \u043e\u0441\u043e\u0431\u043e \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0437\u0434\u0435\u0441\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 toolchain \u0441\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c gcc, \u0443 Xuantie \u0435\u0441\u0442\u044c \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f gcc c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0439 \u0438 \u043d\u0430 \u044d\u0442\u043e \u0434\u0435\u043b\u043e \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432 \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c.<\/p>\n<p>\u0421\u0443\u0434\u044f \u043f\u043e \u0432\u0441\u0435\u043c\u0443 \u0443 Allwinner D1 \u0435\u0441\u0442\u044c \u0434\u0430\u0436\u0435 \u0432\u0435\u043a\u0442\u043e\u0440\u043d\u043e\u0435 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 \u043d\u0430 128 \u0431\u0438\u0442.<\/p>\n<p>\u0415\u0441\u0442\u044c JTAG, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0443\u0436\u043d\u043e \u043e\u0441\u0432\u043e\u0438\u0442\u044c \u0432 \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c, \u0435\u0441\u0442\u044c RISC-V HPM&#8230;<\/p>\n<p>\u041f\u0440\u043e \u0441\u0430\u043c\u0443 \u043f\u043b\u0430\u0442\u0443 \u0445\u043e\u0447\u0443 \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0441\u0442\u043e\u0438\u0442 \u043e\u043d\u0430 1 918,51 \u0440\u0443\u0431. (\u0446\u0435\u043d\u0430 \u043d\u0430 19 \u044f\u043d\u0432\u0430\u0440\u044f 2022, 14:12 &#8212; \u044f \u0435\u0451 \u0443\u0441\u043f\u0435\u043b \u043a\u0443\u043f\u0438\u0442\u044c \u0437\u0430 1 835,14 \u0440\u0443\u0431.) \u0441 carrier board c wifi, \u044d\u0442\u043e \u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0441\u0430\u043c\u044b\u0439 \u0434\u0435\u0448\u0435\u0432\u044b\u0439 Linux SBC \u0441\u0440\u0430\u0437\u0443 \u0433\u043e\u0442\u043e\u0432\u044b\u0439 \u043a \u0440\u0430\u0431\u043e\u0442\u0435 \u0431\u0435\u0437 \u0432\u043e\u0437\u043d\u0438 \u0441 \u043f\u0440\u043e\u0432\u043e\u0434\u0430\u043c\u0438 (\u0438 \u043f\u0443\u0441\u0442\u044c \u043a\u0442\u043e \u0437\u043d\u0430\u0435\u0442 \u0434\u0435\u0448\u0435\u0432\u043b\u0435 \u043d\u0430\u043f\u0438\u0448\u0435\u0442 \u043e\u0431 \u044d\u0442\u043e\u043c, \u0441\u0435\u0440\u044c\u0435\u0437\u043d\u043e \u0445\u043e\u0447\u0443 \u0437\u043d\u0430\u0442\u044c).<\/p>\n<p>\u041d\u0435 \u0433\u043e\u0432\u043e\u0440\u044f \u0443\u0436 \u043f\u0440\u043e, \u0447\u0442\u043e \u044d\u0442\u043e \u0441\u0430\u043c\u044b\u0439 \u0434\u0435\u0448\u0435\u0432\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0439 RISC-V \u0441 MMU \u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442.<\/p>\n<details class=\"spoiler\">\n<summary>\u0411\u0438\u0431\u043b\u0438\u043e\u0433\u0440\u0430\u0444\u0438\u044f<\/summary>\n<div class=\"spoiler__content\">\n<ul>\n<li>\n<p><a href=\"https:\/\/linux-sunxi.org\/Allwinner_Nezha\" rel=\"noopener noreferrer nofollow\">https:\/\/linux-sunxi.org\/Allwinner_Nezha<\/a> &#8212; \u0441\u044e\u0434\u0430 \u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0432 \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c!<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/whycan.com\/t_6440.html\" rel=\"noopener noreferrer nofollow\">https:\/\/whycan.com\/t_6440.html<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/whycan.com\/t_7711_2.html\" rel=\"noopener noreferrer nofollow\">https:\/\/whycan.com\/t_7711_2.html<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/wiki.sipeed.com\/hardware\/zh\/lichee\/RV\/flash.html\" rel=\"noopener noreferrer nofollow\">https:\/\/wiki.sipeed.com\/hardware\/zh\/lichee\/RV\/flash.html<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/github.com\/T-head-Semi\/riscv-aosp\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/T-head-Semi\/riscv-aosp<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/www.eevblog.com\/forum\/embedded-computing\/risc-v-vector-extension-on-the-allwinner-d1\/\" rel=\"noopener noreferrer nofollow\">https:\/\/www.eevblog.com\/forum\/embedded-computing\/risc-v-vector-extension-on-the-allwinner-d1\/<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/github.com\/T-head-Semi\/xuantie-gnu-toolchain\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/T-head-Semi\/xuantie-gnu-toolchain<\/a><\/p>\n<\/li>\n<\/ul>\n<\/div>\n<\/details>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"v-portal\" style=\"display:none;\"><\/div>\n<\/div>\n<p> <!----> <!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/646655\/\"> https:\/\/habr.com\/ru\/post\/646655\/<\/a><br \/><\/br><\/br><\/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-328300","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/328300","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=328300"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/328300\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=328300"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=328300"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=328300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}