Share your knowledge at the LQ Wiki. Are the ram disk recoglized as a block device? Aug 26, 2010 - 09:49 AM 12345Total votes: 0 Solved, after adding and removing drivers etc. Reply Cancel Cancel Reply Suggest as Answer Use rich formatting Mastermind 41690 points Bernie Thompson TI Mar 30, 2011 7:45 PM In reply to Bryan Evenson: Bryan EvensonWhen a kernel module navigate here
tinypoodle Hero Member Posts: 3857 Re: Booting to a ramdisk « Reply #12 on: December 13, 2010, 03:22:17 AM » Quote from: curaga on December 13, 2010, 01:48:24 AMQuote from: tinypoodle I would like to thank yegorich and sawdust for very useful comments which have managed me to obtain the result: Uncompressing Linux... I'd use zcat tinycore.gz | sudo cpio -idum to extract all those files from the initrd (in a different "world" you could even use something like '7zFM' to extract the lot).(3) ROMFS MTD (C) 2007 Red Hat, Inc.
Vfs Cannot Open Root Device Or Unknown-block(0 0)
I'm also not familiar with setting up a netconsole or serial console. No changes were made at the Kernel or at fstab etc... ROMFS MTD (C) 2007 Red Hat, Inc. NetWinder Floating Point Emulator V0.97 (double precision) Installing knfsd (copyright (C) 1996 [email protected]).
RPC: Registered tcp transport module.
Is there a step I am missing so that the kernel can mount the filesystem?
usb 1-2: new low-speed USB device number 3 using at91_ohci usb 1-2: device descriptor read/64, error -62 done.
Good luck :-) PS.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Inspect the contents of initrd.cpio with Midnigtht Commander. tinypoodle Hero Member Posts: 3857 Re: Booting to a ramdisk « Reply #9 on: December 12, 2010, 01:08:05 PM » Quote from: curaga on December 12, 2010, 12:09:23 PMQuote from: tinypoodle I have recieved the same result: Uncompressing Linux... Vfs Cannot Open Root Device Centos It's possible that your ramdisk is just too big for >> either yaboot or the kernel to cope... >> >> Also, the ramdisk should be compressed, is it ?
The solution with jffs2 seems to be the most difficult because my flash is already formated as TFS (almost unknown filesystem from MicroMonitor bootloader). Please Append A Correct Root= Boot Option Here Are The Available Partitions Aug 22, 2002 Posts: 1586 View posts Location: Arendal Norway #8 Posted by eaanon01: Thu. Now it looks better but still not working. You would want to verify that the address and lengths used here make sense and still fit into your memory map with the RAM disk, if the cmem buffers conflict with
Vfs Cannot Open Root Device Redhat
Starting network... Intellectual 635 points Bryan Evenson Mar 25, 2011 5:12 PM Reply Cancel Cancel Reply Suggest as Answer Use rich formatting 5 Replies Mastermind 41690 points Bernie Thompson TI Mar 25, Vfs Cannot Open Root Device Or Unknown-block(0 0) Aug 25, 2010 - 01:37 PM 12345Total votes: 0 Did you compile in support for ramdisk, cramfs, etc? Please Append A Correct Root= Boot Option usbcore: registered new interface driver usb-storage USB Mass Storage support registered.
Use of the information on this site may require a license from a third party, or a license from TI. check over here Aug 25, 2010 Posts: 8 View posts Location: Germany #4 Posted by cyko_MT: Wed. One of these options is to integrate initramfs directly into kernel. RPC: Registered udp transport module. Vfs Cannot Open Root Device Please Append A Correct Root Boot Option
Since there were no error messages, it appears it was successful. > VFS: Cannot open root device "ram0" or unknown-block(1,0) > Please append a correct "root=" boot option > Kernel panic Can I sell a stock immediately How do unlimited vacation days work? If you already have a working kernel tree, you can configure BR to use it via local.mk. his comment is here I'll take a look at the "remastering" section to gain access to the image file.
If I recompile just the kernel, the bootargs modification takes maximum one minute in contrast to buildroot which takes several hours –vadim38 Nov 9 '14 at 21:38 Also, after Vfs: Cannot Open Root Device "nfs" Or Unknown-block(2,0) Since my last update the only thing that really didn't work was the console baudrate. Linux version 3.2.63 ([email protected]) (gcc version 4.8.3 20140320 (prerelea se) (Sourcery CodeBench Lite 2014.05-29) ) #12 PREEMPT Wed Nov 12 20:52:37 CET 2014 CPU: ARM920T  revision 0 (ARMv4T), cr=00007177 CPU:
Aug 25, 2010 Posts: 8 View posts Location: Germany #9 Posted by cyko_MT: Thu.
For a boot like this you would have U-Boot load the RAM disk image to the DDR location specified from NAND before going into the full boot. I only get the insmod error if I'm running an initramfs; if I use an NFS insmod works just fine. Life's to short for waiting on slow CPU's Log in or register to post comments Top cyko_MT Level: New Member Joined: Wed. Vfs Error done, booting the kernel. –vadim38 Nov 9 '14 at 21:36 As buildroot has no defconfig for my board, I use it in a quite limited way.
When the file system tries to change the block size of the ramdisk, the page cache is flushed. JFS: nTxBlock = 8192, nTxLock = 65536 SGI XFS with ACLs, large block/inode numbers, no debug enabled Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered io scheduler deadline iii) Bompiled the kernel iv) Booted the kernel with the command. weblink IOMMU table initialized, virtual merging disabled SCSI subsystem initialized usbcore: registered new driver usbfs usbcore: registered new driver hub NET: Registered protocol family 2 IP route cache hash table entries: 65536
tftp 0x12000000 ramdisk.ub tftp 0x10400000 uImage setenv bootargs rootwait bootm 0x10400000 0x12000000 Thats all :) Thanks for the help Greetings Cyko_MT Log in or register to post comments Top eaanon01 Level: Logged wysiwyg Full Member Posts: 241 Re: Booting to a ramdisk « Reply #6 on: December 12, 2010, 09:10:41 AM » Quote from: tinypoodle on December 12, 2010, 01:19:50 AMAFAIK, TC Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome. Actually, when its compressed, there kernel has to trust the parameters.
Basic Geometric intuition, context is undergraduate mathematics What is the significance of the robot in the sand? I'm just not sure if it's something I'm doing or some config on my dev computer.