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
And i just included the "drivers/console/aarch64/deprecated_console.S"
which has the console_core_init and console_core_putc etc function calls.
But now i upgraded the ATF to V2.2 and i see the console architecture got changed a lot.
Could you please let me know if i want to port the DCC console to the ATF V2.2 what are the changes need to be done?
Thanks
Venkatesh
The text was updated successfully, but these errors were encountered:
Thank you for raising an issue for Trusted Firmware-A.
The TF-A project has now migrated to www.trustedfirmware.org. This issue tracker will still remain accessible for some time, but only for historical reasons. From now on you should raise any new issues on trustedfirmware.org.
How do I raise issues for TF-A?
Please use our new issue tracking board. For this you just need to login with your existing GitHub account. We also have a guide to help you raise the issue with the appropriate labels and tags. This way it will be easier for both you and us to track and address the issue most effectively.
What if I face any problems?
You can send us an email in the public TF-A mailing list. Here you can also find all the mailing lists for all the projects hosted under trustedfirmware.org.
We are looking forward to seeing you in trustedfirmware.org!
I added the dcc console in the ATF code in the below path
"drivers/arm/dcc/dcc_console.c"
static inline uint32_t __dcc_getstatus(void)
{
uint32_t ret;
asm volatile("mrs %0, mdccsr_el0" : "=r" (ret));
return ret;
}
int32_t console_core_putc(int32_t ch, unsigned long base_addr)
{
while (__dcc_getstatus() & DCC_STATUS_TX)
;
__dcc_putchar(ch);
return ch;
}
int32_t console_core_getc(unsigned long base_addr)
{
while (!(__dcc_getstatus() & DCC_STATUS_RX))
;
return __dcc_getchar();
}
static inline void __dcc_putchar(char c)
{
/*
*/
asm volatile("msr dbgdtrtx_el0, %0"
: : "r" ((unsigned long)(unsigned char)c));
isb();
}
And i just included the "drivers/console/aarch64/deprecated_console.S"
which has the console_core_init and console_core_putc etc function calls.
But now i upgraded the ATF to V2.2 and i see the console architecture got changed a lot.
Could you please let me know if i want to port the DCC console to the ATF V2.2 what are the changes need to be done?
Thanks
Venkatesh
The text was updated successfully, but these errors were encountered: