Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- in container:
- mkdir /workdir/3rd-party/phytec-imx6 && cd /workdir/3rd-party/phytec-imx6
- wget https://download.phytec.de/Software/Linux/Yocto/Tools/phyLinux
- chmod +x phyLinux
- pokyuser@HP-ZBook-15-G4-2:/workdir/3rd-party/phytec-imx6$ ./phyLinux init
- repo tool wrapper is installed: /usr/bin/repo
- no repo repository in current directory
- installing repo tool
- using repo-1 branch of upstream repo-tool
- if you want to use newer branches, you need to use pyhton >= 3.6
- no repository initialized
- Initializing from an empty directory
- updating remote phytec repo repository
- ('$', 'repo init --repo-url=https://git.phytec.de/git/git-repo --repo-branch=repo-1 -u git://git.phytec.de/phy2octo')
- Downloading Repo source from https://git.phytec.de/git/git-repo
- remote: Objekte aufzählen: 7199, fertig.
- remote: Zähle Objekte: 100% (7199/7199), fertig.
- remote: Komprimiere Objekte: 100% (3016/3016), fertig.
- remote: Gesamt 7199 (Delta 4794), Wiederverwendet 6494 (Delta 4109)
- Receiving objects: 100% (7199/7199), 2.87 MiB | 3.83 MiB/s, done.
- Resolving deltas: 100% (4794/4794), done.
- repo: Updating release signing keys to keyset ver 2.3
- Get git://git.phytec.de/phy2octo
- remote: Enumerating objects: 4827, done.
- remote: Counting objects: 100% (4827/4827), done.
- remote: Compressing objects: 100% (3684/3684), done.
- remote: Total 4827 (delta 3417), reused 1668 (delta 1116)
- Receiving objects: 100% (4827/4827), 878.49 KiB | 3.31 MiB/s, done.
- Resolving deltas: 100% (3417/3417), done.
- From git://git.phytec.de/phy2octo
- * [new branch] am335x -> origin/am335x
- * [new branch] am64x -> origin/am64x
- * [new branch] imx6 -> origin/imx6
- * [new branch] imx6ul -> origin/imx6ul
- * [new branch] imx7 -> origin/imx7
- * [new branch] imx8 -> origin/imx8
- * [new branch] imx8m -> origin/imx8m
- * [new branch] imx8mm -> origin/imx8mm
- * [new branch] imx8mp -> origin/imx8mp
- * [new branch] master -> origin/master
- * [new branch] nightly -> origin/nightly
- * [new branch] rk3288 -> origin/rk3288
- * [new branch] stm32mp1 -> origin/stm32mp1
- * [new branch] topic -> origin/topic
- Your identity is: pokyuser <pokyuser@ReliableEmbeddedSystems.com>
- If you want to change this, please re-run 'repo init' with --config-name
- repo has been initialized in /workdir/3rd-party/phytec-imx6
- No SoC Platform selected
- ***************************************************
- * Please choose one of the available SoC Platforms:
- *
- * 1: am335x
- * 2: am64x
- * 3: imx6
- * 4: imx6ul
- * 5: imx7
- * 6: imx8
- * 7: imx8m
- * 8: imx8mm
- * 9: imx8mp
- * 10: nightly
- * 11: rk3288
- * 12: stm32mp1
- * 13: topic
- *
- $ 3
- switching to imx6
- ('$', 'repo init -b imx6')
- .repo/manifests/: discarding 143 commits
- Your identity is: pokyuser <pokyuser@ReliableEmbeddedSystems.com>
- If you want to change this, please re-run 'repo init' with --config-name
- repo has been initialized in /workdir/3rd-party/phytec-imx6
- ***************************************************
- * Please choose one of the available Releases:
- *
- * 1: BSP-Yocto-Ampliphy-i.MX6-PD21.1-rc1
- * 2: BSP-Yocto-Ampliphy-i.MX6-PD21.1-rc2
- * 3: BSP-Yocto-Ampliphy-i.MX6-PD21.1-rc3
- * 4: BSP-Yocto-Ampliphy-i.MX6-PD21.1.0
- * 5: BSP-Yocto-Ampliphy-i.MX6-PD21.1.1-rc1
- * 6: BSP-Yocto-Ampliphy-i.MX6-PD21.1.1
- * 7: BSP-Yocto-Ampliphy-i.MX6-PD21.1.y
- * 8: BSP-Yocto-Ampliphy-i.MX6-PD22.1.y
- * 9: BSP-Yocto-i.MX6-PD14.2-rc1
- * 10: BSP-Yocto-i.MX6-PD14.2-rc2
- * 11: BSP-Yocto-i.MX6-PD14.2-rc3
- * 12: BSP-Yocto-i.MX6-PD15.1-rc1
- * 13: BSP-Yocto-i.MX6-PD15.1-rc2
- * 14: BSP-Yocto-i.MX6-PD15.1.0
- * 15: BSP-Yocto-i.MX6-PD15.1.1
- * 16: BSP-Yocto-i.MX6-PD15.1.2
- * 17: BSP-Yocto-i.MX6-PD15.2-rc1
- * 18: BSP-Yocto-i.MX6-PD15.2.0
- * 19: BSP-Yocto-i.MX6-PD15.3-rc1
- * 20: BSP-Yocto-i.MX6-PD15.3-rc2
- * 21: BSP-Yocto-i.MX6-PD15.3.0
- * 22: BSP-Yocto-i.MX6-PD15.3.1
- * 23: BSP-Yocto-i.MX6-PD16.1-rc1
- * 24: BSP-Yocto-i.MX6-PD16.1-rc2
- * 25: BSP-Yocto-i.MX6-PD16.1.0
- * 26: BSP-Yocto-i.MX6-PD16.1.1
- * 27: BSP-Yocto-i.MX6-PD16.1.2-rc1
- * 28: BSP-Yocto-i.MX6-PD16.1.2
- * 29: BSP-Yocto-i.MX6-PD18.1-rc4
- * 30: BSP-Yocto-i.MX6-PD18.1.0
- * 31: BSP-Yocto-i.MX6-PD18.1.1-rc1
- * 32: BSP-Yocto-i.MX6-PD18.1.1-rc2
- * 33: BSP-Yocto-i.MX6-PD18.1.1
- * 34: BSP-Yocto-i.MX6-PD18.1.2-rc1
- * 35: BSP-Yocto-i.MX6-PD18.1.2-rc2
- * 36: BSP-Yocto-i.MX6-PD18.1.2-rc3
- * 37: BSP-Yocto-i.MX6-PD18.1.2
- * 38: BSP-Yocto-i.MX6-PD20.1-rc1
- * 39: BSP-Yocto-i.MX6-PD20.1-rc2
- * 40: BSP-Yocto-i.MX6-PD20.1-rc3
- * 41: BSP-Yocto-i.MX6-PD20.1.0
- *
- $ 7
- switching to BSP-Yocto-Ampliphy-i.MX6-PD21.1.y
- ('$', 'repo init -m BSP-Yocto-Ampliphy-i.MX6-PD21.1.y.xml')
- Your identity is: pokyuser <pokyuser@ReliableEmbeddedSystems.com>
- If you want to change this, please re-run 'repo init' with --config-name
- repo has been initialized in /workdir/3rd-party/phytec-imx6
- syncing sources
- ('$', 'repo sync')
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0remote: Enumerating objects: 26249, done.
- 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
- curl: (22) The requested URL returned error: 404
- 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
- curl: (22) The requested URL returned error: 404
- Server does not provide clone.bundle; ignoring.
- Server does not provide clone.bundle; ignoring.
- remote: Counting objects: 100% (26249/26249), done.
- remote: Compressing objects: 100% (12987/12987), done.
- remote: Enumerating objects: 1399, done.
- remote: Counting objects: 100% (324/324), done.
- remote: Compressing objects: 100% (158/158), done.
- remote: Enumerating objects: 15582, done.
- remote: Counting objects: 100% (1322/1322), done.
- remote: Compressing objects: 100% (374/374), done. KiB/s
- remote: Total 1399 (delta 132), reused 263 (delta 114), pack-reused 1075
- Receiving objects: 100% (1399/1399), 230.39 KiB | 387.00 KiB/s, done.
- Resolving deltas: 100% (644/644), done.76.00 KiB | 943.00 KiB/s
- From https://github.com/rauc/meta-rauc
- ...
- * [new tag] zeus-22.0.3 -> zeus-22.0.3
- * [new tag] zeus-22.0.4 -> zeus-22.0.4
- Fetching projects: 100% (8/8), done.
- Checking out projects: 100% (8/8), done.
- BSP has phyLinux API Version 2
- REPO_MANIFEST="${ROOTDIR}/.repo/manifest.xml"
- if [ -L ${REPO_MANIFEST} ]; then
- RELEASE_UID=$(sed -n 's:.*release_uid="\([^"]*\).*:\1:p' ${REPO_MANIFEST})
- INC_MANIFEST=`grep -o '".*\.xml"' ${REPO_MANIFEST} | sed 's/"//g'`
- copy /workdir/3rd-party/phytec-imx6/sources/meta-phytec/conf/bblayers.conf.sample to /workdir/3rd-party/phytec-imx6/tools/templateconf
- copy /workdir/3rd-party/phytec-imx6/sources/meta-phytec/conf/local.conf.sample to /workdir/3rd-party/phytec-imx6/tools/templateconf
- copy /workdir/3rd-party/phytec-imx6/sources/meta-phytec/conf/conf-notes.txt to /workdir/3rd-party/phytec-imx6/tools/templateconf
- ('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'])
- No site.conf found on host.
- *********************************************************************
- * Please choose one of the available builds:
- *
- no: machine: description and article number
- distro: supported yocto distribution
- target: supported build target
- 1: phyboard-mira-imx6-14: PHYTEC phyBOARD-Mira full-featured i.MX6 DualLite
- 1GiB RAM, 4GiB eMMC
- PBA-C-06-002.A2, PCM-058-30242C0X.A0
- distro: ampliphy-5.10.y
- target: phytec-qt5demo-image
- 2: phyboard-mira-imx6-14: PHYTEC phyBOARD-Mira full-featured i.MX6 DualLite
- 1GiB RAM, 4GiB eMMC
- PBA-C-06-002.A2, PCM-058-30242C0X.A0
- distro: ampliphy-rauc
- target: phytec-headless-bundle
- target: phytec-headless-image
- 3: phyboard-mira-imx6-3: PHYTEC phyBOARD-Mira full-featured i.MX6 Quad
- 1GiB RAM, NAND
- PB-01501-002.A2, PBA-C-06-002.A2, PCM-058-33230C0I.A3
- distro: ampliphy-5.10.y
- target: phytec-qt5demo-image
- 4: phyboard-mira-imx6-3: PHYTEC phyBOARD-Mira full-featured i.MX6 Quad
- 1GiB RAM, NAND
- PB-01501-002.A2, PBA-C-06-002.A2, PCM-058-33230C0I.A3
- distro: ampliphy-rauc
- target: phytec-headless-bundle
- target: phytec-headless-image
- 5: phyboard-mira-imx6-3: PHYTEC phyBOARD-Mira full-featured i.MX6 Quad
- 1GiB RAM, NAND
- PB-01501-002.A2, PBA-C-06-002.A2, PCM-058-33230C0I.A3
- distro: ampliphy-secure
- target: phytec-security-image
- 6: phyboard-mira-imx6-3: PHYTEC phyBOARD-Mira full-featured i.MX6 Quad
- 1GiB RAM, NAND
- PB-01501-002.A2, PBA-C-06-002.A2, PCM-058-33230C0I.A3
- distro: ampliphy-vanilla-master
- target: phytec-qt5demo-image
- 7: phyboard-mira-imx6-5: PHYTEC phyBOARD-Mira full-featured i.MX6 Quad
- 2GiB RAM, 8GiB eMMC
- PBA-C-06-002.A2, PCM-058-40233C0I.A0
- distro: ampliphy-5.10.y
- target: phytec-qt5demo-image
- 8: phyboard-mira-imx6-5: PHYTEC phyBOARD-Mira full-featured i.MX6 Quad
- 2GiB RAM, 8GiB eMMC
- PBA-C-06-002.A2, PCM-058-40233C0I.A0
- distro: ampliphy-secure
- target: phytec-security-bundle
- target: phytec-security-image
- 9: phyboard-mira-imx6-5: PHYTEC phyBOARD-Mira full-featured i.MX6 Quad
- 2GiB RAM, 8GiB eMMC
- PBA-C-06-002.A2, PCM-058-40233C0I.A0
- distro: ampliphy-vanilla-master
- target: phytec-qt5demo-image
- 10: phyflex-imx6-1: PHYTEC phyFLEX-i.MX6 Quad PBA-B-01
- 1GiB RAM two banks, 16MiB SPI-NOR
- PFL-A-02-23237E0.A1
- distro: ampliphy-5.10.y
- target: phytec-qt5demo-image
- 11: phyflex-imx6-2: PHYTEC phyFLEX-i.MX6 Quad PBA-B-01
- 1GiB RAM one bank, 16MiB SPI-NOR
- PFL-A-02-13237E0.A1
- distro: ampliphy-5.10.y
- target: phytec-qt5demo-image
- 12: phyflex-imx6-8: PHYTEC phyFLEX-i.MX6 Solo PBA-B-01
- 512MiB RAM one bank, no SPI-NOR
- PFL-A-02-0200541.A0
- distro: ampliphy-5.10.y
- target: phytec-qt5demo-image
- ---- hmmm no 5.15.y kernel ? ----
- let's try ampliphy-vanilla-master?
- $ 6
- add TARGET phytec-qt5demo-image to conf-notes.txt
- set MACHINE in local.conf to phyboard-mira-imx6-3
- set DISTRO in local.conf to ampliphy-vanilla-master
- Before you start your work, please check your build/conf/local.conf for
- host specific configuration. Check the documentation especially for:
- - proxy settings
- - DL_DIR
- - SSTATE_DIR
- To set up your shell environment for some Yocto work, you have to type this
- command, including the 'dot':
- $ . sources/poky/oe-init-build-env
- A docker image can also be used as your build environment.\n
- Set up your shell environment with:\n
- $ docker run --rm -it -v ${PWD}:/${PWD} crops/poky:ubuntu-20.04 --workdir=${PWD} bash\n
- Or start a build with:\n
- $ docker run --rm -it -v ${PWD}:/${PWD} crops/poky:ubuntu-20.04 --workdir=${PWD} \
- bash -c '. sources/poky/oe-init-build-env && bitbake phytec-headless-image'
- -----
- ---- hmmm templateconf points to poky? ----
- added to local.conf:
- MACHINE ??= "phyboard-mira-imx6-3"
- DISTRO ?= "ampliphy-vanilla-master"
- ---- had to add all the layers except for poky to bblayers.conf: ----
- # POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
- # changes incompatibly
- POKY_BBLAYERS_CONF_VERSION = "2"
- BBPATH = "${TOPDIR}"
- BBFILES ?= ""
- BBLAYERS ?= " \
- /workdir/3rd-party/phytec-imx6/sources/poky/meta \
- /workdir/3rd-party/phytec-imx6/sources/poky/meta-poky \
- /workdir/3rd-party/phytec-imx6/sources/poky/meta-yocto-bsp \
- /workdir/3rd-party/phytec-imx6/sources/meta-ampliphy \
- /workdir/3rd-party/phytec-imx6/sources/meta-fresh \
- /workdir/3rd-party/phytec-imx6/sources/meta-phytec \
- /workdir/3rd-party/phytec-imx6/sources/meta-openembedded/meta-python \
- /workdir/3rd-party/phytec-imx6/sources/meta-openembedded/meta-multimedia \
- /workdir/3rd-party/phytec-imx6/sources/meta-openembedded/meta-networking \
- /workdir/3rd-party/phytec-imx6/sources/meta-openembedded/meta-oe \
- /workdir/3rd-party/phytec-imx6/sources/meta-qt5 \
- /workdir/3rd-party/phytec-imx6/sources/meta-rauc \
- "
- pokyuser@HP-ZBook-15-G4-2:/workdir/build/phyboard-mira-imx6-3-6$ bitbake core-image-minimal
- Loading cache: 100% | | ETA: --:--:--
- Loaded 0 entries from dependency cache.
- 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
- 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
- Parsing recipes: 100% |########################################################################################################################################################| Time: 0:01:22
- Parsing of 2572 .bb files complete (0 cached, 2572 parsed). 3870 targets, 381 skipped, 0 masked, 0 errors.
- NOTE: Resolving any missing task queue dependencies
- Build Configuration:
- BB_VERSION = "1.50.0"
- BUILD_SYS = "x86_64-linux"
- NATIVELSBSTRING = "ubuntu-20.04"
- TARGET_SYS = "arm-phytec-linux-gnueabi"
- MACHINE = "phyboard-mira-imx6-3"
- DISTRO = "ampliphy"
- DISTRO_VERSION = "BSP-Yocto-Ampliphy-i.MX6-PD21.1.1"
- TUNE_FEATURES = "arm vfp cortexa9 neon thumb callconvention-hard"
- TARGET_FPU = "hard"
- meta
- meta-poky
- meta-yocto-bsp = "HEAD:1cefabe0f0a2dd2ca8b6eb83e8e0824b72da941a"
- meta-ampliphy = "HEAD:1afaa3fbdf8fab4e477e3c1d857b9486d2486b59"
- meta-fresh = "HEAD:e7ced6e2cfe01ad7d0cd7cf2e880f95a9efbfaf7"
- meta-phytec = "HEAD:df6dd2a5d2a36010c309ad01a1b15ba7e538e22e"
- meta-python
- meta-multimedia
- meta-networking
- meta-oe = "HEAD:786d3aa313e31a718acc9611ba3adb60573ec458"
- meta-qt5 = "HEAD:43f8f539d40070a70fe89136db89bf5bb1dfe7ed"
- meta-rauc = "HEAD:b344adecae6cef9a26b3c5b6a7bb344d18c074a6"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement