<div dir="ltr">Hi All<div><br></div><div>I am doing a open-source kernel bringup on Qualcomm board. I reached till the successfull kernel initialization complete, and i can see the run_init_process() function executing successfully. But still i am not seeing my init process is not launched. Here are the following check points...i did,</div>
<div><br></div><div style>1) I made a ramdisk image with the init process code, like this....</div><div style><font face="courier new, monospace">int main()</font></div><div style><font face="courier new, monospace">{</font></div>
<div style><font face="courier new, monospace"> return 0;</font></div><div style><font face="courier new, monospace">}</font></div><div><br></div><div>2) With the same ramdisk.img(which contains my init process(a return; statement in the main()) and another kernel i can see init process launch is successful. (in the kernel logs i am seeing panic message: Trying to kill init!! )</div>
<div><br></div><div>3) In my bringup kernel, The similer kind of message is not seen. I can see ramdisk uncompression successful and also..</div><div>I have kept logs in <font face="courier new, monospace">arch/arm/kernel/sys_arm.c </font></div>
<div>in the function <font face="courier new, monospace">kernel_execv()</font></div><div>and i observed <font face="courier new, monospace">do_execv()</font> function call is successful.</div><div><br></div><div style>Can anyone help me, am i missing something??</div>
<div style>Please give me pointers on how to proceed.</div><div>-- <br>With regards,<br>Sandeep Kumar Anantapalli,<br>
</div></div>