Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mkdir phytec-imx8mm
- cd phytec-imx8mm
- wget ftp://ftp.phytec.de/pub/Software/Linux/Yocto/Tools/phyLinux
- chmod +x phyLinux
- ./phyLinux init
- No SoC Platform selected
- ***************************************************
- * Please choose one of the available SoC Platforms:
- *
- * 1: am335x
- * 2: imx6
- * 3: imx6ul
- * 4: imx8
- * 5: imx8m
- * 6: imx8mm
- * 7: nightly
- * 8: rk3288
- * 9: stm32mp1
- * 10: topic
- *
- $ 6
- ***************************************************
- * Please choose one of the available Releases:
- *
- * 1: PD-BSP-Yocto-FSL-i.MX8MM-ALPHA1
- * 2: PD-BSP-Yocto-FSL-i.MX8MM-ALPHA2
- *
- $ 2
- BSP has phyLinux API Version 2
- copy /workdir/phytec-imx8mm/sources/meta-phytec/conf/bblayers.conf.sample to /workdir/phytec-imx8mm/tools/templateconf
- copy /workdir/phytec-imx8mm/sources/meta-phytec/conf/local.conf.sample to /workdir/phytec-imx8mm/tools/templateconf
- copy /workdir/phytec-imx8mm/sources/meta-phytec/conf/conf-notes.txt to /workdir/phytec-imx8mm/tools/templateconf
- ('Layers to add:', set(['meta-phytec', 'meta-freescale', 'meta-rust', 'meta-browser', 'meta-timesys', 'meta-yogurt', 'meta-qt5', 'meta-freescale-distro', 'meta-rauc', 'meta-freescale-3rdparty']))
- 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-polis-imx8mm-1: PHYTEC phyBOARD-POLIS i.MX8M Mini 2GB RAM
- 16GB eMMC (deprecated)
- PB-02820.A0
- distro: yogurt-vendor
- target: phytec-headless-image
- 2: phyboard-polis-imx8mm-2: PHYTEC phyBOARD-POLIS i.MX8M Mini 2GB RAM
- 16GB eMMC
- PB-02820.A1
- distro: yogurt-vendor
- target: phytec-headless-image
- 3: phyboard-polis-imx8mm-2: PHYTEC phyBOARD-POLIS i.MX8M Mini 2GB RAM
- 16GB eMMC
- PB-02820.A1
- distro: yogurt-vendor-xwayland
- target: -c populate_sdk phytec-qt5demo-image
- target: phytec-qt5demo-image
- $ 2
- ...
- add TARGET phytec-headless-image to conf-notes.txt
- set MACHINE in local.conf to phyboard-polis-imx8mm-2
- set DISTRO in local.conf to yogurt-vendor
- 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
- pokyuser@2eb1a85411f7:/workdir/phytec-imx8mm$
- bitbake phytec-headless-image
- ...
- Build Configuration:
- BB_VERSION = "1.40.0"
- BUILD_SYS = "x86_64-linux"
- NATIVELSBSTRING = "universal"
- TARGET_SYS = "aarch64-phytec-linux"
- MACHINE = "phyboard-polis-imx8mm-2"
- DISTRO = "yogurt-vendor"
- DISTRO_VERSION = "2.6.2"
- TUNE_FEATURES = "aarch64"
- TARGET_FPU = ""
- meta
- meta-poky = "HEAD:50f33d3bfebcbfb1538d932fb487cfd789872026"
- meta-oe
- meta-networking
- meta-python
- meta-multimedia
- meta-filesystems
- meta-filesystems
- meta-gnome = "HEAD:4cd3a39f22a2712bfa8fc657d09fe2c7765a4005"
- meta-bsp
- meta-sdk
- meta-ml = "HEAD:054f84048a2ba6b7d7ac4fcb371b0c6a5d71f7be"
- meta-browser = "HEAD:23e206d355e46d6f6e6a5638c574524492f91bc2"
- meta-freescale = "HEAD:f5c932229c31b612cba38c2ed6f3c3ec6b800e92"
- meta-freescale-3rdparty = "HEAD:c4b5ac6b20e4245ce0630e9197313aaef999a331"
- meta-freescale-distro = "HEAD:4a244af3993ae662624c6f615464e6806cc719a2"
- meta-phytec = "HEAD:8b1b15da498d2329005b833ce95d8238cfb5e169"
- meta-qt5 = "HEAD:0630018c0033c91fddda62a49f59a82ba6ec6850"
- meta-rauc = "HEAD:10eec8c7e429faa0b03e7eebcc78f0fa3466992c"
- meta-rust = "HEAD:84710b341be53cc2af13ecc8ae87773cf84687bf"
- meta-timesys = "HEAD:36b315016a900e98809ef7e3bcf95ae37098e88b"
- meta-yogurt = "HEAD:4645d73216cc0ba8b3c9348519ff9f6a8edf698c"
- ...
- linux-imx-4.19.35-r0.0
- linux-firmware-1_0.0+gitAUTOINC+710963fe53_a0026b646c+f6d0859f94-r0
- ./meta-phytec/conf/machine/phyboard-polis-imx8mm-2.conf:
- #@TYPE: Machine
- #@NAME: phyboard-polis-imx8mm-2
- #@DESCRIPTION: PHYTEC phyBOARD-POLIS i.MX8M Mini 2GB RAM, 16GB eMMC
- #@ARTICLENUMBERS: PB-02820.A1
- MACHINEOVERRIDES =. "mx8:mx8m:mx8mm:"
- require conf/machine/include/imx-base.inc
- include conf/machine/include/phyimx8.inc
- require conf/machine/include/arm/arch-arm64.inc
- MACHINE_FEATURES += " emmc pci wifi bluetooth can"
- KERNEL_DEVICETREE = "freescale/phytec-imx8mm-phyboard-polis-rdk.dtb"
- # Set DDR FIRMWARE
- DDR_FIRMWARE_NAME = "lpddr4_pmu_train_1d_imem.bin lpddr4_pmu_train_1d_dmem.bin lpddr4_pmu_train_2d_imem.bin lpddr4_pmu_train_2d_dmem.bin"
- UBOOT_CONFIG ??= "sd"
- UBOOT_CONFIG[sd] = "phycore-imx8mm_defconfig,sdcard"
- UBOOT_CONFIG[mfgtool] = "phycore-imx8mm_defconfig"
- SPL_BINARY = "spl/u-boot-spl.bin"
- # Set u-boot DTB
- UBOOT_DTB_NAME = "phytec-phycore-imx8mm.dtb"
- # Set imx-mkimage boot target
- IMXBOOT_TARGETS = "flash_evk"
- # Set Serial console
- SERIAL_CONSOLES = "115200;ttymxc2"
- IMAGE_BOOTLOADER = "imx-boot"
- DEFAULTTUNE_mx8 = "aarch64"
- IMX_DEFAULT_KERNEL = "linux-imx"
- KERNEL_IMAGETYPE = "Image"
- BOOT_SPACE = "32768"
- LOADADDR = ""
- UBOOT_SUFFIX = "bin"
- UBOOT_MAKE_TARGET = ""
- ----
- https://github.com/Freescale/meta-freescale-3rdparty/blob/master/conf/machine/nitrogen8m.conf
- ----
- from board (Lxoni)
- U-Boot 2019.04 (Dec 12 2019 - 14:43:51 +0000)
- CPU: Freescale i.MX8MMQ rev1.0 1600 MHz (running at 1200 MHz)
- CPU: Industrial temperature grade (-40C to 105C) at 41C
- Reset cause: POR
- Model: PHYTEC phyCORE-i.MX8MM
- DRAM: 2 GiB
- MMC: FSL_SDHC: 1, FSL_SDHC: 2
- Loading Environment from MMC... *** Warning - bad CRC, using default environment
- In: serial
- Out: serial
- Err: serial
- BuildInfo:
- - ATF f92d379
- - U-Boot 2019.04
- -----
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement