This is the mail archive of the ecos-discuss@sourceware.org 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]
Other format: [Raw text]

How can I use the flashs of sst29vfxxx and intel_strata at the same timeat redboot ???


Hi All,

        I have two kinds of flash type, intel strata and sst 39vfxxx in
my platform, and I use the flashv2 branch of ecos. Now I have
initiated them, but I find that the cyg_flash_get_info function
alway returns the first flash info, so I only can use one of them.

The flash info :
Flash type                    BaseAddress                       Size
----------------------------------------------------------------------------
-------
Intel Strata                   0x70000000                        0x1000000
(16MB)
SST 39VFXXX           0xfff00000                          0x80000 (512KB)

The redboot displays in power on :
///////////////////////////////////
Platform: pX (PowerPC 8245)
Copyright (C) 2000, 2001, 2002, Red Hat, Inc.

RAM: 0x00000000-0x10000000, [0x0007ec40-0x0efdd000] available
FLASH: 0x70000000 - 0x70ffffff 128 x 0x20000 blocks
FLASH: 0xfff00000 - 0xfff7ffff 128 x 0x1000 blocks


RedBoot> fis list
... Read from 0x70fe0000-0x70ffefff to 0x0efe0000:
Name              FLASH addr  Mem addr    Length      Entry point
RedBoot           0x70000000  0x70000000  0x00020000  0x00000000
RedBoot[RAM]      0x70020000  0x70020000  0x00040000  0x00100100
FIS directory     0x70FE0000  0x70FE0000  0x0001F000  0x00000000
RedBoot config    0x70FFF000  0x70FFF000  0x00001000  0x00000000



Question:
How can I use the flashs of sst29vfxxx and intel_strata at the same time
at redboot ???

Thank you in advance~~

Steven Cheng





-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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