Advertisement
RobertBerger

phytec-imx8mm.txt

Apr 17th, 2020
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.08 KB | None | 0 0
  1. mkdir phytec-imx8mm
  2. cd phytec-imx8mm
  3.  
  4. wget ftp://ftp.phytec.de/pub/Software/Linux/Yocto/Tools/phyLinux
  5. chmod +x phyLinux
  6. ./phyLinux init
  7.  
  8. No SoC Platform selected
  9. ***************************************************
  10. * Please choose one of the available SoC Platforms:
  11. *
  12. * 1: am335x
  13. * 2: imx6
  14. * 3: imx6ul
  15. * 4: imx8
  16. * 5: imx8m
  17. * 6: imx8mm
  18. * 7: nightly
  19. * 8: rk3288
  20. * 9: stm32mp1
  21. * 10: topic
  22. *
  23. $ 6
  24.  
  25. ***************************************************
  26. * Please choose one of the available Releases:
  27. *
  28. * 1: PD-BSP-Yocto-FSL-i.MX8MM-ALPHA1
  29. * 2: PD-BSP-Yocto-FSL-i.MX8MM-ALPHA2
  30. *
  31. $ 2
  32.  
  33. BSP has phyLinux API Version 2
  34. copy /workdir/phytec-imx8mm/sources/meta-phytec/conf/bblayers.conf.sample to /workdir/phytec-imx8mm/tools/templateconf
  35. copy /workdir/phytec-imx8mm/sources/meta-phytec/conf/local.conf.sample to /workdir/phytec-imx8mm/tools/templateconf
  36. copy /workdir/phytec-imx8mm/sources/meta-phytec/conf/conf-notes.txt to /workdir/phytec-imx8mm/tools/templateconf
  37. ('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']))
  38. No site.conf found on host.
  39. *********************************************************************
  40. * Please choose one of the available builds:
  41. *
  42. no: machine: description and article number
  43. distro: supported yocto distribution
  44. target: supported build target
  45.  
  46. 1: phyboard-polis-imx8mm-1: PHYTEC phyBOARD-POLIS i.MX8M Mini 2GB RAM
  47. 16GB eMMC (deprecated)
  48. PB-02820.A0
  49. distro: yogurt-vendor
  50. target: phytec-headless-image
  51. 2: phyboard-polis-imx8mm-2: PHYTEC phyBOARD-POLIS i.MX8M Mini 2GB RAM
  52. 16GB eMMC
  53. PB-02820.A1
  54. distro: yogurt-vendor
  55. target: phytec-headless-image
  56. 3: phyboard-polis-imx8mm-2: PHYTEC phyBOARD-POLIS i.MX8M Mini 2GB RAM
  57. 16GB eMMC
  58. PB-02820.A1
  59. distro: yogurt-vendor-xwayland
  60. target: -c populate_sdk phytec-qt5demo-image
  61. target: phytec-qt5demo-image
  62. $ 2
  63.  
  64. ...
  65.  
  66. add TARGET phytec-headless-image to conf-notes.txt
  67. set MACHINE in local.conf to phyboard-polis-imx8mm-2
  68. set DISTRO in local.conf to yogurt-vendor
  69.  
  70. Before you start your work, please check your build/conf/local.conf for
  71. host specific configuration. Check the documentation especially for:
  72. - proxy settings
  73. - DL_DIR
  74. - SSTATE_DIR
  75.  
  76. To set up your shell environment for some Yocto work, you have to type this
  77. command, including the 'dot':
  78.  
  79. $ . sources/poky/oe-init-build-env
  80.  
  81.  
  82. pokyuser@2eb1a85411f7:/workdir/phytec-imx8mm$
  83.  
  84.  
  85. bitbake phytec-headless-image
  86.  
  87. ...
  88.  
  89. Build Configuration:
  90. BB_VERSION = "1.40.0"
  91. BUILD_SYS = "x86_64-linux"
  92. NATIVELSBSTRING = "universal"
  93. TARGET_SYS = "aarch64-phytec-linux"
  94. MACHINE = "phyboard-polis-imx8mm-2"
  95. DISTRO = "yogurt-vendor"
  96. DISTRO_VERSION = "2.6.2"
  97. TUNE_FEATURES = "aarch64"
  98. TARGET_FPU = ""
  99. meta
  100. meta-poky = "HEAD:50f33d3bfebcbfb1538d932fb487cfd789872026"
  101. meta-oe
  102. meta-networking
  103. meta-python
  104. meta-multimedia
  105. meta-filesystems
  106. meta-filesystems
  107. meta-gnome = "HEAD:4cd3a39f22a2712bfa8fc657d09fe2c7765a4005"
  108. meta-bsp
  109. meta-sdk
  110. meta-ml = "HEAD:054f84048a2ba6b7d7ac4fcb371b0c6a5d71f7be"
  111. meta-browser = "HEAD:23e206d355e46d6f6e6a5638c574524492f91bc2"
  112. meta-freescale = "HEAD:f5c932229c31b612cba38c2ed6f3c3ec6b800e92"
  113. meta-freescale-3rdparty = "HEAD:c4b5ac6b20e4245ce0630e9197313aaef999a331"
  114. meta-freescale-distro = "HEAD:4a244af3993ae662624c6f615464e6806cc719a2"
  115. meta-phytec = "HEAD:8b1b15da498d2329005b833ce95d8238cfb5e169"
  116. meta-qt5 = "HEAD:0630018c0033c91fddda62a49f59a82ba6ec6850"
  117. meta-rauc = "HEAD:10eec8c7e429faa0b03e7eebcc78f0fa3466992c"
  118. meta-rust = "HEAD:84710b341be53cc2af13ecc8ae87773cf84687bf"
  119. meta-timesys = "HEAD:36b315016a900e98809ef7e3bcf95ae37098e88b"
  120. meta-yogurt = "HEAD:4645d73216cc0ba8b3c9348519ff9f6a8edf698c"
  121.  
  122. ...
  123.  
  124.  
  125. linux-imx-4.19.35-r0.0
  126. linux-firmware-1_0.0+gitAUTOINC+710963fe53_a0026b646c+f6d0859f94-r0
  127.  
  128. ./meta-phytec/conf/machine/phyboard-polis-imx8mm-2.conf:
  129.  
  130. #@TYPE: Machine
  131. #@NAME: phyboard-polis-imx8mm-2
  132. #@DESCRIPTION: PHYTEC phyBOARD-POLIS i.MX8M Mini 2GB RAM, 16GB eMMC
  133. #@ARTICLENUMBERS: PB-02820.A1
  134.  
  135. MACHINEOVERRIDES =. "mx8:mx8m:mx8mm:"
  136.  
  137. require conf/machine/include/imx-base.inc
  138. include conf/machine/include/phyimx8.inc
  139. require conf/machine/include/arm/arch-arm64.inc
  140.  
  141. MACHINE_FEATURES += " emmc pci wifi bluetooth can"
  142.  
  143. KERNEL_DEVICETREE = "freescale/phytec-imx8mm-phyboard-polis-rdk.dtb"
  144.  
  145. # Set DDR FIRMWARE
  146. 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"
  147.  
  148. UBOOT_CONFIG ??= "sd"
  149. UBOOT_CONFIG[sd] = "phycore-imx8mm_defconfig,sdcard"
  150. UBOOT_CONFIG[mfgtool] = "phycore-imx8mm_defconfig"
  151. SPL_BINARY = "spl/u-boot-spl.bin"
  152.  
  153. # Set u-boot DTB
  154. UBOOT_DTB_NAME = "phytec-phycore-imx8mm.dtb"
  155.  
  156. # Set imx-mkimage boot target
  157. IMXBOOT_TARGETS = "flash_evk"
  158.  
  159. # Set Serial console
  160. SERIAL_CONSOLES = "115200;ttymxc2"
  161.  
  162. IMAGE_BOOTLOADER = "imx-boot"
  163.  
  164. DEFAULTTUNE_mx8 = "aarch64"
  165.  
  166. IMX_DEFAULT_KERNEL = "linux-imx"
  167.  
  168. KERNEL_IMAGETYPE = "Image"
  169.  
  170. BOOT_SPACE = "32768"
  171.  
  172. LOADADDR = ""
  173. UBOOT_SUFFIX = "bin"
  174. UBOOT_MAKE_TARGET = ""
  175.  
  176. ----
  177.  
  178.  
  179. https://github.com/Freescale/meta-freescale-3rdparty/blob/master/conf/machine/nitrogen8m.conf
  180.  
  181. ----
  182.  
  183. from board (Lxoni)
  184.  
  185. U-Boot 2019.04 (Dec 12 2019 - 14:43:51 +0000)
  186.  
  187. CPU: Freescale i.MX8MMQ rev1.0 1600 MHz (running at 1200 MHz)
  188. CPU: Industrial temperature grade (-40C to 105C) at 41C
  189. Reset cause: POR
  190. Model: PHYTEC phyCORE-i.MX8MM
  191. DRAM: 2 GiB
  192. MMC: FSL_SDHC: 1, FSL_SDHC: 2
  193. Loading Environment from MMC... *** Warning - bad CRC, using default environment
  194.  
  195. In: serial
  196. Out: serial
  197. Err: serial
  198.  
  199. BuildInfo:
  200. - ATF f92d379
  201. - U-Boot 2019.04
  202.  
  203. -----
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement