* [PATCH 0/5] ARM: initial support for RC Module UEMD SoCs and MB 77.07 board
@ 2014-04-16 9:57 Antony Pavlov
2014-04-16 9:57 ` [PATCH 1/5] ARM: initial support for RC Module UEMD SoCs Antony Pavlov
` (5 more replies)
0 siblings, 6 replies; 9+ messages in thread
From: Antony Pavlov @ 2014-04-16 9:57 UTC (permalink / raw)
To: barebox
Research Centre "Module" (RC Module) is
a Russian development company designing
mixed-signal ASICs and real-time video-image
processing systems.
К1879ХБ1Я (AKA K1879HB1YA) is a UEMD family SoC that combines
a DSP core based on the NeuroMatrix(r) family
with an ARM architecture CPU ARM1176JZF-S core.
The MB 77.07 is a small (80x80 mm) single-board computer
developed in Russia by the RC Module.
It was developed as an educational board for К1879ХБ1Я SoC
capabilities demonstration.
See http://www.module.ru/en/catalog/micro/micro_pc/ for details.
MB 77.07 barebox HOWTO
======================
0. Download barebox sources and build barebox.bin image
$ git clone -b next.mb7707.20140416 https://github.com/frantony/barebox barebox.mb7707
$ cd barebox.mb7707
$ export ARCH=arm
$ export CROSS_COMPILE=<your_ARM_toolchain_prefix>
e.g. export CROSS_COMPILE=/opt/arm-2013.11/bin/arm-none-linux-gnueabi-
$ make module-mb7707_defconfig
$ make
You will get the 'barebox.bin' file.
1. burn MBOOT bootloader to the board's ROM;
2. Barebox can be started from MBOOT using tftp.
You have to setup tftp-server on host 192.168.0.1.
Put your barebox.bin to tftp-server directory
(usual /tftpboot or /srv/tftp).
Connect your MB 77.07 board to your tftp-server network via
Ethernet RJ45 connector on the board.
Connect to К1879ХБ1Я's UART (use "SERIAL" connector on the booard)
using your favorite terminal program.
3. turn on the board, press any key in you terminal program
to stop autoboot and load barebox.bin image to the board's RAM:
MBOOT # set bootfile barebox.bin
MBOOT # tftpboot
greth: greth_halt
TFTP Using GRETH_10/100 device
TFTP params: server 192.168.0.1 our_ip 192.168.0.7
TFTP params: filename 'barebox.bin' load_address 0x40100000
TFTP Loading: ##########################
TFTP done
greth: greth_halt
MBOOT #
4. run barebox
MBOOT # go 0x40100000
Antony Pavlov (5):
ARM: initial support for RC Module UEMD SoCs
ARM: uemd: add DEBUG_LL support
ARM: dts: add minimal К1879ХБ1Я devicetree file
ARM: uemd: add mb7707 board support
ARM: uemd: add module-mb7707_defconfig
arch/arm/Kconfig | 6 +++++
arch/arm/Makefile | 1 +
arch/arm/boards/Makefile | 1 +
arch/arm/boards/module-mb7707/Makefile | 1 +
arch/arm/boards/module-mb7707/board.c | 27 +++++++++++++++++++
arch/arm/boards/module-mb7707/lowlevel.c | 34 +++++++++++++++++++++++
arch/arm/configs/module-mb7707_defconfig | 43 ++++++++++++++++++++++++++++++
arch/arm/dts/k1879hb1ya.dtsi | 19 +++++++++++++
arch/arm/dts/module-mb7707.dts | 16 +++++++++++
arch/arm/mach-uemd/Kconfig | 16 +++++++++++
arch/arm/mach-uemd/Makefile | 1 +
arch/arm/mach-uemd/include/mach/debug_ll.h | 41 ++++++++++++++++++++++++++++
arch/arm/mach-uemd/reset.c | 24 +++++++++++++++++
13 files changed, 230 insertions(+)
create mode 100644 arch/arm/boards/module-mb7707/Makefile
create mode 100644 arch/arm/boards/module-mb7707/board.c
create mode 100644 arch/arm/boards/module-mb7707/lowlevel.c
create mode 100644 arch/arm/configs/module-mb7707_defconfig
create mode 100644 arch/arm/dts/k1879hb1ya.dtsi
create mode 100644 arch/arm/dts/module-mb7707.dts
create mode 100644 arch/arm/mach-uemd/Kconfig
create mode 100644 arch/arm/mach-uemd/Makefile
create mode 100644 arch/arm/mach-uemd/include/mach/debug_ll.h
create mode 100644 arch/arm/mach-uemd/reset.c
--
1.9.0
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 1/5] ARM: initial support for RC Module UEMD SoCs
2014-04-16 9:57 [PATCH 0/5] ARM: initial support for RC Module UEMD SoCs and MB 77.07 board Antony Pavlov
@ 2014-04-16 9:57 ` Antony Pavlov
2014-04-23 8:35 ` Sascha Hauer
2014-04-16 9:57 ` [PATCH 2/5] ARM: uemd: add DEBUG_LL support Antony Pavlov
` (4 subsequent siblings)
5 siblings, 1 reply; 9+ messages in thread
From: Antony Pavlov @ 2014-04-16 9:57 UTC (permalink / raw)
To: barebox
This commit adds minimal support for the UEMD SoCs
from RC Module (http://www.module.ru).
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
arch/arm/Kconfig | 5 +++++
arch/arm/Makefile | 1 +
arch/arm/mach-uemd/Kconfig | 7 +++++++
arch/arm/mach-uemd/Makefile | 1 +
arch/arm/mach-uemd/reset.c | 24 ++++++++++++++++++++++++
5 files changed, 38 insertions(+)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 3754646..040df54 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -184,6 +184,10 @@ config ARCH_TEGRA
select OFTREE
select RELOCATABLE
+config ARCH_UEMD
+ bool "RC Module UEMD Platform"
+ select CPU_ARM1176
+
config ARCH_ZYNQ
bool "Xilinx Zynq-based boards"
select HAS_DEBUG_LL
@@ -209,6 +213,7 @@ source arch/arm/mach-socfpga/Kconfig
source arch/arm/mach-versatile/Kconfig
source arch/arm/mach-vexpress/Kconfig
source arch/arm/mach-tegra/Kconfig
+source arch/arm/mach-uemd/Kconfig
source arch/arm/mach-zynq/Kconfig
config ARM_ASM_UNIFIED
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index c1bd836..c2ef824 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -69,6 +69,7 @@ machine-$(CONFIG_ARCH_SOCFPGA) := socfpga
machine-$(CONFIG_ARCH_VERSATILE) := versatile
machine-$(CONFIG_ARCH_VEXPRESS) := vexpress
machine-$(CONFIG_ARCH_TEGRA) := tegra
+machine-$(CONFIG_ARCH_UEMD) := uemd
machine-$(CONFIG_ARCH_ZYNQ) := zynq
diff --git a/arch/arm/mach-uemd/Kconfig b/arch/arm/mach-uemd/Kconfig
new file mode 100644
index 0000000..f9cf859
--- /dev/null
+++ b/arch/arm/mach-uemd/Kconfig
@@ -0,0 +1,7 @@
+if ARCH_UEMD
+
+config ARCH_TEXT_BASE
+ hex
+ default 0x40800000
+
+endif
diff --git a/arch/arm/mach-uemd/Makefile b/arch/arm/mach-uemd/Makefile
new file mode 100644
index 0000000..f3cc668
--- /dev/null
+++ b/arch/arm/mach-uemd/Makefile
@@ -0,0 +1 @@
+obj-y += reset.o
diff --git a/arch/arm/mach-uemd/reset.c b/arch/arm/mach-uemd/reset.c
new file mode 100644
index 0000000..df23e47
--- /dev/null
+++ b/arch/arm/mach-uemd/reset.c
@@ -0,0 +1,24 @@
+/*
+ * 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 <common.h>
+
+void __noreturn reset_cpu(ulong addr)
+{
+ unreachable();
+}
+EXPORT_SYMBOL(reset_cpu);
--
1.9.0
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 2/5] ARM: uemd: add DEBUG_LL support
2014-04-16 9:57 [PATCH 0/5] ARM: initial support for RC Module UEMD SoCs and MB 77.07 board Antony Pavlov
2014-04-16 9:57 ` [PATCH 1/5] ARM: initial support for RC Module UEMD SoCs Antony Pavlov
@ 2014-04-16 9:57 ` Antony Pavlov
2014-04-16 9:57 ` [PATCH 3/5] ARM: dts: add minimal К1879ХБ1Я devicetree file Antony Pavlov
` (3 subsequent siblings)
5 siblings, 0 replies; 9+ messages in thread
From: Antony Pavlov @ 2014-04-16 9:57 UTC (permalink / raw)
To: barebox
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
arch/arm/Kconfig | 1 +
arch/arm/mach-uemd/include/mach/debug_ll.h | 41 ++++++++++++++++++++++++++++++
2 files changed, 42 insertions(+)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 040df54..5dc9c64 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -187,6 +187,7 @@ config ARCH_TEGRA
config ARCH_UEMD
bool "RC Module UEMD Platform"
select CPU_ARM1176
+ select HAS_DEBUG_LL
config ARCH_ZYNQ
bool "Xilinx Zynq-based boards"
diff --git a/arch/arm/mach-uemd/include/mach/debug_ll.h b/arch/arm/mach-uemd/include/mach/debug_ll.h
new file mode 100644
index 0000000..5b45f6a
--- /dev/null
+++ b/arch/arm/mach-uemd/include/mach/debug_ll.h
@@ -0,0 +1,41 @@
+/*
+ * 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 __INCLUDE_ARCH_DEBUG_LL_H__
+#define __INCLUDE_ARCH_DEBUG_LL_H__
+
+#include <asm/io.h>
+
+#define DEBUG_LL_UART_ADDR 0x2002b000
+#define DEBUG_LL_UART_RSHFT 2
+
+#define rbr (0 << DEBUG_LL_UART_RSHFT)
+#define lsr (5 << DEBUG_LL_UART_RSHFT)
+#define LSR_THRE 0x20 /* Xmit holding register empty */
+
+static inline void PUTC_LL(char ch)
+{
+ while (!(__raw_readb(DEBUG_LL_UART_ADDR + lsr) & LSR_THRE))
+ ;
+
+ __raw_writeb(ch, DEBUG_LL_UART_ADDR + rbr);
+}
+
+#endif /* __INCLUDE_ARCH_DEBUG_LL_H__ */
--
1.9.0
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 3/5] ARM: dts: add minimal К1879ХБ1Я devicetree file
2014-04-16 9:57 [PATCH 0/5] ARM: initial support for RC Module UEMD SoCs and MB 77.07 board Antony Pavlov
2014-04-16 9:57 ` [PATCH 1/5] ARM: initial support for RC Module UEMD SoCs Antony Pavlov
2014-04-16 9:57 ` [PATCH 2/5] ARM: uemd: add DEBUG_LL support Antony Pavlov
@ 2014-04-16 9:57 ` Antony Pavlov
2014-04-16 9:57 ` [PATCH 4/5] ARM: uemd: add mb7707 board support Antony Pavlov
` (2 subsequent siblings)
5 siblings, 0 replies; 9+ messages in thread
From: Antony Pavlov @ 2014-04-16 9:57 UTC (permalink / raw)
To: barebox
К1879ХБ1Я (AKA K1879HB1YA) is a SoC that combines
a DSP core based on the NeuroMatrix(r) family
with an ARM architecture CPU ARM1176JZF-S core.
See http://www.module.ru/en/catalog/micro/mikroshema_dekodera_cifrovogo_televizionnogo_signala_sbis_k1879hb1ya/ for details.
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
arch/arm/dts/k1879hb1ya.dtsi | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/arch/arm/dts/k1879hb1ya.dtsi b/arch/arm/dts/k1879hb1ya.dtsi
new file mode 100644
index 0000000..7299cc1
--- /dev/null
+++ b/arch/arm/dts/k1879hb1ya.dtsi
@@ -0,0 +1,19 @@
+#include "skeleton.dtsi"
+
+/ {
+ soc {
+ compatible = "simple-bus";
+ model = "RC Module K1879HB1YA";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+
+ serial0: serial@2002b000 {
+ compatible = "ns16550a";
+ reg = <0x2002b000 0x1000>;
+ reg-shift = <2>;
+ clock-frequency = <54000000>;
+ status = "disabled";
+ };
+ };
+};
--
1.9.0
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 4/5] ARM: uemd: add mb7707 board support
2014-04-16 9:57 [PATCH 0/5] ARM: initial support for RC Module UEMD SoCs and MB 77.07 board Antony Pavlov
` (2 preceding siblings ...)
2014-04-16 9:57 ` [PATCH 3/5] ARM: dts: add minimal К1879ХБ1Я devicetree file Antony Pavlov
@ 2014-04-16 9:57 ` Antony Pavlov
2014-04-16 9:57 ` [PATCH 5/5] ARM: uemd: add module-mb7707_defconfig Antony Pavlov
2014-05-09 6:20 ` [PATCH 0/5] ARM: initial support for RC Module UEMD SoCs and MB 77.07 board Sascha Hauer
5 siblings, 0 replies; 9+ messages in thread
From: Antony Pavlov @ 2014-04-16 9:57 UTC (permalink / raw)
To: barebox
The MB 77.07 is a small (80x80 mm) single-board computer
developed in Russia by the RC Module.
It was developed as an educational board for К1879ХБ1Я SoC
capabilities demonstration.
See http://www.module.ru/en/catalog/micro/micro_pc/ for details.
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
arch/arm/boards/Makefile | 1 +
arch/arm/boards/module-mb7707/Makefile | 1 +
arch/arm/boards/module-mb7707/board.c | 27 +++++++++++++++++++++++++
arch/arm/boards/module-mb7707/lowlevel.c | 34 ++++++++++++++++++++++++++++++++
arch/arm/dts/module-mb7707.dts | 16 +++++++++++++++
arch/arm/mach-uemd/Kconfig | 9 +++++++++
6 files changed, 88 insertions(+)
diff --git a/arch/arm/boards/Makefile b/arch/arm/boards/Makefile
index 16742d9..806ab3e 100644
--- a/arch/arm/boards/Makefile
+++ b/arch/arm/boards/Makefile
@@ -47,6 +47,7 @@ obj-$(CONFIG_MACH_HIGHBANK) += highbank/
obj-$(CONFIG_MACH_IMX21ADS) += freescale-mx21-ads/
obj-$(CONFIG_MACH_IMX233_OLINUXINO) += imx233-olinuxino/
obj-$(CONFIG_MACH_IMX27ADS) += freescale-mx27-ads/
+obj-$(CONFIG_MACH_MB7707) += module-mb7707/
obj-$(CONFIG_MACH_MIOA701) += mioa701/
obj-$(CONFIG_MACH_MMCCPU) += mmccpu/
obj-$(CONFIG_MACH_MX23EVK) += freescale-mx23-evk/
diff --git a/arch/arm/boards/module-mb7707/Makefile b/arch/arm/boards/module-mb7707/Makefile
new file mode 100644
index 0000000..b2f44bb
--- /dev/null
+++ b/arch/arm/boards/module-mb7707/Makefile
@@ -0,0 +1 @@
+obj-y += lowlevel.o board.o
diff --git a/arch/arm/boards/module-mb7707/board.c b/arch/arm/boards/module-mb7707/board.c
new file mode 100644
index 0000000..9e544b5
--- /dev/null
+++ b/arch/arm/boards/module-mb7707/board.c
@@ -0,0 +1,27 @@
+/*
+ * 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 <common.h>
+#include <init.h>
+
+static int hostname_init(void)
+{
+ barebox_set_hostname("mb7707");
+
+ return 0;
+}
+core_initcall(hostname_init);
diff --git a/arch/arm/boards/module-mb7707/lowlevel.c b/arch/arm/boards/module-mb7707/lowlevel.c
new file mode 100644
index 0000000..5f5e1d7
--- /dev/null
+++ b/arch/arm/boards/module-mb7707/lowlevel.c
@@ -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.
+ *
+ */
+
+#define __LOWLEVEL_INIT__
+
+#include <common.h>
+#include <asm/barebox-arm.h>
+#include <asm/barebox-arm-head.h>
+#include <init.h>
+#include <sizes.h>
+
+#define MB7707_SRAM_BASE 0x40000000
+#define MB7707_SRAM_SIZE SZ_128M
+
+void __naked __bare_init barebox_arm_reset_vector(void)
+{
+ arm_cpu_lowlevel_init();
+
+ barebox_arm_entry(MB7707_SRAM_BASE, MB7707_SRAM_SIZE, 0);
+}
diff --git a/arch/arm/dts/module-mb7707.dts b/arch/arm/dts/module-mb7707.dts
new file mode 100644
index 0000000..21bdeb2
--- /dev/null
+++ b/arch/arm/dts/module-mb7707.dts
@@ -0,0 +1,16 @@
+/dts-v1/;
+
+#include "k1879hb1ya.dtsi"
+
+/ {
+ model = "Module MB 77.07";
+ compatible = "module,mb7707";
+
+ memory {
+ reg = <0x40000000 0x8000000>;
+ };
+};
+
+&serial0 {
+ status = "okay";
+};
diff --git a/arch/arm/mach-uemd/Kconfig b/arch/arm/mach-uemd/Kconfig
index f9cf859..aedd757 100644
--- a/arch/arm/mach-uemd/Kconfig
+++ b/arch/arm/mach-uemd/Kconfig
@@ -4,4 +4,13 @@ config ARCH_TEXT_BASE
hex
default 0x40800000
+choice
+ prompt "UEMD Board type"
+
+config MACH_MB7707
+ bool "MB7707"
+ select HAVE_DEFAULT_ENVIRONMENT_NEW
+
+endchoice
+
endif
--
1.9.0
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 5/5] ARM: uemd: add module-mb7707_defconfig
2014-04-16 9:57 [PATCH 0/5] ARM: initial support for RC Module UEMD SoCs and MB 77.07 board Antony Pavlov
` (3 preceding siblings ...)
2014-04-16 9:57 ` [PATCH 4/5] ARM: uemd: add mb7707 board support Antony Pavlov
@ 2014-04-16 9:57 ` Antony Pavlov
2014-05-09 6:20 ` [PATCH 0/5] ARM: initial support for RC Module UEMD SoCs and MB 77.07 board Sascha Hauer
5 siblings, 0 replies; 9+ messages in thread
From: Antony Pavlov @ 2014-04-16 9:57 UTC (permalink / raw)
To: barebox
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
arch/arm/configs/module-mb7707_defconfig | 43 ++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/arch/arm/configs/module-mb7707_defconfig b/arch/arm/configs/module-mb7707_defconfig
new file mode 100644
index 0000000..772c5dd
--- /dev/null
+++ b/arch/arm/configs/module-mb7707_defconfig
@@ -0,0 +1,43 @@
+CONFIG_BUILTIN_DTB=y
+CONFIG_BUILTIN_DTB_NAME="module-mb7707"
+CONFIG_ARCH_UEMD=y
+CONFIG_AEABI=y
+CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
+CONFIG_MALLOC_TLSF=y
+CONFIG_PROMPT="MB 77.07: "
+CONFIG_BAUDRATE=38400
+CONFIG_LONGHELP=y
+CONFIG_GLOB=y
+CONFIG_HUSH_FANCY_PROMPT=y
+CONFIG_CMDLINE_EDITING=y
+CONFIG_AUTO_COMPLETE=y
+CONFIG_MENU=y
+CONFIG_PASSWORD=y
+CONFIG_CMD_EDIT=y
+CONFIG_CMD_SLEEP=y
+CONFIG_CMD_EXPORT=y
+CONFIG_CMD_PRINTENV=y
+CONFIG_CMD_READLINE=y
+# CONFIG_CMD_MOUNT is not set
+# CONFIG_CMD_UMOUNT is not set
+CONFIG_CMD_ECHO_E=y
+CONFIG_CMD_LOADB=y
+CONFIG_CMD_LOADY=y
+CONFIG_CMD_MEMINFO=y
+CONFIG_CMD_IOMEM=y
+CONFIG_CMD_MM=y
+# CONFIG_CMD_BOOTM is not set
+# CONFIG_CMD_BOOTU is not set
+CONFIG_CMD_RESET=y
+CONFIG_CMD_GO=y
+CONFIG_CMD_OFTREE=y
+CONFIG_CMD_OF_PROPERTY=y
+CONFIG_CMD_OF_NODE=y
+CONFIG_CMD_UNCOMPRESS=y
+CONFIG_OFDEVICE=y
+CONFIG_OF_BAREBOX_DRIVERS=y
+CONFIG_DRIVER_SERIAL_NS16550=y
+# CONFIG_SPI is not set
+CONFIG_CLOCKSOURCE_DUMMY=y
+CONFIG_SHA1=y
+CONFIG_SHA256=y
--
1.9.0
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/5] ARM: initial support for RC Module UEMD SoCs
2014-04-16 9:57 ` [PATCH 1/5] ARM: initial support for RC Module UEMD SoCs Antony Pavlov
@ 2014-04-23 8:35 ` Sascha Hauer
0 siblings, 0 replies; 9+ messages in thread
From: Sascha Hauer @ 2014-04-23 8:35 UTC (permalink / raw)
To: Antony Pavlov; +Cc: barebox
On Wed, Apr 16, 2014 at 01:57:36PM +0400, Antony Pavlov wrote:
> This commit adds minimal support for the UEMD SoCs
> from RC Module (http://www.module.ru).
>
> Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
> diff --git a/arch/arm/mach-uemd/reset.c b/arch/arm/mach-uemd/reset.c
> new file mode 100644
> index 0000000..df23e47
> --- /dev/null
> +++ b/arch/arm/mach-uemd/reset.c
> @@ -0,0 +1,24 @@
> +/*
> + * 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 <common.h>
> +
> +void __noreturn reset_cpu(ulong addr)
> +{
> + unreachable();
unreachable is for marking positions in the code which are unreachable
but the compiler does not know it. reset_cpu() *is* reachable, so
unreachable is wrong here. How about just calling hang() here?
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] 9+ messages in thread
* Re: [PATCH 0/5] ARM: initial support for RC Module UEMD SoCs and MB 77.07 board
2014-04-16 9:57 [PATCH 0/5] ARM: initial support for RC Module UEMD SoCs and MB 77.07 board Antony Pavlov
` (4 preceding siblings ...)
2014-04-16 9:57 ` [PATCH 5/5] ARM: uemd: add module-mb7707_defconfig Antony Pavlov
@ 2014-05-09 6:20 ` Sascha Hauer
2014-05-09 7:49 ` Antony Pavlov
5 siblings, 1 reply; 9+ messages in thread
From: Sascha Hauer @ 2014-05-09 6:20 UTC (permalink / raw)
To: Antony Pavlov; +Cc: barebox
Antony,
This series is still in my inbox with only one small issue. Will you
update the series?
Sascha
On Wed, Apr 16, 2014 at 01:57:35PM +0400, Antony Pavlov wrote:
> Research Centre "Module" (RC Module) is
> a Russian development company designing
> mixed-signal ASICs and real-time video-image
> processing systems.
>
> К1879ХБ1Я (AKA K1879HB1YA) is a UEMD family SoC that combines
> a DSP core based on the NeuroMatrix(r) family
> with an ARM architecture CPU ARM1176JZF-S core.
>
> The MB 77.07 is a small (80x80 mm) single-board computer
> developed in Russia by the RC Module.
> It was developed as an educational board for К1879ХБ1Я SoC
> capabilities demonstration.
>
> See http://www.module.ru/en/catalog/micro/micro_pc/ for details.
>
> MB 77.07 barebox HOWTO
> ======================
>
> 0. Download barebox sources and build barebox.bin image
>
> $ git clone -b next.mb7707.20140416 https://github.com/frantony/barebox barebox.mb7707
> $ cd barebox.mb7707
> $ export ARCH=arm
> $ export CROSS_COMPILE=<your_ARM_toolchain_prefix>
> e.g. export CROSS_COMPILE=/opt/arm-2013.11/bin/arm-none-linux-gnueabi-
> $ make module-mb7707_defconfig
> $ make
>
> You will get the 'barebox.bin' file.
>
>
> 1. burn MBOOT bootloader to the board's ROM;
>
>
> 2. Barebox can be started from MBOOT using tftp.
> You have to setup tftp-server on host 192.168.0.1.
> Put your barebox.bin to tftp-server directory
> (usual /tftpboot or /srv/tftp).
>
> Connect your MB 77.07 board to your tftp-server network via
> Ethernet RJ45 connector on the board.
>
> Connect to К1879ХБ1Я's UART (use "SERIAL" connector on the booard)
> using your favorite terminal program.
>
>
> 3. turn on the board, press any key in you terminal program
> to stop autoboot and load barebox.bin image to the board's RAM:
>
> MBOOT # set bootfile barebox.bin
> MBOOT # tftpboot
> greth: greth_halt
> TFTP Using GRETH_10/100 device
> TFTP params: server 192.168.0.1 our_ip 192.168.0.7
> TFTP params: filename 'barebox.bin' load_address 0x40100000
> TFTP Loading: ##########################
> TFTP done
> greth: greth_halt
> MBOOT #
>
>
> 4. run barebox
>
> MBOOT # go 0x40100000
>
>
> Antony Pavlov (5):
> ARM: initial support for RC Module UEMD SoCs
> ARM: uemd: add DEBUG_LL support
> ARM: dts: add minimal К1879ХБ1Я devicetree file
> ARM: uemd: add mb7707 board support
> ARM: uemd: add module-mb7707_defconfig
>
> arch/arm/Kconfig | 6 +++++
> arch/arm/Makefile | 1 +
> arch/arm/boards/Makefile | 1 +
> arch/arm/boards/module-mb7707/Makefile | 1 +
> arch/arm/boards/module-mb7707/board.c | 27 +++++++++++++++++++
> arch/arm/boards/module-mb7707/lowlevel.c | 34 +++++++++++++++++++++++
> arch/arm/configs/module-mb7707_defconfig | 43 ++++++++++++++++++++++++++++++
> arch/arm/dts/k1879hb1ya.dtsi | 19 +++++++++++++
> arch/arm/dts/module-mb7707.dts | 16 +++++++++++
> arch/arm/mach-uemd/Kconfig | 16 +++++++++++
> arch/arm/mach-uemd/Makefile | 1 +
> arch/arm/mach-uemd/include/mach/debug_ll.h | 41 ++++++++++++++++++++++++++++
> arch/arm/mach-uemd/reset.c | 24 +++++++++++++++++
> 13 files changed, 230 insertions(+)
> create mode 100644 arch/arm/boards/module-mb7707/Makefile
> create mode 100644 arch/arm/boards/module-mb7707/board.c
> create mode 100644 arch/arm/boards/module-mb7707/lowlevel.c
> create mode 100644 arch/arm/configs/module-mb7707_defconfig
> create mode 100644 arch/arm/dts/k1879hb1ya.dtsi
> create mode 100644 arch/arm/dts/module-mb7707.dts
> create mode 100644 arch/arm/mach-uemd/Kconfig
> create mode 100644 arch/arm/mach-uemd/Makefile
> create mode 100644 arch/arm/mach-uemd/include/mach/debug_ll.h
> create mode 100644 arch/arm/mach-uemd/reset.c
>
> --
> 1.9.0
>
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
--
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] 9+ messages in thread
* Re: [PATCH 0/5] ARM: initial support for RC Module UEMD SoCs and MB 77.07 board
2014-05-09 6:20 ` [PATCH 0/5] ARM: initial support for RC Module UEMD SoCs and MB 77.07 board Sascha Hauer
@ 2014-05-09 7:49 ` Antony Pavlov
0 siblings, 0 replies; 9+ messages in thread
From: Antony Pavlov @ 2014-05-09 7:49 UTC (permalink / raw)
To: Sascha Hauer; +Cc: barebox
On Fri, 9 May 2014 08:20:09 +0200
Sascha Hauer <s.hauer@pengutronix.de> wrote:
> Antony,
>
> This series is still in my inbox with only one small issue. Will you
> update the series?
I'll resend the series next week. I'll try to add usb support this weekend.
I have some other almost ready series in my queue:
* digic series (digic support is in qemu-2.0 now);
* switch dir-320 to device tree;
* mips cache + ELF-kexec;
* pci.
>
> On Wed, Apr 16, 2014 at 01:57:35PM +0400, Antony Pavlov wrote:
> > Research Centre "Module" (RC Module) is
> > a Russian development company designing
> > mixed-signal ASICs and real-time video-image
> > processing systems.
> >
> > К1879ХБ1Я (AKA K1879HB1YA) is a UEMD family SoC that combines
> > a DSP core based on the NeuroMatrix(r) family
> > with an ARM architecture CPU ARM1176JZF-S core.
> >
> > The MB 77.07 is a small (80x80 mm) single-board computer
> > developed in Russia by the RC Module.
> > It was developed as an educational board for К1879ХБ1Я SoC
> > capabilities demonstration.
> >
> > See http://www.module.ru/en/catalog/micro/micro_pc/ for details.
> >
> > MB 77.07 barebox HOWTO
> > ======================
> >
> > 0. Download barebox sources and build barebox.bin image
> >
> > $ git clone -b next.mb7707.20140416 https://github.com/frantony/barebox barebox.mb7707
> > $ cd barebox.mb7707
> > $ export ARCH=arm
> > $ export CROSS_COMPILE=<your_ARM_toolchain_prefix>
> > e.g. export CROSS_COMPILE=/opt/arm-2013.11/bin/arm-none-linux-gnueabi-
> > $ make module-mb7707_defconfig
> > $ make
> >
> > You will get the 'barebox.bin' file.
> >
> >
> > 1. burn MBOOT bootloader to the board's ROM;
> >
> >
> > 2. Barebox can be started from MBOOT using tftp.
> > You have to setup tftp-server on host 192.168.0.1.
> > Put your barebox.bin to tftp-server directory
> > (usual /tftpboot or /srv/tftp).
> >
> > Connect your MB 77.07 board to your tftp-server network via
> > Ethernet RJ45 connector on the board.
> >
> > Connect to К1879ХБ1Я's UART (use "SERIAL" connector on the booard)
> > using your favorite terminal program.
> >
> >
> > 3. turn on the board, press any key in you terminal program
> > to stop autoboot and load barebox.bin image to the board's RAM:
> >
> > MBOOT # set bootfile barebox.bin
> > MBOOT # tftpboot
> > greth: greth_halt
> > TFTP Using GRETH_10/100 device
> > TFTP params: server 192.168.0.1 our_ip 192.168.0.7
> > TFTP params: filename 'barebox.bin' load_address 0x40100000
> > TFTP Loading: ##########################
> > TFTP done
> > greth: greth_halt
> > MBOOT #
> >
> >
> > 4. run barebox
> >
> > MBOOT # go 0x40100000
> >
> >
> > Antony Pavlov (5):
> > ARM: initial support for RC Module UEMD SoCs
> > ARM: uemd: add DEBUG_LL support
> > ARM: dts: add minimal К1879ХБ1Я devicetree file
> > ARM: uemd: add mb7707 board support
> > ARM: uemd: add module-mb7707_defconfig
> >
> > arch/arm/Kconfig | 6 +++++
> > arch/arm/Makefile | 1 +
> > arch/arm/boards/Makefile | 1 +
> > arch/arm/boards/module-mb7707/Makefile | 1 +
> > arch/arm/boards/module-mb7707/board.c | 27 +++++++++++++++++++
> > arch/arm/boards/module-mb7707/lowlevel.c | 34 +++++++++++++++++++++++
> > arch/arm/configs/module-mb7707_defconfig | 43 ++++++++++++++++++++++++++++++
> > arch/arm/dts/k1879hb1ya.dtsi | 19 +++++++++++++
> > arch/arm/dts/module-mb7707.dts | 16 +++++++++++
> > arch/arm/mach-uemd/Kconfig | 16 +++++++++++
> > arch/arm/mach-uemd/Makefile | 1 +
> > arch/arm/mach-uemd/include/mach/debug_ll.h | 41 ++++++++++++++++++++++++++++
> > arch/arm/mach-uemd/reset.c | 24 +++++++++++++++++
> > 13 files changed, 230 insertions(+)
> > create mode 100644 arch/arm/boards/module-mb7707/Makefile
> > create mode 100644 arch/arm/boards/module-mb7707/board.c
> > create mode 100644 arch/arm/boards/module-mb7707/lowlevel.c
> > create mode 100644 arch/arm/configs/module-mb7707_defconfig
> > create mode 100644 arch/arm/dts/k1879hb1ya.dtsi
> > create mode 100644 arch/arm/dts/module-mb7707.dts
> > create mode 100644 arch/arm/mach-uemd/Kconfig
> > create mode 100644 arch/arm/mach-uemd/Makefile
> > create mode 100644 arch/arm/mach-uemd/include/mach/debug_ll.h
> > create mode 100644 arch/arm/mach-uemd/reset.c
> >
> > --
> > 1.9.0
> >
> >
> > _______________________________________________
> > barebox mailing list
> > barebox@lists.infradead.org
> > http://lists.infradead.org/mailman/listinfo/barebox
>
> --
> 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] 9+ messages in thread
end of thread, other threads:[~2014-05-09 7:38 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-16 9:57 [PATCH 0/5] ARM: initial support for RC Module UEMD SoCs and MB 77.07 board Antony Pavlov
2014-04-16 9:57 ` [PATCH 1/5] ARM: initial support for RC Module UEMD SoCs Antony Pavlov
2014-04-23 8:35 ` Sascha Hauer
2014-04-16 9:57 ` [PATCH 2/5] ARM: uemd: add DEBUG_LL support Antony Pavlov
2014-04-16 9:57 ` [PATCH 3/5] ARM: dts: add minimal К1879ХБ1Я devicetree file Antony Pavlov
2014-04-16 9:57 ` [PATCH 4/5] ARM: uemd: add mb7707 board support Antony Pavlov
2014-04-16 9:57 ` [PATCH 5/5] ARM: uemd: add module-mb7707_defconfig Antony Pavlov
2014-05-09 6:20 ` [PATCH 0/5] ARM: initial support for RC Module UEMD SoCs and MB 77.07 board Sascha Hauer
2014-05-09 7:49 ` Antony Pavlov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox