You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "wangyuliu (via GitHub)" <gi...@apache.org> on 2023/12/05 07:33:45 UTC

Re: [I] Assessment of the difficulty in porting CPU architecture for nuttx [nuttx]

wangyuliu commented on issue #10488:
URL: https://github.com/apache/nuttx/issues/10488#issuecomment-1840155311

   > Porting _any_ full operating system to a new CPU architecture is a complex task and requires highly skilled professional team - although for NuttX it is possible to do by even by just one skilled individual (there are examples of that).
   > 
   > It is actually more fruitful to compare the complexity of porting of different operating systems, _with equal feature set_ to a new processor architecture.
   > 
   > Personally I find NuttX being quite easy to port to new devices and even to new CPU architectures. Although as Xiao said, RISC-V is already supported, like most of the common CPU architectures.
   > 
   > Porting to a new architecture is quite straightforward because NuttX already supports so many different architectures. The code is already well organized and CPU architecture specific parts are well separated from the common code.
   > 
   > It is not possible to say anything about the accuracy of your assessment without knowing the full process and data used as a basis of the assessment. For example, as I mentioned earlier, complex compared to what? Which other OS's have you assessed and what are the datasets and key indicators?
   
   Our tool evaluated these projects and judged them to be of medium complexity: rt-thread, freeRTOS, uC-OS2, zephyr, etc. Projects with high portability complexity include gcc, openCV, binutils-gdb, etc., while projects with low portability complexity are similar to sqlite. The reason why our tool analyzes nuttx and calls it medium transplant complexity is that a large amount of assembly code is scanned out in the project. We judge it as a part that needs to be modified during the transplant process.  Let’s analyze it based on this factor,Is it okay to have a medium porting complexity for nuttx?I'm looking forward to your answer.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org