[ECOS] Question on FIS

Pred pred@163.com
Mon Sep 15 11:48:00 GMT 2003


Dear ECOS experts,

I failed in using the fis create command to create a image larger than
256K(0x400000) on flash. But it works well on images less than 256K. It
seems that I can't unlock all the space needed.
Redboot gave the following information:
----------------------------------------------------------------------------
-------
RedBoot> fis unlock -f 0x50080000 -l 0x100000
... Unlock from 0x50080000-0x50180000: ....
RedBoot> fis create zImage
... Erase from 0x500c0000-0x50180000: ...
... Program from 0x00100000-0x001a443c at 0x500c0000: Err = 920092

Can't program region at 0x500c0000: Error trying to program
RedBoot>
----------------------------------------------------------------------------
-------

My platform is a pxa255 based development board like lubbock, with 32M
strata flash(e28f128j3).
I'm using the redboot v2_0. I have downloaded the newest snapshot today, but
failed to get it complied.

The compile tool complains the following:
----------------------------------------------------------------------------
-------
/tmp/unnamed7_install/include/pkgconf/system.h:35:1: warning: this is the
location of the previous definition
/tmp/unnamed7_install/lib/libtarget.a(io_flash_flash.o): In function
`flash_dev_query':
/home/pred/ecos/packages/io/flash/current/src/flash.c:132: undefined
reference to `flash_query_end'
/tmp/unnamed7_install/lib/libtarget.a(io_flash_flash.o): In function
`flash_erase':
/home/pred/ecos/packages/io/flash/current/src/flash.c:233: undefined
reference to `flash_erase_block_end'
/tmp/unnamed7_install/lib/libtarget.a(io_flash_flash.o): In function
`flash_program':
/home/pred/ecos/packages/io/flash/current/src/flash.c:317: undefined
reference to `flash_program_buf_end'
/tmp/unnamed7_install/lib/libtarget.a(io_flash_flash.o): In function
`flash_lock':
/home/pred/ecos/packages/io/flash/current/src/flash.c:389: undefined
reference to `flash_lock_block_end'
/tmp/unnamed7_install/lib/libtarget.a(io_flash_flash.o): In function
`flash_unlock':
/home/pred/ecos/packages/io/flash/current/src/flash.c:461: undefined
reference to `flash_unlock_block_end'
collect2: ld returned 1 exit status
make[1]: *** [/tmp/unnamed7_install/bin/redboot.elf] Error 1
----------------------------------------------------------------------------
-------

Please give me a hand! Thanks in advance.

Pred


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



More information about the Ecos-discuss mailing list