{"id":5416,"date":"2024-02-01T08:57:58","date_gmt":"2024-02-01T08:57:58","guid":{"rendered":"https:\/\/www.mixtile.com\/?post_type=ht_kb&#038;p=5416"},"modified":"2024-10-08T08:48:28","modified_gmt":"2024-10-08T08:48:28","slug":"compile-ubuntu-image-from-source-code-2","status":"publish","type":"ht_kb","link":"https:\/\/www.mixtile.com\/ja\/docs\/compile-ubuntu-image-from-source-code-2\/","title":{"rendered":"\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304b\u3089Ubuntu\u30a4\u30e1\u30fc\u30b8\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b"},"content":{"rendered":"<h2 id=\"preparations\">\u6e96\u5099<\/h2>\n\n\n\n<p>A x86 computer which runs Ubuntu 22.04<\/p>\n\n\n\n<h2 id=\"steps\">\u30b9\u30c6\u30c3\u30d7<\/h2>\n\n\n\n<p id=\"steps\">1. install the below packages:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get install -y build-essential gcc-aarch64-linux-gnu bison \\\nqemu-user-static qemu-system-arm qemu-efi u-boot-tools binfmt-support \\\ndebootstrap flex libssl-dev bc rsync kmod cpio xz-utils fakeroot parted \\\nudev dosfstools uuid-runtime git-lfs device-tree-compiler python2 python3 \\\npython-is-python3 fdisk bc debhelper python3-pyelftools python3-setuptools \\\npython3-distutils python3-pkg-resources swig libfdt-dev libpython3-dev\n<\/code><\/pre>\n\n\n\n<p>2. To checkout the source and build:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>git clone https:\/\/github.com\/mixtile-rockchip\/ubuntu-rockchip.git\ncd ubuntu-rockchip\n<\/code><\/pre>\n\n\n\n<p>3. All Build<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo .\/build.sh -b mixtile-blade3 -s noble -f desktop<\/code><\/pre>\n\n\n\n<p>4. If you only want to compile kernel and uboot, you can use the following command<\/p>\n\n\n\n<p>Only build kernel<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo .\/build.sh -b mixtile-blade3 -s noble -f desktop -ko<\/code><\/pre>\n\n\n\n<p>5. Only build uboot<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo .\/build.sh -b mixtile-blade3 -s noble -f desktop -uo<\/code><\/pre>\n\n\n\n<p>6. Other build options<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><code>Usage: .\/build.sh --board=&#91;mixtile-blade3] --suite=&#91;jammy|noble] --flavor=&#91;server|desktop]<\/code>\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<\/code><\/pre>","protected":false},"excerpt":{"rendered":"<p>Preparations A x86 computer which runs Ubuntu 22.04 Steps 1. install the below packages: 2. To checkout the source and build: 3. All Build 4. If you only want to compile kernel and uboot, you can use the following command Only build kernel 5. Only build uboot 6. Other build options<\/p>","protected":false},"author":7,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"spay_email":""},"ht-kb-category":[201],"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-2\/\" \/>\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=\"Preparations A x86 computer which runs Ubuntu 22.04 Steps 1. install the below packages: 2. To checkout the source and build: 3. All Build 4. If you only want to compile kernel and uboot, you can use the following command Only build kernel 5. Only build uboot 6. Other build options\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.mixtile.com\/ja\/docs\/compile-ubuntu-image-from-source-code-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Mixtile\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-08T08:48:28+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-2\/#webpage\",\"url\":\"https:\/\/www.mixtile.com\/ja\/docs\/compile-ubuntu-image-from-source-code-2\/\",\"name\":\"Compile Ubuntu Image from Source Code | Mixtile\",\"isPartOf\":{\"@id\":\"https:\/\/www.mixtile.com\/ja\/#website\"},\"datePublished\":\"2024-02-01T08:57:58+00:00\",\"dateModified\":\"2024-10-08T08:48:28+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.mixtile.com\/ja\/docs\/compile-ubuntu-image-from-source-code-2\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.mixtile.com\/ja\/docs\/compile-ubuntu-image-from-source-code-2\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.mixtile.com\/ja\/docs\/compile-ubuntu-image-from-source-code-2\/#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-2\/","og_locale":"ja_JP","og_type":"article","og_title":"Compile Ubuntu Image from Source Code | Mixtile","og_description":"Preparations A x86 computer which runs Ubuntu 22.04 Steps 1. install the below packages: 2. To checkout the source and build: 3. All Build 4. If you only want to compile kernel and uboot, you can use the following command Only build kernel 5. Only build uboot 6. Other build options","og_url":"https:\/\/www.mixtile.com\/ja\/docs\/compile-ubuntu-image-from-source-code-2\/","og_site_name":"Mixtile","article_modified_time":"2024-10-08T08:48:28+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-2\/#webpage","url":"https:\/\/www.mixtile.com\/ja\/docs\/compile-ubuntu-image-from-source-code-2\/","name":"Compile Ubuntu Image from Source Code | Mixtile","isPartOf":{"@id":"https:\/\/www.mixtile.com\/ja\/#website"},"datePublished":"2024-02-01T08:57:58+00:00","dateModified":"2024-10-08T08:48:28+00:00","breadcrumb":{"@id":"https:\/\/www.mixtile.com\/ja\/docs\/compile-ubuntu-image-from-source-code-2\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.mixtile.com\/ja\/docs\/compile-ubuntu-image-from-source-code-2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.mixtile.com\/ja\/docs\/compile-ubuntu-image-from-source-code-2\/#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\/5416"}],"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\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/comments?post=5416"}],"version-history":[{"count":4,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb\/5416\/revisions"}],"predecessor-version":[{"id":6163,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb\/5416\/revisions\/6163"}],"wp:attachment":[{"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/media?parent=5416"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb-category?post=5416"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb-tag?post=5416"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}