public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] ecos porting for Atmel AT91RM9200-DK
@ 2005-08-10  9:57 Jiun-Shian Ho
  2005-08-11 22:03 ` Wolfgang Köbler
  2005-08-13 12:06 ` Wolfgang Köbler
  0 siblings, 2 replies; 5+ messages in thread
From: Jiun-Shian Ho @ 2005-08-10  9:57 UTC (permalink / raw)
  To: ecos-discuss

Hi,
  I need redboot to boot Linux on Atmel AT91RM9200-DK.
But I can not find out any porting, except eCosCentric.

I'm not an expert of eCos, bellow is my dirty porting

http://asky.homeip.net/COREBlog/186

Could anyone give me some comments of the To-Do lists.

Best regards,
H.



-- 
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] 5+ messages in thread
* Re: [ECOS] ecos porting for Atmel AT91RM9200-DK
@ 2005-08-15  2:56 Jiun-Shian Ho
  2005-08-15 11:55 ` Wolfgang Köbler
  0 siblings, 1 reply; 5+ messages in thread
From: Jiun-Shian Ho @ 2005-08-15  2:56 UTC (permalink / raw)
  To: Wolfgang Kobler; +Cc: ecos-discuss

Hi,
    Good news.
(Another bad news is that my hard-disk go on strike, all data are crash)
The RomBoot from atmel is 1.02 and I compiled it with ADS 1.2
http://www.at91.com/Pages/products/EvaluationBoard/AT91RM9200EK/other/AT91RM9200-DataFlashBoot.zip

I just modify the the last sources/main.c:AT91F_StartBoot()
Skip copy/check and jump to proper location of redboot (ROM).
The PLL is configured by sources/main.c:AT91F_SetPLL()
I tried to reset it in hal_hw_init() of ecos, but do not work fine.
I need to check errata.

I will not use serial flash in my design, but only parallel flash.
The datasheed said it will check the 6th vector (0x14) as length of 
bootloader,
and copy it to sram then run it ?!
However, the 6th vector is zero, and do you know how to let it work ?
Because I think it's too burdensome to use 2 boot-loader.

I do not get timeout problems.
Maybe you can check the configuration of PHY,
and disable or replace hw_delay_us()


2005/8/13, Wolfgang Kobler <wk-list@koebler.com>:
> 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] 5+ messages in thread

end of thread, other threads:[~2005-08-15 11:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-10  9:57 [ECOS] ecos porting for Atmel AT91RM9200-DK Jiun-Shian Ho
2005-08-11 22:03 ` Wolfgang Köbler
2005-08-13 12:06 ` Wolfgang Köbler
2005-08-15  2:56 Jiun-Shian Ho
2005-08-15 11:55 ` 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).