public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: C Michael Sundius <msundius@sundius.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] JFFS2 support - was: (no subject)
Date: Thu, 7 Apr 2005 12:16:09 -0700	[thread overview]
Message-ID: <2eae136bb041c4f4f56911f7af6a748c@sundius.com> (raw)
In-Reply-To: <20050403205152.76E58C108D@atlas.denx.de>

Wolfgang,

thank you for being patient.


On Apr 3, 2005, at 1:51 PM, Wolfgang Denk wrote:
> If you didn't update it yourself this just meand that it's old.  Very
> old. Very, very old indeed.
>
agreed. So I take that to be read as: go update the mtd code
manually, overwriting the old drivers/mtd and include/mtd directories

if so, what version of mtd should I use.. I understand that currently
the mtd guys are not supporting ancient kernels (2.4.20)

btw: I already know I should update my kernel... I've already been there
w/ my client, they can't upset the apple cart yet.

>> I gave you the exact u-boot commands that I use:
>> 	"ls"
>
> ...bot you didn't show the real contents of the directory  which  was
> causing the problem.

anyway I've already resolved this by not printing out the destination of
the link....

>
>>> Finally, I asked you  how  youy  create  and  how  you  install  your
>>> filesystem image.
>>>
>> - I created the file system on my host (a x86 box) using mkfs.jffs2:
>>        # mkfs.jffs2 --version
>>        mkfs.jffs2: revision 1.39
>>   Though you should not take this as an indication of the version of
>> mtd/jffs on my kernel since
>>   monta vista does not ship the (mtd) host tools  along with their
>> kernel. I doug that mkfs.jffs2 out
>>   from somewhere a while ago and I don't remember where.
>
> For the last time (before I give up finally): and how did you install
> that image to your flash partition? Under Linux or under U-Boot?  How
> exactly?
Ah, sorry I see what you are getting at.. I use U-Boot to write the 
jffs2 image
that I create on my PC host. I tftp the image, and then use cp.b to the 
address
that is my flash address space.

I use cp.b since it does not work doing simply cp.. because of the word 
length...

I have also verified (in u-boot) that the data that was copied into 
flash
with no errors. (cmp.b command).

so here is the exact output from my terminal :

CENTILLIUM-IAD # run progjffs
Trying CENTILLIUM ETH.
Ethernet Switch Enabled!!
Using CENTILLIUM ETH. device
TFTP from server 192.168.1.19; our IP address is 192.168.1.1
Filename 'jffs.1.0'.
Load address: 0x80800000
Loading: 
#################################################################
          
#################################################################
          
#################################################################
          
#################################################################
          
#################################################################
          
#################################################################
          #####################
done
Bytes transferred = 2104108 (201b2c hex)
Erase Flash from 0xad040000 to 0xad3bffff in Bank # 1
Erased 56 sectors
Copy to Flash... done
CENTILLIUM-IAD #

--------
where progjffs is a environment variable:

jffsfile=jffs.1.0
progjffs=tftp 0x80800000 $(jffsfile);erase 0xad040000 0xad3bffff;cp.b 
0x80800000 0xad040000 $(filesize)

------------
sorry this took so long to get back to you on.. I was not in my office 
earlier this week and I *really am* trying
to give you exactly what you are asking for :]  thanks again for your 
patience and help!

Mike


C Michael Sundius
Brown Bear Realty
303 Cortland Ave
San Francisco, CA 94110
(415)608-0121
realtor at sundius.com

       reply	other threads:[~2005-04-07 19:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20050403205152.76E58C108D@atlas.denx.de>
2005-04-07 19:16 ` C Michael Sundius [this message]
2005-04-07 19:55   ` [U-Boot-Users] Re: JFFS2 support - was: (no subject) Martin Egholm Nielsen
2005-04-07 22:51     ` Wolfgang Denk
2005-04-09  9:52       ` Martin Egholm Nielsen
2005-04-10 17:07         ` Wolfgang Denk
2005-04-07 22:58     ` C Michael Sundius
2005-04-07 23:47       ` Wolfgang Denk
2005-05-04 23:51 [U-Boot-Users] " Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2005-03-31 22:32 [U-Boot-Users] " C. Michael Sundius
2005-03-31 23:05 ` [U-Boot-Users] JFFS2 support - was: " Wolfgang Denk
2005-04-01  0:32   ` C. Michael Sundius

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=2eae136bb041c4f4f56911f7af6a748c@sundius.com \
    --to=msundius@sundius.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox