* [U-Boot] at91rm9200ek NOR booting is broken @ 2010-12-01 12:37 Andreas Bießmann 2010-12-01 12:49 ` Albert ARIBAUD 0 siblings, 1 reply; 4+ messages in thread From: Andreas Bießmann @ 2010-12-01 12:37 UTC (permalink / raw) To: u-boot Dear Albert Aribaud, as mentioned in another thread here is the description of broken at91rm9200ek NOR booting. I use the patchset posted in http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/89974 on top of v2010.12-rc2 tag. I configure the code for 'at91rm9200ek_config' and build that with a homebrew 4.5.1 toolchain with 2.20.1 binutils (I think the toolchain does not matter). The same board configured with 'at91rm9200ek_ram_config' do work with an JTAG. The JTAG configuration is copied from u-boot (just to mention the SDRAM and clock initialisation is sane). regards Andreas Bie?mann ^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] at91rm9200ek NOR booting is broken 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 0 siblings, 1 reply; 4+ messages in thread From: Albert ARIBAUD @ 2010-12-01 12:49 UTC (permalink / raw) To: u-boot thanks Andreas, Le 01/12/2010 13:37, Andreas Bie?mann a ?crit : > Dear Albert Aribaud, > > as mentioned in another thread here is the description of broken > at91rm9200ek NOR booting. > > I use the patchset posted in > http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/89974 on top of > v2010.12-rc2 tag. I configure the code for 'at91rm9200ek_config' and > build that with a homebrew 4.5.1 toolchain with 2.20.1 binutils (I think > the toolchain does not matter). > The same board configured with 'at91rm9200ek_ram_config' do work with an > JTAG. The JTAG configuration is copied from u-boot (just to mention the > SDRAM and clock initialisation is sane). What is the exact symptom? does the board display anything on its console, or does it stay completely silent? > regards > > Andreas Bie?mann Amicalement, -- Albert. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] at91rm9200ek NOR booting is broken 2010-12-01 12:49 ` Albert ARIBAUD @ 2010-12-01 15:13 ` Andreas Bießmann 2010-12-01 17:07 ` Albert ARIBAUD 0 siblings, 1 reply; 4+ messages in thread From: Andreas Bießmann @ 2010-12-01 15:13 UTC (permalink / raw) To: u-boot 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 ...' regards Andreas Bie?mann ^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] at91rm9200ek NOR booting is broken 2010-12-01 15:13 ` Andreas Bießmann @ 2010-12-01 17:07 ` Albert ARIBAUD 0 siblings, 0 replies; 4+ messages in thread From: Albert ARIBAUD @ 2010-12-01 17:07 UTC (permalink / raw) To: u-boot 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. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-12-01 17:07 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox