[U-Boot] "arm: keep all sections in ELF file" breaks Arndale

Andre Przywara andre.przywara at calxeda.com
Tue Dec 17 16:47:06 CET 2013


(CCing Inderpal, Chander and Minkyu)

On 12/17/2013 04:30 PM, Tom Rini wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 12/17/2013 10:24 AM, Andre Przywara wrote:
>> Hi,
>>
>> the Arndale board does not work anymore with current master HEAD.
>> If I turn on the board, I see exactly nothing.
>>
>> I bisected it down to:
>> 47ed5dd031d7d2c587e6afd386e79ccec1a1b7f7 is the first bad commit
>> commit 47ed5dd031d7d2c587e6afd386e79ccec1a1b7f7
>> Author: Albert ARIBAUD <albert.u.boot at aribaud.net>
>> Date:   Thu Nov 7 14:21:46 2013 +0100
>>
>>      arm: keep all sections in ELF file
>>
>> That patch looks like Chinese to me, does one of you have an idea what's
>> wrong here?
>> Are we missing a section, maybe for the SPL build?
>
> So on Arndale, what file do you boot exactly?  It sounds like not
> u-boot.img but some tool stripping / modifying u-boot (or
> spl/u-boot-spl) and having relied on certain sections being stripped out
> before being run.

Good point. Indeed I boot u-boot-dtb.bin (the SPL is 
spl/arndale-spl.bin). So the Makefile does:
cat u-boot.bin u-boot.dtb >u-boot-dtb.bin

I guess the address under which U-boot expects to find the attached dtb 
changes due to the non-discarding.

Does any of the Arndale people have an idea how to fix this?

Regards,
Andre.

>
> - --
> Tom
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQIcBAEBAgAGBQJSsG4KAAoJENk4IS6UOR1Wd0gP/jve70MGVIbZ7I6ZNVfBMXlC
> kUCrbskbSSNhLvp+prf7X4YGAqGkqzHm2kbdPS1BC3nEDbpJxvQodN1DYDat8I9U
> 7Et3fMLqpWzRSs/8FyN6ISDfo/hn4DSKKLRlHi/sg4RWYhDWIfwNByyVN2Hcpicb
> grUqz27GoJbTWld8ojkDCRILYS22RgCXQCdpnDvDv+a1Yvx6pb2/etH2VykOnFdN
> FVz0vHr7ecGbDgLuK7elKR0aJhyXkU8z6w2TAW713d+MkXkuHytbO8d4DtIysRrj
> L7quOdVH5qWyY8UivMZbSWU/UfExu6lGF8HhzlebWc2x80Ghhyxyc8i0/PpmEL20
> n5rrBAAPNBKbbN5YlhZ4XnXIbp8o9FFI6rvXj/Gx6sfbU14BtYkkYnc5IeEz2RcK
> dMXYycAdp+7ZzYoMGUYOBR+GCTQ38f0ZFJgkOlmYgShPYEHDMNrW40SKm2zR7xPR
> LpQ/YI1XzkuAdoQ6+Plx/Felf5KTS8ul3y55PqWPr8UFcFCggG84WL/aTOsVxCnL
> 6CM7h4RY0ainSHUw431JoPdILcYQIbJz84vo8hOoIdlXX3+dffSHH0g6Eg4QRHEO
> 75UK0JMXCHUhg519dy8OEPYwi8jZOlDyx+lEqbhaTYorXxYJzCZmTOpWFVarix7c
> fhyXLvN+llrt1v3mjgbb
> =siI2
> -----END PGP SIGNATURE-----
>



More information about the U-Boot mailing list