freebsd / atf

Libraries to write tests in C, C++ and shell
Other
133 stars 45 forks source link

Assessment of the difficulty in porting CPU architecture for atf #50

Closed wangyuliu closed 7 months ago

wangyuliu commented 12 months ago

Hello everyone! I am working on implementing a tool to assess the complexity of CPU architecture porting. It primarily focuses on RISC-V architecture porting. In fact, the tool may have an average estimate of various architecture porting efforts.My focus is on the overall workload and difficulty of transplantation in the past and future,even if a project has already been ported.As part of my dataset, I have collected the atf project. I would like to gather community opinions to support my assessment. I appreciate your help and response! Based on scanning tools, the porting complexity is determined to be simple, with a small amount of code related to the CPU architecture in the project. Is this assessment accurate?I look forward to your help and response.

ncopa commented 7 months ago

Porting atf should be trivial. Alpine linux already builds atf and kyua for riscv64 and it worked "out of the box".

This issue can be closed. Thanks!

ngie-eign commented 7 months ago

@ncopa : thanks for the feedback - closing. PS FWIW, ATF has built with RISCV64 for some time. A more exact set of error messages would be helpful to determine what issue (if any) need to be fixed.