Advertisement
RobertBerger

phyboard-mira-imx6-3-6 init/config/build

Jul 17th, 2022
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.39 KB | None | 0 0
  1. in container:
  2. mkdir /workdir/3rd-party/phytec-imx6 && cd /workdir/3rd-party/phytec-imx6
  3. wget https://download.phytec.de/Software/Linux/Yocto/Tools/phyLinux
  4. chmod +x phyLinux
  5.  
  6. pokyuser@HP-ZBook-15-G4-2:/workdir/3rd-party/phytec-imx6$ ./phyLinux init
  7. repo tool wrapper is installed: /usr/bin/repo
  8. no repo repository in current directory
  9. installing repo tool
  10. using repo-1 branch of upstream repo-tool
  11. if you want to use newer branches, you need to use pyhton >= 3.6
  12. no repository initialized
  13. Initializing from an empty directory
  14. updating remote phytec repo repository
  15. ('$', 'repo init --repo-url=https://git.phytec.de/git/git-repo --repo-branch=repo-1 -u git://git.phytec.de/phy2octo')
  16. Downloading Repo source from https://git.phytec.de/git/git-repo
  17. remote: Objekte aufzählen: 7199, fertig.
  18. remote: Zähle Objekte: 100% (7199/7199), fertig.
  19. remote: Komprimiere Objekte: 100% (3016/3016), fertig.
  20. remote: Gesamt 7199 (Delta 4794), Wiederverwendet 6494 (Delta 4109)
  21. Receiving objects: 100% (7199/7199), 2.87 MiB | 3.83 MiB/s, done.
  22. Resolving deltas: 100% (4794/4794), done.
  23. repo: Updating release signing keys to keyset ver 2.3
  24. Get git://git.phytec.de/phy2octo
  25. remote: Enumerating objects: 4827, done.
  26. remote: Counting objects: 100% (4827/4827), done.
  27. remote: Compressing objects: 100% (3684/3684), done.
  28. remote: Total 4827 (delta 3417), reused 1668 (delta 1116)
  29. Receiving objects: 100% (4827/4827), 878.49 KiB | 3.31 MiB/s, done.
  30. Resolving deltas: 100% (3417/3417), done.
  31. From git://git.phytec.de/phy2octo
  32. * [new branch] am335x -> origin/am335x
  33. * [new branch] am64x -> origin/am64x
  34. * [new branch] imx6 -> origin/imx6
  35. * [new branch] imx6ul -> origin/imx6ul
  36. * [new branch] imx7 -> origin/imx7
  37. * [new branch] imx8 -> origin/imx8
  38. * [new branch] imx8m -> origin/imx8m
  39. * [new branch] imx8mm -> origin/imx8mm
  40. * [new branch] imx8mp -> origin/imx8mp
  41. * [new branch] master -> origin/master
  42. * [new branch] nightly -> origin/nightly
  43. * [new branch] rk3288 -> origin/rk3288
  44. * [new branch] stm32mp1 -> origin/stm32mp1
  45. * [new branch] topic -> origin/topic
  46.  
  47. Your identity is: pokyuser <pokyuser@ReliableEmbeddedSystems.com>
  48. If you want to change this, please re-run 'repo init' with --config-name
  49.  
  50. repo has been initialized in /workdir/3rd-party/phytec-imx6
  51.  
  52. No SoC Platform selected
  53. ***************************************************
  54. * Please choose one of the available SoC Platforms:
  55. *
  56. * 1: am335x
  57. * 2: am64x
  58. * 3: imx6
  59. * 4: imx6ul
  60. * 5: imx7
  61. * 6: imx8
  62. * 7: imx8m
  63. * 8: imx8mm
  64. * 9: imx8mp
  65. * 10: nightly
  66. * 11: rk3288
  67. * 12: stm32mp1
  68. * 13: topic
  69. *
  70. $ 3
  71. switching to imx6
  72. ('$', 'repo init -b imx6')
  73. .repo/manifests/: discarding 143 commits
  74.  
  75. Your identity is: pokyuser <pokyuser@ReliableEmbeddedSystems.com>
  76. If you want to change this, please re-run 'repo init' with --config-name
  77.  
  78. repo has been initialized in /workdir/3rd-party/phytec-imx6
  79.  
  80. ***************************************************
  81. * Please choose one of the available Releases:
  82. *
  83. * 1: BSP-Yocto-Ampliphy-i.MX6-PD21.1-rc1
  84. * 2: BSP-Yocto-Ampliphy-i.MX6-PD21.1-rc2
  85. * 3: BSP-Yocto-Ampliphy-i.MX6-PD21.1-rc3
  86. * 4: BSP-Yocto-Ampliphy-i.MX6-PD21.1.0
  87. * 5: BSP-Yocto-Ampliphy-i.MX6-PD21.1.1-rc1
  88. * 6: BSP-Yocto-Ampliphy-i.MX6-PD21.1.1
  89. * 7: BSP-Yocto-Ampliphy-i.MX6-PD21.1.y
  90. * 8: BSP-Yocto-Ampliphy-i.MX6-PD22.1.y
  91. * 9: BSP-Yocto-i.MX6-PD14.2-rc1
  92. * 10: BSP-Yocto-i.MX6-PD14.2-rc2
  93. * 11: BSP-Yocto-i.MX6-PD14.2-rc3
  94. * 12: BSP-Yocto-i.MX6-PD15.1-rc1
  95. * 13: BSP-Yocto-i.MX6-PD15.1-rc2
  96. * 14: BSP-Yocto-i.MX6-PD15.1.0
  97. * 15: BSP-Yocto-i.MX6-PD15.1.1
  98. * 16: BSP-Yocto-i.MX6-PD15.1.2
  99. * 17: BSP-Yocto-i.MX6-PD15.2-rc1
  100. * 18: BSP-Yocto-i.MX6-PD15.2.0
  101. * 19: BSP-Yocto-i.MX6-PD15.3-rc1
  102. * 20: BSP-Yocto-i.MX6-PD15.3-rc2
  103. * 21: BSP-Yocto-i.MX6-PD15.3.0
  104. * 22: BSP-Yocto-i.MX6-PD15.3.1
  105. * 23: BSP-Yocto-i.MX6-PD16.1-rc1
  106. * 24: BSP-Yocto-i.MX6-PD16.1-rc2
  107. * 25: BSP-Yocto-i.MX6-PD16.1.0
  108. * 26: BSP-Yocto-i.MX6-PD16.1.1
  109. * 27: BSP-Yocto-i.MX6-PD16.1.2-rc1
  110. * 28: BSP-Yocto-i.MX6-PD16.1.2
  111. * 29: BSP-Yocto-i.MX6-PD18.1-rc4
  112. * 30: BSP-Yocto-i.MX6-PD18.1.0
  113. * 31: BSP-Yocto-i.MX6-PD18.1.1-rc1
  114. * 32: BSP-Yocto-i.MX6-PD18.1.1-rc2
  115. * 33: BSP-Yocto-i.MX6-PD18.1.1
  116. * 34: BSP-Yocto-i.MX6-PD18.1.2-rc1
  117. * 35: BSP-Yocto-i.MX6-PD18.1.2-rc2
  118. * 36: BSP-Yocto-i.MX6-PD18.1.2-rc3
  119. * 37: BSP-Yocto-i.MX6-PD18.1.2
  120. * 38: BSP-Yocto-i.MX6-PD20.1-rc1
  121. * 39: BSP-Yocto-i.MX6-PD20.1-rc2
  122. * 40: BSP-Yocto-i.MX6-PD20.1-rc3
  123. * 41: BSP-Yocto-i.MX6-PD20.1.0
  124. *
  125. $ 7
  126. switching to BSP-Yocto-Ampliphy-i.MX6-PD21.1.y
  127. ('$', 'repo init -m BSP-Yocto-Ampliphy-i.MX6-PD21.1.y.xml')
  128.  
  129. Your identity is: pokyuser <pokyuser@ReliableEmbeddedSystems.com>
  130. If you want to change this, please re-run 'repo init' with --config-name
  131.  
  132. repo has been initialized in /workdir/3rd-party/phytec-imx6
  133.  
  134. syncing sources
  135. ('$', 'repo sync')
  136. % Total % Received % Xferd Average Speed Time Time Time Current
  137. Dload Upload Total Spent Left Speed
  138. 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 % Total % Received % Xferd Average Speed Time Time Time Current
  139. Dload Upload Total Spent Left Speed
  140. 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0remote: Enumerating objects: 26249, done.
  141. 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
  142. curl: (22) The requested URL returned error: 404
  143. 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
  144. curl: (22) The requested URL returned error: 404
  145. Server does not provide clone.bundle; ignoring.
  146. Server does not provide clone.bundle; ignoring.
  147. remote: Counting objects: 100% (26249/26249), done.
  148. remote: Compressing objects: 100% (12987/12987), done.
  149. remote: Enumerating objects: 1399, done.
  150. remote: Counting objects: 100% (324/324), done.
  151. remote: Compressing objects: 100% (158/158), done.
  152. remote: Enumerating objects: 15582, done.
  153. remote: Counting objects: 100% (1322/1322), done.
  154. remote: Compressing objects: 100% (374/374), done. KiB/s
  155. remote: Total 1399 (delta 132), reused 263 (delta 114), pack-reused 1075
  156. Receiving objects: 100% (1399/1399), 230.39 KiB | 387.00 KiB/s, done.
  157. Resolving deltas: 100% (644/644), done.76.00 KiB | 943.00 KiB/s
  158. From https://github.com/rauc/meta-rauc
  159. ...
  160. * [new tag] zeus-22.0.3 -> zeus-22.0.3
  161. * [new tag] zeus-22.0.4 -> zeus-22.0.4
  162. Fetching projects: 100% (8/8), done.
  163. Checking out projects: 100% (8/8), done.
  164.  
  165. BSP has phyLinux API Version 2
  166. REPO_MANIFEST="${ROOTDIR}/.repo/manifest.xml"
  167. if [ -L ${REPO_MANIFEST} ]; then
  168. RELEASE_UID=$(sed -n 's:.*release_uid="\([^"]*\).*:\1:p' ${REPO_MANIFEST})
  169. INC_MANIFEST=`grep -o '".*\.xml"' ${REPO_MANIFEST} | sed 's/"//g'`
  170. copy /workdir/3rd-party/phytec-imx6/sources/meta-phytec/conf/bblayers.conf.sample to /workdir/3rd-party/phytec-imx6/tools/templateconf
  171. copy /workdir/3rd-party/phytec-imx6/sources/meta-phytec/conf/local.conf.sample to /workdir/3rd-party/phytec-imx6/tools/templateconf
  172. copy /workdir/3rd-party/phytec-imx6/sources/meta-phytec/conf/conf-notes.txt to /workdir/3rd-party/phytec-imx6/tools/templateconf
  173. ('Layers to add:', ['poky/meta', 'poky/meta-poky', 'meta-openembedded/meta-oe', 'meta-openembedded/meta-networking', 'meta-openembedded/meta-python', 'meta-openembedded/meta-multimedia', 'meta-openembedded/meta-filesystems', 'meta-openembedded/meta-perl', 'meta-qt5', 'meta-rauc', 'meta-security', 'meta-security/meta-tpm', 'meta-ampliphy', 'meta-phytec', 'meta-fresh'])
  174. No site.conf found on host.
  175. *********************************************************************
  176. * Please choose one of the available builds:
  177. *
  178. no: machine: description and article number
  179. distro: supported yocto distribution
  180. target: supported build target
  181.  
  182. 1: phyboard-mira-imx6-14: PHYTEC phyBOARD-Mira full-featured i.MX6 DualLite
  183. 1GiB RAM, 4GiB eMMC
  184. PBA-C-06-002.A2, PCM-058-30242C0X.A0
  185. distro: ampliphy-5.10.y
  186. target: phytec-qt5demo-image
  187. 2: phyboard-mira-imx6-14: PHYTEC phyBOARD-Mira full-featured i.MX6 DualLite
  188. 1GiB RAM, 4GiB eMMC
  189. PBA-C-06-002.A2, PCM-058-30242C0X.A0
  190. distro: ampliphy-rauc
  191. target: phytec-headless-bundle
  192. target: phytec-headless-image
  193. 3: phyboard-mira-imx6-3: PHYTEC phyBOARD-Mira full-featured i.MX6 Quad
  194. 1GiB RAM, NAND
  195. PB-01501-002.A2, PBA-C-06-002.A2, PCM-058-33230C0I.A3
  196. distro: ampliphy-5.10.y
  197. target: phytec-qt5demo-image
  198. 4: phyboard-mira-imx6-3: PHYTEC phyBOARD-Mira full-featured i.MX6 Quad
  199. 1GiB RAM, NAND
  200. PB-01501-002.A2, PBA-C-06-002.A2, PCM-058-33230C0I.A3
  201. distro: ampliphy-rauc
  202. target: phytec-headless-bundle
  203. target: phytec-headless-image
  204. 5: phyboard-mira-imx6-3: PHYTEC phyBOARD-Mira full-featured i.MX6 Quad
  205. 1GiB RAM, NAND
  206. PB-01501-002.A2, PBA-C-06-002.A2, PCM-058-33230C0I.A3
  207. distro: ampliphy-secure
  208. target: phytec-security-image
  209. 6: phyboard-mira-imx6-3: PHYTEC phyBOARD-Mira full-featured i.MX6 Quad
  210. 1GiB RAM, NAND
  211. PB-01501-002.A2, PBA-C-06-002.A2, PCM-058-33230C0I.A3
  212. distro: ampliphy-vanilla-master
  213. target: phytec-qt5demo-image
  214. 7: phyboard-mira-imx6-5: PHYTEC phyBOARD-Mira full-featured i.MX6 Quad
  215. 2GiB RAM, 8GiB eMMC
  216. PBA-C-06-002.A2, PCM-058-40233C0I.A0
  217. distro: ampliphy-5.10.y
  218. target: phytec-qt5demo-image
  219. 8: phyboard-mira-imx6-5: PHYTEC phyBOARD-Mira full-featured i.MX6 Quad
  220. 2GiB RAM, 8GiB eMMC
  221. PBA-C-06-002.A2, PCM-058-40233C0I.A0
  222. distro: ampliphy-secure
  223. target: phytec-security-bundle
  224. target: phytec-security-image
  225. 9: phyboard-mira-imx6-5: PHYTEC phyBOARD-Mira full-featured i.MX6 Quad
  226. 2GiB RAM, 8GiB eMMC
  227. PBA-C-06-002.A2, PCM-058-40233C0I.A0
  228. distro: ampliphy-vanilla-master
  229. target: phytec-qt5demo-image
  230. 10: phyflex-imx6-1: PHYTEC phyFLEX-i.MX6 Quad PBA-B-01
  231. 1GiB RAM two banks, 16MiB SPI-NOR
  232. PFL-A-02-23237E0.A1
  233. distro: ampliphy-5.10.y
  234. target: phytec-qt5demo-image
  235. 11: phyflex-imx6-2: PHYTEC phyFLEX-i.MX6 Quad PBA-B-01
  236. 1GiB RAM one bank, 16MiB SPI-NOR
  237. PFL-A-02-13237E0.A1
  238. distro: ampliphy-5.10.y
  239. target: phytec-qt5demo-image
  240. 12: phyflex-imx6-8: PHYTEC phyFLEX-i.MX6 Solo PBA-B-01
  241. 512MiB RAM one bank, no SPI-NOR
  242. PFL-A-02-0200541.A0
  243. distro: ampliphy-5.10.y
  244. target: phytec-qt5demo-image
  245.  
  246. ---- hmmm no 5.15.y kernel ? ----
  247.  
  248. let's try ampliphy-vanilla-master?
  249.  
  250. $ 6
  251. add TARGET phytec-qt5demo-image to conf-notes.txt
  252. set MACHINE in local.conf to phyboard-mira-imx6-3
  253. set DISTRO in local.conf to ampliphy-vanilla-master
  254.  
  255. Before you start your work, please check your build/conf/local.conf for
  256. host specific configuration. Check the documentation especially for:
  257. - proxy settings
  258. - DL_DIR
  259. - SSTATE_DIR
  260.  
  261. To set up your shell environment for some Yocto work, you have to type this
  262. command, including the 'dot':
  263.  
  264. $ . sources/poky/oe-init-build-env
  265.  
  266.  
  267. A docker image can also be used as your build environment.\n
  268. Set up your shell environment with:\n
  269. $ docker run --rm -it -v ${PWD}:/${PWD} crops/poky:ubuntu-20.04 --workdir=${PWD} bash\n
  270. Or start a build with:\n
  271. $ docker run --rm -it -v ${PWD}:/${PWD} crops/poky:ubuntu-20.04 --workdir=${PWD} \
  272. bash -c '. sources/poky/oe-init-build-env && bitbake phytec-headless-image'
  273. -----
  274. ---- hmmm templateconf points to poky? ----
  275.  
  276. added to local.conf:
  277.  
  278. MACHINE ??= "phyboard-mira-imx6-3"
  279. DISTRO ?= "ampliphy-vanilla-master"
  280.  
  281. ---- had to add all the layers except for poky to bblayers.conf: ----
  282.  
  283. # POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
  284. # changes incompatibly
  285. POKY_BBLAYERS_CONF_VERSION = "2"
  286.  
  287. BBPATH = "${TOPDIR}"
  288. BBFILES ?= ""
  289.  
  290. BBLAYERS ?= " \
  291. /workdir/3rd-party/phytec-imx6/sources/poky/meta \
  292. /workdir/3rd-party/phytec-imx6/sources/poky/meta-poky \
  293. /workdir/3rd-party/phytec-imx6/sources/poky/meta-yocto-bsp \
  294. /workdir/3rd-party/phytec-imx6/sources/meta-ampliphy \
  295. /workdir/3rd-party/phytec-imx6/sources/meta-fresh \
  296. /workdir/3rd-party/phytec-imx6/sources/meta-phytec \
  297. /workdir/3rd-party/phytec-imx6/sources/meta-openembedded/meta-python \
  298. /workdir/3rd-party/phytec-imx6/sources/meta-openembedded/meta-multimedia \
  299. /workdir/3rd-party/phytec-imx6/sources/meta-openembedded/meta-networking \
  300. /workdir/3rd-party/phytec-imx6/sources/meta-openembedded/meta-oe \
  301. /workdir/3rd-party/phytec-imx6/sources/meta-qt5 \
  302. /workdir/3rd-party/phytec-imx6/sources/meta-rauc \
  303. "
  304.  
  305. pokyuser@HP-ZBook-15-G4-2:/workdir/build/phyboard-mira-imx6-3-6$ bitbake core-image-minimal
  306. Loading cache: 100% | | ETA: --:--:--
  307. Loaded 0 entries from dependency cache.
  308. WARNING: /workdir/3rd-party/phytec-imx6/sources/meta-rauc/recipes-core/rauc/rauc_1.6.bb: Unable to get checksum for rauc SRC_URI entry mainca-rsa.crt.pem: file could not be foundTA: 0:00:30
  309. WARNING: /workdir/3rd-party/phytec-imx6/sources/meta-rauc/recipes-core/rauc/rauc_git.bb: Unable to get checksum for rauc SRC_URI entry mainca-rsa.crt.pem: file could not be foundTA: 0:00:02
  310. Parsing recipes: 100% |########################################################################################################################################################| Time: 0:01:22
  311. Parsing of 2572 .bb files complete (0 cached, 2572 parsed). 3870 targets, 381 skipped, 0 masked, 0 errors.
  312. NOTE: Resolving any missing task queue dependencies
  313.  
  314. Build Configuration:
  315. BB_VERSION = "1.50.0"
  316. BUILD_SYS = "x86_64-linux"
  317. NATIVELSBSTRING = "ubuntu-20.04"
  318. TARGET_SYS = "arm-phytec-linux-gnueabi"
  319. MACHINE = "phyboard-mira-imx6-3"
  320. DISTRO = "ampliphy"
  321. DISTRO_VERSION = "BSP-Yocto-Ampliphy-i.MX6-PD21.1.1"
  322. TUNE_FEATURES = "arm vfp cortexa9 neon thumb callconvention-hard"
  323. TARGET_FPU = "hard"
  324. meta
  325. meta-poky
  326. meta-yocto-bsp = "HEAD:1cefabe0f0a2dd2ca8b6eb83e8e0824b72da941a"
  327. meta-ampliphy = "HEAD:1afaa3fbdf8fab4e477e3c1d857b9486d2486b59"
  328. meta-fresh = "HEAD:e7ced6e2cfe01ad7d0cd7cf2e880f95a9efbfaf7"
  329. meta-phytec = "HEAD:df6dd2a5d2a36010c309ad01a1b15ba7e538e22e"
  330. meta-python
  331. meta-multimedia
  332. meta-networking
  333. meta-oe = "HEAD:786d3aa313e31a718acc9611ba3adb60573ec458"
  334. meta-qt5 = "HEAD:43f8f539d40070a70fe89136db89bf5bb1dfe7ed"
  335. meta-rauc = "HEAD:b344adecae6cef9a26b3c5b6a7bb344d18c074a6"
  336.  
  337.  
  338.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement