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]
Other format: [Raw text]

FIS problem


Hi,

I had suffering the FLASH DEVICE Support for Redboot for several days.

I can't copy RAM startup Redboot image to ROM after porting FIS on Intel
XSCALE 80200EVB.
Serial port hang during programming to Flash.
Can you help me on this problem?

Procedure:
1. Program ROM start Redboot to FLASH
2. fis init to initialize Flash configuration in Redboot, map as the
following:
RedBoot> fis list

in REDBOOT_FIS: fis_addr @ 0x000f0000, flash_end @ 0x000fffff, block_size =
0x10
000

Name              FLASH addr  Mem addr    Length      Entry point

RedBoot           0x00000000  0x00000000  0x00020000  0x00000000

RedBoot[backup]   0x00020000  0x00020000  0x00020000  0x00000000

RedBoot config    0x000E0000  0x000E0000  0x00001000  0x00000000

FIS directory     0x000F0000  0x000F0000  0x00010000  0x00000000

3. load -m ymodem for RAM start Redboot successfully

Entry point: 0xc0020040, address range: 0xc0020000-0xc002ba6c

xyzModem - CRC mode, 2(SOH)/140(STX)/0(CAN) packets, 3 retries

4. copy RAM startuo Redboot image to secondary Redboot area using the
following command:

RedBoot> fis create RedBoot[backup] -f 0x00020000 -e 0xc0020040 -b
0xc0020000 -r
 0xc0020000 -l 0x20000

An image named 'RedBoot[backup]' exists - are you sure (y/n)? y

... Erase from 0x00020000-0x00040000: ..

... Program from 0xc0020000-0xc0040000 at 0x00020000: 
(Before Program: addr = 0x20000, data @ 0xc0020000, size = 0x10000,
block_mask = 0xffff0000, buffer_size =
0x0) -- my debug information





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


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