Hello,
I am able to generate imx93 full image as per the steps given on getting started with IMX93 FRDM board site. Now i am trying to add packages related to encoding/decoding and ethernet connectivity to be used via G-streamer, but getting several errors when executing bitbake command. The command is again downloading and installing more packages/source files for different modules and it has caused my system to go out of memory (i have 500GB SSD attached to the system) and giving errors for different modules. My updated loacal.conf file as follows:
MACHINE ??= 'imx93frdm'
DISTRO ?= 'fsl-imx-xwayland'
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
USER_CLASSES ?= "buildstats"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS ??= "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \
HALT,${TMPDIR},100M,1K \
HALT,${DL_DIR},100M,1K \
HALT,${SSTATE_DIR},100M,1K \
HALT,/tmp,10M,1K"
PACKAGECONFIG:append:pn-qemu-system-native = " sdl"
CONF_VERSION = "2"
DL_DIR ?= "${BSPDIR}/downloads/"
ACCEPT_FSL_EULA = "1"
# Switch to Debian packaging and include package-management in the image
PACKAGE_CLASSES = "package_deb"
EXTRA_IMAGE_FEATURES += "package-management"
BB_NUMBER_THREADS = "4"
PARALLEL_MAKE = "-j4"
LICENSE_FLAGS_ACCEPTED = "commercial gpl"
IMAGE_INSTALL:append = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-rtsp-server"
PTEST_ENABLED:pn-busybox= "0"
do_install_ptest_base:pn-busybox[noexec]= "1"
do_install_ptest:pn-busybox[noexec]="1"
do_create_ptest_list:pn-busybox[noexec]="1"
Attaching error logs in with this post.
Can someone please guide me how to resolve this issue and get a complete full image for imx93 with camera, npu, ethernet and encoders/decoders available to be used via Gstreamer to create a custom python application for my use-case.
I am using following command to create a custom image: bitbake imx-image-full.
Hi @Aditya_Vashista!
Thank you for contacting NXP Support!
The most part of those packages are included in the full image.
The problem that I see in your Yocto compilation is a patch error adding the frdm machine to the kernel, can you describe the steps that are you following to replicate the error and fix it as sson as possible?
Best Regards!
Chavira
Hi @Chavira,
I prepared the full image for imx93 successfully, using the previously provided local.conf file except the below lines
#Code to be added later
LICENSE_FLAGS_ACCEPTED = "commercial gpl"
IMAGE_INSTALL:append = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-rtsp-server"
Using the image build I am trying to send video data over the ethernet. While executing the gstreamer pipeline, to compress the video source from /dev/video0 and sending it to VPU and then to ethernet; I am getting errors from Gstreamer related to plugins not found.
To enable these plugins, I am creating a new image with changes in the previous local.conf by adding the above-mentioned lines. Now my system has ran out of space as ~450GB of memory is now being consumed by the downloads done during bitbake execution and failing.
Also, if you can provide a GStreamer pipeline string to send Camera Video to VPU for compression and then forwarded to ethernet; that would be really appreciated.
Thanks and regards
Aditya
Hi @Aditya_Vashista!
Maybe you are confused.
The iMX93 doesn't have any gpu or vpu.
Please check the features here
Best Regards!
Chavira