[U-Boot] MPC8377: USB breaks board

Joakim Tjernlund joakim.tjernlund at transmode.se
Fri Nov 5 16:00:24 CET 2010


Andre Schwarz <andre.schwarz at matrix-vision.de> wrote on 2010/11/05 15:51:13:
>
> Jocke,
>
> sorry to bother you again, but it might relate to our last discussion.
>
> Actually my MPC8377 based board is up and running with basic functionality.
> Now I'm trying to add USB support - but as soon as CONFIG_USB_EHCI_FSL is
> defined serial line is pretty dead again.
>
> This means again there's something wrong at the very beggining.
>
> Diff'ing the System.map gives almost identical layout up to cpu_init_f
> ... which adds USB specific code making the rest move, of course.
>
>
> The only difference is the location of __got2_entries :
>
> WORKING:
> 000004a5 A __fixup_entries
> 0000070b A __got2_entries
> fc000044 T version_string
> [...]
>
> NOT WORKING:
> 000004a5 A __fixup_entries
> 00000712 A __got2_entries
> fc000044 T version_string
> [...]
>
>
> What makes __got2_entries move ?

*_entries are not addresses, they are a count(how many entries)
See the linker file.




More information about the U-Boot mailing list