Launch bare metal sample

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

Launch bare metal sample

767件の閲覧回数
OlivierG
Contributor III

Hi

I use a Imx 93 evk board
I am tring to measure the launch time of a bare metal yocto application

i launch
MACHINE=imx91-11x11-lpddr4-evk DISTRO=nxp-real-time-edge source ./real-time-edge-setup-env.sh -b build
bitbake nxp-image-real-time-edge

in the image there are samples
/root/examples/heterogeneous-multicore/

i would like to launch a sample which emit an Ethernet trame like : hello-world-ca
/root/examples/heterogeneous-multicore/hello-world-ca/ddr_release

I would like to launch wireshark on the host PC and measure approximatively the time beetween the power on and the first trame on wireshark

Is there a way to flash an SD card with this example so that it boots immediately ?

 

Greeting 

Olivier

0 件の賞賛
返信
1 返信

747件の閲覧回数
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Thank you for your interest in NXP Semiconductor products,

You could use the time command for measuring the time executing the command of loading and running the demo, you will use this command:

# Use the command from 3.3.2.3.1.2 RTEDGEUG
setenv load_baremetal "ext4load mmc 1:2 0xC0000000 /examples/heterogeneous-multicore/hello-world-ca/ddr_release/hello_world_ca53_RTOS0_RAM_CONSOLE-0xc0fff000.bin; dcache flush; icache flush; cpu 2 release 0xC0000000"
# Measure the time that takes to run the script
time run load_baremetal

Then, you can add the script to bootscript for its automatic execution upon boot.

Regards

0 件の賞賛
返信