Hi Aldo,
I don't think the script will work given what I have. I'd like to make a correction though earlier, I had suspected that the initramfs was irrelevant and I said I had to use the old one which isn't the case.
I had actually opened a github issue to confirm the initramfs: https://github.com/nxp-imx/mfgtools/issues/471
That being said, I'm going through the documentation to flash the board with yocto. Here's what I've done:
I've setup the repo like so:
repo init -u https://github.com/nxp-imx/imx-manifest\n-
b imx-linux-styhead -m imx-6.12.3-1.0.0.xml
Previously, I had three files u-boot.imx, zImage, and fsl-image-mfgtool-initramfs.
I can make the initramfs with
bitbake fsl-image-mfgtool-initramfs
but I'm not sure how to make the corresponding u-boot.imx and zImage. My understanding is that the u-boot.imx is dependent on the type of boot-media. For example if you were booting off of the emmc storage or an SD card. I think the board is booting off of emmc or QSPI flash. Is there a way for the u-boot.imx to be able to support both?
I'm new to the Yocto project and working with embedded Linux on these boards so thank you for your patience!
Best,
Benjamin