Re: Lemote 2F build failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Wed, Nov 19, 2014 at 03:47:18PM +0100, Ralf Baechle wrote:
> Since I while already I'm getting this failure:
> 
> ERROR: "loongson_sysconf" [arch/mips/loongson/common/serial.ko] undefined!
> scripts/Makefile.modpost:90: recipe for target '__modpost' failed
> make[1]: *** [__modpost] Error 1
> Makefile:1097: recipe for target 'modules' failed
> make: *** [modules] Error 2
> 
> 
> Below a config file to trigger the issue.

Are you sure you posted the right config? The modular serial 8250 build
works fine for me for 2F, and also your config works.

However, for Loongson 3 build I'm able to reproduce the same.
Possibly caused by c7d3555ac075 (MIPS: Loongson 3: Add HT-linked PCI
support), which enables HT_PCI and adds loongson_sysconf reference
to serial.ko, but the symbol is not exported to modules.

In loongson.h:

	#if defined(CONFIG_HT_PCI)
	#define LOONGSON_PCIIO_BASE     loongson_sysconf.pci_io_base
	#else
	#define LOONGSON_PCIIO_BASE     0x1fd00000
	#endif

And in loongsong serial.c:

	uart8250_data[mips_machtype][0].iobase =
		loongson_uart_base - LOONGSON_PCIIO_BASE;

A.





[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux