From mboxrd@z Thu Jan 1 00:00:00 1970 From: Edelmann Thomas To: "'ecos-discuss@sources.redhat.com'" Cc: "'Jonathan Larmour'" Subject: AW: [ECOS] 2nd redboot on edb7211 - FLASH Date: Tue, 25 Sep 2001 00:06:00 -0000 Message-id: <976767C2362FD511895F0008C7869D4607157C@nbgm384a.nbgm.siemens.de> X-SW-Source: 2001-09/msg00611.html 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 -l [-s ] [-f ] [-e ] [-r ] [-n] fis delete name fis erase -f -l fis free fis init [-f] fis list [-c] [-d] fis load [-b ] [-c] name fis write -f -b -l 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 >