public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Re: Port eCos  Redboot Olimex LPC2294 to Embest LPCEB200
       [not found] <450AD767.28236.F27045@localhost>
@ 2006-09-16  9:30 ` Sergei Gavrikov
  0 siblings, 0 replies; only message in thread
From: Sergei Gavrikov @ 2006-09-16  9:30 UTC (permalink / raw)
  To: Miklos.Pflancer; +Cc: eCos discuss list



On Fri, 15 Sep 2006, Miklos.Pflancer@dBResearch.co.uk wrote:

> Hi Sergei ,
>
> I fixed the previous problem however redboot stiil does not
> work.
>
> My board only has 256*16k external ram so I changed the
> linker script ot reflect this (target.ld and the rom.ldi file
>
> I have edited the hal_platform_setup registers BCFG0,1
> and PINSEL2 for my board, removed ethernet setup as my
> board does not have ethernet (BCFG2)
>
> I have edited the mlt_arm_lpc2xxxxolpce2294_rom.h
> for my ram size
>
> I have changed the clock and pll multiplier using the
> configtool for my board
>
> Are there any other changes that I need to make?
>
>
> Miklos Pflancer

Hello Miklos,

at first, I desire to ask you, Are you able to run any eCos application
(no RedBoot yet) in ROM with your own HAL? I.e., are those minimal
(hal/infra) eCos tests able to run in ROM?

Try it in bash:

<pre>
 	ecosconfig new <your target name> minimal

 	cat >minrom.ecm<<__eof
 	cdl_component CYG_HAL_STARTUP {user_value ROM};
 	__eof

 	ecosconfig import minrom.ecm
 	ecosconfig resolve
 	ecosconfig tree

 	make
 	make tests
</pre>

There shoud be 4 tests (it's main is to check HAL basics)

<pre>
 	install/tests/hal/
 	`-- common
 	    `-- current
 		`-- tests
 		    |-- basic
 		    |-- cache
 		    |-- context
 		    `-- intr
</pre>

Burn in ROM test by test and view it's output in minicom/hyperterm
(38440,n,8,1). Possible, you will be need in other output format (they
are ELF images), you can get another formats with objcopy utility. If
you will see normal outputs, therefore your HAL is okay and time to port
RedBoot. If you won't see (there isn't time to RedBoot there), dig then
in the hal_platform_setup.h, and your platform mlt files, certainly.

Sergei

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-09-16  9:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <450AD767.28236.F27045@localhost>
2006-09-16  9:30 ` [ECOS] Re: Port eCos Redboot Olimex LPC2294 to Embest LPCEB200 Sergei Gavrikov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).