polarfire-soc / polarfire-soc-documentation

PolarFire SoC Documentation
Other
37 stars 19 forks source link

Issue deploying a DDR application to eMMC #37

Closed mcergun closed 2 years ago

mcergun commented 2 years ago

I've been playing with the hss and hss payload generator but I can't seem to figure out how to create and deploy an SMP application onto the eMMC.

mss_entry.S seems to route any IMAGE_LOADED_BY_BOOTLOADER == 1 applications to u54_single_hart function, which just updates their hartid with MPFS_HAL_FIRST_HART

Is this the intended method?

When I compile an application with multiple hart methods (u54_1, u54_2, etc.) and create a payload accordingly, the application only works on a single core, or it doesn't work at all.

How would I compile an application and create the payload if there are multiple harts involved?