1) i am able to boot M7 with blinking led after startm7 command it got stuck .
Help me where I am doing mistake
Hi,
If you are looking to develop a multicore application, we can recommend looking into AN13750, which details a multicore application with the usage of the NXP Bootloader. The boot flow you are doing is not intended for S32G. The only example we see with this boot flow is the one referring to IPCF itself.
One of the main reasons for multicore boot failures is related to the linker file, which both the AN13750 and IPCF examples provide.
Still, as said in the beginning, if you are looking to develop a multicore application, we can recommend looking into AN13750.
Please, let us know.
Ok I will follow according to you.
1) first provide me updated AN13750 .
2) because all source links are very old and not working
3)I want to know clear information about patch files .where will get them ? And is it mandatory to apply patches according to old AN13750 document?
4) Give me logs of successfully executed for the documents of AN13750.
5) provide live contact source .I need explain each issues iam facing while executing Old AN13750 document.
6) the below attachment is very old which is available now in nxp documents.
Hi,
Thanks for your feedback. Below will be some comments on regards of your questions:
1) first provide me updated AN13750 .
[DA]: We do apologize. We understand that at this moment there is no indication on whether the AN13750 will be updated to newer BSP's.
2) because all source links are very old and not working
[DA]: That is correct. Back then, the BSP code was hosted under CodeAurora, then it was moved to GitHub. The following community link provides more information on this regard:
Solved: unable access to https://source.codeaurora.org/external/autobsps32/u-boot/ - NXP Community
3)I want to know clear information about patch files .where will get them ? And is it mandatory to apply patches according to old AN13750 document?
[DA]: The patch files are available under the S32G2 product page. The following community thread provides more information on this regard:
And they are required.
4) Give me logs of successfully executed for the documents of AN13750.
[DA]: It is not common for us to share files under the public community. We can recommend contacting your local NXP FAE/DFAE/representative for them to open a private channel.
5) provide live contact source .I need explain each issues iam facing while executing Old AN13750 document.
[DA]: For this, we can recommend contacting your local NXP FAE/DFAE/representative since they should be able to provide you with your requirement, if available.
6) the below attachment is very old which is available now in nxp documents.
[DA]: Seems to be answered under point 1.
Please, let us know.
I have some queries please provide solution as like previously for each
1)where do I get IPCf examples for M7 . If you are going to suggest 4.6 ipcf means then . Then that package contains only m7_0,m7_1. Examples only then what about m7_2 core example for multiple instances examples?
Please let me know where I get IPCf examples which are built in "multi-core enablement guide"
2)I built IPCF driver " ipc_shm_dev.ko " and "multi_sample.ko" .I got some warning when I built. But finally built without errors. Facing issues when trying to insert into kernel into modules.
Please let me know how to insert both .ko as mentioned in " muti core enablement guide" to run demo application.
I have attached the logs photo in attachments
3). When I am building bootloader.bin . after modify launch.bat built faced issue some error. Log file photo also attached
Error show that xrdc header file Missing.But when rm_init plugin enabled I can generate code. And able build.
How to remove the error . please let me know
Hi,
Below will be some comments on regards of your questions:
1)where do I get IPCf examples for M7 . If you are going to suggest 4.6 ipcf means then . Then that package contains only m7_0,m7_1. Examples only then what about m7_2 core example for multiple instances examples?
Please let me know where I get IPCf examples which are built in "multi-core enablement guide"
[DA]: The examples are provided under the same file as the patch files, which are available under the S32G2 product page. The following community thread provides more information on this regard:
2)I built IPCF driver " ipc_shm_dev.ko " and "multi_sample.ko" .I got some warning when I built. But finally built without errors. Facing issues when trying to insert into kernel into modules.
Please let me know how to insert both .ko as mentioned in " muti core enablement guide" to run demo application.
I have attached the logs photo in attachments
[DA]: For IPCF, the plugins are already available under the BSP version that you are working with, they seem to be having problems. We can recommend looking into the following community thread, which talks more about the topic of adding an additional IPCF version:
Re: Issue with NXP S32G274A RDB2 - IPCF - NXP Community
3). When I am building bootloader.bin . after modify launch.bat built faced issue some error. Log file photo also attached
Error show that xrdc header file Missing.But when rm_init plugin enabled I can generate code. And able build.
How to remove the error . please let me know
[DA]: The following community thread provides a solution for this error:
Solved: compile error when build bootloader, following AN13750 - NXP Community
Please, let us know.
Hi,
Below will be some comments on regards of your questions:
1)iam working on muticore enablement guide for S32g vnp rdb2 board. i got stuck at building boot loader "launching.bat" in "cmd.exe".
the link you provided for s32g3 bootloader build.
2)Iam getting error "Xrdc_Ip_Types.h" header file missing error. How to resolve this error?
[DA]: As said before, the following community thread provides a solution for this error:
Solved: compile error when build bootloader, following AN13750 - NXP Community
Even if the bootloader is for S32G3, the error is generic and can happen with both S32G2 and S32G3, this is not dependent to the platform.
Please, let us know.
1) sorry for previous comment actually there are two output files .I got confused in that directory. Some I deleted old output folder and generated project in EB and made launch. bat...
2) successfully built bootloader.bin
3) flashed everything according to document making switch configuration accordingly..but no output in observed on screen.
4) started to debug by
a)by making sw4_7 ON it is booting with Linux very nicely
b) according to document when made Sw10 and SW 4 I am not able see anything on screen
Please let me know how to tackle this problem
Let me know what are all logs you need to find reason
Hi,
Below will be some comments on regards of your questions:
3) flashed everything according to document making switch configuration accordingly..but no output in observed on screen.
4) started to debug by
a)by making sw4_7 ON it is booting with Linux very nicely
b) according to document when made Sw10 and SW 4 I am not able see anything on screen
[DA]: In general, if the application is not booting when setting the RCON to boot from QSPI can be due to several situations:
And many others. Can you share how you are defining your IVT?
Please, let us know.
sorry for the delay
1)I attached the screen shot IVT table. Please let me know if any thing required.
2)currently i am trying another method also " i build this ipcf sample applications " tried to copy and load IPCF sample M7 application from FAT32 in SD card by using U-boot commands(It worked(getting Ping-pong messages)).parallelly i want debug the problem of bootloader configuration method also(multicore enablement guide)as mentioned in above queries(still facing issue).
3)How can i debug M7 application with UART is S32DS . There any way easy way to work and test the M7 application(without JTAG) .because every time doing modifications in IPCF application and for testing i am again removing SD card and porting that .bin file FAT32 .Running U-boot commands becoming very difficult and very Bad practice .
yes i know that i am asking two questions of different methods. But my ultimate aim is to run both cores A53 and M7 using shared memory communication and on Top of shared memory of M7 . i want to run atleast blinking LED which should be controlled from A53 via shared memory and to blinking LED application on M7 core.
Hi,
Thanks for your feedback. Below will be some comments on regards of your questions:
2)... i want debug the problem of bootloader configuration method also(multicore enablement guide)as mentioned in above queries(still facing issue).
[DA]: As told before, if the application is not booting when setting the RCON to boot from QSPI can be due to several situations:
We are seeing the IVT you have shared but we cannot obtain much information given how the capture was made. Can you share a capture of each section of the IVT? At a first glance, it seems that you are using HSE, which then requires you to already have installed HSE. Did you install HSE prior to adding it to the IVT?
3)How can i debug M7 application with UART is S32DS . There any way easy way to work and test the M7 application(without JTAG) .because every time doing modifications in IPCF application and for testing i am again removing SD card and porting that .bin file FAT32 .Running U-boot commands becoming very difficult and very Bad practice .
[DA]: Overall, there is no UART debug port under S32G. The only debug port available is the JTAG one. We do apologize.
Please, let us know.
this link contains photos of the above things https://photos.app.goo.gl/NdwucepGLmSg9aqW7
Hi,
Thanks for your feedback. We don't endorse using external links under this community, to prevent any misunderstanding.
Seems to be, by the images shared, that you are using HSE, which then requires you to already have installed HSE. Did you install HSE prior to adding it to the IVT?
Please, let us know.
Hi,
Thanks for your feedback. Did you run the HSE DEMOAPP prior to the AN13750 to confirm that the HSE-FW is loaded correctly to your device?
Please, let us know.
Hi,
Thanks for your feedback. It seems that either the IDE or the RTD version you have installed is not compatible with the HSE DEMOAPP. We can recommend looking into the HSE DEMOAPP Readme to understand the required versions.
Also, you are not required to update any code under the HS DEMOAPP, the application should be ready to use once it is imported and all files are available as per the HSE DEMOAPP Readme.
For further discussion on this specific topic, help us creating a different post, since it might be diverging from the original topic.
Please, let us know.