2130631_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

2130631_en-US

2130631_en-US

Do we have example for zerphyr on i.mx93 core-m33?

Hi NAP team,

I notice we have some example in evk image
```sh
root@imx93-11x11-lpddr4x-evk:~# ls -l /lib/firmware/ | grep m33
-rw-r--r-- 1 root root 212004 Apr 5 2011 imx93-11x11-evk_m33_TCM_low_power_wakeword.elf
-rw-r--r-- 1 root root 58296 Apr 5 2011 imx93-11x11-evk_m33_TCM_power_mode_switch.elf
-rw-r--r-- 1 root root 60624 Apr 5 2011 imx93-11x11-evk_m33_TCM_rpmsg_lite_pingpong_rtos_linux_remote.elf
-rw-r--r-- 1 root root 59028 Apr 5 2011 imx93-11x11-evk_m33_TCM_rpmsg_lite_str_echo_rtos.elf
-rw-r--r-- 1 root root 112808 Apr 5 2011 imx93-11x11-evk_m33_TCM_sai_low_power_audio.elf
-rw-r--r-- 1 root root 56728 Apr 5 2011 imx93-14x14-evk_m33_TCM_power_mode_switch.elf
-rw-r--r-- 1 root root 60624 Apr 5 2011 imx93-14x14-evk_m33_TCM_rpmsg_lite_pingpong_rtos_linux_remote.elf
-rw-r--r-- 1 root root 59028 Apr 5 2011 imx93-14x14-evk_m33_TCM_rpmsg_lite_str_echo_rtos.elf
-rw-r--r-- 1 root root 210688 Apr 5 2011 imx93-9x9-qsb_m33_TCM_low_power_wakeword.elf
-rw-r--r-- 1 root root 56676 Apr 5 2011 imx93-9x9-qsb_m33_TCM_power_mode_switch.elf
-rw-r--r-- 1 root root 60624 Apr 5 2011 imx93-9x9-qsb_m33_TCM_rpmsg_lite_pingpong_rtos_linux_remote.elf
-rw-r--r-- 1 root root 59028 Apr 5 2011 imx93-9x9-qsb_m33_TCM_rpmsg_lite_str_echo_rtos.elf
-rw-r--r-- 1 root root 112200 Apr 5 2011 imx93-9x9-qsb_m33_TCM_sai_low_power_audio.elf
```

Do we have this example in zephyr?

I wish I can boot linux at a-core and zephyr in m-core im the same time.

LinuxRe: Do we have example for zerphyr on i.mx93 core-m33?

Have you follow the steps to program and boot?

Re: Do we have example for zerphyr on i.mx93 core-m33?

Hi @June_Lu 

No idea why post gone.

Which one is correct dts? what different betweent them?

zephyr/boards/nxp/imx93_evk$ ls
board.c                               imx93_evk_mimx9352_m33_ddr.dts
board.cmake                           imx93_evk_mimx9352_m33_ddr.yaml
board.yml                             imx93_evk_mimx9352_m33_defconfig
CMakeLists.txt                        imx93_evk_mimx9352_m33.dts
doc                                   imx93_evk_mimx9352_m33.yaml
dts                                   imx93_evk-pinctrl.dtsi
imx93_evk_mimx9352_a55_defconfig      Kconfig
imx93_evk_mimx9352_a55.dts            Kconfig.defconfig
imx93_evk_mimx9352_a55.yaml           Kconfig.imx93_evk
imx93_evk_mimx9352_m33_ddr_defconfig

I suppose should be imx93_evk_mimx9352_m33_ddr.dts, So I build with

west build -p always -b imx93_evk/mimx9352/m33 zephyr/samples/synchronization

west build -p always -b imx93_evk/mimx9352/m33 zephyr/samples/helloworld




I try both helloworld and synchronization, they ar all fail.

root@imx93-11x11-lpddr4x-evk:~# echo zephyr.elf > /sys/class/remoteproc/remoteproc0/firmware 
root@imx93-11x11-lpddr4x-evk:~# echo start > /sys/class/remoteproc/remoteproc0/state
-sh: echo: write error: No such file or directory
root@imx93-11x11-lpddr4x-evk:~# ls /sys/class/remoteproc/remoteproc0/
coredump  device  firmware  name  power  recovery  state  subsystem  uevent
root@imx93-11x11-lpddr4x-evk:~# echo /lib/firmware/imx93-11x11-evk_m33_TCM_power_mode_switch.elf > /sys/class/remoteproc/remoteproc0/firmware 
root@imx93-11x11-lpddr4x-evk:~# echo start > /sys/class/remoteproc/remoteproc0/state
root@imx93-11x11-lpddr4x-evk:~# echo stop > /sys/class/remoteproc/remoteproc0/stat


What is correct way to use zephyr.bin(or .elf)?
 

Re: Do we have example for zerphyr on i.mx93 core-m33?

Dear @June_Lu ,

I had read this, but not too much help

In zephyr we got many dts, what't between them?

zephyrproject/zephyr/boards/nxp/imx93_evk$ ls 
board.c                               imx93_evk_mimx9352_m33_ddr.dts
board.cmake                           imx93_evk_mimx9352_m33_ddr.yaml
board.yml                             imx93_evk_mimx9352_m33_defconfig
CMakeLists.txt                        imx93_evk_mimx9352_m33.dts
doc                                   imx93_evk_mimx9352_m33.yaml
dts                                   imx93_evk-pinctrl.dtsi
imx93_evk_mimx9352_a55_defconfig      Kconfig
imx93_evk_mimx9352_a55.dts            Kconfig.defconfig
imx93_evk_mimx9352_a55.yaml           Kconfig.imx93_evk

I suppose that I should use imx93_evk_mimx9352_m33.dts.

So I build it, but I can't run it.

west build -p always -b imx93_evk/mimx9352/m33 samples/hello_world

# In linux
root@imx93-11x11-lpddr4x-evk:~# echo /lib/firmware/imx93-11x11-evk_m33_TCM_power_mode_switch.elf > /sys/class/remoteproc/remoteproc0/firmware 
root@imx93-11x11-lpddr4x-evk:~# echo start > /sys/class/remoteproc/remoteproc0/state
root@imx93-11x11-lpddr4x-evk:~# echo zephyr.elf > /sys/class/remoteproc/remoteproc0/firmware                                                                      
-sh: echo: write error: Device or resource busy
root@imx93-11x11-lpddr4x-evk:~# echo stop > /sys/class/remoteproc/remoteproc0/state                                                                               
root@imx93-11x11-lpddr4x-evk:~# echo zephyr.elf > /sys/class/remoteproc/remoteproc0/firmware 
root@imx93-11x11-lpddr4x-evk:~# echo start > /sys/class/remoteproc/remoteproc0/state
-sh: echo: write error: No such file or director

What is the correct way to use zephyr.elf(or zephyr.bin)?

Re: Do we have example for zerphyr on i.mx93 core-m33?

Yes, please refer to

https://docs.zephyrproject.org/latest/boards/nxp/imx93_evk/doc/index.html#programming-and-debugging-...

Thanks

タグ(1)
評価なし
バージョン履歴
最終更新日:
‎11-21-2025 06:50 PM
更新者: