This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Is load_flash_config() necessary to redboot? I gotproblem when include load_flash_config(). thanks (more detail)
- From: "Qiang Huang" <jameshq at liverpool dot ac dot uk>
- To: "Ecos-Discuss" <ecos-discuss at sources dot redhat dot com>
- Date: Mon, 10 Feb 2003 10:24:15 -0000
- Subject: RE: [ECOS] Is load_flash_config() necessary to redboot? I gotproblem when include load_flash_config(). thanks (more detail)
I am really sorry to disturb you. just let you know some more detail about
the problem I memtioned in the previous post. when I connect my EPXA1 board
to hyperterminal and I can read the flash memory without any problem by
using ( x -b <location> [-l <length>] [-s] [-1|2|4]) by whenever I tried to
perform a write to the flash memory by using: "fis init" --> error message:
Error erasing FIS directory at 0x407f0000: Device/region is write-protected.
I check the MMU of ARM and make sure this region is set to RW but why I get
this error message, is there anywhere I need to set the flash memory
package? (platform EPXA1, flash memory Intel 28F320C3) Thanks a lot
-----Original Message-----
From: Gary D. Thomas [mailto:gary.thomas@mind.be]
Sent: 09 February 2003 17:38
To: Qiang Huang
Cc: eCos Discussion
Subject: Re: [ECOS] Is load_flash_config() necessary to redboot? I
gotproblem when include load_flash_config(). thanks
On Sat, 2003-02-08 at 09:43, Qiang Huang wrote:
> Hi all:
> Can I build the redboot without calling load_flash_config() function?
> When I call this function in cyg_start() (redboot main.c) my program stop,
> when I comment out load_flash_config() function it works ok.. so any idea
> of this. ( I am on ARM Altera Excalibur EPXA1 platform ported based on the
> Altera Excalibur EPXA10 board)
This probably means that your FLASH initialization code is failing.
I'd just build a RedBoot without FLASH support and get the
FLASH code working separately.
--
.--------------------------------------------------------.
| Mind: Embedded Linux and eCos Development |
|--------------------------------------------------------|
| Gary Thomas email: gary.thomas@mind.be |
| Mind ( http://mind.be ) tel: +1 (970) 229-1963 |
| gpg: http://www.chez-thomas.org/gary/gpg_key.asc |
'--------------------------------------------------------'
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss