[PATCH 00/13] MIPS: add initial Loongson-based boards support

Antony Pavlov antonynpavlov at gmail.com
Thu Jan 30 00:42:36 EST 2014


On Mon, 27 Jan 2014 09:24:15 +0100
Sascha Hauer <s.hauer at pengutronix.de> wrote:

> On Thu, Jan 23, 2014 at 02:33:01PM +0400, Antony Pavlov wrote:
> > On Thu, 23 Jan 2014 08:02:19 +0100
> > Sascha Hauer <s.hauer at pengutronix.de> wrote:
> > 
> > > On Thu, Jan 23, 2014 at 01:35:29AM +0400, Antony Pavlov wrote:
> > > > On Wed, 22 Jan 2014 12:15:58 +0100
> > > > Sascha Hauer <s.hauer at pengutronix.de> wrote:
> > > > 
> > > > > On Sat, Jan 18, 2014 at 07:12:50PM +0400, Antony Pavlov wrote:
> > > > > make: *** Waiting for unfinished jobs....
> > > > > arch/mips/boards/loongson-ls1b/serial.c:5:28: error: mach/loongson1.h: No such file or directory
> > > > > arch/mips/boards/loongson-ls1b/serial.c: In function 'console_init':
> > > > > arch/mips/boards/loongson-ls1b/serial.c:17: warning: implicit declaration of function 'KSEG1ADDR'
> > > > > arch/mips/boards/loongson-ls1b/serial.c:17: error: 'LS1X_UART2_BASE' undeclared (first use in this function)
> > > > > arch/mips/boards/loongson-ls1b/serial.c:17: error: (Each undeclared identifier is reported only once
> > > > > arch/mips/boards/loongson-ls1b/serial.c:17: error: for each function it appears in.)
> > > > > 
> > > > > arch/mips/mach-loongson/include/mach/loongson1.h and
> > > > > arch/mips/mach-loongson/Makefile seem to be missing. Could you respin with the missing files?
> > > > 
> > > > The missing files are from "[PATCH 04/13] MIPS: add initial Loongson-1X SoC stuff".
> > > > 
> > > > The missed patch is registered in maillist: see http://lists.infradead.org/pipermail/barebox/2014-January/017521.html
> > > 
> > > Indeed. For some reason I didn't receive that mail. I picked it from the
> > > ml archive now.
> > 
> > I have just fetched next branch from barebox.org.
> > 
> > Now the "MIPS: add initial Loongson-1X SoC stuff" patch is just after all loongson-related
> > patches save "add loongson-ls1b_defconfig".
> > 
> > Could you please put it before the "add loongson-ls1b board" patch?
> 
> Ok. Just did that.

I have just updated from git://git.pengutronix.de/git/barebox.git.

Here is a short log:

$ git log --pretty=oneline arch/mips | cut -c 42- | head -n 18
Merge branch 'for-next/mips' into next
MIPS: mach-ar231x: Fix uninitialized variable
MIPS: csrc-r4k: use CLOCKSOURCE_MASK() macro
MIPS: add loongson-ls1b_defconfig
MIPS: loongson-ls1b: add documentation
MIPS: loongson-ls1b: add NMON support
MIPS: loongson-ls1b: add PBL support
MIPS: loongson-ls1b: add ns16550-based console
MIPS: loongson-ls1b: add DEBUG_LL support
MIPS: mach-loongson: add DEBUG_LL support
MIPS: add initial Loongson-1X SoC stuff
MIPS: mach-loongson: add loongson-ls1b board
MIPS: add Loongson-1B processor constants and CPU probe
MIPS: add Loongson-1B CPU Kbuild stuff
MIPS: add initial Loongson-family documentation
MIPS: add initial Loongson-based boards support
mips asm/types.h: add #ifndef to fix compile error
MIPS: import exception registers saving from linux kernel

You can see that "MIPS: add initial Loongson-1X SoC stuff" is AFTER "MIPS: mach-loongson: add loongson-ls1b board".

This breaks loongson-ls1b board build without "Loongson-1X SoC stuff":

scripts/Makefile.build:41: /home/antony/barebox.git/arch/mips/mach-loongson/Makefile: No such file or directory
make[1]: *** No rule to make target `/home/antony/barebox.git/arch/mips/mach-loongson/Makefile'.  Stop.
make: *** [arch/mips/mach-loongson] Error 2

-- 
Best regards,
  Antony Pavlov



More information about the barebox mailing list