Initializing ramdisk
Hi Folks, A colleague is trying to increase the size of his ramdisk from 16MB to 24MB, and one of the steps he's taken is to increase the size for 'initrd' in bootargs: bootargs=console=ttyS0,115200n8 root=/dev/ram initrd=0x8090,24M init=/bin/ash lpj=5000 mem=80M bootcmd=bootm 0x8070 When doing so he gets the following error output: RAMDISK: ext2 filesystem found at block 0 RAMDISK: image too big! (24576KiB/16384KiB) RAMDISK: image too big! (24576KiB/16384KiB) List of all partitions: List of all partitions: No filesystem could mount root, tried: No filesystem could mount root, tried: ext3 ext3 ext2 ext2 vfat vfat msdos msdos Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0) It seems the kernel still thinks the ramdisk is 16MB and doesn't like being asked to initialize more than that (24MB). Is there some other u-boot setting that needs to be done? Thanks Regards, - Rob ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
RE: Initializing ramdisk
Rob, Make sure you have CONFIG_BLK_DEV_RAM_SIZE set to support 24MB+ ramdisk size in your kernel configuration. - Hemant From: davinci-linux-open-source-bounces+hemantp=ti@linux.davincidsp.com [mailto:davinci-linux-open-source-bounces+hemantp=ti@linux.davincidsp.com] On Behalf Of Tivy, Robert Sent: Thursday, October 08, 2009 6:45 AM To: davinci-linux-open-source@linux.davincidsp.com Subject: Initializing ramdisk Hi Folks, A colleague is trying to increase the size of his ramdisk from 16MB to 24MB, and one of the steps he's taken is to increase the size for 'initrd' in bootargs: bootargs=console=ttyS0,115200n8 root=/dev/ram initrd=0x8090,24M init=/bin/ash lpj=5000 mem=80M bootcmd=bootm 0x8070 When doing so he gets the following error output: RAMDISK: ext2 filesystem found at block 0 RAMDISK: image too big! (24576KiB/16384KiB) RAMDISK: image too big! (24576KiB/16384KiB) List of all partitions: List of all partitions: No filesystem could mount root, tried: No filesystem could mount root, tried: ext3 ext3 ext2 ext2 vfat vfat msdos msdos Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0) It seems the kernel still thinks the ramdisk is 16MB and doesn't like being asked to initialize more than that (24MB). Is there some other u-boot setting that needs to be done? Thanks Regards, - Rob ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
Re: Initializing ramdisk
Brian G Rhodes wrote: Pedanekar, Hemant wrote: Rob, Make sure you have CONFIG_BLK_DEV_RAM_SIZE set to support 24MB+ ramdisk size in your kernel configuration. You can also specify ramdisk_blocksize=24000 in your bootargs. The units are KiB. My apologies. I meant ramdisk_size. ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source