Hi Andrey,
On Wed, Jun 27, 2018 at 09:54:36PM -0700, Andrey Smirnov wrote:
> +#include
> +#include
> +#include
> +#include
> +#include
> +
> +#define ZII_RDU1_DATAFLASH "/dev/dataflash0"
> +#define ZII_RDU1_DATAFLASH_BAREBOX ZII_RDU1_DATAFLASH ".barebox"
> +
> +/**
> + * zii_rdu1_
The i.MX header is at an offset in the boot device, usually 0x400 bytes.
This patch adds a flag to support the case that the partition the image
is written to starts at that offset rather than 0x0.
Signed-off-by: Sascha Hauer
---
arch/arm/mach-imx/imx-bbu-internal.c | 7 +--
arch/arm/mach-im
This patch reimplements the IMX_INTERNAL_FLAG_KEEP_DOSPART flag
and makes it more generic. Until now we only kept a dos partition
table over the update. Beginning with i.MX8 we may also want to
preserve a GPT, so we have to extend the preserved area.
It might also be the case that not (only) a par
On Wed, Jun 27, 2018 at 09:42:26PM -0700, Andrey Smirnov wrote:
> Introduce nvmem_cell_get_and_read() that combines getting a NVMEM cell
> by name and reading its contents.
>
> Signed-off-by: Andrey Smirnov
> ---
>
> Changes since [v1]:
>
> - Added missing newline to core.c
Applied, thanks
Guillaume:
I haven't used QEMU ARM64 version of the code, but I have spent some
time on i.MX8M which is ARM64 as well. See my comments below.
On Thu, Jun 28, 2018 at 6:46 AM ranquet guillaume
wrote:
>
> Hello.
>
> I'm pretty new to barebox and I'm having some troubles running the
> qemu64 target
On i.MX6QP/DP cpu_mx6_is_mx6q/d do not return true anymore.
Use the new cpu_mx6_is_mx6qp/dp to reenable NoC regulator bypass.
Fixes: d4c05d29d484 ("ARM: i.MX6: Add cpu type for 'plus' variants")
Signed-off-by: Philipp Zabel
---
arch/arm/mach-imx/imx6.c | 3 +--
1 file changed, 1 insertion(+), 2
On Thu, Jun 28, 2018 at 10:30 AM, Sascha Hauer wrote:
> On Wed, Jun 27, 2018 at 04:07:11PM +0200, Mogens Lauridsen wrote:
>> PLL3 was first set to 400MHz and then some peripheral was switched
>> to PLL3. Finally PLL3 was set to 216MHz. This could make some
>> i.MX538 hang in a dead loop in the boo
Hello.
I'm pretty new to barebox and I'm having some troubles running the
qemu64 target.
to top it off, I'm also new to the ARM world... and this is my first
attempt at looking at a bootloader...
I'm having trouble porting some hardware to barebox... and while I'm
waiting for a JTAG probe, I thou
Am Mittwoch, den 27.06.2018, 21:42 -0700 schrieb Andrey Smirnov:
> Introduce nvmem_cell_get_and_read() that combines getting a NVMEM cell
> by name and reading its contents.
>
> Signed-off-by: Andrey Smirnov
For the series:
Reviewed-by: Lucas Stach
> ---
>
> Changes since [v1]:
>
> - Add
On Wed, Jun 27, 2018 at 04:07:11PM +0200, Mogens Lauridsen wrote:
> PLL3 was first set to 400MHz and then some peripheral was switched
> to PLL3. Finally PLL3 was set to 216MHz. This could make some
> i.MX538 hang in a dead loop in the boot process.
Let's see what the code currently does:
By rese
This is a port of Linux kernel commit
| commit 740129b36faf049e6845819144542a0455e1e285
| Author: Antony Pavlov
| Date: Wed Apr 11 08:50:19 2018 +0100
|
| MIPS: Use generic GCC library routines from lib/
Signed-off-by: Antony Pavlov
---
arch/mips/Kconfig | 3 +++
arch/mips/lib/Mak
Signed-off-by: Antony Pavlov
---
arch/riscv/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index f754aef05e..ff0d584761 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -22,6 +22,7 @@ choice
config MACH_ERIZO
bool "erizo fam
Signed-off-by: Antony Pavlov
---
arch/riscv/configs/erizo_generic_defconfig | 53 ++
1 file changed, 53 insertions(+)
diff --git a/arch/riscv/configs/erizo_generic_defconfig
b/arch/riscv/configs/erizo_generic_defconfig
new file mode 100644
index 00..e62b6ec719
--- /d
Signed-off-by: Antony Pavlov
---
arch/riscv/Kconfig| 1 +
arch/riscv/mach-erizo/include/mach/debug_ll.h | 37 +++
2 files changed, 38 insertions(+)
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index d0e934e939..f754aef05e 100644
--- a/arch/ris
nmon is a tiny (<1024 bytes) monitor program
for the RV32I processors.
It can operate with NO working RAM at all!
It uses only the processor registers and NS16550-compatible
UART port for operation, so it can be used for a memory
controller setup code debugging.
Signed-off-by: Antony Pavlov
---
Signed-off-by: Antony Pavlov
---
arch/riscv/Kconfig | 62 +++
arch/riscv/Makefile | 72 ++
arch/riscv/boot/Makefile | 2 +
arch/riscv/boot/main_entry.c | 40 +
arch/riscv/boot/start.S
Erizo is an opensource hardware SoC for FPGA.
Signed-off-by: Antony Pavlov
---
arch/riscv/Kconfig | 11 ++
arch/riscv/Makefile| 3 ++
arch/riscv/boards/erizo-generic/.gitignore | 1 +
arch/riscv/boards/erizo-generic/Makefile | 1 +
arch/ri
Signed-off-by: Antony Pavlov
---
scripts/nmon-loader | 31 +++
1 file changed, 31 insertions(+)
diff --git a/scripts/nmon-loader b/scripts/nmon-loader
new file mode 100755
index 00..d80a53097a
--- /dev/null
+++ b/scripts/nmon-loader
@@ -0,0 +1,31 @@
+#!/usr/bi
Signed-off-by: Antony Pavlov
---
Documentation/boards/riscv.rst | 91 ++
1 file changed, 91 insertions(+)
diff --git a/Documentation/boards/riscv.rst b/Documentation/boards/riscv.rst
new file mode 100644
index 00..1a51d4d44f
--- /dev/null
+++ b/Documentati
This commit is based on these linux kernel commits:
| commit b35cd9884fa5d81c9d5e7f57c9d03264ae2bd835
| Author: Palmer Dabbelt
| Date: Tue May 23 10:28:26 2017 -0700
|
| lib: Add shared copies of some GCC library routines
|
| commit e3d5980568fdf83c15a5a3c8ddca1590551ab7a2
| Author: Matt Re
This patch adds macros for ns16550 port initialization
and single char output. The macros can be used in
MIPS asm pbl code.
Signed-off-by: Antony Pavlov
---
arch/riscv/include/asm/debug_ll_ns16550.h | 186 ++
1 file changed, 186 insertions(+)
diff --git a/arch/riscv/include/
This patchseries adds initial RISC-V architecture support for barebox.
See Documentation/boards/riscv.rst for instructions.
You can obtain this patchseries from github:
$ git clone -b 20180628.riscv https://github.com/frantony/barebox
Changes since PATCH v1 (20170415)
(http
Change write register accesses to read-modify-write accesses. This
makes it clearer which bits are actually changed by the code.
Signed-off-by: Sascha Hauer
---
arch/arm/mach-imx/imx53.c | 27 +--
1 file changed, 17 insertions(+), 10 deletions(-)
diff --git a/arch/arm/ma
23 matches
Mail list logo