Failed to execute/linuxrc. Attempting defaults... Solution

Source: Internet
Author: User

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!

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.