- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Tags:
- Define
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please correct me if I am wrong, you already attempted preloader semihosting, and now you are attemptingto get Uboot semihosted for Cyclone V SoC?
Also, are you familiar with ARM DS-5 debugger tools?
Here is a useful guide you may refer to:
https://rocketboards.org/foswiki/Documentation/LoadingUBootFromDS5
Let me know if you have additional questions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
As mentioned the guide demonstrated the Uboot to be loaded from Ds-5, and shows it is semihosted.
https://rocketboards.org/foswiki/Documentation/LoadingUBootFromDS5
Could you provide the errors prompt logs that is preventing you with your testing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello el.ign,
I am the distributor embedded specialist who is following on the customer.
Regarding your line above, quoting:
"As mentioned the guide demonstrated the Uboot to be loaded from Ds-5, and shows it is semihosted."
Well, I believe the clame for semihosted uboot is a mistake:
If you go the section 5. ("configure the terminal settings") of the link you shared (https://rocketboards.org/foswiki/Documentation/LoadingUBootFromDS5),
you can notice the terminal setting are for REAL serial port and not a JTAG port.
The customer is looking for a way to make to u-boot print messages to the jtag port exactly as it is available for the preloader,
and simlarly to what is demonstrated in the following link for Arria10SoC:
https://www.youtube.com/watch?v=7pTMl8RoX3o
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Helo there,
Firstly, I apologize for the misconception of the semihosted mentioned.
The following video mentioned to have the setup according to the rocketboards link, which should be the same.
The connection of the board to the host PC by using the USB serial connection is to see the Preloader/Uboot serial output.
The rocketboards document is old, thus I need to check with our internal team on this update for Cyclone V SoC, this may take some time, but I will update to you once I got the information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
As mentioned, based on my understanding the serial connection simply means the connection of the board to the host PC by using the USB is to see the Preloader/Uboot serial output.
Unfortunately, we do not have the design available for Cyclone V SoC, thus you may have to adjust the settings accordingly based on the linked tutorial.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page