Dear Joakim Tjernlund, In message <of680476d5.a9d9d259-onc1257634.00449ac4-c1257634.00451...@transmode.se> you wrote: > > > But why has the GOT table to fit "into built-in CPU memory"? When we > > are about to relocate U-Boot to RAM, we already have RAM working. So > > we should also be able to copy the GOT table to RAM and modify it > > there as needed before we use it? > > Before you get RAM working there are lots of references to global data and > string literals. These point to their link address so if you have loaded > u-boot at a different address than you link address you have to adjust for > the offset. Hard to do that when GOT is in flash :(
Ah, I finally GOT you :-) Hm... but being able to load (and start) U-Boot from an arbitrary RAM location would be a big benefit, too, even if we still have to copy it to the correct (linked) address when storing it in flash. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot