{"id":4532,"date":"2023-11-17T10:14:35","date_gmt":"2023-11-17T10:14:35","guid":{"rendered":"https:\/\/www.mixtile.com\/?post_type=ht_kb&#038;p=4532"},"modified":"2026-05-29T09:30:44","modified_gmt":"2026-05-29T09:30:44","slug":"compile-ubuntu-image-from-source-code","status":"publish","type":"ht_kb","link":"https:\/\/www.mixtile.com\/ja\/docs\/compile-ubuntu-image-from-source-code\/","title":{"rendered":"\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304b\u3089Ubuntu\u30a4\u30e1\u30fc\u30b8\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b"},"content":{"rendered":"<div class=\"wp-block-jetpack-markdown\"><p>\u6e96\u5099<\/p>\n<ul>\n<li>An x86 computer running Ubuntu 22.04<\/li>\n<\/ul>\n<h2>Supported Boards<\/h2>\n<p>The current build environment supports these 4 boards:<\/p>\n<ul>\n<li><code>mixtile-blade3<\/code><\/li>\n<li><code>mixtile-core3588e-lp4<\/code><\/li>\n<li><code>mixtile-core3588e-lp5-v2-nano<\/code><\/li>\n<li><code>mixtile-edge2<\/code><\/li>\n<\/ul>\n<h2>\u30b9\u30c6\u30c3\u30d7<\/h2>\n<ol>\n<li>Install the required packages:<\/li>\n<\/ol>\n<pre><code class=\"language-bash\">sudo apt-get install -y build-essential gcc-aarch64-linux-gnu bison \\\n  qemu-user-static qemu-system-arm qemu-efi u-boot-tools binfmt-support \\\n  debootstrap flex libssl-dev bc rsync kmod cpio xz-utils fakeroot parted \\\n  udev dosfstools uuid-runtime git-lfs device-tree-compiler python2 python3 \\\n  python-is-python3 fdisk bc debhelper python3-pyelftools python3-setuptools \\\n  python3-distutils python3-pkg-resources swig libfdt-dev libpython3-dev\n<\/code><\/pre>\n<ol start=\"2\">\n<li>Check out the source and enter the project directory:<\/li>\n<\/ol>\n<pre><code class=\"language-bash\">git clone https:\/\/github.com\/mixtile-rockchip\/mixtile-ubuntu-rockchip.git\ncd mixtile-ubuntu-rockchip\n<\/code><\/pre>\n<ol start=\"3\">\n<li>Build the full image.<\/li>\n<\/ol>\n<p>If the build system uses the board name as the <code>-b<\/code> argument, supported board values are:<\/p>\n<ul>\n<li><code>mixtile-blade3<\/code><\/li>\n<li><code>mixtile-core3588e-lp4<\/code><\/li>\n<li><code>mixtile-core3588e-lp5-v2-nano<\/code><\/li>\n<li><code>mixtile-edge2<\/code><\/li>\n<\/ul>\n<p>\u4f8b<\/p>\n<pre><code class=\"language-bash\">sudo .\/build.sh -b mixtile-blade3 -s noble -f desktop\n<\/code><\/pre>\n<p>Replace <code>mixtile-blade3<\/code> with the target board as needed.<\/p>\n<ol start=\"4\">\n<li>Only build the kernel:<\/li>\n<\/ol>\n<pre><code class=\"language-bash\">sudo .\/build.sh -b mixtile-blade3 -s noble -f desktop -ko\n<\/code><\/pre>\n<ol start=\"5\">\n<li>Only build U-Boot:<\/li>\n<\/ol>\n<pre><code class=\"language-bash\">sudo .\/build.sh -b mixtile-blade3 -s noble -f desktop -uo\n<\/code><\/pre>\n<ol start=\"6\">\n<li>Other build options:<\/li>\n<\/ol>\n<pre><code class=\"language-text\">Usage: .\/build.sh --board=[mixtile-blade3|mixtile-core3588e-lp4|mixtile-core3588e-lp5-v2-nano|mixtile-edge2] --suite=[jammy|noble] --flavor=[server|desktop]\n\nRequired arguments:\n  -b, --board=BOARD      target board\n  -s, --suite=SUITE      ubuntu suite\n  -f, --flavor=FLAVOR    ubuntu flavor\n\nOptional arguments:\n  -h, --help             show this help message and exit\n  -c, --clean            clean the build directory\n  -ko, --kernel-only     only compile the kernel\n  -uo, --uboot-only      only compile uboot\n  -ro, --rootfs-only     only build rootfs\n  -l, --launchpad        use kernel and uboot from launchpad repo\n  -v, --verbose          increase the verbosity of the bash script\n<\/code><\/pre>\n<\/div>\n\n\n\n<p>\u8a73\u3057\u304f\u306f <a href=\"https:\/\/github.com\/mixtile-rockchip\/mixtile-ubuntu-rockchip\/wiki\/Building-Mixtile-Core3588E\">Mixtile ubuntu-rockchip wiki<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>For more information, see Mixtile ubuntu-rockchip wiki.<\/p>","protected":false},"author":1,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"spay_email":""},"ht-kb-category":[203],"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 Ubuntu Image 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-ubuntu-image-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 Ubuntu Image from Source Code | Mixtile\" \/>\n<meta property=\"og:description\" content=\"For more information, see Mixtile ubuntu-rockchip wiki.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.mixtile.com\/ja\/docs\/compile-ubuntu-image-from-source-code\/\" \/>\n<meta property=\"og:site_name\" content=\"Mixtile\" \/>\n<meta property=\"article:modified_time\" content=\"2026-05-29T09:30:44+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=\"1 minute\" \/>\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-ubuntu-image-from-source-code\/#webpage\",\"url\":\"https:\/\/www.mixtile.com\/ja\/docs\/compile-ubuntu-image-from-source-code\/\",\"name\":\"Compile Ubuntu Image from Source Code | Mixtile\",\"isPartOf\":{\"@id\":\"https:\/\/www.mixtile.com\/ja\/#website\"},\"datePublished\":\"2023-11-17T10:14:35+00:00\",\"dateModified\":\"2026-05-29T09:30:44+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.mixtile.com\/ja\/docs\/compile-ubuntu-image-from-source-code\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.mixtile.com\/ja\/docs\/compile-ubuntu-image-from-source-code\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.mixtile.com\/ja\/docs\/compile-ubuntu-image-from-source-code\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.mixtile.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Compile Ubuntu Image from Source Code\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Compile Ubuntu Image 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-ubuntu-image-from-source-code\/","og_locale":"ja_JP","og_type":"article","og_title":"Compile Ubuntu Image from Source Code | Mixtile","og_description":"For more information, see Mixtile ubuntu-rockchip wiki.","og_url":"https:\/\/www.mixtile.com\/ja\/docs\/compile-ubuntu-image-from-source-code\/","og_site_name":"Mixtile","article_modified_time":"2026-05-29T09:30:44+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"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-ubuntu-image-from-source-code\/#webpage","url":"https:\/\/www.mixtile.com\/ja\/docs\/compile-ubuntu-image-from-source-code\/","name":"Compile Ubuntu Image from Source Code | Mixtile","isPartOf":{"@id":"https:\/\/www.mixtile.com\/ja\/#website"},"datePublished":"2023-11-17T10:14:35+00:00","dateModified":"2026-05-29T09:30:44+00:00","breadcrumb":{"@id":"https:\/\/www.mixtile.com\/ja\/docs\/compile-ubuntu-image-from-source-code\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.mixtile.com\/ja\/docs\/compile-ubuntu-image-from-source-code\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.mixtile.com\/ja\/docs\/compile-ubuntu-image-from-source-code\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.mixtile.com\/"},{"@type":"ListItem","position":2,"name":"Compile Ubuntu Image from Source Code"}]}]}},"_links":{"self":[{"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb\/4532"}],"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=4532"}],"version-history":[{"count":5,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb\/4532\/revisions"}],"predecessor-version":[{"id":8048,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb\/4532\/revisions\/8048"}],"wp:attachment":[{"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/media?parent=4532"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb-category?post=4532"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb-tag?post=4532"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}