ARM-software / tf-issues

Issue tracking for the ARM Trusted Firmware project
37 stars 16 forks source link

Support dcc console #701

Open vabbarap opened 4 years ago

vabbarap commented 4 years ago

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

ssg-bot commented 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.

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!

The Trusted Firmware-A team