linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Compile problem due to compressor changes, UART referenced in section .txt
@ 2010-03-07 17:19 J.I. Cameron
  2010-03-07 20:13 ` Ryan Mallon
  2010-03-08 10:14 ` Russell King - ARM Linux
  0 siblings, 2 replies; 7+ messages in thread
From: J.I. Cameron @ 2010-03-07 17:19 UTC (permalink / raw)
  To: linux-arm-kernel

Dear  All,

Ran into the following problem on a pxa stargate2 platform (I think it will
effect a number of others).

`UART' referenced in section `.text' of arch/arm/boot/compressed/misc.o: 
defined in discarded section `.data' of arch/arm/boot/compressed/misc.o 
`UART' referenced in section `.text' of arch/arm/boot/compressed/misc.o: 
defined in discarded section `.data' of arch/arm/boot/compressed/misc.o

There is a hack in mach-pxa/include/mach/uncompress.h
that changes the primary uart for some platforms:

static inline void arch_decomp_setup(void)
{
	if (machine_is_littleton() || machine_is_intelmote2()
	    || machine_is_csb726() || machine_is_stargate2()
	  || machine_is_cm_x300() || machine_is_balloon3())
	UART = STUART;
}

Simply changing the initial assignment of UART and commenting this function
out acts as a work around.  I'm not entirely sure how to fix the problem
properly.

Jonathan

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-03-09 13:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-07 17:19 Compile problem due to compressor changes, UART referenced in section .txt J.I. Cameron
2010-03-07 20:13 ` Ryan Mallon
2010-03-08  9:55   ` Uwe Kleine-König
2010-03-08 10:14 ` Russell King - ARM Linux
2010-03-09  7:27   ` Mike Rapoport
2010-03-09 12:27     ` Jonathan Cameron
2010-03-09 13:00       ` Mike Rapoport

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).