Can I use while(1) in the kernel of sequential mode ? I want that my kernel can always run and can use HBMs, but the free-running kernel does not support m_axi interface. So I want to implement it in the kernel of sequential mode by using while(1). Will it cause severe problem? Thanks in advance!
Since you are not running a free running kernel, you will have to trigger the kernel from the host. Also, if you are trying to run the kernel forever thereafter, how are you planning to exit the kernel and complete the execution?
With my understanding of your case, I can suggest you to refer the following example -