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] at91rm9200ek NOR booting is broken
Date: Wed, 01 Dec 2010 18:07:51 +0100	[thread overview]
Message-ID: <4CF680E7.8030402@free.fr> (raw)
In-Reply-To: <4CF66616.2070200@gmail.com>

Note: pwclient dies on patch 73644 with the following

albert at lilith:~/src/u-boot$ pwclient apply 73644
Applying patch #73644 to current directory
Description: [U-Boot,v2,1/4] at91rm9200ek: add configure target for RAM boot
Traceback (most recent call last):
   File "/home/albert/bin/pwclient", line 463, in <module>
     main()
   File "/home/albert/bin/pwclient", line 446, in main
     action_apply(rpc, patch_id)
   File "/home/albert/bin/pwclient", line 263, in action_apply
     proc.communicate(s)
   File "/usr/lib/python2.6/subprocess.py", line 680, in communicate
     self.stdin.write(input)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xdf' in 
position 605: ordinal not in range(128)

I'd wager it does not like Andreas' last name.

Le 01/12/2010 16:13, Andreas Bie?mann a ?crit :
> Dear Albert ARIBAUD,
>
> Am 01.12.2010 13:49, schrieb Albert ARIBAUD:
>> thanks Andreas,
>>
>
>>
>> What is the exact symptom? does the board display anything on its
>> console, or does it stay completely silent?
>
> I see the banner and 'DRAM: 32 MiB' on serial console. If I activate
> DEBUG in a/a/l/board.c I can see the debug messages up to 'relocation
> Offset is ...'

Thanks.

The size of u-boot.bin is right for sections .text to .dynsym inclusive 
as listed by readelf -a.

The content of the binary u-boot.bin correctly reflects the .rel.dyn and 
.dynsym sections of the ELF u-boot file.

_rel_dyn_start_ofs, _rel_dyn_end_ofs and _dynsym_start_ofs> all contain 
correct offsets to their respective targets.

This means that if the u-boot.bin is correctly flashed to NOR, and if 
nothing touches the .rel.dyn and .dynsym section, relocation is done 
correctly.

But... with your fixes applied above v2010.12-rc2, as you indicated, you 
don't have the fix for not using r8 during relocation, which means GD is 
completely bogus after relocation. Can you apply this fix too?

> regards
>
> Andreas Bie?mann

Amicalement,
-- 
Albert.

      reply	other threads:[~2010-12-01 17:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-01 12:37 [U-Boot] at91rm9200ek NOR booting is broken Andreas Bießmann
2010-12-01 12:49 ` Albert ARIBAUD
2010-12-01 15:13   ` Andreas Bießmann
2010-12-01 17:07     ` Albert ARIBAUD [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=4CF680E7.8030402@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