Replies: 5 comments 16 replies
-
@BhupiMAD you linked to the wrong "drew" above. ;-) The files under u-boot-distro-boot are not a MACHINE definition but rather the customizations unique to those platforms. You can diff them with each other to get a sense of what changes are necessary. Looking at beagleplay vs beaglebone-yocto, for instance, the changes are related to MMC device numbering and the fdtfile to be used. At a minimum you will need to customize those values for your specific board. As for which manifest to use, it's hard to say without trying. You may be able to manually add meta-common-torizon to your existing setup but it will bring in a number of other layers via LAYERDEPENDS. If you start with the common-torizon manifest you will likely have similar dependencies to resolve with respect to your BSP layer. The next complexity will be adapting your build to the torizon or torizon-upstream DISTRO and the torizon-core-* image recipes. It's hard to say what specific issues you will have so I suggest just give it a try and post any issues you cannot resolve here. |
Beta Was this translation helpful? Give feedback.
-
I don't want to simplify too much because I don't know well the ENGICAM HW but in theory should be like our verdin-imx8mp. |
Beta Was this translation helpful? Give feedback.
-
@drewmoseley torizon-conf To give you a little background. What i did was to try to import just the following recipe into my existing recipe This builds successfully, even Torizon vs code extension shows the device in the list, but it is unable to connect to it. At this point of time i am only concerned about running docker and connecting to Torizon VS code extension, i have removed all other recipes and packages from torizon, unless they are necessary for MVP test. |
Beta Was this translation helpful? Give feedback.
-
The VSCode extension connects using SSH to the board. I don't think it needs any of those packages you mentioned. Are you able to ssh directly to the board? There should be something in one of the terminal outputs that gives you a hint. |
Beta Was this translation helpful? Give feedback.
-
@EstebanSannin As you suggested, I am trying to build verdin-imx8mp with the below changes, removing the modules with strikethrough and requesting clarity on the bold lines below. I assume much of the board (engicam - Toradex imx8mp) is the same apart from the address on which the hardware such as RAM and other hardware might be located and this is taken care of by dtb file. Are below values hardware specific or same between both imx8mp boards? ` MACHINE_NAME = "Verdin-iMX8MP" MACHINEOVERRIDES =. "mx8:mx8m:mx8mp:" MACHINE_EXTRA_RRECOMMENDS:append = " mwifiexconf" IMX_DEFAULT_BSP = "nxp" require conf/machine/include/imx-base.inc ##Don't include kernels in standard images KERNEL_DTB_PREFIX = "freescale/"
UBOOT_CONFIG ??= "sd" UBOOT_DTB_LOADADDRESS:mx8mp-generic-bsp = "0x50200000" ##Set u-boot DTB, edited by vicky and changed from imx8mp-verdin.dtb to imx8mp-icore-starterkit.dtb ##Set DDR FIRMWARE ATF_PLATFORM = "imx8mp" BOOT_SPACE = "65536" ##Set imx-mkimage boot target IMAGE_BOOT_FILES:append = " boot.scr-${MACHINE};boot.scr" LOADADDR = "" PREFERRED_PROVIDER_virtual/kernel = "linux-toradex" IMX_DEFAULT_BOOTLOADER = "u-boot-toradex" ##handle machine firmware IMAGE_CLASSES:append = " image_type_tezi" UBOOT_BINARY_TEZI_EMMC = "imx-boot" TEZI_EXTERNAL_KERNEL_DEVICETREE_BOOT = "verdin-imx8mp_hdmi_overlay.dtbo verdin-imx8mp_dsi-to-hdmi_overlay.dtbo verdin-imx8mp_spidev_overlay.dtbo" ##Commented by vicky ` |
Beta Was this translation helpful? Give feedback.
-
I am using Engicam imx8mp SOM on our custom board and would like to install Torizon OS on this board.
I am confused about the two approaches below.
If i go down with (2) approach. I see that the machines are added under the meta-common-torizon/machine/include with some overrides and also under meta-common-torizon/recipes-bsp/u-boot/u-boot-distro-boot.
I need some info on what these overrides should be for my machine?
Link to the bsp i am using right now engicam-imx8mp and link to machine conf
@drew suggested to ask help on the github for better reach.
Beta Was this translation helpful? Give feedback.
All reactions