{"id":3746,"date":"2023-09-06T07:01:57","date_gmt":"2023-09-06T07:01:57","guid":{"rendered":"https:\/\/staging.mixtile.com\/?post_type=ht_kb&#038;p=1386"},"modified":"2024-10-09T07:55:42","modified_gmt":"2024-10-09T07:55:42","slug":"compile-android-11-from-source-code","status":"publish","type":"ht_kb","link":"https:\/\/www.mixtile.com\/ja\/docs\/compile-android-11-from-source-code\/","title":{"rendered":"\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304b\u3089Android 11\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b"},"content":{"rendered":"<p>Google\u306f\u3001Android\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u306bLinux\u306e\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u7248\u3067\u3042\u308bUbuntu\u3092\u4f7f\u3046\u3053\u3068\u3092\u63d0\u6848\u3057\u3066\u3044\u308b\u3002Android\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u306b\u306f\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066Ubuntu PC\u4e0a\u306b\u9069\u5207\u306a\u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/p>\n\n\n\n<h2 id=\"ready-to-compile\">\u30b3\u30f3\u30d1\u30a4\u30eb\u6e96\u5099\u5b8c\u4e86<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/Mixtile-Edge-2-Docs\/mixtile-os\/compile-from-source-code\/#ready-to-compile\"><\/a><\/h2>\n\n\n\n<p>Android\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u306b\u306f\u3001\u9ad8\u5ea6\u306a\u30de\u30b7\u30f3\u69cb\u6210\u304c\u5fc5\u8981\u3060\uff1a<\/p>\n\n\n\n<ul><li>64\u30d3\u30c3\u30c8CPU&nbsp;<em>(\u30b7\u30b9\u30c6\u30e0\u8a2d\u5b9a\u300d\u2192\u300c\u30d0\u30fc\u30b8\u30e7\u30f3\u60c5\u5831\u300d\u2192\u300cxx\u30d3\u30c3\u30c8\u30b7\u30b9\u30c6\u30e0\u300d\u3092\u958b\u3044\u3066\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\uff09<\/em><\/li><li>16GB \u7269\u7406\u30e1\u30e2\u30ea + \u30b9\u30ef\u30c3\u30d7\u30fb\u30e1\u30e2\u30ea&nbsp;<em>(\u30b7\u30b9\u30c6\u30e0\u8a2d\u5b9a\u300d\u2192\u300c\u30d0\u30fc\u30b8\u30e7\u30f3\u60c5\u5831\u300d\u2192\u300cxx\u30e1\u30e2\u30ea\u300d\u3092\u958b\u3044\u3066\u78ba\u8a8d\u3059\u308b\uff09\u3002<\/em><\/li><li>250GB\u306e\u30c7\u30a3\u30b9\u30af\u7a7a\u304d\u5bb9\u91cf&nbsp;<em>(\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u958b\u304d\u3001\"df -h \"\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u3066\u78ba\u8a8d\u3059\u308b)<\/em>&nbsp;\u516c\u5f0f\u306b\u306fUbuntu 18.04\u304c\u63a8\u5968\u3055\u308c\u3066\u3044\u308b\u3002&nbsp;<em>(\u30b7\u30b9\u30c6\u30e0\u8a2d\u5b9a\u300d\u2192\u300c\u30d0\u30fc\u30b8\u30e7\u30f3\u60c5\u5831\u300d\u2192\u300c\u30b7\u30b9\u30c6\u30e0\u30d0\u30fc\u30b8\u30e7\u30f3\u300d\u3092\u958b\u3044\u3066\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\uff09<\/em>&nbsp;\u30b3\u30f3\u30d1\u30a4\u30eb\u74b0\u5883\u306e\u521d\u671f\u5316\u306f\u3001\u4ee5\u4e0b\u3092\u53c2\u7167\u3067\u304d\u308b\u3002&nbsp;<a href=\"http:\/\/source.android.com\/source\/initializing.html\">http:\/\/source.android.com\/source\/initializing.html<\/a>&nbsp;.<\/li><\/ul>\n\n\n\n<h2 id=\"download-source-code\">\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/Mixtile-Edge-2-Docs\/mixtile-os\/compile-from-source-code\/#download-source-code\"><\/a><\/h2>\n\n\n\n<p>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9&nbsp;<strong>\u30a8\u30c3\u30b82 Android SDK<\/strong>&nbsp;\u5727\u7e2e\u3055\u308c\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u89e3\u51cd\u3057\u3001repo-edge2\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u751f\u6210\u3057\u307e\u3059\u3002&nbsp;<strong>\u30a8\u30c3\u30b82 Android SDK<\/strong>&nbsp;\u5727\u7e2e\u30d1\u30c3\u30b1\u30fc\u30b8\u3002\u6ce8\uff1aMixte Edge 2\u3092\u8cfc\u5165\u3055\u308c\u305f\u304a\u5ba2\u69d8\u306b\u306f\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u7528\u306e\u30ea\u30f3\u30af\u304c\u8a18\u8f09\u3055\u308c\u305f\u96fb\u5b50\u30e1\u30fc\u30eb\u304c\u9001\u4fe1\u3055\u308c\u307e\u3059\u3002&nbsp;<strong>\u30a8\u30c3\u30b82 Android SDK<\/strong>&nbsp;\u5727\u7e2e\u3055\u308c\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u3001\u96fb\u5b50\u30e1\u30fc\u30eb\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u5c4a\u304b\u306a\u3044\u5834\u5408\u306f&nbsp;<strong>\u30a8\u30c3\u30b82 Android SDK<\/strong>&nbsp;\u3088\u308a&nbsp;<a href=\"mailto:info@mixtile.com\">info@mixtile.com<\/a>&nbsp;\u6e96\u5099\u5f8c&nbsp;<strong>\u30a8\u30c3\u30b82 Android SDK<\/strong>&nbsp;\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>tar -xzvf mixtile-edge2_android11_sdk.tar.gz\n<\/code><\/pre>\n\n\n\n<p>\u30ab\u30fc\u30cd\u30eb\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30af\u30ed\u30fc\u30f3\u3059\u308b\uff08\u30a8\u30e9\u30fc\u304c\u3042\u308c\u3070\u3001\u3082\u3046\u4e00\u5ea6\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\uff09<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd repo-edge2\ngit clone https:\/\/github.com\/mixtile\/linux.git -b mixtile\/edge2\/android11\/kernel4.19\/pad \u30ab\u30fc\u30cd\u30eb\n<\/code><\/pre>\n\n\n\n<h2 id=\"build-compiler-environment\">\u30b3\u30f3\u30d1\u30a4\u30e9\u74b0\u5883\u306e\u69cb\u7bc9<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/Mixtile-Edge-2-Docs\/mixtile-os\/compile-from-source-code\/#build-compiler-environment\"><\/a><\/h2>\n\n\n\n<p>\u30db\u30b9\u30c8\u74b0\u5883\u306e\u305d\u306e\u4ed6\u306e\u5f71\u97ff\u3092\u53d6\u308a\u9664\u304f\u306b\u306f\u3001docker\u3092\u4f7f\u3046\u3053\u3068\u3092\u63a8\u5968\u3059\u308b\u3002<\/p>\n\n\n\n<h3 id=\"installing-docker-on-ubuntu\">Ubuntu\u306bDocker\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/Mixtile-Edge-2-Docs\/mixtile-os\/compile-from-source-code\/#installing-docker-on-ubuntu\"><\/a><\/h3>\n\n\n\n<h4 id=\"remove-old-docker-if-exist\">\u53e4\u3044\u30c9\u30c3\u30ab\u30fc\u304c\u3042\u308c\u3070\u524a\u9664\u3059\u308b<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/Mixtile-Edge-2-Docs\/mixtile-os\/compile-from-source-code\/#remove-old-docker-if-exist\"><\/a><\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get remove docker docker-engine docker.io containerd runc\n<\/code><\/pre>\n\n\n\n<h4 id=\"install-docker\">\u30c9\u30c3\u30ab\u30fc\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/Mixtile-Edge-2-Docs\/mixtile-os\/compile-from-source-code\/#install-docker\"><\/a><\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get update\nsudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common\ncurl -fsSL https:\/\/download.docker.com\/linux\/ubuntu\/gpg | sudo apt-key add - -.\nsudo apt-key fingerprint 0EBFCD88\nsudo add-apt-repository \"deb [arch=amd64] https:\/\/download.docker.com\/linux\/ubuntu $(lsb_release -cs) stable\" \u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\nsudo apt-get update\nsudo apt-get install docker-ce\n<\/code><\/pre>\n\n\n\n<h4 id=\"test-docker\">\u30c6\u30b9\u30c8\u30fb\u30c9\u30c3\u30ab\u30fc<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/Mixtile-Edge-2-Docs\/mixtile-os\/compile-from-source-code\/#test-docker\"><\/a><\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo docker run hello-world\n<\/code><\/pre>\n\n\n\n<p>\u4ee5\u4e0b\u306f\u3001\u4e0a\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u305f\u7d50\u679c\u3067\u3042\u308b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Unable to find image 'hello-world:latest' locally\nlatest: Pulling from library\/hello-world\n2db29710123e: Pull complete \nDigest: sha256:bfea6278a0a267fad2634554f4f0c6f31981eea41c553fdf5a83e95a41d40c38\nStatus: Downloaded newer image for hello-world:latest\nHello from Docker!\nThis message shows that your installation appears to be working correctly.\nTo generate this message, Docker took the following steps:\n1. The Docker client contacted the Docker daemon.\n2. The Docker daemon pulled the \"hello-world\" image from the Docker Hub.\n  (amd64)\n3. The Docker daemon created a new container from that image which runs the\n  executable that produces the output you are currently reading.\n4. The Docker daemon streamed that output to the Docker client, which sent it\n  to your terminal.\nTo try something more ambitious, you can run an Ubuntu container with:\n$ docker run -it ubuntu bash\nShare images, automate workflows, and more with a free Docker ID:\nhttps:\/\/hub.docker.com\/\nFor more examples and ideas, visit:\nhttps:\/\/docs.docker.com\/get-started\/\n<\/code><\/pre>\n\n\n\n<h2 id=\"download-dockerfile\">Dockerfile\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/Mixtile-Edge-2-Docs\/mixtile-os\/compile-from-source-code\/#download-dockerfile\"><\/a><\/h2>\n\n\n\n<p>\u4ee5\u4e0b\u306eURL\u304b\u3089\u6b63\u3057\u3044Dockerfile\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u3001Dockerfile\u3092\u53c2\u7167\u3057\u3001\u304a\u5ba2\u69d8\u306e\u8981\u4ef6\u306b\u5408\u3046\u3088\u3046\u306b\u4fee\u6b63\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u3061\u3089\u304b\u3089&nbsp;<a href=\"https:\/\/www.mixtile.com\/ja\/app\/uploads\/2022\/04\/Dockerfile.zip\/\"><strong>Dockerfile.zip<\/strong><\/a><\/p>\n\n\n\n<h2 id=\"generate-docker-image\">\u30c9\u30c3\u30ab\u30fc\u30a4\u30e1\u30fc\u30b8\u306e\u751f\u6210<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/Mixtile-Edge-2-Docs\/mixtile-os\/compile-from-source-code\/#generate-docker-image\"><\/a><\/h2>\n\n\n\n<p>\u6b63\u3057\u3044dockerfile\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u3089\u3001\u4ee5\u4e0b\u306e\u624b\u9806\u306b\u5f93\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<ol><li>\u5148\u307b\u3069\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305fDockerfile.zip\u3092\u89e3\u51cd\u3059\u308b\u3002<\/li><li>\u89e3\u51cd\u3057\u305fDockerfile\u30d5\u30a9\u30eb\u30c0\u306b\u5165\u308a\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u3092 \"Dockerfile.txt \"\u304b\u3089 \"Dockerfile \"\u306b\u5909\u66f4\u3059\u308b\u3002<\/li><li>Dockerfile \"\u3068\u540c\u3058\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3067\u4ee5\u4e0b\u306e\u64cd\u4f5c\u3092\u884c\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/li><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo docker build -t edge2_build_env .\n<\/code><\/pre>\n\n\n\n<p>\u751f\u6210\u306b\u6210\u529f\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u60c5\u5831\u304c\u30bf\u30fc\u30df\u30ca\u30eb\u306b\u51fa\u529b\u3055\u308c\u3001\u305d\u308c\u304c\u6700\u5f8c\u306e\u6587\u3068\u306a\u308b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Successfully tagged edge2_build_env:latest\n<\/code><\/pre>\n\n\n\n<h2 id=\"boot-compile-environment\">\u30d6\u30fc\u30c8\u30fb\u30b3\u30f3\u30d1\u30a4\u30eb\u74b0\u5883<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/Mixtile-Edge-2-Docs\/mixtile-os\/compile-from-source-code\/#boot-compile-environment\"><\/a><\/h2>\n\n\n\n<h3 id=\"create-scrpit\">\u30b9\u30af\u30e9\u30e0\u3092\u7d44\u3080<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/Mixtile-Edge-2-Docs\/mixtile-os\/compile-from-source-code\/#create-scrpit\"><\/a><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>touch edge2-build.sh\nchmod +x edge2-build.sh\n<\/code><\/pre>\n\n\n\n<p>(edge2-build.sh\u306f\u4efb\u610f\u306e\u30d5\u30a9\u30eb\u30c0\u306b\u4f5c\u6210\u3067\u304d\u307e\u3059)<\/p>\n\n\n\n<p>\u3053\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u53c2\u7167\u3067\u304d\u308b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#!\/bin\/bash\nexport ANDROID_BUILD_TOP=\/home\/userx\/xxx\/repo-edge2\nsudo docker run -it --rm -v $ANDROID_BUILD_TOP:\/build edge2_build_env:latest\n<\/code><\/pre>\n\n\n\n<p>\u6ce8\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ANDROID_BUILD_TOP: absolute path of local source code\n\/build: absolute path of source code in docker environment\nedge2_build_env:latest: docker image for build aosp\n<\/code><\/pre>\n\n\n\n<h3 id=\"boot-script\">\u30d6\u30fc\u30c8\u30b9\u30af\u30ea\u30d7\u30c8<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/Mixtile-Edge-2-Docs\/mixtile-os\/compile-from-source-code\/#boot-script\"><\/a><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>.\/edge2-build.sh\n<\/code><\/pre>\n\n\n\n<p>\u30b9\u30af\u30ea\u30d7\u30c8\u5b9f\u884c\u5f8c\u306e\u7aef\u672b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>root@c9fa6274dd9f:\/#\nroot@c9fa6274dd9f:\/# cd build\/\nroot@c9fa6274dd9f:\/build# ls -l\ntotal 172\nlrwxrwxrwx 1 1000 1000 19 Dec 7 08:14 Android.bp -&gt; build\/soong\/root.bp\n-r--r--r-- 1 1000 1000 92 Dec 7 08:14 Makefile\ndrwxr-xr-x 4 1000 1000 4096 Dec 7 08:14 RKDocs\ndrwxr-xr-x 5 1000 1000 4096 Dec 7 08:14 RKTools\ndrwxr-xr-x 35 1000 1000 4096 Dec 7 08:14 art\ndrwxr-xr-x 15 1000 1000 4096 Dec 7 08:14 bionic\ndrwxr-xr-x 3 1000 1000 4096 Dec 7 08:14 bootable\nlrwxrwxrwx 1 1000 1000 26 Dec 7 08:14 bootstrap.bash -&gt; build\/soong\/bootstrap.bash\ndrwxr-xr-x 5 1000 1000 4096 Dec 7 08:14 build\nlrwxrwxrwx 1 1000 1000 46 Dec 7 08:15 build.sh -&gt; device\/rockchip\/common\/build\/rockchip\/build.sh\ndrwxr-xr-x 3 1000 1000 4096 Dec 7 08:14 compatibility\ndrwxr-xr-x 14 1000 1000 4096 Dec 7 08:14 cts\ndrwxr-xr-x 8 1000 1000 4096 Dec 7 08:15 dalvik\ndrwxr-xr-x 5 1000 1000 4096 Dec 7 08:15 developers\ndrwxr-xr-x 21 1000 1000 4096 Dec 7 08:15 development\ndrwxr-xr-x 8 1000 1000 4096 Dec 7 08:15 device\ndrwxr-xr-x 322 1000 1000 12288 Dec 7 08:17 external\ndrwxr-xr-x 16 1000 1000 4096 Dec 7 08:25 frameworks\ndrwxr-xr-x 13 1000 1000 4096 Dec 7 08:18 hardware\n-r--r--r-- 1 1000 1000 162 Dec 7 08:15 javaenv.sh\ndrwxr-xr-x 20 1000 1000 4096 Dec 7 08:18 libcore\ndrwxr-xr-x 8 1000 1000 4096 Dec 7 08:18 libnativehelper\ndrwxr-xr-x 11 1000 1000 4096 Dec 7 08:18 mkcombinedroot\n-r-xr-xr-x 1 1000 1000 9093 Dec 7 08:15 mkimage.sh\n-rwxrwxr-x 1 1000 1000 10503 Feb 18 08:55 mkimage_ab.sh\ndrwxr-xr-x 9 1000 1000 4096 Dec 7 08:19 packages\ndrwxr-xr-x 6 1000 1000 4096 Dec 7 08:19 pdk\ndrwxr-xr-x 10 1000 1000 4096 Dec 7 08:19 platform_testing\ndrwxr-xr-x 33 1000 1000 4096 Dec 7 08:25 prebuilts\n-r-xr-xr-x 1 1000 1000 519 Dec 7 08:25 restore_patches.sh\ndrwxr-xr-x 9 1000 1000 4096 Mar 29 06:57 rkbin\ndrwxr-xr-x 5 1000 1000 4096 Dec 7 08:25 rkst\ndrwxr-xr-x 24 1000 1000 4096 Dec 7 08:25 sdk\ndrwxr-xr-x 44 1000 1000 4096 Jan 19 06:56 system\ndrwxr-xr-x 10 1000 1000 4096 Dec 7 08:25 test\ndrwxr-xr-x 4 1000 1000 4096 Dec 7 08:25 toolchain\ndrwxr-xr-x 23 1000 1000 4096 Dec 7 08:26 tools\ndrwxr-xr-x 29 1000 1000 4096 Mar 29 07:02 u-boot\ndrwxr-xr-x 7 1000 1000 4096 Dec 14 03:20 vendor\n<\/code><\/pre>\n\n\n\n<h2 id=\"compile\">\u30b3\u30f3\u30d1\u30a4\u30eb<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/Mixtile-Edge-2-Docs\/mixtile-os\/compile-from-source-code\/#compile\"><\/a><\/h2>\n\n\n\n<h3 id=\"compile-unified-firmware\">\u30e6\u30cb\u30d5\u30a1\u30a4\u30c9\u30fb\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u306e\u30b3\u30f3\u30d1\u30a4\u30eb<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/Mixtile-Edge-2-Docs\/mixtile-os\/compile-from-source-code\/#compile-unified-firmware\"><\/a><\/h3>\n\n\n\n<p>\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u8d77\u52d5\u3059\u308b\u3068\u3001docker\u74b0\u5883\u4e0a\u306e\/build\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306bsdk\u304c\u5c55\u958b\u3055\u308c\u308b\u3002<\/p>\n\n\n\n<p>\u6ce8\u610f\uff1a\u4ee5\u4e0b\u306e\u3088\u3046\u306b \"lunch mixtile_edge2-userdebug \"\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u30015\u5206\u4ee5\u4e0a\u304b\u304b\u308a\u307e\u3059\u306e\u3067\u3001\u6c17\u9577\u306b\u5f85\u3064\u3088\u3046\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>source build\/envsetup.sh\nlunch mixtile_edge2-userdebug\n.\/build.sh -CKAUBuo\n<\/code><\/pre>\n\n\n\n<p>sdk\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u306b\u306f\u9577\u3044\u5f85\u3061\u6642\u9593\u304c\u5fc5\u8981\u3067\u3059\u304c\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u306b\u6210\u529f\u3059\u308b\u3068\u3001rockdev\/Image-mixtile_edge2\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u8907\u6570\u306e\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u306e\u540d\u524d\u306fimage-release-ota-unknown.zip\u3001image-release-unknown.img\u3068\u306a\u308b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd rockdev\/Image-mixtile_edge2\nls -l\n<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>baseparameter.img\nboot-debug.img\nboot.img\nconfig.cfg\ndtbo.img\nimage-release-mixtile_edge2-v1.0.7.img\nimage-release-ota-mixtile_edge2-v1.0.7.zip\nMiniLoaderAll.bin\nmisc.img\nparameter.txt\npcba_small_misc.img\npcba_whole_misc.img\nresource.img\nsuper.img\nuboot.img\nvbmeta.img\n<\/code><\/pre>\n\n\n\n<h4 id=\"image-description\">\u753b\u50cf\u8aac\u660e<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/Mixtile-Edge-2-Docs\/mixtile-os\/compile-from-source-code\/#image-description\"><\/a><\/h4>\n\n\n\n<p>image-release-mixtile_edge2-v1.0.7.img\u306f\u7d71\u4e00\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u3067\u3059\u3002\u3053\u306e\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u306fRKDevTool\u3067\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3059\u308b\u304b\u3001Rockchip Create Upgrade Disk Tool\u3067sd\u30ab\u30fc\u30c9\u3092\u4f5c\u6210\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>image-release-\uff1a\u56fa\u5b9a\u30d5\u30a3\u30fc\u30eb\u30c9\u3001\u610f\u5473\u306a\u3057\nmixtile_edge2: \u88fd\u54c1\u540d\nv1.0.7: \u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\n<\/code><\/pre>\n\n\n\n<p>image-release-ota-mixtile_edge2-v1.0.7.zip\u306f\u30ed\u30fc\u30ab\u30eb\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u3001\u3053\u306e\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u3092\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u305f\u5f8c\u3001\u3059\u3079\u3066\u306e\u30e6\u30fc\u30b6\u30fc\u30c7\u30fc\u30bf\u306f\u5931\u308f\u308c\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h3 id=\"compile-u-boot\">u-boot\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/Mixtile-Edge-2-Docs\/mixtile-os\/compile-from-source-code\/#compile-u-boot\"><\/a><\/h3>\n\n\n\n<p>u-boot\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304c\u30b3\u30f3\u30d1\u30a4\u30eb\u3055\u308c\u308b\u3068\u3001uboot.img\u304c\u30d1\u30c3\u30b1\u30fc\u30b8\u5316\u3055\u308c\u751f\u6210\u3055\u308c\u308b\u3002u-boot\u3092\u500b\u5225\u306b\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u306b\u306f\u30012\u3064\u306e\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002\u65b9\u6cd51 u-boot\u306e\u30bd\u30fc\u30b9\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u5165\u308a\u3001u-boot\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>.\/make.sh mixtile-edge2\n<\/code><\/pre>\n\n\n\n<p>\u65b9\u6cd52 sdk\u30bd\u30fc\u30b9\u30fb\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u5165\u308a\u3001u-boot\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>source build\/envsetup.sh\nlunch mixtile_edge2-userdebug\n.\/build.sh -U\n<\/code><\/pre>\n\n\n\n<p>\u30b3\u30f3\u30d1\u30a4\u30eb\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001u-boot\u306e\u30bd\u30fc\u30b9\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u5165\u308a\u3001uboot.img\u3092\u63a2\u3057\u307e\u3059\u3002uboot.img\u306f\u3001\u66f8\u304d\u8fbc\u307f\u30c4\u30fc\u30eb\u3067Edge 2\u306b\u5358\u72ec\u3067\u66f8\u304d\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4ee5\u4e0b\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u00a0<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/installing-an-operating-system-on-mixtile-edge2-kit\/\"><a href=\"https:\/\/www.mixtile.com\/ja\/docs\/installing-an-operating-system-on-mixtile-edge2-kit\/\">Mixtile Edge 2\u30ad\u30c3\u30c8\u3078\u306e\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/a><\/a>\u00a0\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h3 id=\"compile-kernel\">\u30ab\u30fc\u30cd\u30eb\u306e\u30b3\u30f3\u30d1\u30a4\u30eb<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/Mixtile-Edge-2-Docs\/mixtile-os\/compile-from-source-code\/#compile-kernel\"><\/a><\/h3>\n\n\n\n<p>\u30ab\u30fc\u30cd\u30eb\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304c\u30b3\u30f3\u30d1\u30a4\u30eb\u3055\u308c\u3066kenrel.img\u3068resource.img\u304c\u751f\u6210\u3055\u308c\u3001\u6700\u7d42\u7684\u306bAndroid\u306b\u3088\u3063\u3066boot.img\u3068\u3057\u3066\u30b3\u30f3\u30d1\u30a4\u30eb\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u5316\u3055\u308c\u308b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>source build\/envsetup.sh\nlunch mixtile_edge2-userdebug\n.\/build.sh -CKA\n<\/code><\/pre>\n\n\n\n<p>\u30b3\u30f3\u30d1\u30a4\u30eb\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001out\/target\/product\/mixtile-edge2\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u5165\u308b\u3068\u3001boot.img\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u3053\u308c\u3092\u5225\u9014\u66f8\u304d\u8fbc\u307f\u30c4\u30fc\u30eb\u3067Edge 2\u30de\u30b6\u30fc\u30dc\u30fc\u30c9\u306b\u66f8\u304d\u8fbc\u307f\u307e\u3059\u3002\u8a73\u7d30\u306f\u00a0<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/installing-an-operating-system-on-mixtile-edge2-kit\/\"><a href=\"https:\/\/www.mixtile.com\/ja\/docs\/installing-an-operating-system-on-mixtile-edge2-kit\/\">Mixtile Edge 2\u30ad\u30c3\u30c8\u3078\u306e\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/a><\/a>.<\/p>\n\n\n\n<h3 id=\"compile-android\">\u30a2\u30f3\u30c9\u30ed\u30a4\u30c9\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/Mixtile-Edge-2-Docs\/mixtile-os\/compile-from-source-code\/#compile-android\"><\/a><\/h3>\n\n\n\n<p>Android\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304c\u30b3\u30f3\u30d1\u30a4\u30eb\u3055\u308c\u308b\u3068\u3001\u6700\u5f8c\u306bsuper.img\u304c\u751f\u6210\u3055\u308c\u308b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>source build\/envsetup.sh\nlunch mixtile_edge2-userdebug\n.\/build.sh -A\n<\/code><\/pre>\n\n\n\n<p>\u30b3\u30f3\u30d1\u30a4\u30eb\u5b8c\u4e86\u5f8c\u3001super.img\u306fout\/target\/product\/mixtile-edge2\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u5225\u9014\u3001\u66f8\u304d\u8fbc\u307f\u30c4\u30fc\u30eb\u3092\u4f7f\u3063\u3066Edge 2\u30de\u30b6\u30fc\u30dc\u30fc\u30c9\u306b\u66f8\u304d\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u8a73\u7d30\u306f\u00a0<a href=\"https:\/\/www.mixtile.com\/ja\/docs\/installing-an-operating-system-on-mixtile-edge2-kit\/\"><a href=\"https:\/\/www.mixtile.com\/ja\/docs\/installing-an-operating-system-on-mixtile-edge2-kit\/\">Mixtile Edge 2\u30ad\u30c3\u30c8\u3078\u306e\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/a><\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Google suggests using Ubuntu, the distribution version of Linux, to compile Android firmware. To compile Android firmware, you need to build a suitable environment on Ubuntu PC as required. Ready to Compile Compiling Android requires high machine configuration: 64-bit CPU&nbsp;(Open System Setting \u2013&gt; About \u2013&gt; xx-bit system to check this) 16GB physical memory + swap [&#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 Android 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-android-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 Android 11 From Source Code | Mixtile\" \/>\n<meta property=\"og:description\" content=\"Google suggests using Ubuntu, the distribution version of Linux, to compile Android firmware. To compile Android firmware, you need to build a suitable environment on Ubuntu PC as required. Ready to Compile Compiling Android requires high machine configuration: 64-bit CPU&nbsp;(Open System Setting \u2013&gt; About \u2013&gt; xx-bit system to check this) 16GB physical memory + swap [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.mixtile.com\/ja\/docs\/compile-android-11-from-source-code\/\" \/>\n<meta property=\"og:site_name\" content=\"Mixtile\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-09T07:55:42+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=\"7 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-android-11-from-source-code\/#webpage\",\"url\":\"https:\/\/www.mixtile.com\/ja\/docs\/compile-android-11-from-source-code\/\",\"name\":\"Compile Android 11 From Source Code | Mixtile\",\"isPartOf\":{\"@id\":\"https:\/\/www.mixtile.com\/ja\/#website\"},\"datePublished\":\"2023-09-06T07:01:57+00:00\",\"dateModified\":\"2024-10-09T07:55:42+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.mixtile.com\/ja\/docs\/compile-android-11-from-source-code\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.mixtile.com\/ja\/docs\/compile-android-11-from-source-code\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.mixtile.com\/ja\/docs\/compile-android-11-from-source-code\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.mixtile.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Compile Android 11 From Source Code\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Compile Android 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-android-11-from-source-code\/","og_locale":"ja_JP","og_type":"article","og_title":"Compile Android 11 From Source Code | Mixtile","og_description":"Google suggests using Ubuntu, the distribution version of Linux, to compile Android firmware. To compile Android firmware, you need to build a suitable environment on Ubuntu PC as required. Ready to Compile Compiling Android requires high machine configuration: 64-bit CPU&nbsp;(Open System Setting \u2013&gt; About \u2013&gt; xx-bit system to check this) 16GB physical memory + swap [...]","og_url":"https:\/\/www.mixtile.com\/ja\/docs\/compile-android-11-from-source-code\/","og_site_name":"Mixtile","article_modified_time":"2024-10-09T07:55:42+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"7 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-android-11-from-source-code\/#webpage","url":"https:\/\/www.mixtile.com\/ja\/docs\/compile-android-11-from-source-code\/","name":"Compile Android 11 From Source Code | Mixtile","isPartOf":{"@id":"https:\/\/www.mixtile.com\/ja\/#website"},"datePublished":"2023-09-06T07:01:57+00:00","dateModified":"2024-10-09T07:55:42+00:00","breadcrumb":{"@id":"https:\/\/www.mixtile.com\/ja\/docs\/compile-android-11-from-source-code\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.mixtile.com\/ja\/docs\/compile-android-11-from-source-code\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.mixtile.com\/ja\/docs\/compile-android-11-from-source-code\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.mixtile.com\/"},{"@type":"ListItem","position":2,"name":"Compile Android 11 From Source Code"}]}]}},"_links":{"self":[{"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb\/3746"}],"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=3746"}],"version-history":[{"count":7,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb\/3746\/revisions"}],"predecessor-version":[{"id":7071,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb\/3746\/revisions\/7071"}],"wp:attachment":[{"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/media?parent=3746"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb-category?post=3746"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb-tag?post=3746"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}