public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Jiun-Shian Ho" <asky@syncom.com.tw>
To: "Wolfgang Kobler" <wk-list@koebler.com>
Cc: <ecos-discuss@sources.redhat.com>
Subject: Re: [ECOS] ecos porting for Atmel AT91RM9200-DK
Date: Mon, 15 Aug 2005 02:56:00 -0000	[thread overview]
Message-ID: <000c01c5a144$d725e480$6905a8c0@mychat037aeabb> (raw)

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

             reply	other threads:[~2005-08-15  2:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-15  2:56 Jiun-Shian Ho [this message]
2005-08-15 11:55 ` Wolfgang Köbler
  -- strict thread matches above, loose matches on Subject: below --
2005-08-10  9:57 Jiun-Shian Ho
2005-08-11 22:03 ` Wolfgang Köbler
2005-08-13 12:06 ` Wolfgang Köbler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000c01c5a144$d725e480$6905a8c0@mychat037aeabb' \
    --to=asky@syncom.com.tw \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=wk-list@koebler.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).