public inbox for ecos-devel@sourceware.org
 help / color / mirror / Atom feed
From: Evgeniy Dushistov <dushistov@mail.ru>
To: Roberto Lavarini <roberto.lavarini@gmail.com>
Cc: ecos-devel@ecos.sourceware.org
Subject: Re: Re[2]: [PATCH] [RFC] at91sam9263ek support
Date: Sat, 29 Nov 2008 18:22:00 -0000	[thread overview]
Message-ID: <20081129182519.GA894@rain> (raw)
In-Reply-To: <e7aaf8e40811280706u6cd9579es556e7bb44ee93021@mail.gmail.com>

On Fri, Nov 28, 2008 at 04:06:38PM +0100, Roberto Lavarini wrote:
> Well, the compilation of redboot with your Patch ends successfully if I set
> RAM as default value of CYG_HAL_STARTUP in "hal_arm_at91_sam9.cdl" file. If
> the default value remains ROM the following error will appears in
> compilation time:
> 
> /home/roberto/ecos-cvs/ecos/packages/hal/arm/arch/current/src/redboot_linux_exec.c:75:32:
> error: pkgconf/mlt_arm_at91sam9263ek_rom.h: No such file or directory
> 
> So I load at91bootstrap to the board and then I try to load redboot
> (compiled with RAM default value) in dataflash via sam-ba, but I have some
> difficult to understand the address to set in sam-ba where the redboot image
> will be loaded. I try to use 0x00100000 or 0x4000 (the address that I used
> with U-boot) but they don't work correctly, and on debug port I only see
> "RomBoot>" shell. Do you have some suggestion to give to me?
> 

Address in dataflash depends on how you build at91bootstrap,
there is configuration file, I don't remember exactly, like
board/at91sam9263ek/dataflash/at91sam9263ek.h
where you point address and size in dataflash,
and address in sdram where put what it load in dataflash.
sdram address should be 0x23f00000

Also check that your config's setting is right:
- communication channel be DBGU and should be only one
- main oscillator frequency should be 16 and something Mhz don't
  remember details, look at board's documentation, divider and
  multiplier should be the same as at91boostrap set
- redboot should not expect that vectors (pointers  to services, like
  print to console and so on) are initialized, option name is like "work with
  redboot"

-- 
/Evgeniy

  parent reply	other threads:[~2008-11-29 18:22 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-06 18:46 at91sam9263ek Evgeniy Dushistov
2008-11-10  9:21 ` at91sam9263ek Andrew Lunn
2008-11-11 18:55   ` [PATCH] [RFC] at91sam9263ek support Evgeniy Dushistov
2008-11-26 15:06     ` roberto.lavarini
2008-11-27 19:07       ` Evgeniy Dushistov
2008-11-28 11:04         ` roberto.lavarini
     [not found]           ` <E1L61JP-000FPO-00.dushistov-mail-ru@f224.mail.ru>
     [not found]             ` <e7aaf8e40811280706u6cd9579es556e7bb44ee93021@mail.gmail.com>
2008-11-29 18:22               ` Evgeniy Dushistov [this message]
2008-12-02  9:39                 ` Re[2]: " roberto.lavarini
2008-12-02 11:21                   ` Re[4]: " Evgeniy Dushistov
2008-11-18 16:38   ` at91sam9263ek Jonathan Larmour
2008-11-25 20:51     ` at91sam9263ek Evgeniy Dushistov
2008-11-25 22:58       ` at91sam9263ek Jonathan Larmour

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=20081129182519.GA894@rain \
    --to=dushistov@mail.ru \
    --cc=ecos-devel@ecos.sourceware.org \
    --cc=roberto.lavarini@gmail.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).