[U-Boot-Users] Does u-boot relocate absolute symbols?
Rune Torgersen
runet at innovsys.com
Wed Jun 29 17:46:03 CEST 2005
I just have to comment on this.
> It does not work (because it's simply wrong) to declare
> fpgadata as follows in pf5200.c
> (although looking good in the first place, if you think about
> it, the compiler needs to
> handle both declarations differently):
>
> const unsigned char *fpgadata = 0x400000; /* (with 0x400000
> being the address to store
> the image with TFTP at) */
>
Have you tried to do this?
Because it should work (even if one is declared char [] and the other
char *)
I use something similar to access a FPGA binary image stored in flash
(after U-Boot relocation) and it works.
More information about the U-Boot
mailing list