Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RZN2L - Separating App and Loader with FreeRTOS #448

Open
KeuntekLee opened this issue May 7, 2024 · 4 comments
Open

RZN2L - Separating App and Loader with FreeRTOS #448

KeuntekLee opened this issue May 7, 2024 · 4 comments
Assignees
Labels
question Further information is requested

Comments

@KeuntekLee
Copy link

Hi.

I have some question about RZN2L example codes.

Examples in this repository for RZN2L, the app is created with Baremetal project.

Is this example and features (Separating App and Loader) can be done with App program with FreeRTOS?

BR

@dgarske
Copy link
Contributor

dgarske commented May 7, 2024

Hi BR (@KeuntekLee ),

Will you confirm you are using the latest RZ work in #444 ?

wolfBoot itself is RTOS agnostic, so using FreeRTOS with your own application is supported.

@miyazakh will you help support this ticket?

Thanks,
David Garske, wolfSSL

@miyazakh
Copy link
Contributor

miyazakh commented May 8, 2024

Hi BR(@KeuntekLee),

Thank you for your interest in our wolfBoot example on Renesas RZ. As David mentions, wolfBoot is independent to RTOS. I think that the app can be run under RTOS though startup code might need to be tweaked. In addition to that, in this example, the app is downloaded into System RAM, which has enough memory space to run it with RTOS.

@KeuntekLee
Copy link
Author

Hi BR(@miyazakh ),

Thanks for the comments. In my case, the app with FreeRTOS is less than 200Kb, so I think it might fit in the System RAM area.
As you mentioned, the startup code needs to be modified when the app is not the baremetal-based. I fully understand that wolfBoot is not dependent on this scenario, and just ask about some examples on this case for reference (FreeRTOS app + xspi bootloader). If you have future item of this, please let me know.

@miyazakh
Copy link
Contributor

miyazakh commented May 9, 2024

Hi BR(@KeuntekLee)

Unfortunately, I don't have an example that runs it with RTOS now. The easiest way for a trial is to use the example in wolfBoot rep and download your example instead of the original app.

@danielinux danielinux added the question Further information is requested label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants