Failed to execute/linuxrc. Attempting defaults...
Kernel panic-not syncing: No init found. Try passing init = option to kernel.
Recently, after learning the root file system, setting up the root file system and compiling it into an image, download it to the Development Board and run it.
Result
"Failed to execute/linuxrc. Attempting defaults...
Kernel panic-not syncing: No init found. Try passing init = option to kernel.
"
After translation, you cannot execute linuxrc, and the kernel is panic.
At first, I thought that my linuxrc didn't have the execution permission. I checked it and there was.
When I searched the internet, I found that many of my brothers encountered similar problems. All those who answered the questions said that linuxrc did not have the execution permission, and busybox did not select the shell option. I thought it was all about it, busybox selects shell by default, unless you manually cancel it, and generate linuxrc with executable permissions by default.
I used the original root file system source code to compile it once and downloaded it with the same error. So I went to the yaffs2 file system image production tool, mkyaffs2image, I used this tool to not support 128 M of nand. One of my friends modified it and made it support M.
Post address
Http://www.arm9home.net/read.php? Tid = 3919
I compiled the modified source code of this buddy to generate the mkyaffs2image tool that supports M of nand.
Then, compile and run successfully!