{"id":3749,"date":"2023-09-06T07:21:26","date_gmt":"2023-09-06T07:21:26","guid":{"rendered":"https:\/\/staging.mixtile.com\/?post_type=ht_kb&#038;p=1392"},"modified":"2024-10-09T07:56:55","modified_gmt":"2024-10-09T07:56:55","slug":"compile-debian-11-from-source-code","status":"publish","type":"ht_kb","link":"https:\/\/www.mixtile.com\/ja\/docs\/compile-debian-11-from-source-code\/","title":{"rendered":"\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304b\u3089 Debian 11 \u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b"},"content":{"rendered":"<h2 id=\"compile-debian-10-from-source-code\">\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304b\u3089 Debian 11 \u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/Mixtile-Edge-2-Docs\/mixtile-os\/compile-debian-system\/#compile-debian-10-from-source-code\"><\/a><\/h2>\n\n\n\n<p>Debian\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u306b\u306f\u3001Linux\u306e\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u7248\u3067\u3042\u308bUbuntu\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u63a8\u5968\u3055\u308c\u308b\u3002Debian\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u305f\u3081\u306b\u306f\u3001Ubuntu PC\u4e0a\u3067\u5fc5\u8981\u306a\u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 id=\"preparation-to-compile\">1.\u30b3\u30f3\u30d1\u30a4\u30eb\u306e\u6e96\u5099<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/Mixtile-Edge-2-Docs\/mixtile-os\/compile-debian-system\/#preparation-to-compile\"><\/a><\/h3>\n\n\n\n<p>\u63a8\u5968\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u69cb\u6210\u306f\u4ee5\u4e0b\u306e\u901a\u308a\uff1a<\/p>\n\n\n\n<p>64\u30d3\u30c3\u30c8CPU\uff08\u30b7\u30b9\u30c6\u30e0\u8a2d\u5b9a\u2192\u30d0\u30fc\u30b8\u30e7\u30f3\u60c5\u5831\u2192xx\u30d3\u30c3\u30c8\u30b7\u30b9\u30c6\u30e0\u3092\u958b\u3044\u3066\u78ba\u8a8d\u3059\u308b\uff09<\/p>\n\n\n\n<p>16GB\u7269\u7406\u30e1\u30e2\u30ea\uff0b\u30b9\u30ef\u30c3\u30d7\u30e1\u30e2\u30ea\uff08\u30b7\u30b9\u30c6\u30e0\u8a2d\u5b9a\u2192\u30d0\u30fc\u30b8\u30e7\u30f3\u60c5\u5831\u2192xx\u30e1\u30e2\u30ea\u3092\u958b\u3044\u3066\u78ba\u8a8d\u3059\u308b\uff09<\/p>\n\n\n\n<p>250GB\u306e\u30c7\u30a3\u30b9\u30af\u7a7a\u304d\u5bb9\u91cf\uff08\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u958b\u304d\u3001\"df -h \"\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u3066\u78ba\u8a8d\u3059\u308b\uff09 \u516c\u5f0f\u306b\u63a8\u5968\u3055\u308c\u3066\u3044\u308b\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u306fUbuntu 20.04\u3067\u3059\u3002(\u30b7\u30b9\u30c6\u30e0\u8a2d\u5b9a -&gt; \u30d0\u30fc\u30b8\u30e7\u30f3\u60c5\u5831 -&gt; \u30b7\u30b9\u30c6\u30e0\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u958b\u3044\u3066\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044)<\/p>\n\n\n\n<h3 id=\"2-checkout-code\">2.\u30c1\u30a7\u30c3\u30af\u30a2\u30a6\u30c8\u30b3\u30fc\u30c9<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>git clone https:\/\/github.com\/mixtile-rockchip\/build.git\ncd \u30d3\u30eb\u30c9<\/code><\/pre>\n\n\n\n<h3 id=\"3-checkout-lfs\">3.LFS\u306e\u30c1\u30a7\u30c3\u30af\u30a2\u30a6\u30c8<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>git lfs fetch &amp;&amp; git lfs checkout<\/code><\/pre>\n\n\n\n<h3 id=\"4-install-dependencies\">4.\u4f9d\u5b58\u95a2\u4fc2\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>  sudo apt-get update &amp;&amp; sudo apt-get upgrade -y\n  sudo apt-get install -y git ssh make gcc libssl-dev  \\\n  liblz4-tool expect g++ patchelf chrpath gawk texinfo \u0b67-\u0348\u1d17-\u0348)\u25de\u02b1\u02b1\n  chrpath diffstat software-properties-common bison flex \u0b67-\u0348\u1d17-\u0348)\u25de\u02b1\u02b1\n  fakeroot cmake gcc-multilib g++-multilib unzip device-tree-compiler  \\\n  libncurses-dev python3-pip python3-pyelftools bc make build-essential  \\\n  libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl \u0b67-\u0348\u1d17-\u0348)\u25de\u02b1\u02b1\n  llvm libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev \u0b67-\u0348\u1d17-\u0348.\n  liblzma-dev uuid-dev lzma-dev liblzma-dev libbluetooth-dev python-parted-doc \u0b67-\u0348\u1d17-\u0348.\n  u-boot-tools sudo time rsync libmpc-dev bsdmainutils python2 xz-utils<\/code><\/pre>\n\n\n\n<h3 id=\"5-install-ppa-dependencies\">5.PPA\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get update &amp;&amp; sudo apt-get install -y binfmt-support qemu-user-static live-build<\/code><\/pre>\n\n\n\n<h3 id=\"6-install-debian_prepare\">6.debian_prepare \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>  sudo cp debian-rk3588.tar.gz \/opt\/ &amp;&amp; sudo tar -xvf debian-rk3588.tar.gz -C \/opt\/ &amp;&amp; \\\n  sudo apt-get update &amp;&amp; sudo apt-get install -y xxd &amp;&amp; \\\n  sudo chmod a+x debian_prepare.sh &amp;&amp; sudo .\/debian_prepare.sh<\/code><\/pre>\n\n\n\n<h3 id=\"7-install-repo\">7.\u30ec\u30dd\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>  mkdir -p ~\/.bin &amp;&amp; \\\n  sudo curl https:\/\/storage.googleapis.com\/git-repo-downloads\/repo -o ~\/.bin\/repo &amp;&amp; \\\n  sudo cp ~\/.bin\/repo \/usr\/bin\/repo &amp;&amp; sudo chmod a+x \/usr\/bin\/repo<\/code><\/pre>\n\n\n\n<h3 id=\"8-download-code\">8.\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30b3\u30fc\u30c9<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>  repo init -u https:\/\/github.com\/mixtile-rockchip\/manifests.git -b master -m mixtile_edge2_release.xml &amp;&amp; \\\n  \u30ea\u30dd\u30b8\u30c8\u30ea\u540c\u671f<\/code><\/pre>\n\n\n\n<h3 id=\"9-build-image\">9.\u30d3\u30eb\u30c9\u30a4\u30e1\u30fc\u30b8<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>  echo '19' &gt;&gt; input.txt &amp;&amp; \\\n  echo '8' &gt;&gt; input.txt &amp;&amp; \\\n  sudo .\/build.sh chip &lt; input.txt &amp;&amp; sudo rm input.txt &amp;&amp; \\\n  sudo .\/build.sh all<\/code><\/pre>\n\n\n\n<h3 id=\"10-build-output\">10.\u30d3\u30eb\u30c9\u51fa\u529b<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea: output\/update\/Image\n.\n\u251c\u2500\u2500 boot.img -&gt; ..\/..\/..\/kernel\/boot.img\n\u251c\u2500\u2500 MiniLoaderAll.bin -&gt; ..\/..\/..\/u-boot\/rk356x_spl_loader_v1.18.112.bin\n\u251c\u2500\u2500 oem.img -&gt; ..\/..\/firmware\/oem.img\n\u251c\u2500\u2500 \u30d1\u30c3\u30b1\u30fc\u30b8\u30d5\u30a1\u30a4\u30eb\n\u251c\u2500\u2500 parameter.txt -&gt; ..\/..\/..\/device\/rockchip\/.chips\/rk3566_rk3568\/parameter-buildroot-fit.txt\n\u251c\u2500\u2500 recovery.img -&gt; ..\/..\/recovery\/ramboot.img\n\u251c\u2500\u2500 rootfs.img -&gt; ..\/..\/..\/debian\/linaro-rootfs.img\n\u251c\u2500\u2500 uboot.img -&gt; ..\/..\/..\/u-boot\/uboot.img\n\u251c\u2500\u2500 update.img\n\u251c\u2500\u2500 update.raw.img\n\u2514\u2500\u2500 userdata.img -&gt; ..\/..\/firmware\/userdata.img<\/code><\/pre>\n\n\n\n<p>update.img\u306frockchip\u5f62\u5f0f\u306e\u30a4\u30e1\u30fc\u30b8\u3067\u3059\u3002<\/p>\n\n\n\n<p>update.raw.img\u306fraw\u5f62\u5f0f\u306e\u30a4\u30e1\u30fc\u30b8\u3067\u3059\u3002<\/p>\n\n\n\n<h3 id=\"11-upgrade-firmware\">11.\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u306e\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9<\/h3>\n\n\n\n<p><a href=\"https:\/\/www.mixtile.com\/ja\/docs\/installing-an-operating-system-on-mixtile-edge2-kit\/\">\u3053\u3061\u3089\u3092\u53c2\u7167<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>Compile Debian 11 From Source Code It is suggested to use Ubuntu, the distribution version of Linux, to compile Debian firmware. To compile Debian firmware, you need to build a suitable environment on Ubuntu PC as required. 1. Preparation to Compile Recommended computer configuration as below: 64-bit CPU (Open System Setting \u2013&gt; About \u2013&gt; xx-bit [&#8230;]","protected":false},"author":1,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"spay_email":""},"ht-kb-category":[199],"ht-kb-tag":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Compile Debian 11 From Source Code | Mixtile<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.mixtile.com\/ja\/docs\/compile-debian-11-from-source-code\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Compile Debian 11 From Source Code | Mixtile\" \/>\n<meta property=\"og:description\" content=\"Compile Debian 11 From Source Code It is suggested to use Ubuntu, the distribution version of Linux, to compile Debian firmware. To compile Debian firmware, you need to build a suitable environment on Ubuntu PC as required. 1. Preparation to Compile Recommended computer configuration as below: 64-bit CPU (Open System Setting \u2013&gt; About \u2013&gt; xx-bit [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.mixtile.com\/ja\/docs\/compile-debian-11-from-source-code\/\" \/>\n<meta property=\"og:site_name\" content=\"Mixtile\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-09T07:56:55+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.mixtile.com\/ja\/#organization\",\"name\":\"Mixtile Limited\",\"url\":\"https:\/\/www.mixtile.com\/ja\/\",\"sameAs\":[],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.mixtile.com\/ja\/#logo\",\"inLanguage\":\"ja\",\"url\":\"https:\/\/dh19rycdk230a.cloudfront.net\/app\/uploads\/2022\/02\/logo.svg\",\"contentUrl\":\"https:\/\/dh19rycdk230a.cloudfront.net\/app\/uploads\/2022\/02\/logo.svg\",\"caption\":\"Mixtile Limited\"},\"image\":{\"@id\":\"https:\/\/www.mixtile.com\/ja\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.mixtile.com\/ja\/#website\",\"url\":\"https:\/\/www.mixtile.com\/ja\/\",\"name\":\"Mixtile\",\"description\":\"Hardware for IoT Solutions\",\"publisher\":{\"@id\":\"https:\/\/www.mixtile.com\/ja\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.mixtile.com\/ja\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.mixtile.com\/ja\/docs\/compile-debian-11-from-source-code\/#webpage\",\"url\":\"https:\/\/www.mixtile.com\/ja\/docs\/compile-debian-11-from-source-code\/\",\"name\":\"Compile Debian 11 From Source Code | Mixtile\",\"isPartOf\":{\"@id\":\"https:\/\/www.mixtile.com\/ja\/#website\"},\"datePublished\":\"2023-09-06T07:21:26+00:00\",\"dateModified\":\"2024-10-09T07:56:55+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.mixtile.com\/ja\/docs\/compile-debian-11-from-source-code\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.mixtile.com\/ja\/docs\/compile-debian-11-from-source-code\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.mixtile.com\/ja\/docs\/compile-debian-11-from-source-code\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.mixtile.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Compile Debian 11 From Source Code\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Compile Debian 11 From Source Code | Mixtile","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.mixtile.com\/ja\/docs\/compile-debian-11-from-source-code\/","og_locale":"ja_JP","og_type":"article","og_title":"Compile Debian 11 From Source Code | Mixtile","og_description":"Compile Debian 11 From Source Code It is suggested to use Ubuntu, the distribution version of Linux, to compile Debian firmware. To compile Debian firmware, you need to build a suitable environment on Ubuntu PC as required. 1. Preparation to Compile Recommended computer configuration as below: 64-bit CPU (Open System Setting \u2013&gt; About \u2013&gt; xx-bit [...]","og_url":"https:\/\/www.mixtile.com\/ja\/docs\/compile-debian-11-from-source-code\/","og_site_name":"Mixtile","article_modified_time":"2024-10-09T07:56:55+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/www.mixtile.com\/ja\/#organization","name":"Mixtile Limited","url":"https:\/\/www.mixtile.com\/ja\/","sameAs":[],"logo":{"@type":"ImageObject","@id":"https:\/\/www.mixtile.com\/ja\/#logo","inLanguage":"ja","url":"https:\/\/dh19rycdk230a.cloudfront.net\/app\/uploads\/2022\/02\/logo.svg","contentUrl":"https:\/\/dh19rycdk230a.cloudfront.net\/app\/uploads\/2022\/02\/logo.svg","caption":"Mixtile Limited"},"image":{"@id":"https:\/\/www.mixtile.com\/ja\/#logo"}},{"@type":"WebSite","@id":"https:\/\/www.mixtile.com\/ja\/#website","url":"https:\/\/www.mixtile.com\/ja\/","name":"Mixtile","description":"Hardware for IoT Solutions","publisher":{"@id":"https:\/\/www.mixtile.com\/ja\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.mixtile.com\/ja\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.mixtile.com\/ja\/docs\/compile-debian-11-from-source-code\/#webpage","url":"https:\/\/www.mixtile.com\/ja\/docs\/compile-debian-11-from-source-code\/","name":"Compile Debian 11 From Source Code | Mixtile","isPartOf":{"@id":"https:\/\/www.mixtile.com\/ja\/#website"},"datePublished":"2023-09-06T07:21:26+00:00","dateModified":"2024-10-09T07:56:55+00:00","breadcrumb":{"@id":"https:\/\/www.mixtile.com\/ja\/docs\/compile-debian-11-from-source-code\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.mixtile.com\/ja\/docs\/compile-debian-11-from-source-code\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.mixtile.com\/ja\/docs\/compile-debian-11-from-source-code\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.mixtile.com\/"},{"@type":"ListItem","position":2,"name":"Compile Debian 11 From Source Code"}]}]}},"_links":{"self":[{"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb\/3749"}],"collection":[{"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/comments?post=3749"}],"version-history":[{"count":5,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb\/3749\/revisions"}],"predecessor-version":[{"id":7072,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb\/3749\/revisions\/7072"}],"wp:attachment":[{"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/media?parent=3749"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb-category?post=3749"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb-tag?post=3749"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}