From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Casey Date: Fri, 25 Feb 2005 18:09:52 +0000 Subject: [U-Boot-Users] jffs2 fs for linux In-Reply-To: <421F6277.6030604@iskramedical.si> Message-ID: <41108D1A0010B648@hawk.dcu.ie> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Hinko, Another thing you could try is when running U-Boot to set your bootargs environment variable to match your kernel command line (i.e. add rootfstype=jffs2): setenv bootargs root=/dev/mtdblock2 rootfstype=jffs2 console=ttyS0,115200 mem=64M panic=5 I've noticed that if i dont set 'rootfstype=jffs2' in the bootargs variable i get the same error message you were seeing for some reason. Hope this helps, Alan. >-- Original Message -- >From: Hinko Kocevar >To: alan.casey5 at mail.dcu.ie >Cc: uboot >Subject: Re: [U-Boot-Users] jffs2 fs for linux >Date: Fri, 25 Feb 2005 18:37:59 +0100 > > >Alan Casey wrote: >> Hi Hinko, >> >> I had a similar problem. If you make sure >> that your Flash is programmed similar to >> the following order then it should work >> with the setup you describe: >> >> Image1 Addr1 u-boot <-- mounted as /dev/mtdblock0 >> Image2 Addr2 kernel <-- mounted as /dev/mtdblock1 >> Image3 Addr3 jffs2 <-- mounted as /dev/mtdblock2 >> > >Hmm, this is just like my setup in flash. >0x00000000 - 0x000c0000 uboot+env >0x000c0000 - 0x002c0000 kernel >0x002c0000 - 0x02000000 rootfs(jffs2) > >But as you can see from my previous post, kernel does not mount the >rootfs as expected. > >Are there any special/other bits I have to setup? > >The same layout works on another pxa platform I have, but it is not >running u-boot... > >regards, >hk > >-- >hinko kocevar iskramedical si >Hinko Kocevar, embedded systems developer >Iskra Medical d.o.o., Stegne 23, 1k LJ, SLO-EU > > "A? r?n" | [Analects XII:22] > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://ads.osdn.com/?ad_ide95&alloc_id396&op=click >_______________________________________________ >U-Boot-Users mailing list >U-Boot-Users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/u-boot-users