public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: tejas pawaskar <tejaspawaskar@yahoo.co.in>
To: ecos-discuss <ecos-discuss@ecos.sourceware.org>
Subject: [ECOS] Ecos/redboot on Xscale pxa270
Date: Fri, 19 Jan 2007 09:00:00 -0000	[thread overview]
Message-ID: <20070119090046.69588.qmail@web8810.mail.in.yahoo.com> (raw)
In-Reply-To: <5A8A17126B73AC4C83968F6C4505E3C50660CDC6@JO-EX01.JENOPTIK.NET>

Greetings,

I am building redboot bootloader for xscale pxa270.
I have created templates and packages required for my
board.
Even i have made the necessary changes in
hal_platform_setup.h to initialize to my board.
I am using pxa270's FFUART as serial console.

My problem is after the initialization i can view
serial characters on terminal but at a point
particular when calling hal_hardware_init from
Vector.S. no further execution takes place.

When we debugged the code, we have observed that after
3 i.e LED 3 which is in Vector.S the execution is as
follows:-
   a. Calls /hal_hardware_init/ function which is in
/pxa2x0_misc.c/, entering the function it calls
/plf_hardware_init/ which is in /quantum_misc.c/,
entering the function it calls /hal_if_init /which is
in /hal_if.c
   /b. We have entered characters in each of the
function which can be seen on terminal so that we can
come to know the point where the execution gets halt.
   c. We have observed that in hal_if_init function it
calls
set_debug_comm(CYGNUM_CALL_IF_SET_COMM_ID_EMPTY);
       it enters in this function, but then it doesn't
returns from it.
We felt that either RAM or stack could be the cause
for it, but RAM is not an issue since we tested out by
writing and reading the RAM.
We have certain doubts over the stack, since we could
not locate the point where stack size is initialized
and where the stack pointer is pointing.
Before mmu init we printed the stack pointer value
which was 0xa0009a8c after the initialisation from the
plf_hardware_init function the stack pointer value was
0x00009a70.
From this we feel that the processor works on virtual
addresses after mmu init. Are we right about it? 

Has any one came across such problem?
Or does any one has better solution or process to
build the redboot for pxa270?

has any one succesfully ported redboot on pxa270 and
achieved the serial output thru FFUART on the
terminal.

Thanks with kind regards,
Tejas Pawaskar



		
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/

-- 
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:[~2007-01-19  9:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-19  7:48 AW: [ECOS] cat zImage >/dev/mtd1 does not work Neundorf, Alexander
2007-01-19  9:00 ` tejas pawaskar [this message]
2007-01-19 16:50 ` Weiguang Shi
2007-01-19 16:53   ` Andrew Lunn
2007-01-19 17:50   ` Gary Thomas
2007-01-19 18:08     ` Weiguang Shi
2007-01-19 18:18       ` Gary Thomas
2007-01-19 18:28         ` Weiguang Shi
2007-01-20  2:00         ` Weiguang Shi
2007-01-20 13:46           ` Gary Thomas
2007-01-23  2:08             ` Weiguang Shi
2007-01-23  8:42               ` Gary Thomas
2007-01-23 19:34                 ` Weiguang Shi
2007-01-23 20:11                   ` Gary Thomas
2007-01-28 21:26                     ` Weiguang Shi

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=20070119090046.69588.qmail@web8810.mail.in.yahoo.com \
    --to=tejaspawaskar@yahoo.co.in \
    --cc=ecos-discuss@ecos.sourceware.org \
    /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).