OK with a Logic Analyser plugged on the EBSA, we discovered that the PLB
is not in agrement whit the checksum we add in our home made FMU header
generator. We suspect that we might have problem with the last bytes of the
images in FLASH (we assumed unwritten FLASH bytes were at 0xFF values).

Indeed, both the bios and bios.elf images have sizes that are not word aligned,
due to sections that are not word aligned themselves:

>[root@dual bios]# arm-linux-objdump -h bios.elf
> 
>bios.elf:     file format elf32-littlearm
> 
>Sections:
>Idx Name          Size      VMA       LMA       File off  Algn
>   0 .text         00006b9f  410c00c0  410c00c0  00000350  2**2
>                  CONTENTS, ALLOC, LOAD, CODE
>  1 .data         000002c4  00001000  00001000  00000080  2**2
>                  CONTENTS, ALLOC, LOAD, DATA
>  2 .glue_7t      00000000  000012c4  000012c4  00000344  2**2
>                  CONTENTS, ALLOC, LOAD, DATA
>  3 .glue_7       00000000  000012c4  000012c4  00000344  2**2
>                  CONTENTS, ALLOC, LOAD, DATA
>  4 .bss          000013e0  000012d0  000012d0  00000350  2**4
>                  ALLOC
>  5 .comment      00000390  000026b0  000026b0  00006eef  2**0
>                  CONTENTS, READONLY  

I feel especially suspicioud about a .text section of size 6b9f!
Isn't this supposed to be code always aligned?
(I may be totally wrong here i'm not familiar with these sections stuff)

Anybody has an idea?

-- 
Fran�ois Desloges
[EMAIL PROTECTED]
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]

Reply via email to