public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Andre Puschmann <andre.puschmann@stud.tu-ilmenau.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Dataflash and JFFS2
Date: Tue, 27 Jun 2006 14:19:55 +0200	[thread overview]
Message-ID: <e7r7pj$sm9$1@sea.gmane.org> (raw)
In-Reply-To: <44A11F36.9000207@koansoftware.com>

Marco Cavallini wrote:
> Andre,
> I read all the other thread under your message.
> I didn't understand what are you trying to do.

i am trying to store the kernel image (uImage) inside of the
jffs2-filesystem .. thus i need the fsload command to load it from the
filesystem into sram.

> If this can help, I can say I am successfully using Dataflash with a 
> couple of different custom boards based on AT91RM9200 (DK like)
> Please post your u-boot configuration, your memory specification, and 
> what you want to do.

we are using dataflash as well, and it works! but we store the kernel
image directly on the dataflash ..
if we can store the kernel inside of an jffs2-image which is mounted
during the system runs it would be much easier to update the kernel, or
am i wrong?
that is what the whole discussion is about.

here is some output:
<log>
U-Boot 1.1.4 (Jun 26 2006 - 16:38:12)

DRAM:  32 MB
Flash:  0 kB
DataFlash:AT45DB321
Nb pages:   8192
Page Size:    528
Size= 4325376 bytes
Logical address: 0xC0000000
Area 0:\0x09C0000000 to C0007FFF (RO)
Area 1:\0x09C0008000 to C001FFFF (RO)
Area 2:\0x09C0020000 to C0027FFF
Area 3:\0x09C0028000 to C041FFFF
In:    serial
Out:   serial
Err:   serial
OPENDO> flinfo
DataFlash:AT45DB321
Nb pages:   8192
Page Size:    528
Size= 4325376 bytes
Logical address: 0xC0000000
Area 0:\0x09C0000000 to C0007FFF (RO)
Area 1:\0x09C0008000 to C001FFFF (RO)
Area 2:\0x09C0020000 to C0027FFF
Area 3:\0x09C0028000 to C041FFFF
OPENDO>
</log>

attached the modified at91rm9200dk.h configuration file ..


regards
andre

> 
> ===========
> 
> U-Boot 1.1.4 (May 20 2006 - 11:18:53)
> 
> U-Boot code: 21F00000 -> 21F165A4  BSS: -> 21F33404
> RAM Configuration:
> Bank #0: 20000000 64 MB
> Atmel: AT49BV6416 (64Mbit)
> Flash:  8 MB
> DataFlash:AT45DB642
> Nb pages:   8192
> Page Size:   1056
> Size= 8650752 bytes
> Logical address: 0xC0000000
> Area 0: C0000000 to C0007FFF (RO)
> Area 1: C0008000 to C001FFFF (RO)
> Area 2: C0020000 to C0027FFF
> Area 3: C0028000 to C083FFFF
> In:    serial
> Out:   serial
> Err:   serial
> 
> U-Boot> flinfo
> DataFlash:AT45DB642
> Nb pages:   8192
> Page Size:   1056
> Size= 8650752 bytes
> Logical address: 0xC0000000
> Area 0: C0000000 to C0007FFF (RO)
> Area 1: C0008000 to C001FFFF (RO)
> Area 2: C0020000 to C0027FFF
> Area 3: C0028000 to C083FFFF
> 
> Bank # 1: Atmel: AT49BV6416 (64Mbit)
>    Size: 8 MB in 135 Sectors
>    Sector Start Addresses:
>      10000000 (RO) 10002000 (RO) 10004000 (RO) 10006000 (RO) 10008000 (RO)
>      1000A000 (RO) 1000C000 (RO) 1000E000 (RO) 10010000 (RO) 10020000 (RO)
>      10030000 (RO) 10040000 (RO) 10050000 (RO) 10060000 (RO) 10070000
> .snip.
> 
> ===========
> 
> Ciao
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: at91rm9200dk.h
Type: text/x-chdr
Size: 8838 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20060627/608e269c/attachment.h 

  reply	other threads:[~2006-06-27 12:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-26 12:29 [U-Boot-Users] Dataflash and JFFS2 Andre Puschmann
2006-06-26 13:07 ` Wolfgang Denk
2006-06-26 13:33   ` Andre Puschmann
2006-06-26 14:45     ` Andre Puschmann
2006-06-26 20:42     ` Wolfgang Denk
2006-06-27  9:49       ` Andre Puschmann
2006-06-27 10:13         ` Wolfgang Denk
2006-06-27 11:50           ` Andre Puschmann
2006-06-27 12:06 ` Marco Cavallini
2006-06-27 12:19   ` Andre Puschmann [this message]
2006-06-27 12:29     ` Andre Puschmann

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='e7r7pj$sm9$1@sea.gmane.org' \
    --to=andre.puschmann@stud.tu-ilmenau.de \
    --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