raspberry_pi_4でyocto_project入門
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン最新のリビジョン両方とも次のリビジョン | ||
raspberry_pi_4でyocto_project入門 [2022/07/12 18:58] – makotoa67 | raspberry_pi_4でyocto_project入門 [2022/07/26 19:27] – makotoa67 | ||
---|---|---|---|
行 18: | 行 18: | ||
と言われるがままに実行。すでにインストールしているものはたくさんあるが、していないものもそこそこあるため。 | と言われるがままに実行。すでにインストールしているものはたくさんあるが、していないものもそこそこあるため。 | ||
+ | |||
+ | 今度は成功。 | ||
+ | meta-raspberrypiが追加されたみたい。ここから先は明日にしよう。 | ||
+ | |||
+ | (2022/7/13) | ||
+ | 続きをやってみた。 | ||
+ | |||
+ | ``` | ||
+ | $ cd ~/ | ||
+ | $ git clone git:// | ||
+ | $ cd meta-openembedded | ||
+ | $ git checkout -b gatesgarth origin/ | ||
+ | $ cd ~/ | ||
+ | $ bitbake-layers add-layer ../ | ||
+ | $ bitbake-layers add-layer ../ | ||
+ | $ bitbake-layers add-layer ../ | ||
+ | $ bitbake-layers add-layer ../ | ||
+ | ``` | ||
+ | |||
+ | で、conf/ | ||
+ | |||
+ | ``` | ||
+ | MACHINE ?= " | ||
+ | ``` | ||
+ | |||
+ | と設定して、 | ||
+ | |||
+ | ``` | ||
+ | $ cd ~/ | ||
+ | $ bitbake core-image-base | ||
+ | ``` | ||
+ | |||
+ | を実行。(HDDの空き容量を確保した上で) | ||
+ | |||
+ | ``` | ||
+ | arioka@beelink-u59: | ||
+ | Loading cache: 100% |############################################################################################################################################################ | ||
+ | Loaded 3330 entries from dependency cache. | ||
+ | ERROR: ParseError at / | ||
+ | ``` | ||
+ | |||
+ | 別のシステム向けのYoctoでのビルドが成功した環境で、同じことをやってみたが、 | ||
+ | |||
+ | ``` | ||
+ | sirius@ubuntu: | ||
+ | Loading cache: 100% | | ETA: --:--:-- | ||
+ | Loaded 0 entries from dependency cache. | ||
+ | ERROR: ParseError at / | ||
+ | |||
+ | Summary: There was 1 ERROR message shown, returning a non-zero exit code. | ||
+ | sirius@ubuntu: | ||
+ | ``` | ||
+ | |||
+ | と、似たようなエラー発生。 | ||
+ | 今度は、別のノートPCで、WSL2 & Ubuntu 20.4 LST環境で同じことをやってみたところ、やっぱり、 | ||
+ | |||
+ | ``` | ||
+ | TBD | ||
+ | ``` | ||
+ | |||
+ | などと、同じようなパースエラーとなった。 | ||
+ | |||
+ | https:// | ||
+ | |||
+ | あたりを見ると、 | ||
+ | |||
+ | > All of your layers need to use matching branches. In this case your meta-python is probably too new | ||
+ | > (it no longer has the pypi class because it was moved to oe-core). Checkout the rocko branch of | ||
+ | > meta-openembedded repo and things should start working. | ||
+ | |||
+ | などと言われている。ふむ、ブランチとの整合性な感じ。となると、あえて、Web上の情報に合わせて、 | ||
+ | |||
+ | ``` | ||
+ | $ git checkout -b gatesgarth-24.0.1 refs/ | ||
+ | ``` | ||
+ | |||
+ | と、少しだけ古いバージョンを指定したところが間違いなのでは?meta-raspberrypiやmeta-openembeddedは、ただ、gatesgarthといブランチなのだから、Pokyの新しいバージョンのgatesgarth-24.0.4を指定してみると、、、いけたみたい、タスクが進みだした。 | ||
+ | |||
+ | その時々の最新版でやるしかないのか。それでも、 | ||
+ | |||
+ | ``` | ||
+ | MakotoA67: | ||
+ | Loading cache: 100% | | ETA: --:--:-- | ||
+ | Loaded 0 entries from dependency cache. | ||
+ | Parsing recipes: 100% |################################################################################## | ||
+ | Parsing of 2323 .bb files complete (0 cached, 2323 parsed). 3534 targets, 139 skipped, 0 masked, 0 errors. | ||
+ | NOTE: Resolving any missing task queue dependencies | ||
+ | |||
+ | Build Configuration: | ||
+ | BB_VERSION | ||
+ | BUILD_SYS | ||
+ | NATIVELSBSTRING | ||
+ | TARGET_SYS | ||
+ | MACHINE | ||
+ | DISTRO | ||
+ | DISTRO_VERSION | ||
+ | TUNE_FEATURES | ||
+ | TARGET_FPU | ||
+ | meta | ||
+ | meta-poky | ||
+ | meta-yocto-bsp | ||
+ | meta-raspberrypi | ||
+ | meta-oe | ||
+ | meta-python | ||
+ | meta-multimedia | ||
+ | meta-networking | ||
+ | |||
+ | NOTE: Fetching uninative binary shim http:// | ||
+ | Initialising tasks: 100% |############################################################################### | ||
+ | Sstate summary: Wanted 1822 Found 0 Missed 1822 Current 0 (0% match, 0% complete) | ||
+ | NOTE: Executing Tasks | ||
+ | WARNING: libpcre2-native-10.35-r0 do_fetch: Failed to fetch URL https:// | ||
+ | WARNING: expat-2.2.9-r0 do_fetch: Failed to fetch URL https:// | ||
+ | WARNING: libpcre-8.44-r0 do_fetch: Failed to fetch URL https:// | ||
+ | WARNING: linux-raspberrypi-1_5.10.17+gitAUTOINC+5833ca7017_ec967eb45f-r0 do_fetch: Failed to fetch URL git:// | ||
+ | WARNING: bluez-firmware-rpidistro-0.0+gitAUTOINC+96eefffccc-r0 do_fetch: Failed to fetch URL git:// | ||
+ | WARNING: pi-bluetooth-0.1.12-r0 do_fetch: Failed to fetch URL git:// | ||
+ | WARNING: linux-firmware-rpidistro-20190114-1+rpt10-r0 do_fetch: Failed to fetch URL git:// | ||
+ | ERROR: linux-firmware-rpidistro-20190114-1+rpt10-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; | ||
+ | Cloning into bare repository '/ | ||
+ | fatal: unable to connect to github.com: | ||
+ | github.com[0: | ||
+ | |||
+ | |||
+ | ERROR: linux-firmware-rpidistro-20190114-1+rpt10-r0 do_fetch: Fetcher failure for URL: ' | ||
+ | ERROR: Logfile of failure stored in: / | ||
+ | ERROR: Task (/ | ||
+ | NOTE: Tasks Summary: Attempted 1999 tasks of which 0 didn't need to be rerun and 1 failed. | ||
+ | |||
+ | Summary: 1 task failed: | ||
+ | / | ||
+ | Summary: There were 7 WARNING messages shown. | ||
+ | Summary: There were 2 ERROR messages shown, returning a non-zero exit code. | ||
+ | MakotoA67: | ||
+ | ``` | ||
+ | |||
+ | と、エラー発生。 |
raspberry_pi_4でyocto_project入門.txt · 最終更新: 2022/07/26 19:32 by makotoa67