From: Alan Casey <alan.casey5@mail.dcu.ie>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] jffs2 fs for linux
Date: Fri, 25 Feb 2005 18:09:52 +0000 [thread overview]
Message-ID: <41108D1A0010B648@hawk.dcu.ie> (raw)
In-Reply-To: <421F6277.6030604@iskramedical.si>
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 <hinko.kocevar@iskramedical.si>
>To: alan.casey5 at mail.dcu.ie
>Cc: uboot <u-boot-users@lists.sourceforge.net>
>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 <dot> kocevar <at> iskramedical <dot> 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_id\x14396&op=click
>_______________________________________________
>U-Boot-Users mailing list
>U-Boot-Users at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/u-boot-users
next prev parent reply other threads:[~2005-02-25 18:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-25 14:31 [U-Boot-Users] jffs2 fs for linux Hinko Kocevar
2005-02-25 17:28 ` Alan Casey
2005-02-25 17:37 ` Hinko Kocevar
2005-02-25 18:09 ` Alan Casey [this message]
2005-02-25 20:10 ` Wolfgang Denk
2005-02-25 20:03 ` Wolfgang Denk
2005-02-27 15:06 ` Hinko Kocevar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41108D1A0010B648@hawk.dcu.ie \
--to=alan.casey5@mail.dcu.ie \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.