public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Albert ARIBAUD <albert.aribaud@free.fr>
To: u-boot@lists.denx.de
Subject: [U-Boot] U-Boot support for board(s) meesc, otc570
Date: Tue, 25 Jan 2011 19:13:08 +0100	[thread overview]
Message-ID: <4D3F12B4.9070006@free.fr> (raw)
In-Reply-To: <4D3D64E4.3060401@esd.eu>

Le 24/01/2011 12:39, Daniel Gorsulowski a ?crit :
> Hello Reinhard,
>
> ...
>>>
>>> Check that your AT91Bootstrap loads u-boot to a sane address not at the
>>> very end
>>> of DRAM, and that CONFIG_SYS_TEXT_BASE is exactly the address where
>>> AT91Bootstrap
>>> loads u-boot. (I changed AT91Bootstrap to load u-boot to the very begin
>>> of DRAM
>>> for our boards.)
>>>
>>
>> I neither change the AT91Bootstrap nor the CONFIG_SYS_TEXT_BASE address,
>> so the problem must be located elsewhere.
>>
>> Today I found out by GPIO debugging, that U-Boot seems to boot but prints
>> its startup messages to wrong USART with proper baudrate. I'll try to
>> find out, why there is no output on DBGU.
>>
>
> I have to correct myself.
> My board_init() and checkboard() fanctions are executed. But the board
> crashes, before misc_init_r() functions executes.
> (I guess, it crashes somwhere in board_init_f())
> I'll try to find out more infos. But without an appropriate opportunity
> to debug, it will be verry difficult.

Make sure nothing executes under board_init_f() that tries to write to 
BSS (uninitialized) variables: BSS does not actually exist until after 
relocation, and writing to the would-be BSS area will cause corruption 
of the U-boot code. Not sure this is what happens with you but better 
safe than sorry.

> Best regards
> Daniel

Amicalement,
-- 
Albert.

  parent reply	other threads:[~2011-01-25 18:13 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20101127215828.7CD40220233A@lilith>
     [not found] ` <4D072AED.6080703@esd.eu>
     [not found]   ` <4D355CFC.5050806@esd.eu>
     [not found]     ` <4D356200.5000801@aribaud.net>
     [not found]       ` <4D3577A9.8050505@esd.eu>
2011-01-18 12:25         ` [U-Boot] U-Boot support for board(s) meesc, otc570 Reinhard Meyer
2011-01-20  7:48           ` Daniel Gorsulowski
2011-01-21  6:43             ` Reinhard Meyer
2011-01-21  9:11               ` Daniel Gorsulowski
2011-01-21 10:44                 ` Reinhard Meyer
2011-01-21 11:17                   ` Daniel Gorsulowski
2011-01-21 11:50                     ` Reinhard Meyer
2011-01-21 12:39                       ` Daniel Gorsulowski
2011-01-21 13:21                         ` Reinhard Meyer
2011-01-24 11:39                 ` Daniel Gorsulowski
2011-01-24 12:08                   ` Reinhard Meyer
2011-01-25 18:13                   ` Albert ARIBAUD [this message]
2011-04-11 10:11                   ` Reinhard Meyer

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=4D3F12B4.9070006@free.fr \
    --to=albert.aribaud@free.fr \
    --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