This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

AW: 2nd redboot on edb7211 - FLASH


my redboot outputs this, after installing it on a clean flash:

You see, if I create a file in flash it will be mirrored on the same address
+ 0x00800000.

Why? 

Has anyone the same problems?

Thanks for your help!

bye,
Thomas

--- redboot.log ---
+FLASH configuration checksum error or invalid key
Can't get BOOTP info - network disabled!

RedBoot(tm) bootstrap and debug environment [ROM]
Non-certified release, version UNKNOWN - built 09:12:13, Sep 20 2001

Platform: Cirrus Logic EDB7212 (ARM 720T) 
Copyright (C) 2000, 2001, Red Hat, Inc.

RAM: 0x00000000-0x00fd7000, 0x0000a8e8-0x00fb6000 available
FLASH: 0xe0000000 - 0xe1000000, 128 blocks of 0x00020000 bytes each.
RedBoot> fconfig
Run script at boot: false 
Use BOOTP for network configuration: true false
Local IP address: 0.0.0.0 1421 .120.203.137
Default server IP address: 0.0.0.0 142.120.203.135
Network hardware address [MAC]: 0x00:0x00:0x00:0x00:0xD0:0x5C 
GDB connection port: 9000 
Network debug at boot time: false 
Update RedBoot non-volatile configuration - are you sure (y/n)? y
... Erase from 0xe0fc0000-0xe0fc1000: .
... Program from 0x000049a4-0x000059a4 at 0xe0fc0000: .
RedBoot> fis list
Name              FLASH addr  Mem addr    Length      Entry point
RedBoot> fis init
About to initialize [format] FLASH image system - are you sure (y/n)? y
*** Initialize FLASH Image System
    Warning: device contents not erased, some blocks may not be usable
... Erase from 0xe0fe0000-0xe1000000: .
... Program from 0x00fb6000-0x00fb6400 at 0xe0fe0000: .
RedBoot> fis list
Name              FLASH addr  Mem addr    Length      Entry point
RedBoot           0xE0000000  0xE0000000  0x00020000  0x00000000
RedBoot[backup]   0xE0020000  0xE0020000  0x00020000  0x00000000
RedBoot config    0xE0FC0000  0xE0FC0000  0x00001000  0x00000000
FIS directory     0xE0FE0000  0xE0FE0000  0x00020000  0x00000000
RedBoot> fis free
  0xE0020000 .. 0xE07C0000
  0xE0820000 .. 0xE0FC0000
RedBoot> fis create -b    
*** invalid 'fis' command: required parameter missing
Usage:
  fis create -b <mem_base> -l <image_length> [-s <data_length>]
      [-f <flash_addr>] [-e <entry_point>] [-r <ram_addr>] [-n] <name>
  fis delete name
  fis erase -f <flash_addr> -l <length>
  fis free 
  fis init [-f]
  fis list [-c] [-d]
  fis load [-b <memory_load_address>] [-c] name
  fis write -f <flash_addr> -b <mem_base> -l <image_length>
RedBoot> fis create -b 0x00100000 -l 0x00100000 -f 0xe0100000 test
... Erase from 0xe0100000-0xe0200000: ........
... Program from 0x00100000-0x00200000 at 0xe0100000: ........
... Erase from 0xe0fe0000-0xe1000000: .
... Program from 0x00fb6000-0x00fd6000 at 0xe0fe0000: .
RedBoot> fis list
Name              FLASH addr  Mem addr    Length      Entry point
RedBoot           0xE0000000  0xE0000000  0x00020000  0x00000000
RedBoot[backup]   0xE0020000  0xE0020000  0x00020000  0x00000000
RedBoot config    0xE0FC0000  0xE0FC0000  0x00001000  0x00000000
FIS directory     0xE0FE0000  0xE0FE0000  0x00020000  0x00000000
test              0xE0100000  0xE0100000  0x00100000  0x00000000
RedBoot> fis free
  0xE0020000 .. 0xE0100000
  0xE0200000 .. 0xE07C0000
  0xE0820000 .. 0xE0900000
  0xE0A00000 .. 0xE0FC0000
RedBoot>

------ end --------

> -----Ursprüngliche Nachricht-----
> Von: Jonathan Larmour [mailto:jlarmour@redhat.com]
> Gesendet: Donnerstag, 20. September 2001 16:25
> An: Edelmann Thomas
> Cc: 'ecos-discuss@sources.redhat.com'
> Betreff: Re: [ECOS] 2nd redboot on edb7211 - FLASH
> 
> 
> Edelmann Thomas wrote:
> > 
> > It's seems to me that redboot uses only 8MB Flashmemory. Is 
> this right???
> > 
> > If yes, how can I use the whole amount of 16 MB?
> 
> It should already use the whole 16M if it's recognising the 
> flash at all.
> The banner RedBoot outputs on startup should indicate what 
> flash it thinks
> it has. On a board here it outputs: 
> 
> FLASH: 0xe0000000 - 0xe1000000, 128 blocks of 0x00020000 bytes each.
> 
> which is 16MB.
> 
> Jifl
> -- 
> Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 
> (1223) 271062
> Maybe this world is another planet's Hell -Aldous Huxley || 
> Opinions==mine
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]