Open vabbarap opened 4 years ago
Hello @vabbarap!
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.
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.
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!
The Trusted Firmware-A team
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) { /*
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