From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andre Schwarz Date: Fri, 05 Nov 2010 16:45:17 +0100 Subject: [U-Boot] MPC8377: USB breaks board In-Reply-To: References: <4CD419E1.1060203@matrix-vision.de> Message-ID: <4CD4268D.4060806@matrix-vision.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 11/05/2010 04:00 PM, Joakim Tjernlund wrote: > Andre Schwarz 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. > > ok - I'm no expert ... that's why I have to ask. Cheers, Andr? MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler Registergericht: Amtsgericht Stuttgart, HRB 271090 Geschaeftsfuehrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner