From: Hinko Kocevar <hinko.kocevar@iskramedical.si>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] register init
Date: Thu, 05 May 2005 02:05:05 +0200 [thread overview]
Message-ID: <42796331.8090006@iskramedical.si> (raw)
In-Reply-To: <4274F976.7090908@iskramedical.si>
Hinko Kocevar wrote:
> After few days of debugging I established that lowlevel_init() won't set
> the GAFR0_x register(s) to defined value set in u-boot board config.
> Under BDI I can see that at this point PC jumps to some random address -
> or throws an exception that BDI intercepts, if I set 'VECTOR CATCH 0xde'
> directive in BDI config.
>
> After exception caught by the BDI I can set PC back few instrucions and
> board would boot, console lives!
>
I've resolved the issue by moving GAFR register init ahead of GPSR,GPCR and
GPDR register init... Although PXA datasheet suggests it should be done the
other way around (as with other PXA based boards) it does not hold true for me.
I guess it is somekind of hardware perk, but I don't have cpu module schematics
availaable to confirm...
--
hinko <dot> kocevar <at> iskramedical <dot> si
Hinko Kocevar, embedded systems developer
Iskra Medical d.o.o., Stegne 23, 1k LJ, SLO-EU
"A? r?n" | [Analects XII:22]
prev parent reply other threads:[~2005-05-05 0:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-01 15:44 [U-Boot-Users] register init Hinko Kocevar
2005-05-05 0:05 ` Hinko Kocevar [this message]
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=42796331.8090006@iskramedical.si \
--to=hinko.kocevar@iskramedical.si \
--cc=u-boot@lists.denx.de \
/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