How do I make the u-boot semi-hosted on IntelFPGA Cyclone5SoC development kit?
I am developing Cyclone5SoC based card which do not have a uart.
Hence, I am checking if I can debug/use the u-boot semihosted.
I know this feature exists for Arria10SoC as described here:
https://www.youtube.com/watch?v=7pTMl8RoX3o
I tried to implement the "#define config_semihosting" variable mentioned there in the appropriate header file of the u-boot environment, but the compile failed with an error prompt.
Afterwards, I checked the other header files and they do not support this variable.
Also, I did implement the following lines in the appropriate *.h file,
and this resulted in semihosted preloader but the u-boot itself kept printing to the uart port, and not as expected to the debugger application console:
/* Semihosting support in Preloader */
#define CONFIG_PRELOADER_SEMIHOSTING (1)
/* Option to check checksum of subsequent boot software image */
#define CONFIG_PRELOADER_CHECKSUM_NEXT_IMAGE (0)
/*
* Handoff files must provide user option whether to enable
* debug serial printout support
*/
#define CONFIG_PRELOADER_SERIAL_SUPPORT (0)
So, my question is how do I make the u-boot application for IntelFPGA Cyclone5SoC development kit semihosted?