public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Fwd: [ECOS] ecos porting for Atmel AT91RM9200-DK
@ 2005-08-12  1:27 Jiun-Shian Ho
  2005-08-12  8:39 ` [ECOS] Fwd: " Wolfgang Köbler
  2005-08-13 14:36 ` [ECOS] Fwd: [ECOS] " Wolfgang Köbler
  0 siblings, 2 replies; 3+ messages in thread
From: Jiun-Shian Ho @ 2005-08-12  1:27 UTC (permalink / raw)
  To: Wolfgang Kobler; +Cc: ecos-discuss

Hi,

The default configuration of target do not include Ethernet and Flash 
device.
You can add them manually or import *.ecm
The script for build is

> ecosconfig new at91rm9200 redboot
> ecosconfig import \
      $ECOS_RESPOSITORY/hal/arm/arm9/at91rm9200/current/misc/at91rm9200_redboot_RAM.ecm
> ecosconfig tree
> make

I'm not expert of eCos.
Most codes is modified from other target, RomBoot of at91.com, U-Boot, or 
Linux.
It just works for me to boot up Linux.
But for real eCos application, it's not enough.

I just test Ethernet with DM9161E PHY.
The default configuration is 100M/Full-Speed.

Have fun.

2005/8/12, Wolfgang Kobler <wk-list@koebler.com>:
> Hi,
>
> On 10-Aug-2005 Jiun-Shian Ho wrote:
> > I'm not an expert of eCos, bellow is my dirty porting
> > http://asky.homeip.net/COREBlog/186
> Thanks a lot for your work. As a first step, I would like to compile 
> exactly
> what you have running. I set up a repository (CVS+your files), and built 
> the
> template AT91RM9200 - redboot . (I did not test it yet.)
> But this does not seem to have ethernet support, but the Screen Shot on 
> your
> blog obviously has ethernet support. So what do I need to do  to get what 
> you
> got ?
>
> BTW: What does "dirty porting" mean ? I can see that the port is 
> incomplete,
> but why is it dirty ?
>
> Bye,
> Wolfgang
>
>



-- 
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] 3+ messages in thread

* Re: [ECOS] Fwd: ecos porting for Atmel AT91RM9200-DK
  2005-08-12  1:27 [ECOS] Fwd: [ECOS] ecos porting for Atmel AT91RM9200-DK Jiun-Shian Ho
@ 2005-08-12  8:39 ` Wolfgang Köbler
  2005-08-13 14:36 ` [ECOS] Fwd: [ECOS] " Wolfgang Köbler
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Köbler @ 2005-08-12  8:39 UTC (permalink / raw)
  To: Jiun-Shian Ho; +Cc: ecos-discuss

Hi,

On 12-Aug-2005 Jiun-Shian Ho wrote:
> Most codes is modified from other target, RomBoot of at91.com, U-Boot, or 
> Linux.
Other ecos targets and at91.com are ok, but u-boot and linux could make the
whole project GPL (without ecos exception clause). Can you tell me what parts
include code from u-boot or linux ?

Bye,
Wolfgang


--
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] 3+ messages in thread

* Re: [ECOS] Fwd: [ECOS] ecos porting for Atmel AT91RM9200-DK
  2005-08-12  1:27 [ECOS] Fwd: [ECOS] ecos porting for Atmel AT91RM9200-DK Jiun-Shian Ho
  2005-08-12  8:39 ` [ECOS] Fwd: " Wolfgang Köbler
@ 2005-08-13 14:36 ` Wolfgang Köbler
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Köbler @ 2005-08-13 14:36 UTC (permalink / raw)
  To: Jiun-Shian Ho; +Cc: ecos-discuss

Hi,

I succeeded in compiling and running redboot on my lomx-board with an
additional AT45DB041B Dataflash.
I had to modify my atmel bootloader so it
- supports my small dataflash device,
  (quite simple, changes available at request if someone is interested)
- loads redboot at the correct address (0x20001000), 
  (I corrected this value and suddenly it just worked)
- and uses the correct PLL settings, but now it works. 
  (you get funny characters on the serial console if the clock settings
  are not correct and you try to boot linux.)

I used the gcc version of the atmel bootloader (from teest.com, version 1.01).
You seem to use version 1.02 of the bootloader. Do you use the ADS compiler
or is there also a gcc version of it ? (I use the ecos gcc for the
bootloader, too.)

I also noticed that the default frequency setting in redboot is at 184MHz.
(CYGNUM_HAL_ARM_AT91RM9200_CPU_CLOCK). I thought the CPU would always run at
180MHz ? At least the current AT91RM9200 errata (page 2) says the PLL is
limited to 180MHz.

I get some timeouts when I use tftp when downloading big files, but not too
many.

I can not boot the linux delivered with my board, as this uses a ramdisk
and thus would require the redboot exec command. I can run it via "go", but of
course then I get a kernel panic. But this is not a problem to me as I do not
want to use linux here anyway.


Bye,
Wolfgang


--
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] 3+ messages in thread

end of thread, other threads:[~2005-08-13 14:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-12  1:27 [ECOS] Fwd: [ECOS] ecos porting for Atmel AT91RM9200-DK Jiun-Shian Ho
2005-08-12  8:39 ` [ECOS] Fwd: " Wolfgang Köbler
2005-08-13 14:36 ` [ECOS] Fwd: [ECOS] " Wolfgang Köbler

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).