* [PATCH 01/13] MIPS: add initial Loongson-based boards support
2014-01-18 15:12 [PATCH 00/13] MIPS: add initial Loongson-based boards support Antony Pavlov
@ 2014-01-18 15:12 ` Antony Pavlov
2014-01-18 15:12 ` [PATCH 02/13] MIPS: add initial Loongson-family documentation Antony Pavlov
` (10 subsequent siblings)
11 siblings, 0 replies; 24+ messages in thread
From: Antony Pavlov @ 2014-01-18 15:12 UTC (permalink / raw)
To: barebox
Loongson (simplified Chinese: 龙芯; pinyin: Lóngxīn; literally: "Dragon Core")
is a family of general-purpose MIPS CPUs developed at the Institute of Computing
Technology (ICT), Chinese Academy of Sciences (CAS) in the People's Republic of China.
See http://en.wikipedia.org/wiki/Loongson for details.
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
arch/mips/Kconfig | 4 ++++
arch/mips/Makefile | 2 ++
arch/mips/mach-loongson/Kconfig | 7 +++++++
3 files changed, 13 insertions(+)
create mode 100644 arch/mips/mach-loongson/Kconfig
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index ca240d2..8cea076 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -63,6 +63,9 @@ config MACH_MIPS_BCM47XX
select SYS_SUPPORTS_LITTLE_ENDIAN
select HAS_DEBUG_LL
+config MACH_MIPS_LOONGSON
+ bool "Loongson-based boards"
+
config MACH_MIPS_XBURST
bool "Ingenic XBurst-based boards"
select SYS_HAS_CPU_MIPS32_R1
@@ -78,6 +81,7 @@ endchoice
source arch/mips/mach-malta/Kconfig
source arch/mips/mach-ar231x/Kconfig
source arch/mips/mach-bcm47xx/Kconfig
+source arch/mips/mach-loongson/Kconfig
source arch/mips/mach-xburst/Kconfig
endmenu
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index 62e1acf..7a6d6c0 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -78,6 +78,8 @@ board-$(CONFIG_BOARD_NETGEAR_WG102) := netgear-wg102
machine-$(CONFIG_MACH_MIPS_BCM47XX) := bcm47xx
board-$(CONFIG_BOARD_DLINK_DIR320) := dlink-dir-320
+machine-$(CONFIG_MACH_MIPS_LOONGSON) := loongson
+
machine-$(CONFIG_MACH_MIPS_XBURST) := xburst
board-$(CONFIG_BOARD_RZX50) := rzx50
diff --git a/arch/mips/mach-loongson/Kconfig b/arch/mips/mach-loongson/Kconfig
new file mode 100644
index 0000000..b594288
--- /dev/null
+++ b/arch/mips/mach-loongson/Kconfig
@@ -0,0 +1,7 @@
+if MACH_MIPS_LOONGSON
+
+config ARCH_TEXT_BASE
+ hex
+ default 0xa0800000
+
+endif
--
1.8.5.3
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 24+ messages in thread
* [PATCH 02/13] MIPS: add initial Loongson-family documentation
2014-01-18 15:12 [PATCH 00/13] MIPS: add initial Loongson-based boards support Antony Pavlov
2014-01-18 15:12 ` [PATCH 01/13] " Antony Pavlov
@ 2014-01-18 15:12 ` Antony Pavlov
2014-01-18 15:12 ` [PATCH 03/13] MIPS: add Loongson-1B CPU Kbuild stuff Antony Pavlov
` (9 subsequent siblings)
11 siblings, 0 replies; 24+ messages in thread
From: Antony Pavlov @ 2014-01-18 15:12 UTC (permalink / raw)
To: barebox
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
arch/mips/mach-loongson/mach-loongson.dox | 5 +++++
arch/mips/mach-mips.dox | 4 ++++
2 files changed, 9 insertions(+)
create mode 100644 arch/mips/mach-loongson/mach-loongson.dox
diff --git a/arch/mips/mach-loongson/mach-loongson.dox b/arch/mips/mach-loongson/mach-loongson.dox
new file mode 100644
index 0000000..628ae78
--- /dev/null
+++ b/arch/mips/mach-loongson/mach-loongson.dox
@@ -0,0 +1,5 @@
+/** @page dev_loongson_mach Loongson in barebox
+
+@section loongson_boards Loongson-based boards
+
+*/
diff --git a/arch/mips/mach-mips.dox b/arch/mips/mach-mips.dox
index 750a451..1002b16 100644
--- a/arch/mips/mach-mips.dox
+++ b/arch/mips/mach-mips.dox
@@ -59,6 +59,10 @@ ISBN-13: 978-0120884216
@li @subpage dev_bcm47xx_mach
+@subsection mach_loongson_info Loongson-based boards
+
+@li @subpage dev_loongson_mach
+
@subsection mach_xburst_info XBurst-based boards
@li @subpage dev_xburst_mach
--
1.8.5.3
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 24+ messages in thread
* [PATCH 03/13] MIPS: add Loongson-1B CPU Kbuild stuff
2014-01-18 15:12 [PATCH 00/13] MIPS: add initial Loongson-based boards support Antony Pavlov
2014-01-18 15:12 ` [PATCH 01/13] " Antony Pavlov
2014-01-18 15:12 ` [PATCH 02/13] MIPS: add initial Loongson-family documentation Antony Pavlov
@ 2014-01-18 15:12 ` Antony Pavlov
2014-01-18 15:12 ` [PATCH 04/13] MIPS: add initial Loongson-1X SoC stuff Antony Pavlov
` (8 subsequent siblings)
11 siblings, 0 replies; 24+ messages in thread
From: Antony Pavlov @ 2014-01-18 15:12 UTC (permalink / raw)
To: barebox
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
arch/mips/Kconfig | 17 +++++++++++++++++
arch/mips/Makefile | 3 +++
2 files changed, 20 insertions(+)
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 8cea076..b819b49 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -118,6 +118,14 @@ choice
prompt "CPU type"
default CPU_MIPS32_R2
+config CPU_LOONGSON1B
+ bool "Loongson 1B"
+ depends on SYS_HAS_CPU_LOONGSON1B
+ select CPU_LOONGSON1
+ help
+ The Loongson 1B is a 32-bit SoC, which implements the MIPS32
+ release 2 instruction set.
+
config CPU_MIPS32_R1
bool "MIPS32 Release 1"
depends on SYS_HAS_CPU_MIPS32_R1
@@ -174,6 +182,15 @@ config CPU_MIPS64_R2
endchoice
+config CPU_LOONGSON1
+ bool
+ select CPU_MIPS32
+ select CPU_MIPSR2
+ select CPU_SUPPORTS_32BIT_KERNEL
+
+config SYS_HAS_CPU_LOONGSON1B
+ bool
+
config SYS_HAS_CPU_MIPS32_R1
bool
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index 7a6d6c0..b4c0e7a 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -49,6 +49,9 @@ cflags-$(CONFIG_CPU_MIPS32_R1) += $(call cc-option,-march=mips32,-mips32 -U_MIPS
cflags-$(CONFIG_CPU_MIPS32_R2) += $(call cc-option,-march=mips32r2,-mips32r2 -U_MIPS_ISA -D_MIPS_ISA=_MIPS_ISA_MIPS32) -Wa,-mips32r2 -Wa,--trap
cflags-$(CONFIG_CPU_MIPS64_R1) += $(call cc-option,-march=mips64,-mips64 -U_MIPS_ISA -D_MIPS_ISA=_MIPS_ISA_MIPS64) -Wa,-mips64 -Wa,--trap
cflags-$(CONFIG_CPU_MIPS64_R2) += $(call cc-option,-march=mips64r2,-mips64r2 -U_MIPS_ISA -D_MIPS_ISA=_MIPS_ISA_MIPS64) -Wa,-mips64r2 -Wa,--trap
+cflags-$(CONFIG_CPU_LOONGSON1) += \
+ $(call cc-option,-march=mips32r2,-mips32r2 -U_MIPS_ISA -D_MIPS_ISA=_MIPS_ISA_MIPS32) \
+ -Wa,-mips32r2 -Wa,--trap
CPPFLAGS += -DTEXT_BASE=$(CONFIG_TEXT_BASE)
--
1.8.5.3
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 24+ messages in thread
* [PATCH 04/13] MIPS: add initial Loongson-1X SoC stuff
2014-01-18 15:12 [PATCH 00/13] MIPS: add initial Loongson-based boards support Antony Pavlov
` (2 preceding siblings ...)
2014-01-18 15:12 ` [PATCH 03/13] MIPS: add Loongson-1B CPU Kbuild stuff Antony Pavlov
@ 2014-01-18 15:12 ` Antony Pavlov
2014-01-18 15:12 ` [PATCH 05/13] MIPS: add Loongson-1B processor constants and CPU probe Antony Pavlov
` (7 subsequent siblings)
11 siblings, 0 replies; 24+ messages in thread
From: Antony Pavlov @ 2014-01-18 15:12 UTC (permalink / raw)
To: barebox
This code is based on linux-3.6 code.
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
arch/mips/mach-loongson/Makefile | 1 +
arch/mips/mach-loongson/include/mach/loongson1.h | 32 ++++++++++++++++++++++++
arch/mips/mach-loongson/loongson1_reset.c | 27 ++++++++++++++++++++
3 files changed, 60 insertions(+)
create mode 100644 arch/mips/mach-loongson/Makefile
create mode 100644 arch/mips/mach-loongson/include/mach/loongson1.h
create mode 100644 arch/mips/mach-loongson/loongson1_reset.c
diff --git a/arch/mips/mach-loongson/Makefile b/arch/mips/mach-loongson/Makefile
new file mode 100644
index 0000000..52b36f3
--- /dev/null
+++ b/arch/mips/mach-loongson/Makefile
@@ -0,0 +1 @@
+obj-y += loongson1_reset.o
diff --git a/arch/mips/mach-loongson/include/mach/loongson1.h b/arch/mips/mach-loongson/include/mach/loongson1.h
new file mode 100644
index 0000000..98bddfb
--- /dev/null
+++ b/arch/mips/mach-loongson/include/mach/loongson1.h
@@ -0,0 +1,32 @@
+/*
+ * Copyright (c) 2011 Zhang, Keguang <keguang.zhang@gmail.com>
+ *
+ * Register mappings for Loongson 1
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation; either version 2 of the License, or (at your
+ * option) any later version.
+ */
+
+#ifndef __ASM_MACH_LOONGSON1_LOONGSON1_H
+#define __ASM_MACH_LOONGSON1_LOONGSON1_H
+
+#include <asm/addrspace.h>
+
+/* Loongson 1 Register Bases */
+#define LS1X_UART0_BASE 0x1fe40000
+#define LS1X_UART1_BASE 0x1fe44000
+#define LS1X_UART2_BASE 0x1fe48000
+#define LS1X_UART3_BASE 0x1fe4c000
+#define LS1X_WDT_BASE 0x1fe5c060
+
+/* Loongson 1 watchdog register definitions */
+#define LS1X_WDT_REG(x) \
+ ((void __iomem *)KSEG1ADDR(LS1X_WDT_BASE + (x)))
+
+#define LS1X_WDT_EN LS1X_WDT_REG(0x0)
+#define LS1X_WDT_SET LS1X_WDT_REG(0x4)
+#define LS1X_WDT_TIMER LS1X_WDT_REG(0x8)
+
+#endif /* __ASM_MACH_LOONGSON1_LOONGSON1_H */
diff --git a/arch/mips/mach-loongson/loongson1_reset.c b/arch/mips/mach-loongson/loongson1_reset.c
new file mode 100644
index 0000000..21f09b5
--- /dev/null
+++ b/arch/mips/mach-loongson/loongson1_reset.c
@@ -0,0 +1,27 @@
+/*
+ * Copyright (C) 2014 Antony Pavlov <antonynpavlov@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2
+ * as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ */
+
+#include <common.h>
+#include <io.h>
+#include <mach/loongson1.h>
+
+void __noreturn reset_cpu(ulong addr)
+{
+ __raw_writel(0x1, LS1X_WDT_EN);
+ __raw_writel(0x1, LS1X_WDT_SET);
+ __raw_writel(0x1, LS1X_WDT_TIMER);
+
+ unreachable();
+}
+EXPORT_SYMBOL(reset_cpu);
--
1.8.5.3
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 24+ messages in thread
* [PATCH 05/13] MIPS: add Loongson-1B processor constants and CPU probe
2014-01-18 15:12 [PATCH 00/13] MIPS: add initial Loongson-based boards support Antony Pavlov
` (3 preceding siblings ...)
2014-01-18 15:12 ` [PATCH 04/13] MIPS: add initial Loongson-1X SoC stuff Antony Pavlov
@ 2014-01-18 15:12 ` Antony Pavlov
2014-01-18 15:12 ` [PATCH 06/13] MIPS: mach-loongson: add loongson-ls1b board Antony Pavlov
` (6 subsequent siblings)
11 siblings, 0 replies; 24+ messages in thread
From: Antony Pavlov @ 2014-01-18 15:12 UTC (permalink / raw)
To: barebox
This commit is based on this linux commit:
commit 2fa36399e63c911134f28b6878aada9b395c4209
Author: Kelvin Cheung <keguang.zhang@gmail.com>
Date: Wed Jun 20 20:05:32 2012 +0100
MIPS: Add CPU support for Loongson1B
Loongson 1B is a 32-bit SoC designed by Institute of Computing Technology
(ICT) and the Chinese Academy of Sciences (CAS), which implements the
MIPS32 release 2 instruction set.
[ralf@linux-mips.org: But which is not strictly a MIPS32 compliant device
which also is why it identifies itself with the Legacy Vendor ID in the
PrID register. When applying the patch I shoveled some code around to
keep things in alphabetical order and avoid forward declarations.]
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
arch/mips/include/asm/cpu.h | 27 +++++++++++++++++++++++++++
arch/mips/lib/cpu-probe.c | 21 +++++++++++++++++++++
2 files changed, 48 insertions(+)
diff --git a/arch/mips/include/asm/cpu.h b/arch/mips/include/asm/cpu.h
index e63f847..dcc2a27 100644
--- a/arch/mips/include/asm/cpu.h
+++ b/arch/mips/include/asm/cpu.h
@@ -28,6 +28,20 @@
#define PRID_COMP_BROADCOM 0x020000
#define PRID_COMP_INGENIC 0xd00000
+/*
+ * Assigned Processor ID (implementation) values for bits 15:8 of the PRId
+ * register. In order to detect a certain CPU type exactly eventually
+ * additional registers may need to be examined.
+ */
+
+#define PRID_IMP_MASK 0xff00
+
+/*
+ * These are valid when 23:16 == PRID_COMP_LEGACY
+ */
+
+#define PRID_IMP_LOONGSON1 0x4200
+
#define PRID_IMP_UNKNOWN 0xff00
/*
@@ -50,6 +64,18 @@
#define PRID_IMP_JZRISC 0x0200
/*
+ * Particular Revision values for bits 7:0 of the PRId register.
+ */
+
+#define PRID_REV_MASK 0x00ff
+
+/*
+ * Definitions for 7:0 on legacy processors
+ */
+
+#define PRID_REV_LOONGSON1B 0x0020
+
+/*
* Older processors used to encode processor version and revision in two
* 4-bit bitfields, the 4K seems to simply count up and even newer MTI cores
* have switched to use the 8-bits as 3:3:2 bitfield with the last field as
@@ -80,6 +106,7 @@ enum cpu_type_enum {
CPU_24K,
CPU_BMIPS3300,
CPU_JZRISC,
+ CPU_LOONGSON1,
CPU_LAST
};
diff --git a/arch/mips/lib/cpu-probe.c b/arch/mips/lib/cpu-probe.c
index de45421..8235a54 100644
--- a/arch/mips/lib/cpu-probe.c
+++ b/arch/mips/lib/cpu-probe.c
@@ -81,6 +81,24 @@ static void decode_configs(struct cpuinfo_mips *c)
BUG_ON(!ok); /* Arch spec violation! */
}
+static inline void cpu_probe_legacy(struct cpuinfo_mips *c)
+{
+ switch (c->processor_id & PRID_IMP_MASK) {
+ case PRID_IMP_LOONGSON1:
+ decode_configs(c);
+
+ c->cputype = CPU_LOONGSON1;
+
+ switch (c->processor_id & PRID_REV_MASK) {
+ case PRID_REV_LOONGSON1B:
+ __cpu_name = "Loongson 1B";
+ break;
+ }
+
+ break;
+ }
+}
+
static inline void cpu_probe_mips(struct cpuinfo_mips *c)
{
decode_configs(c);
@@ -130,6 +148,9 @@ void cpu_probe(void)
c->processor_id = read_c0_prid();
switch (c->processor_id & 0xff0000) {
+ case PRID_COMP_LEGACY:
+ cpu_probe_legacy(c);
+ break;
case PRID_COMP_MIPS:
cpu_probe_mips(c);
break;
--
1.8.5.3
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 24+ messages in thread
* [PATCH 06/13] MIPS: mach-loongson: add loongson-ls1b board
2014-01-18 15:12 [PATCH 00/13] MIPS: add initial Loongson-based boards support Antony Pavlov
` (4 preceding siblings ...)
2014-01-18 15:12 ` [PATCH 05/13] MIPS: add Loongson-1B processor constants and CPU probe Antony Pavlov
@ 2014-01-18 15:12 ` Antony Pavlov
2014-01-18 15:12 ` [PATCH 08/13] MIPS: loongson-ls1b: add DEBUG_LL support Antony Pavlov
` (5 subsequent siblings)
11 siblings, 0 replies; 24+ messages in thread
From: Antony Pavlov @ 2014-01-18 15:12 UTC (permalink / raw)
To: barebox
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
arch/mips/Makefile | 1 +
arch/mips/boards/loongson-ls1b/Makefile | 1 +
arch/mips/boards/loongson-ls1b/ram.c | 12 ++++++++++++
arch/mips/mach-loongson/Kconfig | 12 ++++++++++++
4 files changed, 26 insertions(+)
create mode 100644 arch/mips/boards/loongson-ls1b/Makefile
create mode 100644 arch/mips/boards/loongson-ls1b/ram.c
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index b4c0e7a..8986fcf 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -82,6 +82,7 @@ machine-$(CONFIG_MACH_MIPS_BCM47XX) := bcm47xx
board-$(CONFIG_BOARD_DLINK_DIR320) := dlink-dir-320
machine-$(CONFIG_MACH_MIPS_LOONGSON) := loongson
+board-$(CONFIG_BOARD_LOONGSON_TECH_LS1B) := loongson-ls1b
machine-$(CONFIG_MACH_MIPS_XBURST) := xburst
board-$(CONFIG_BOARD_RZX50) := rzx50
diff --git a/arch/mips/boards/loongson-ls1b/Makefile b/arch/mips/boards/loongson-ls1b/Makefile
new file mode 100644
index 0000000..0899b66
--- /dev/null
+++ b/arch/mips/boards/loongson-ls1b/Makefile
@@ -0,0 +1 @@
+obj-y += ram.o
diff --git a/arch/mips/boards/loongson-ls1b/ram.c b/arch/mips/boards/loongson-ls1b/ram.c
new file mode 100644
index 0000000..9e655ab
--- /dev/null
+++ b/arch/mips/boards/loongson-ls1b/ram.c
@@ -0,0 +1,12 @@
+#include <common.h>
+#include <init.h>
+#include <sizes.h>
+#include <asm/memory.h>
+
+static int mem_init(void)
+{
+ mips_add_ram0(SZ_64M);
+
+ return 0;
+}
+mem_initcall(mem_init);
diff --git a/arch/mips/mach-loongson/Kconfig b/arch/mips/mach-loongson/Kconfig
index b594288..9db9607 100644
--- a/arch/mips/mach-loongson/Kconfig
+++ b/arch/mips/mach-loongson/Kconfig
@@ -4,4 +4,16 @@ config ARCH_TEXT_BASE
hex
default 0xa0800000
+choice
+ prompt "Board type"
+
+config BOARD_LOONGSON_TECH_LS1B
+ bool "Loongson Tech. LS1B demo board"
+ select SYS_HAS_CPU_LOONGSON1B
+ select SYS_SUPPORTS_32BIT_KERNEL
+ select SYS_SUPPORTS_LITTLE_ENDIAN
+ select CSRC_R4K_LIB
+
+endchoice
+
endif
--
1.8.5.3
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 24+ messages in thread
* [PATCH 08/13] MIPS: loongson-ls1b: add DEBUG_LL support
2014-01-18 15:12 [PATCH 00/13] MIPS: add initial Loongson-based boards support Antony Pavlov
` (5 preceding siblings ...)
2014-01-18 15:12 ` [PATCH 06/13] MIPS: mach-loongson: add loongson-ls1b board Antony Pavlov
@ 2014-01-18 15:12 ` Antony Pavlov
2014-01-18 15:12 ` [PATCH 09/13] MIPS: loongson-ls1b: add ns16550-based console Antony Pavlov
` (4 subsequent siblings)
11 siblings, 0 replies; 24+ messages in thread
From: Antony Pavlov @ 2014-01-18 15:12 UTC (permalink / raw)
To: barebox
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
.../boards/loongson-ls1b/include/board/debug_ll.h | 34 ++++++++++++++++++++++
arch/mips/mach-loongson/Kconfig | 1 +
2 files changed, 35 insertions(+)
create mode 100644 arch/mips/boards/loongson-ls1b/include/board/debug_ll.h
diff --git a/arch/mips/boards/loongson-ls1b/include/board/debug_ll.h b/arch/mips/boards/loongson-ls1b/include/board/debug_ll.h
new file mode 100644
index 0000000..e60ce4c
--- /dev/null
+++ b/arch/mips/boards/loongson-ls1b/include/board/debug_ll.h
@@ -0,0 +1,34 @@
+/*
+ * Copyright (C) 2014 Antony Pavlov <antonynpavlov@gmail.com>
+ *
+ * This file is part of barebox.
+ * See file CREDITS for list of people who contributed to this project.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2
+ * as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ */
+
+/** @file
+ * This File contains declaration for early output support
+ */
+#ifndef __LOONGSON_TECH_LS1B_DEBUG_LL_H__
+#define __LOONGSON_TECH_LS1B_DEBUG_LL_H__
+
+#include <asm/addrspace.h>
+#include <mach/loongson1.h>
+
+#define DEBUG_LL_UART_ADDR KSEG1ADDR(LS1X_UART2_BASE)
+#define DEBUG_LL_UART_SHIFT 0
+
+#define DEBUG_LL_UART_CLK (83000000 / 16)
+#define DEBUG_LL_UART_BPS CONFIG_BAUDRATE
+#define DEBUG_LL_UART_DIVISOR (DEBUG_LL_UART_CLK / DEBUG_LL_UART_BPS)
+
+#endif /* __LOONGSON_TECH_LS1B_DEBUG_LL_H__ */
diff --git a/arch/mips/mach-loongson/Kconfig b/arch/mips/mach-loongson/Kconfig
index 9db9607..c2cb774 100644
--- a/arch/mips/mach-loongson/Kconfig
+++ b/arch/mips/mach-loongson/Kconfig
@@ -13,6 +13,7 @@ config BOARD_LOONGSON_TECH_LS1B
select SYS_SUPPORTS_32BIT_KERNEL
select SYS_SUPPORTS_LITTLE_ENDIAN
select CSRC_R4K_LIB
+ select HAS_DEBUG_LL
endchoice
--
1.8.5.3
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 24+ messages in thread
* [PATCH 09/13] MIPS: loongson-ls1b: add ns16550-based console
2014-01-18 15:12 [PATCH 00/13] MIPS: add initial Loongson-based boards support Antony Pavlov
` (6 preceding siblings ...)
2014-01-18 15:12 ` [PATCH 08/13] MIPS: loongson-ls1b: add DEBUG_LL support Antony Pavlov
@ 2014-01-18 15:12 ` Antony Pavlov
2014-01-18 15:13 ` [PATCH 10/13] MIPS: loongson-ls1b: add PBL support Antony Pavlov
` (3 subsequent siblings)
11 siblings, 0 replies; 24+ messages in thread
From: Antony Pavlov @ 2014-01-18 15:12 UTC (permalink / raw)
To: barebox
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
arch/mips/boards/loongson-ls1b/Makefile | 1 +
arch/mips/boards/loongson-ls1b/serial.c | 22 ++++++++++++++++++++++
arch/mips/mach-loongson/Kconfig | 1 +
3 files changed, 24 insertions(+)
create mode 100644 arch/mips/boards/loongson-ls1b/serial.c
diff --git a/arch/mips/boards/loongson-ls1b/Makefile b/arch/mips/boards/loongson-ls1b/Makefile
index 0899b66..a21952b 100644
--- a/arch/mips/boards/loongson-ls1b/Makefile
+++ b/arch/mips/boards/loongson-ls1b/Makefile
@@ -1 +1,2 @@
obj-y += ram.o
+obj-y += serial.o
diff --git a/arch/mips/boards/loongson-ls1b/serial.c b/arch/mips/boards/loongson-ls1b/serial.c
new file mode 100644
index 0000000..d8e0f7c
--- /dev/null
+++ b/arch/mips/boards/loongson-ls1b/serial.c
@@ -0,0 +1,22 @@
+#include <common.h>
+#include <init.h>
+#include <ns16550.h>
+
+#include <mach/loongson1.h>
+
+static struct NS16550_plat serial_plat = {
+ .clock = 83000000,
+ .shift = 0,
+};
+
+static int console_init(void)
+{
+ barebox_set_model("Loongson Tech LS1B Demo Board");
+ barebox_set_hostname("ls1b");
+
+ add_ns16550_device(DEVICE_ID_DYNAMIC, KSEG1ADDR(LS1X_UART2_BASE),
+ 8, IORESOURCE_MEM_8BIT, &serial_plat);
+
+ return 0;
+}
+console_initcall(console_init);
diff --git a/arch/mips/mach-loongson/Kconfig b/arch/mips/mach-loongson/Kconfig
index c2cb774..263b67e 100644
--- a/arch/mips/mach-loongson/Kconfig
+++ b/arch/mips/mach-loongson/Kconfig
@@ -14,6 +14,7 @@ config BOARD_LOONGSON_TECH_LS1B
select SYS_SUPPORTS_LITTLE_ENDIAN
select CSRC_R4K_LIB
select HAS_DEBUG_LL
+ select DRIVER_SERIAL_NS16550
endchoice
--
1.8.5.3
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 24+ messages in thread
* [PATCH 10/13] MIPS: loongson-ls1b: add PBL support
2014-01-18 15:12 [PATCH 00/13] MIPS: add initial Loongson-based boards support Antony Pavlov
` (7 preceding siblings ...)
2014-01-18 15:12 ` [PATCH 09/13] MIPS: loongson-ls1b: add ns16550-based console Antony Pavlov
@ 2014-01-18 15:13 ` Antony Pavlov
2014-01-18 15:13 ` [PATCH 11/13] MIPS: loongson-ls1b: add NMON support Antony Pavlov
` (2 subsequent siblings)
11 siblings, 0 replies; 24+ messages in thread
From: Antony Pavlov @ 2014-01-18 15:13 UTC (permalink / raw)
To: barebox
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
.../loongson-ls1b/include/board/board_pbl_start.h | 38 ++++++++++++++++++++++
arch/mips/mach-loongson/Kconfig | 2 ++
2 files changed, 40 insertions(+)
create mode 100644 arch/mips/boards/loongson-ls1b/include/board/board_pbl_start.h
diff --git a/arch/mips/boards/loongson-ls1b/include/board/board_pbl_start.h b/arch/mips/boards/loongson-ls1b/include/board/board_pbl_start.h
new file mode 100644
index 0000000..aa30e8d
--- /dev/null
+++ b/arch/mips/boards/loongson-ls1b/include/board/board_pbl_start.h
@@ -0,0 +1,38 @@
+/*
+ * Copyright (C) 2014 Antony Pavlov <antonynpavlov@gmail.com>
+ *
+ * This file is part of barebox.
+ * See file CREDITS for list of people who contributed to this project.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2
+ * as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ */
+
+#include <asm/pbl_macros.h>
+#include <mach/loongson1.h>
+#include <mach/debug_ll.h>
+
+ .macro board_pbl_start
+ .set push
+ .set noreorder
+
+ mips_barebox_10h
+
+ mips_disable_interrupts
+
+ debug_ll_ns16550_init
+
+ debug_ll_ns16550_outc '.'
+ debug_ll_ns16550_outnl
+
+ copy_to_link_location pbl_start
+
+ .set pop
+ .endm
diff --git a/arch/mips/mach-loongson/Kconfig b/arch/mips/mach-loongson/Kconfig
index 263b67e..fe48ed6 100644
--- a/arch/mips/mach-loongson/Kconfig
+++ b/arch/mips/mach-loongson/Kconfig
@@ -15,6 +15,8 @@ config BOARD_LOONGSON_TECH_LS1B
select CSRC_R4K_LIB
select HAS_DEBUG_LL
select DRIVER_SERIAL_NS16550
+ select HAVE_PBL_IMAGE
+ select HAVE_IMAGE_COMPRESSION
endchoice
--
1.8.5.3
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 24+ messages in thread
* [PATCH 11/13] MIPS: loongson-ls1b: add NMON support
2014-01-18 15:12 [PATCH 00/13] MIPS: add initial Loongson-based boards support Antony Pavlov
` (8 preceding siblings ...)
2014-01-18 15:13 ` [PATCH 10/13] MIPS: loongson-ls1b: add PBL support Antony Pavlov
@ 2014-01-18 15:13 ` Antony Pavlov
2014-01-21 7:00 ` [PATCH 00/13] MIPS: add initial Loongson-based boards support Sascha Hauer
2014-01-22 11:15 ` Sascha Hauer
11 siblings, 0 replies; 24+ messages in thread
From: Antony Pavlov @ 2014-01-18 15:13 UTC (permalink / raw)
To: barebox
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
arch/mips/boards/loongson-ls1b/include/board/board_pbl_start.h | 3 +++
arch/mips/mach-loongson/Kconfig | 1 +
2 files changed, 4 insertions(+)
diff --git a/arch/mips/boards/loongson-ls1b/include/board/board_pbl_start.h b/arch/mips/boards/loongson-ls1b/include/board/board_pbl_start.h
index aa30e8d..1a92794 100644
--- a/arch/mips/boards/loongson-ls1b/include/board/board_pbl_start.h
+++ b/arch/mips/boards/loongson-ls1b/include/board/board_pbl_start.h
@@ -18,6 +18,7 @@
#include <asm/pbl_macros.h>
#include <mach/loongson1.h>
#include <mach/debug_ll.h>
+#include <asm/pbl_nmon.h>
.macro board_pbl_start
.set push
@@ -32,6 +33,8 @@
debug_ll_ns16550_outc '.'
debug_ll_ns16550_outnl
+ mips_nmon
+
copy_to_link_location pbl_start
.set pop
diff --git a/arch/mips/mach-loongson/Kconfig b/arch/mips/mach-loongson/Kconfig
index fe48ed6..c9f1902 100644
--- a/arch/mips/mach-loongson/Kconfig
+++ b/arch/mips/mach-loongson/Kconfig
@@ -17,6 +17,7 @@ config BOARD_LOONGSON_TECH_LS1B
select DRIVER_SERIAL_NS16550
select HAVE_PBL_IMAGE
select HAVE_IMAGE_COMPRESSION
+ select HAS_NMON
endchoice
--
1.8.5.3
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH 00/13] MIPS: add initial Loongson-based boards support
2014-01-18 15:12 [PATCH 00/13] MIPS: add initial Loongson-based boards support Antony Pavlov
` (9 preceding siblings ...)
2014-01-18 15:13 ` [PATCH 11/13] MIPS: loongson-ls1b: add NMON support Antony Pavlov
@ 2014-01-21 7:00 ` Sascha Hauer
2014-01-22 11:15 ` Sascha Hauer
11 siblings, 0 replies; 24+ messages in thread
From: Sascha Hauer @ 2014-01-21 7:00 UTC (permalink / raw)
To: Antony Pavlov; +Cc: barebox
Hi Antony,
On Sat, Jan 18, 2014 at 07:12:50PM +0400, Antony Pavlov wrote:
> This patch series adds very initial Loongson CPU family support.
> The only supported board is Loongson-1B-based LS1B development board.
>
> The Loongson-1B SoC has good support in the mainline linux kernel,
> so many things can be ported from linux in the future.
>
> [PATCH 01/13] MIPS: add initial Loongson-based boards support
> [PATCH 02/13] MIPS: add initial Loongson-family documentation
> [PATCH 03/13] MIPS: add Loongson-1B CPU Kbuild stuff
> [PATCH 04/13] MIPS: add initial Loongson-1X SoC stuff
> [PATCH 05/13] MIPS: add Loongson-1B processor constants and CPU probe
> [PATCH 06/13] MIPS: mach-loongson: add loongson-ls1b board
> [PATCH 07/13] MIPS: mach-loongson: add DEBUG_LL support
> [PATCH 08/13] MIPS: loongson-ls1b: add DEBUG_LL support
> [PATCH 09/13] MIPS: loongson-ls1b: add ns16550-based console
> [PATCH 10/13] MIPS: loongson-ls1b: add PBL support
> [PATCH 11/13] MIPS: loongson-ls1b: add NMON support
> [PATCH 12/13] MIPS: loongson-ls1b: add documentation
> [PATCH 13/13] MIPS: add loongson-ls1b_defconfig
All applied, thanks
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH 00/13] MIPS: add initial Loongson-based boards support
2014-01-18 15:12 [PATCH 00/13] MIPS: add initial Loongson-based boards support Antony Pavlov
` (10 preceding siblings ...)
2014-01-21 7:00 ` [PATCH 00/13] MIPS: add initial Loongson-based boards support Sascha Hauer
@ 2014-01-22 11:15 ` Sascha Hauer
2014-01-22 21:35 ` Antony Pavlov
11 siblings, 1 reply; 24+ messages in thread
From: Sascha Hauer @ 2014-01-22 11:15 UTC (permalink / raw)
To: Antony Pavlov; +Cc: barebox
On Sat, Jan 18, 2014 at 07:12:50PM +0400, Antony Pavlov wrote:
> This patch series adds very initial Loongson CPU family support.
> The only supported board is Loongson-1B-based LS1B development board.
>
> The Loongson-1B SoC has good support in the mainline linux kernel,
> so many things can be ported from linux in the future.
>
> [PATCH 01/13] MIPS: add initial Loongson-based boards support
> [PATCH 02/13] MIPS: add initial Loongson-family documentation
> [PATCH 03/13] MIPS: add Loongson-1B CPU Kbuild stuff
> [PATCH 04/13] MIPS: add initial Loongson-1X SoC stuff
> [PATCH 05/13] MIPS: add Loongson-1B processor constants and CPU probe
> [PATCH 06/13] MIPS: mach-loongson: add loongson-ls1b board
> [PATCH 07/13] MIPS: mach-loongson: add DEBUG_LL support
> [PATCH 08/13] MIPS: loongson-ls1b: add DEBUG_LL support
> [PATCH 09/13] MIPS: loongson-ls1b: add ns16550-based console
> [PATCH 10/13] MIPS: loongson-ls1b: add PBL support
> [PATCH 11/13] MIPS: loongson-ls1b: add NMON support
> [PATCH 12/13] MIPS: loongson-ls1b: add documentation
> [PATCH 13/13] MIPS: add loongson-ls1b_defconfig
Compilation of the loongson-ls1b_defconfig fails with:
In file included from arch/mips/mach-loongson/include/mach/debug_ll.h:24,
from include/debug_ll.h:31,
from common/console.c:36:
arch/mips/boards/loongson-ls1b//include/board/debug_ll.h:25:28: error: mach/loongson1.h: No such file or directory
In file included from arch/mips/mach-loongson/include/mach/debug_ll.h:25,
from include/debug_ll.h:31,
from common/console.c:36:
/ptx/work/dude/WORK_A/sha/barebox/barebox-test/arch/mips/include/asm/debug_ll_ns16550.h: In function 'PUTC_LL':
/ptx/work/dude/WORK_A/sha/barebox/barebox-test/arch/mips/include/asm/debug_ll_ns16550.h:62: error: 'LS1X_UART2_BASE' undeclared (first use in this function)
/ptx/work/dude/WORK_A/sha/barebox/barebox-test/arch/mips/include/asm/debug_ll_ns16550.h:62: error: (Each undeclared identifier is reported only once
/ptx/work/dude/WORK_A/sha/barebox/barebox-test/arch/mips/include/asm/debug_ll_ns16550.h:62: error: for each function it appears in.)
make[1]: *** [common/console.o] Error 1
make[1]: *** Waiting for unfinished jobs....
scripts/Makefile.build:41: /ptx/work/dude/WORK_A/sha/barebox/barebox-test/arch/mips/mach-loongson/Makefile: No such file or directory
make[1]: *** No rule to make target `/ptx/work/dude/WORK_A/sha/barebox/barebox-test/arch/mips/mach-loongson/Makefile'. Stop.
make: *** [arch/mips/mach-loongson] Error 2
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?
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH 00/13] MIPS: add initial Loongson-based boards support
2014-01-22 11:15 ` Sascha Hauer
@ 2014-01-22 21:35 ` Antony Pavlov
2014-01-23 7:02 ` Sascha Hauer
0 siblings, 1 reply; 24+ messages in thread
From: Antony Pavlov @ 2014-01-22 21:35 UTC (permalink / raw)
To: Sascha Hauer; +Cc: barebox
On Wed, 22 Jan 2014 12:15:58 +0100
Sascha Hauer <s.hauer@pengutronix.de> wrote:
> On Sat, Jan 18, 2014 at 07:12:50PM +0400, Antony Pavlov wrote:
> > This patch series adds very initial Loongson CPU family support.
> > The only supported board is Loongson-1B-based LS1B development board.
> >
> > The Loongson-1B SoC has good support in the mainline linux kernel,
> > so many things can be ported from linux in the future.
> >
> > [PATCH 01/13] MIPS: add initial Loongson-based boards support
> > [PATCH 02/13] MIPS: add initial Loongson-family documentation
> > [PATCH 03/13] MIPS: add Loongson-1B CPU Kbuild stuff
> > [PATCH 04/13] MIPS: add initial Loongson-1X SoC stuff
> > [PATCH 05/13] MIPS: add Loongson-1B processor constants and CPU probe
> > [PATCH 06/13] MIPS: mach-loongson: add loongson-ls1b board
> > [PATCH 07/13] MIPS: mach-loongson: add DEBUG_LL support
> > [PATCH 08/13] MIPS: loongson-ls1b: add DEBUG_LL support
> > [PATCH 09/13] MIPS: loongson-ls1b: add ns16550-based console
> > [PATCH 10/13] MIPS: loongson-ls1b: add PBL support
> > [PATCH 11/13] MIPS: loongson-ls1b: add NMON support
> > [PATCH 12/13] MIPS: loongson-ls1b: add documentation
> > [PATCH 13/13] MIPS: add loongson-ls1b_defconfig
>
> Compilation of the loongson-ls1b_defconfig fails with:
>
> In file included from arch/mips/mach-loongson/include/mach/debug_ll.h:24,
> from include/debug_ll.h:31,
> from common/console.c:36:
> arch/mips/boards/loongson-ls1b//include/board/debug_ll.h:25:28: error: mach/loongson1.h: No such file or directory
> In file included from arch/mips/mach-loongson/include/mach/debug_ll.h:25,
> from include/debug_ll.h:31,
> from common/console.c:36:
> /ptx/work/dude/WORK_A/sha/barebox/barebox-test/arch/mips/include/asm/debug_ll_ns16550.h: In function 'PUTC_LL':
> /ptx/work/dude/WORK_A/sha/barebox/barebox-test/arch/mips/include/asm/debug_ll_ns16550.h:62: error: 'LS1X_UART2_BASE' undeclared (first use in this function)
> /ptx/work/dude/WORK_A/sha/barebox/barebox-test/arch/mips/include/asm/debug_ll_ns16550.h:62: error: (Each undeclared identifier is reported only once
> /ptx/work/dude/WORK_A/sha/barebox/barebox-test/arch/mips/include/asm/debug_ll_ns16550.h:62: error: for each function it appears in.)
> make[1]: *** [common/console.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> scripts/Makefile.build:41: /ptx/work/dude/WORK_A/sha/barebox/barebox-test/arch/mips/mach-loongson/Makefile: No such file or directory
> make[1]: *** No rule to make target `/ptx/work/dude/WORK_A/sha/barebox/barebox-test/arch/mips/mach-loongson/Makefile'. Stop.
> make: *** [arch/mips/mach-loongson] Error 2
> 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
> Sascha
>
> --
> Pengutronix e.K. | |
> Industrial Linux Solutions | http://www.pengutronix.de/ |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
> Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
--
Best regards,
Antony Pavlov
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH 00/13] MIPS: add initial Loongson-based boards support
2014-01-22 21:35 ` Antony Pavlov
@ 2014-01-23 7:02 ` Sascha Hauer
2014-01-23 7:59 ` Antony Pavlov
2014-01-23 10:33 ` Antony Pavlov
0 siblings, 2 replies; 24+ messages in thread
From: Sascha Hauer @ 2014-01-23 7:02 UTC (permalink / raw)
To: Antony Pavlov; +Cc: barebox
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@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.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH 00/13] MIPS: add initial Loongson-based boards support
2014-01-23 7:02 ` Sascha Hauer
@ 2014-01-23 7:59 ` Antony Pavlov
2014-01-23 9:11 ` Sascha Hauer
2014-01-23 10:33 ` Antony Pavlov
1 sibling, 1 reply; 24+ messages in thread
From: Antony Pavlov @ 2014-01-23 7:59 UTC (permalink / raw)
To: Sascha Hauer; +Cc: barebox
On Thu, 23 Jan 2014 08:02:19 +0100
Sascha Hauer <s.hauer@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@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.
>
May be some other mails affected. Please check this trivial patch too:
http://lists.infradead.org/pipermail/barebox/2013-December/017226.html
--
Best regards,
Antony Pavlov
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH 00/13] MIPS: add initial Loongson-based boards support
2014-01-23 7:59 ` Antony Pavlov
@ 2014-01-23 9:11 ` Sascha Hauer
0 siblings, 0 replies; 24+ messages in thread
From: Sascha Hauer @ 2014-01-23 9:11 UTC (permalink / raw)
To: Antony Pavlov; +Cc: barebox
On Thu, Jan 23, 2014 at 11:59:11AM +0400, Antony Pavlov wrote:
> On Thu, 23 Jan 2014 08:02:19 +0100
> Sascha Hauer <s.hauer@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@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.
> >
>
> May be some other mails affected. Please check this trivial patch too:
> http://lists.infradead.org/pipermail/barebox/2013-December/017226.html
That one was not missing in my inbox, it was my own failure of not
applying it. Did that now.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH 00/13] MIPS: add initial Loongson-based boards support
2014-01-23 7:02 ` Sascha Hauer
2014-01-23 7:59 ` Antony Pavlov
@ 2014-01-23 10:33 ` Antony Pavlov
2014-01-27 8:24 ` Sascha Hauer
1 sibling, 1 reply; 24+ messages in thread
From: Antony Pavlov @ 2014-01-23 10:33 UTC (permalink / raw)
To: Sascha Hauer; +Cc: barebox
On Thu, 23 Jan 2014 08:02:19 +0100
Sascha Hauer <s.hauer@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@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?
--
Best regards,
Antony Pavlov
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH 00/13] MIPS: add initial Loongson-based boards support
2014-01-23 10:33 ` Antony Pavlov
@ 2014-01-27 8:24 ` Sascha Hauer
2014-01-30 5:42 ` Antony Pavlov
0 siblings, 1 reply; 24+ messages in thread
From: Sascha Hauer @ 2014-01-27 8:24 UTC (permalink / raw)
To: Antony Pavlov; +Cc: barebox
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@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@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.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH 00/13] MIPS: add initial Loongson-based boards support
2014-01-27 8:24 ` Sascha Hauer
@ 2014-01-30 5:42 ` Antony Pavlov
2014-01-30 9:45 ` Sascha Hauer
0 siblings, 1 reply; 24+ messages in thread
From: Antony Pavlov @ 2014-01-30 5:42 UTC (permalink / raw)
To: Sascha Hauer; +Cc: barebox
On Mon, 27 Jan 2014 09:24:15 +0100
Sascha Hauer <s.hauer@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@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@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
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH 00/13] MIPS: add initial Loongson-based boards support
2014-01-30 5:42 ` Antony Pavlov
@ 2014-01-30 9:45 ` Sascha Hauer
2014-01-30 10:52 ` Antony Pavlov
2014-01-30 12:52 ` Antony Pavlov
0 siblings, 2 replies; 24+ messages in thread
From: Sascha Hauer @ 2014-01-30 9:45 UTC (permalink / raw)
To: Antony Pavlov; +Cc: barebox
> 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":
Try again. Hopefully I got it right this time.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH 00/13] MIPS: add initial Loongson-based boards support
2014-01-30 9:45 ` Sascha Hauer
@ 2014-01-30 10:52 ` Antony Pavlov
2014-01-30 12:52 ` Antony Pavlov
1 sibling, 0 replies; 24+ messages in thread
From: Antony Pavlov @ 2014-01-30 10:52 UTC (permalink / raw)
To: Sascha Hauer; +Cc: barebox
On Thu, 30 Jan 2014 10:45:42 +0100
Sascha Hauer <s.hauer@pengutronix.de> wrote:
> > 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":
>
> Try again. Hopefully I got it right this time.
I have just fetched last next branch.
Sorry, Sascha, but 'git log --pretty=oneline arch/mips | cut -c 42- | head -n 18'
shows that the problem have not gone.
Please see
http://git.pengutronix.de/?p=barebox.git;a=commit;h=2785363e21f7b4999fd15c8c8eb3d50589eaf07f
your git web says just the same: 'MIPS: mach-loongson: add loongson-ls1b board' is the parent for 'MIPS: add initial Loongson-1X SoC stuff'.
> Sascha
>
> --
> Pengutronix e.K. | |
> Industrial Linux Solutions | http://www.pengutronix.de/ |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
> Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
--
Best regards,
Antony Pavlov
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH 00/13] MIPS: add initial Loongson-based boards support
2014-01-30 9:45 ` Sascha Hauer
2014-01-30 10:52 ` Antony Pavlov
@ 2014-01-30 12:52 ` Antony Pavlov
2014-01-31 6:47 ` Sascha Hauer
1 sibling, 1 reply; 24+ messages in thread
From: Antony Pavlov @ 2014-01-30 12:52 UTC (permalink / raw)
To: Sascha Hauer; +Cc: barebox
On Thu, 30 Jan 2014 10:45:42 +0100
Sascha Hauer <s.hauer@pengutronix.de> wrote:
> > 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":
>
> Try again. Hopefully I got it right this time.
>
> Sascha
Now (Thu Jan 30 16:50:29 MSK 2014), the first loongson-board commit is
commit 0208fdb15b83e4aaad12ee71695adb88229efab3
Author: Antony Pavlov <antonynpavlov@gmail.com>
Date: Sat Jan 18 19:12:56 2014 +0400
MIPS: mach-loongson: add loongson-ls1b board
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
It builds fine, thanks!
--
Best regards,
Antony Pavlov
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [PATCH 00/13] MIPS: add initial Loongson-based boards support
2014-01-30 12:52 ` Antony Pavlov
@ 2014-01-31 6:47 ` Sascha Hauer
0 siblings, 0 replies; 24+ messages in thread
From: Sascha Hauer @ 2014-01-31 6:47 UTC (permalink / raw)
To: Antony Pavlov; +Cc: barebox
On Thu, Jan 30, 2014 at 04:52:18PM +0400, Antony Pavlov wrote:
> On Thu, 30 Jan 2014 10:45:42 +0100
> Sascha Hauer <s.hauer@pengutronix.de> wrote:
>
> > > 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":
> >
> > Try again. Hopefully I got it right this time.
> >
> > Sascha
>
> Now (Thu Jan 30 16:50:29 MSK 2014), the first loongson-board commit is
>
> commit 0208fdb15b83e4aaad12ee71695adb88229efab3
> Author: Antony Pavlov <antonynpavlov@gmail.com>
> Date: Sat Jan 18 19:12:56 2014 +0400
>
> MIPS: mach-loongson: add loongson-ls1b board
>
> Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
>
> It builds fine, thanks!
\o/ finally
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 24+ messages in thread