Home > Warning Unable > Warning Unable To Open An Initial Console. Initramfs

Warning Unable To Open An Initial Console. Initramfs

It should be ttyS0.Like • Show 0 Likes0 Actions masasi @ Scott Wood on Apr 22, 2015 5:49 AMMark CorrectCorrect AnswerThank you for your help!Console device set to ttyS0 makes kernel Last edited by pmil; 11-25-2009 at 06:58 AM. You appear to have other problems as well. > (Test on latest u-boot git tree.) Which exact board / configuration is this? H. have a peek here

Freeing unused kernel memory: 136k freed Warning: unable to open an initial console. Thank you! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. You seem to have CSS turned off.

Check out the explanation in Section Helloworld Example: Additional Notes for a trivial example of this mechanism in action. This default skeleton archive can be replaced by specifying an initramfs to embed in the kernel image during kernel configuration or by supplying an external initramfs during boot (as was done Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us.

I placed the fs in the /home/user/targetfs where an executable init is defined as follows: #!/bin/shecho This is the init. It is a link to /bin/busybox, which is that. > Alternatively use "init=/bin/sh" to get a shell directly. switch_root deletes everything out of rootfs (including itself), does a mount --move that overmounts rootfs with the new root, before finally executing the specified init program: $ cat /proc/mounts | egrep All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations

If it's still different, is the kernel itself identical? (compare /proc/config.gz for both) There should be some difference. This my environment: bootdelay=4baudrate=115200ethaddr=00:0e:99:02:c9:bfrootpath=/home/user/workdir/filesysnfshost= 0x80700000 uImage;bootm 0x80700000bootargs=mem=76M console=ttyS0,115200n8 ip= rootfstype=yaffs2 video=davincifb:vid0=OFF:vid1=OFF:osd0=720x576x16,4050K dm365_imp.oper_mode=0 davinci_capture.device_type=4stdin=serialstdout=serialstderr=serialver=U-Boot 1.3.4 (Mar 2 2009 - 11:50:39) This my boot with the initramfs: Linux version 2.6.18_pro500-davinci_evm-arm_v5t_le ([email protected]) (gcc version Refer to Section Further Reading for pointers to building initramfs images for more complex scenarios. I will post the answer in case anyone else has this issue.

Uncompressing Linux.................................................................. Futher Reading This link covers several issues involved in building a custom and usable initramfs. Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled 40400000.serial: ttyS0 at MMIO 0x40401003 (irq = 16) is a 16450 console [ttyS0] enabled 40600000.serial: ttyS1 at MMIO 0x40601003 (irq = 17) is However I get this output when I boot: console [netcon0] enabled netconsole: network logging started omap_rtc omap_rtc: setting system clock to 2000-01-02 00:48:38 UTC (946774118) Warning: unable to open an initial

What to do when using your private key from another computer? The following instructions generate an NFS-root capable initramfs for the current kernel image. setsid is not exec. Using an external initramfs presents the possibility of including non-GPL code in the archive since it is not linked with the GPL licensed Linux kernel binary.

Image Name: WTMKII PM Linux kernel10 Created: 2015-04-22 8:03:38 UTC Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3977907 Bytes = 3.8 MiB Load Address: 00000000 Entry Point: 00000000 navigate here OK Booting using the fdt blob at 0x6000000 Uncompressing Kernel Image ... an external one. done, booting the kernel. [ 0.000000] Linux version 2.6.32-rc7 ([email protected]) (gcc version 4.4.1 (Sourcery G++ Lite 2009q3-67) ) #1 Sun Nov 22 13:41:45 PST 2009 [ 0.000000] CPU: ARMv7 Processor [411fc083]

TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these Failed to execute /sbin/init. But the /dev/console node is not found. Check This Out pmil View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by pmil 11-25-2009, 10:51 AM #6 zhjim Senior Member Registered: Oct 2004 Distribution:

Also, when I try to check the kernel post-mortem debug I have seen the "Unable to open message an initial console" message. Embedding of group such that two elements of same order become conjugate Why do manufacturers detune engines? Hi Babs, What was the ramdisk initialization issue?

By default, these archives are contain nothing, save for an empty /root directory and the /dev/console file, and so rootfs will also contain these files upon archive extraction.

I suspect you can't use a script using #!/bin/sh for init. Related 110Increasing the maximum number of tcp/ip connections in linux88Finding which process was killed by Linux OOM killer28When to use kernel threads vs workqueues in the linux kernel173How is the Linux They have been tested on Ubuntu 12.04 and 13.04: $ WORKDIR=$PWD $ cp -a /etc/initramfs-tools initramfs-tools-nfs ## edit 'initramfs-tools-nfs/initramfs.conf' such that $ cat initramfs-tools-nfs/initramfs.conf MODULES=netboot BUSYBOX=y COMPCACHE_SIZE="" COMPRESS=gzip BOOT=nfs DEVICE= NFSROOT=auto external initramfs?

OK## Flattened Device Tree from Legacy Image at 03000000 Image Name: pmDTB2 Created: 2015-04-22 7:16:49 UTC Image Type: PowerPC Linux Flat Device Tree (uncompressed) Data Size: 13868 Bytes = 13.5 KiB Attempting defaults... To quit QEMU, type CTRL+a then c to enter the QEMU monitor console, then type quit: QEMU 1.0 monitor - type 'help' for more information (qemu) quit Refer to QEMU HMI: this contact form All Rights Reserved.

I'm not aware that the kernel cares where the initramfs came from. How was your initramfs created? Archive and Compress $ cd $WORKDIR $ cd initramfs-contents ## make changes if necessary $ find . | cpio -H newc -o | gzip -9 > ../initrd.img-`uname -r`-custom $ cd .. Explain it to me like I'm a physics grad: Global Warming Output the sign Can I jump start one car with two other cars in parallel?

Our initrd does this also for you. > Oh, sorry, have not seen your mail completely. :-( You had that checked alright. Which ever the case, the kernel attempts to execute /init from rootfs. This is due to the fact the init process relies on 0, 1 and 2 being opened by the kernel before init is started. Here is a listing of the /lib directory from my target_fs: [email protected]:~/target_fs/lib$ lsld-2.8.so libanl.so.1 libc-2.8.so libcrypt-2.8.so libdl-2.8.so libm-2.8.so libnsl-2.8.so libnss_compat.so.2 libnss_files-2.8.so libpthread.so.0 librt-2.8.so libthread_db.so.1 libutil-2.8.so libvolume_id.so.1.1.0ld-linux.so.3 libBrokenLocale-2.8.so libcidn-2.8.so libcrypt.so.1 libdl.so.2 libmemusage.so

Son's music tastes Bought agency bond (FANNIE MAE 0% 04/08/2027), now what? OK Loading Kernel Image ... Password Linux - Kernel This forum is for all discussion relating to the Linux kernel. The issue I am having is that no matter what I try, the kernel does not appear to even attempt to run from the initramfs.

In what spot would the new Star Wars movie "Rogue One" go in the Machete Order?