[yocto] Enabling Ramdisk Support

Crast, Nicholas Nicholas.Crast at saabsensis.com
Fri Sep 12 10:48:23 PDT 2014


All,

I am having some issues with initrd using u-boot and yocto. My current .config file in build/tmp/work/mitysom_5csx-poky-linux-gnueabi/linux-mitysom-5csx/3.12-r2/linux-socfpga-socfpga-3.12-7cb4fc4 has the following settings:

CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
CONFIG_RD_GZIP=y

Whenever I attempt to boot up with an initrd, I get a message saying that the kernel was unable to mount the rootfs. What concerns me, though, is I don't see any RAMDISK initialization messages on startup. Looking online, I figure I should see something like this:

[root]# dmesg | grep RAMDISK
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize


When I boot up, or at least some sort of error from RAMDISK. Is there a way I can verify that this option is actually being built into my system?

-Nick

----------------------------------------
Nick Crast
Associate Software Engineer
Saab Sensis Corporation
Phone: 315-445-5703
Email: Nicholas.Crast at saabsensis.com<mailto:Nicholas.Crast at saabsensis.com>


This message is intended only for the addressee and may contain information that is company confidential or privileged. Any technical data in this message may be exported only in accordance with the U.S. International Traffic in Arms Regulations (22 CFR Parts 120-130) or the Export Administration Regulations (15 CFR Parts 730-774). Unauthorized use is strictly prohibited and may be unlawful. If you are not the intended recipient, or the person responsible for delivering to the intended recipient, you should not read, copy, disclose or otherwise use this message. If you have received this email in error, please delete it, and advise the sender immediately.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140912/e8f9eeae/attachment.html>


More information about the yocto mailing list