You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition, should we change "SECTION_START_ADDRESS" setting in mpfs-ddr-u54-3.ld file from "0x80000000" to "0x80200000" ?
(mpfs-pmp-app-u54-3/src/boards/icicle-kit-es/platform_config/linker/mpfs-ddr-u54-3.ld)
mpfs-pmp-demo UART3 does not output messages to serial console (eg. PuTTY) and the resolution -
The resolution works for printing the message, but what should actually be done is to enable the PMPs using configurator as described here. This will assign UART3_HI and UART4_HI to the second context and you will be able to test the PMP functionality.
In addition, should we change "SECTION_START_ADDRESS" setting...
You are right about the linker script change. We will correct that.
This will assign UART3_HI and UART4_HI to the second context and you will be able to test the PMP functionality.
Thanks. Confirmed with HSS 2021.04 (and pmp-app 2021.08) . It should keep "mss_uart_instance_t *g_uart= &g_mss_uart3_hi;" to output messages on UART3 with this PMP-DEMO.
On the other hand, HSS 2022.02 (and other versions) failed to boot when PMP enabled in order to do the pmp-demo. While struggling, I mistakenly filed as "&g_mss_uart3_lo;" is required. Sorry about it.
Now, I'm still struggling and debugging the PMP-DEMO with some default settings (for example, seeing CONFIG_SERVICE_BOOT_DDR_TARGET_ADDR=0xA0000000, CONFIG_SERVICE_BOOT_MMC_USE_GPT=y). But it's outside of this thread. Then once something find, will file other issue. Thanks.
okawaj9
changed the title
(mpfs-pmp-demo) UART3 does not display message
(mpfs-pmp-demo) "SECTION_START_ADDRESS" setting in mpfs-ddr-u54-3.ld file from "0x80000000" to "0x80200000"
Mar 26, 2022
1. Phenomenon:
mpfs-pmp-demo UART3 does not output messages to serial console (eg. PuTTY).
2. Resolution:
polarfire-soc-bare-metal-examples/applications/mpfs-pmp-demo/mpfs-pmp-app-u54-3/src/application/hart3/u54_3.c
line 27
Current>> mss_uart_instance_t *g_uart= &g_mss_uart3_hi;
Resolution>> mss_uart_instance_t *g_uart= &g_mss_uart3_lo;
Best Regards.
The text was updated successfully, but these errors were encountered: