From: Tom Walsh (tom@cyberiansoftware.com)
Date: Thu Jan 18 2001 - 15:14:55 EST
Chang Lyong Kim wrote: > > Dear, > > I am trying to put uClinux on a board with M68EN360. We got success > with UART and Clock setup. But, it failed with > > romfs: unable to read superblock > Kernel: Panic ......... > > This must be due to the lack of device inforamtion. I guess somehow I need > to use "romfs.img" file. Could you somebody tell me how to use it? > > Is it matter with ROM memory or RAM memory is good enough? I see > only RAM memory from "mem_init". > The romfs is cat'enated onto the end of the kernel binary image. When the kernel is loaded into RAM and the bss section is expanded (you must move the romfs "up" to uncover the bss))., a linked in value for a pointer (mine is ramfs) points the kernel to the romfs (actually to the end of the kernel image). See: linux/drivers/block/blkmem.c, this is where most of the "magic" occurs in mounting a romfs. TomW -- Tom Walsh - WN3L - Embedded Systems Consultant 'www.openhardware.net', 'www.cyberiansoftware.com' "Windows? No thanks, I have work to do..." This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/
This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:19:25 EDT