Hi Team,
I am trying to understand and check from where exactly the M4 code gets call from SCFW and who loads its and what its call-flow
Please try to help with code or flow-chart for call from SCFW , please point to exact src file from where I can find the exact function
Thanks in Advance !!
Hi,
Thank you for your interest in NXP Semiconductor products,
This is the theory behind that operation.
And this is how SCFW creates the partition for M4 image.
user@host:~/Projects/i.MX-SCFW/packages/imx-scfw-porting-kit-1.15.0/src/scfw_export_mx8qm_b0$ find . -type f -exec grep "sc_rm_pt_t pt_m4" '{}' \; -print
sc_rm_pt_t pt_m4_0 = SC_RM_NUM_PARTITION;
./platform/board/mx8qx_mek/board.c
sc_rm_pt_t pt_m4_0 = SC_RM_NUM_PARTITION;
sc_rm_pt_t pt_m4_1 = SC_RM_NUM_PARTITION;
./platform/board/mx8qm_mek/board.c
sc_rm_pt_t pt_m4_0 = SC_RM_NUM_PARTITION;
./platform/board/mx8qx_val/board.c
sc_rm_pt_t pt_m4_0 = SC_RM_NUM_PARTITION;
./platform/board/mx8dxl_evk/board.c
sc_rm_pt_t pt_m4_0 = SC_RM_NUM_PARTITION;
sc_rm_pt_t pt_m4_1 = SC_RM_NUM_PARTITION;
./platform/board/mx8qm_mek_cockpit/board.c
sc_rm_pt_t pt_m4_0 = SC_RM_NUM_PARTITION;
sc_rm_pt_t pt_m4_1 = SC_RM_NUM_PARTITION;
./platform/board/mx8qm_val/board.c
Regards
Hi @JosephAtNXP
Thanks for providing below theory concept
Could you give little more brief in terms of flow , once we flash "flash.bin" on target board
How it will start the sequence how it loads other images
We are completely stuck at some point with out any clue
From pic I have attached , its high level diagram but we need some more details info related how exactly it fetches the ATF-> U-boot->
Hi,
Thank you for your interest in NXP Semiconductor products,
All the loading is done by the SCU ROM and once it is done it
jumps to the SCFW which has no ability to load anything further. The ROM does not start any of the CPUs.
Regards