Hello everyone.
The task is to port pjsip and develop a simple voip on the imxrt1064 board.
For this I plan to use zephyr rtos.
I install Zephyr RTOS by manual:
https://docs.zephyrproject.org/3.5.0/develop/getting_started/index.html
Brief instructions:
west init -m https://github.com/nxp-upstream/zephyr ~/ZEPHYR_RTOS/zephyrproject
west update
west zephyr-export
pip install -r ~/ZEPHYR_RTOS/zephyrproject/zephyr/scripts/requirements.txt
Install Zephyr SDK:
wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.16.3/zephyr-sdk-0.16.3_linux-x86_64.tar.xz
wget -O - https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.16.3/sha256.sum | shasum --check --ignore-missing
tar xvf zephyr-sdk-0.16.3_linux-x86_64.tar.xz
cd zephyr-sdk-0.16.3/
./setup.sh
I wanted to try the capture example for imxrt1064:
1) west build -b mimxrt1064_evk samples/drivers/video/capture --shield "dvp_fpc24_mt9m114;rk043fn66hs_ctg" --build-dir imxrt1064_video_capture
2) west flash -r pyocd --build-dir imxrt1064_video_capture
Example was build succes, and board was flash.
Zephyr RTOS started:
*** Booting Zephyr OS build 3ae962fd364a ***
<err> video_mt9m114: Unable to configure default format
Camera don't work properly.
After reviewing the code and the driver for the camera mt9m114, I saw a bug in the driver code(copy paste bugs :-)).
I'm sending a patch to solve the problem, I hope the community will fix it.
I also have a network dropout on this board when running zephyr rtos, apparently the drivers need to be edited again. The first impression was ambiguous. There were no such bugs in nxp sdk freertos(mcuexpresso), the examples worked out of the box, here they apparently just copied and pasted the code and no one checked anything.