meta-balena for iMX8m mini board with kernel 5.15 and yocto kirkstone

Hi there,

I am looking for a yocto setup where i can compile the yocto image for belenaOS where my device (iMX8m mini).
I have tried compiling the balena-fsl-arm (GitHub - balena-os/balena-fsl-arm: Balena support for Freescale boards), it compiles but when i create the sd card and put it in device. but it hangs at bootup.




Can't find PMIC:PCA9450
DDRINFO: start DRAM init
DDRINFO: DRAM rate 3000MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
SEC0:  RNG instantiated
NOTICE:  BL31: v2.4(release):lf-5.10.52-2.1.0-rc2-0-gbb4957067
NOTICE:  BL31: Built : 04:45:39, Sep  8 2021

















[    0.340661] imx_sec_dsim_drv 32e10000.mipi_dsi: Failed to attach bridge: 32e10000.mipi_dsi
[    0.348949] imx_sec_dsim_drv 32e10000.mipi_dsi: failed to bind sec dsim bridge: -517
[    0.369139] of_reserved_mem_lookup() returned NULL
[    0.420346] sdhci-esdhc-imx 30b40000.mmc: voltage-ranges unspecified
[    0.424399] sdhci-esdhc-imx 30b60000.mmc: voltage-ranges unspecified
[    0.433123] sdhci-esdhc-imx 30b50000.mmc: voltage-ranges unspecified
[    0.498456] fsl-micfil-dai 30080000.micfil: GET IRQ: 24
[    0.503722] fsl-micfil-dai 30080000.micfil: GET IRQ: 25
[    0.508968] fsl-micfil-dai 30080000.micfil: GET IRQ: 26
[    0.514210] fsl-micfil-dai 30080000.micfil: GET IRQ: 27
[    0.557156] nxp-pca9450 0-0025: Read device id error
[    0.584303] ov5640_mipi 2-003c: Read reg error: reg=300a
[    0.594874] imx_sec_dsim_drv 32e10000.mipi_dsi: Failed to attach bridge: 32e10000.mipi_dsi
[    0.603183] imx_sec_dsim_drv 32e10000.mipi_dsi: failed to bind sec dsim bridge: -19
[    0.620126] imx6q-pcie 33800000.pcie: invalid resource
[    0.625306] sdhci-esdhc-imx 30b40000.mmc: voltage-ranges unspecified
[    0.634162] sdhci-esdhc-imx 30b50000.mmc: voltage-ranges unspecified
[    0.644047] debugfs: File 'Playback' in directory 'dapm' already present!
[    0.650886] debugfs: File 'Capture' in directory 'dapm' already present!
[    0.667214] OF: graph: no port node found in /soc@0/bus@30800000/i2c@30a30000/tcpc@50/connector
[    0.675972] OF: graph: no port node found in /soc@0/bus@30800000/i2c@30a30000/tcpc@50/connector
[    1.622011] imx6q-pcie 33800000.pcie: failed to initialize host
[    1.627957] imx6q-pcie 33800000.pcie: unable to add pcie port.
Starting version 249.7+

My target is to have an iMX8m build with 5.15 kernel with kirkstone yocto that can communicate with balenaCloud.

For compilation i have opt for steps from the README

./balena-yocto-scripts/build/barys --remove-build --dry-run
source layers/poky/oe-init-build-env
# changes in local.conf
bitbake balena-image

Is there any better document which i can use to achieve my targets.

I am new to this balenaOS concepts. I am looking for more documents to have batter understanding.

Thanks & Regards,
Bhavesh Shah

Hey there @Bhavesh - welcome to the forums! Did you find our guide here: https://github.com/balena-os/meta-balena/blob/master/contributing-device-support.md ?