Hi Sorry,my question has somewhat confusion, I'd like to ask "why romfs can not be mounted through ramdisk?"
Just as erwin said: "you need a block device for your root fs, either blkmem or from MTD. " RAMDISK is also a block device? Regards rui >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] >Sent: Wednesday, May 16, 2007 9:48 AM >To: uclinux-dev@uclinux.org >Subject: RE: [uClinux-dev] add ROMfs in RAM at the end of >kernel (_ebss) > >Hi > >What 's the purpose of blkmem? >Why I can not mount the romfs like this: > >Kernel command line: root=/dev/ram0 initrd=0x0c0a7ba0,117k >keepinitrd (0x0c0a7ba0 is the start address of my romfs inside >the kernel image) > > >Thanks! >rui > > > >>-----Original Message----- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] On Behalf Of ext Erwin >>Authried >>Sent: Tuesday, May 15, 2007 4:13 PM >>To: uClinux development list >>Subject: RE: [uClinux-dev] add ROMfs in RAM at the end of kernel >>(_ebss) >> >>Am Dienstag, den 15.05.2007, 15:14 +0800 schrieb [EMAIL PROTECTED]: >>> Hi lance and other guys: >>> >>> May I have you a question about attaching the romfs to the kernel >>> image >>> >>> Can I do that without blkmem(kernel 2.4)? >>> >>> Or do that without MTD(kernel 2.6)? >>> >>> I just check my kernel 2.4 config,the romfs is inside the image.ram >>> with the blkmem enabled.after I removing the blkmem >>support,the Kernel got panic : >> >>you need a block device for your root fs, either blkmem or from MTD. >> >>-Erwin >> >> >>_______________________________________________ >>uClinux-dev mailing list >>uClinux-dev@uclinux.org >>http://mailman.uclinux.org/mailman/listinfo/uclinux-dev >>This message was resent by uclinux-dev@uclinux.org To unsubscribe see: >>http://mailman.uclinux.org/mailman/options/uclinux-dev >> >_______________________________________________ >uClinux-dev mailing list >uClinux-dev@uclinux.org >http://mailman.uclinux.org/mailman/listinfo/uclinux-dev >This message was resent by uclinux-dev@uclinux.org To unsubscribe see: >http://mailman.uclinux.org/mailman/options/uclinux-dev > _______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev