the stack space.
> Do as ARM does and add a RISC-V specific initcall to reserve
> the main thread's stack space.
>
> Reported-by: Antony Pavlov
> Signed-off-by: Ahmad Fatoum
> ---
> Fix for master as otherwise stack could be overwritten at runtime
> ---
> arch/r
On Thu, 1 Apr 2021 15:52:14 +0200
Ahmad Fatoum wrote:
> Hi,
>
> On 05.04.14 21:27, alex.aring at gmail.com (Alexander Aring) wrote:
> > On Sat, Apr 05, 2014 at 11:02:45PM +0400, Alexander Shiyan wrote:
> >> Sat, 5 Apr 2014 23:00:29 +0400 ?? Antony Pavlov >>
Signed-off-by: Antony Pavlov
---
Documentation/boards/mips/dlink-dir-320.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/boards/mips/dlink-dir-320.rst
b/Documentation/boards/mips/dlink-dir-320.rst
index b60995489e..90de68a9c4 100644
--- a/Documentation
The commit 102676feb218ab59 ("MIPS: port all mach* to multiimage")
changed D-Link DIR-320 image name so update it in documentation.
Signed-off-by: Antony Pavlov
---
Documentation/boards/mips/dlink-dir-320.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Doc
Antony Pavlov (2):
Documentation: dlink-dir-320: update image file name
Documentation: dlink-dir-320: update device links
Documentation/boards/mips/dlink-dir-320.rst | 8
1 file changed, 4 insertions(+), 4 deletions(-)
--
2.30.1
This patch makes it possible to use drivers/clocksource/timer-riscv.c
with erizo. Without timebase-frequency initialized we have
this warning at startup:
RISC-V system with no 'timebase-frequency' in DTS
Signed-off-by: Antony Pavlov
---
arch/riscv/dts/erizo.dtsi | 2 ++
1 file changed, 2
Use drivers/clocksource/timer-riscv.c driver introduced in
'2ee369dcf7a5 ("clocksource: add driver for RISC-V and CLINT
timers")' instead.
Signed-off-by: Antony Pavlov
---
arch/riscv/lib/Makefile | 2 +-
arch/riscv/lib/riscv_timer.c | 63 ---
: 'Sample code
for reading the 64-bit cycle counter in RV32' [1]:
again:
rdcycleh x3
rdcycle x2
rdcycleh x4
bne x3, x4, again
[1] The RISC-V Instruction Set Manual. Volume I:
User-Level ISA, Document Version 2.2
Signed-off-by: Antony Pavlov
Antony Pavlov (3):
clocksource: timer-riscv: adapt riscv_timer_get_count_rdcycle() for
RV32
RISC-V: erizo.dtsi: set timebase-frequency = <2400>
RISC-V: drop old timer handling code
arch/riscv/dts/erizo.dtsi | 2 +
arch/riscv/lib/Makefile | 2 +-
arch/ris
0x7fdfffe3 (size 0x3c64) board data
0x7fe0 - 0x7fe5749f (size 0x000574a0) barebox
0x7fe574a0 - 0x7feabb9f (size 0x00054700) barebox data
0x7feabba0 - 0x7feae90f (size 0x2d70) bss
0x7ffe8000 - 0x7ffe (size 0x8000) stack
barebox@V2P-CA9:/
--
Best regards,
Ant
+ endmem = riscv_mem_ramoops(membase, endmem);
> +
> + return ALIGN_DOWN(endmem - size, SZ_1M);
> +}
> +
> +#define ENTRY_FUNCTION(name, arg0, arg1, arg2) \
> + void name (ulong r0, ulong r1, ulong r2); \
> + static void __##name(ulong, ulong, ulong); \
^^
Please fix whitespace here.
--
Best regards,
Antony Pavlov
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
---
images/.gitignore | 1 +
1 file changed, 1 insertion(+)
diff --git a/images/.gitignore b/images/.gitignore
index 377c14ceb3..eafdb44b5b 100644
--- a/images/.gitignore
+++ b/images/.gitignore
@@ -31,3 +31,4 @@ barebox.sum
*.image
*.mvebu1img
*.stm32
+*.nmon
--
2.30.1
cv/boards/erizo/lowlevel.c
> index f9c640c1123f..d9edb530b746 100644
> --- a/arch/riscv/boards/erizo/lowlevel.c
> +++ b/arch/riscv/boards/erizo/lowlevel.c
> @@ -1,35 +1,18 @@
> // SPDX-License-Identifier: GPL-2.0-only
> -/*
> - * Copyright (C) 2016 Antony Pavlov
>
On Fri, 19 Mar 2021 19:28:10 +0100
Ahmad Fatoum wrote:
Hi!
> Hello Antony,
>
> On 19.03.21 16:37, Antony Pavlov wrote:
> > The first bad commit is 90cde3b9ff46 ("startup: Execute init scripts in
> > alphabetical order").
> > I have reproduced it with
On Tue, 16 Mar 2021 19:38:48 +0100
Ahmad Fatoum wrote:
Hi!
> Hello Antony,
>
> On 16.03.21 15:12, Antony Pavlov wrote:
> > On Tue, 16 Mar 2021 09:04:59 +0100
> > Ahmad Fatoum wrote:
> >
> >> We now have everything in place to migrate erizo to PBL.
>
Fix spelling mistake introduced in the commit 2ab6d2a76994
("MIPS: qemu-malta_defconfig: enable VGA output").
Signed-off-by: Antony Pavlov
---
Documentation/boards/mips/qemu-malta.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/boards/mips/qemu-ma
e case
> before the rework as well. Tested with qemu as described in the docs.
>
> Cc: Antony Pavlov
> Signed-off-by: Ahmad Fatoum
> ---
> I assume some memory corruption is happening due to the minimal malloc
> area size?
There is no problem with 1M malloc area size.
I succ
On Mon, 15 Mar 2021 13:40:10 +0100
Ahmad Fatoum wrote:
Hi!
> Hello,
>
> On 15.03.21 13:08, Antony Pavlov wrote:
> > On Mon, 15 Mar 2021 12:45:15 +0100
> > Oleksij Rempel wrote:
> >
> >> On Mon, Mar 15, 2021 at 11:43:53AM +0300, Antony Pavlov wrote:
>
On Mon, 15 Mar 2021 12:45:15 +0100
Oleksij Rempel wrote:
> On Mon, Mar 15, 2021 at 11:43:53AM +0300, Antony Pavlov wrote:
> > On Sun, 14 Mar 2021 13:27:58 +0100
> > Ahmad Fatoum wrote:
> >
> > Hi!
> >
> > > diff --git a/common/Kconfig b/common/Kcon
depends on PPC || ARM
> + depends on PPC || ARM || RISCV
> bool "generate relocatable barebox binary"
> help
> A non relocatable barebox binary will run at it's compiled in
Hmmm. AFAIR MIPS barebox is relocatable. Why CON
riscv-ldflags-y += -melf64lriscv
> endif
>
> --
> 2.30.0
>
>
> ___
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
--
Best regards,
Antony Pavlov
_
Signed-off-by: Antony Pavlov
---
include/image.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/image.h b/include/image.h
index fa06476845..b593ae30ef 100644
--- a/include/image.h
+++ b/include/image.h
@@ -129,6 +129,8 @@ enum {
#define IH_ARCH IH_ARCH_AVR32
#elif defined
iscv/lib/runtime-offset.S
> create mode 100644 arch/riscv/lib/sections.c
> create mode 100644 arch/riscv/lib/setupc.S
> create mode 100644 arch/riscv/mach-virt/Makefile
> create mode 100644 arch/riscv/mach-virt/include/mach/debug_ll.h
> create mode 100644 drivers/clock
select VIRTIO
> help
> This driver provides support for virtio based paravirtual device
> --
> 2.30.0
>
>
> ___
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/lis
; Pengutronix e.K. | |
> Steuerwalder Str. 21 | http://www.pengutronix.de/ |
> 31137 Hildesheim, Germany | Phone: +49-5121-206917-0|
> Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- |
>
> ___
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
--
Best regards,
Antony Pavlov
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
er be updated.
>
> I think you can drop support for them. I won't work on this myself.
> Let's wait for Antony's view on this.
Hi!
I experimented with openrisc before widespread use of RISC-V.
I have never used nios2.
IMHO we can drop openrisc and nios2.
--
Best regards,
Antony Pavl
.h | 5 -
> include/progress.h| 6 --
> lib/libfile.c | 2 +-
> lib/show_progress.c | 17 -
> 23 files changed, 159 insertions(+), 174 deletions(-)
>
> --
> 2.29.2
>
>
> _______
gt; _______
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
--
Best regards,
Antony Pavlov
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
LAYERSCAPE)+= clk-qoric.o
> diff --git a/drivers/clk/loongson/Makefile b/drivers/clk/loongson/Makefile
> new file mode 100644
> index 000..dd76b25
> --- /dev/null
> +++ b/drivers/clk/loongson/Makefile
> @@ -0,0 +1,2 @@
> +obj-$(CONFIG_BOARD_LOONGSON_TECH_LS1B) += clk-l
1b /* try again */
> + nop
>
> sb a0, UART_THR(t0)/* write the character */
>
> --
> 2.7.4
>
>
> ___
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
--
Best regards,
Antony Pavlov
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
___
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
--
Best regards,
Antony Pavlov
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
* CPU_V7M
* CPU_CACHE_V7M
* ARMV7M_SYSTICK
[ ] use st,stm32-rcc
[ ] support external SDRAM on the board
[ ] use gpio driver
[ ] internal MCU flash support
Signed-off-by: Antony Pavlov
---
arch/arm/Kconfig | 2 +-
arch/ar
not match `elf64-littleriscv'
The patch fixes the problem by explicit riscv32 target options selection.
Signed-off-by: Antony Pavlov
Cc: Masahiro Yamada
---
arch/riscv/Makefile | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile
Signed-off-by: Antony Pavlov
---
lib/logo/Makefile | 19 +--
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/lib/logo/Makefile b/lib/logo/Makefile
index eb7aee080e..bf700da89b 100644
--- a/lib/logo/Makefile
+++ b/lib/logo/Makefile
@@ -1,17 +1,17 @@
-OPTS_barebox
CONFIG_MMU=n MIPS configurations.
Signed-off-by: Antony Pavlov
---
arch/mips/include/asm/io.h | 6 +-
arch/mips/lib/reloc.c | 6 +-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/arch/mips/include/asm/io.h b/arch/mips/include/asm/io.h
index c155199430..4df9853
On Tue, 2 Jun 2020 09:51:28 +0200
Sascha Hauer wrote:
> Hi Antony,
>
> On Tue, Jun 02, 2020 at 01:20:35AM +0300, Antony Pavlov wrote:
> >
> > diff --git a/lib/logo/Makefile b/lib/logo/Makefile
> > index eb7aee080e..8c81447df7 100644
> > --- a/lib/logo/Mak
kscape $(OPTS_$(@F)) --export-type=png $< > /dev/null; \
+ mv $(patsubst %.svg,%.png,$<) $@; \
)
%.bblogo: $(srctree)/Documentation/barebox.svg FORCE
--
Best regards,
Antony Pavlov
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
The function of_phy_simple_xlate() is not used.
Signed-off-by: Antony Pavlov
---
include/linux/phy/phy.h | 8
1 file changed, 8 deletions(-)
diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h
index e2fe42d90e..679ce6e420 100644
--- a/include/linux/phy/phy.h
+++ b/include
t we can
use dev_request_mem_region() instead of
dev_request_mem_resource(), e.g.
> data->membase = dev_request_mem_region(dev, 0);
> if (IS_ERR(data->membase))
> return PTR_ERR(data->membase);
Signed-off-by: Antony Pavlov
Cc: Steffen Trumtrar
---
drivers/reset/reset-socfpga.c | 4
The board file calls only barebox_set_hostname().
Since we can extract host name from devicetree,
we can drop board file.
Signed-off-by: Antony Pavlov
---
arch/mips/boards/dlink-dir-320/Makefile | 1 -
arch/mips/boards/dlink-dir-320/board.c | 15 ---
2 files changed, 16 deletions
The 'config DRIVER_SPI_MXS' section is already under 'if SPI'
so 'depends on SPI' is unneeded.
Signed-off-by: Antony Pavlov
---
drivers/spi/Kconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index c696213f50..a53b961b89 100644
--- a/drivers/spi
On Thu, 23 Apr 2020 13:06:17 +0200 (CEST)
Clément Leger wrote:
> Hi Antony,
>
> - On 23 Apr, 2020, at 12:20, Antony Pavlov antonynpav...@gmail.com wrote:
>
> > On Thu, 23 Apr 2020 10:17:05 +0200
> > Clement Leger wrote:
> >
> > Hi, Clement
> >
Hi Sascha,
I have just added docker stuff for building barebox (arm, mips, x86 and sandbox)
under Debian 10, please see https://github.com/frantony/docker-barebox-mkall
--
Best regards,
Antony Pavlov
___
barebox mailing list
barebox
ude/elf.h | 14 ++
> 6 files changed, 164 insertions(+), 25 deletions(-)
>
> --
> 2.17.1
>
>
> ___
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
--
Best regards,
Antony Pavlov
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
On Mon, 6 Apr 2020 15:13:25 +0300
Antony Pavlov wrote:
Hi Sascha,
The global.version (and global.endianness) variable can
be easely modified by user.
Can we make it immutable?
--
Best regards,
Antony Pavlov
> The global.endianness variable make it possible
> to determine current
On Mon, 6 Apr 2020 15:23:13 +0300
Antony Pavlov wrote:
Hi Sascha,
It looks like barebox IN_ARCH_* constants in image.h and the same constants
from U-Boot's image.h
are differ.
> --- a/include/image.h
> +++ b/include/image.h
> @@ -75,6 +75,7 @@
> #define IH_ARCH_NDS32
Signed-off-by: Antony Pavlov
---
common/image.c | 1 +
include/image.h | 3 +++
2 files changed, 4 insertions(+)
diff --git a/common/image.c b/common/image.c
index 04cd86bf9a..15bef96826 100644
--- a/common/image.c
+++ b/common/image.c
@@ -60,6 +60,7 @@ static table_entry_t arch_name
The global.endianness variable make it possible
to determine current endian mode from command
line or from script on bi-endian capable system.
Signed-off-by: Antony Pavlov
---
common/globalvar.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/common/globalvar.c b/common
The global.endianity variable make it possible
to determine current endian mode from command
line or from script on bi-endian capable system.
Signed-off-by: Antony Pavlov
---
common/globalvar.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/common/globalvar.c b/common
DMA_FROM_DEVICE);
>
> On 09.01.20 08:28, Antony Pavlov wrote:
> > Signed-off-by: Antony Pavlov
> > ---
> > drivers/net/rtl8169.c | 34 +-
> > 1 file changed, 17 insertions(+), 17 deletions(-)
> >
> > diff --git a/drivers
with PCI support?
--
Best regards,
Antony Pavlov
>
> On 09.01.20 08:28, Antony Pavlov wrote:
> > Signed-off-by: Antony Pavlov
> > ---
> > drivers/net/rtl8169.c | 34 +-
> > 1 file changed, 17 insertions(+), 17 deletions(-)
>
_CLK_TABLE and the BAREBOX_DTB link script sections
were not removed from RISC-V linker script making these sections
declared twice. As a result incorrect __clk_of_table_start and
__dtb_start addresses are passed to the barebox code therefore
the RISC-V barebox is completely unusable.
Signed-off-by: Antony Pavlov
uf.st_mode);
> break;
> }
> }
> --
> 2.24.0
>
>
> ___
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
--
Best regards,
Antony Pavlov
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
_entry.c to keep it close to
trap_init?
Thereby we have a change to reuse ebase value instead of the 0x8000 magic
constant.
Also 0x8000 size is too large. See MIPS Run, 2nd Edition by Dominic Sweetman
states
general exception entry point is BASE+0x180 (used by barebox), and Interrupt
Special
starts at
On Tue, 28 Jan 2020 10:28:32 +0100
Oleksij Rempel wrote:
Hi!
Have you tested the patch on real hardware?
--
Best regards,
Antony Pavlov
> .bss __rel_start (OVERLAY) was used to optimize RAM size used by
> barebox. Since .bss and __rel_start overlap, we should clear bss only
&
@@ SECTIONS
>
> _end = .;
>
> - .bss __rel_start (OVERLAY) : {
> + .bss : {
> __bss_start = .;
> *(.sbss.*)
> *(.bss.*)
> --
> 2.25.0
>
--
Best regards,
Antony Pavlov
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
code
+ la v0, main_entry
jal v0
nop
Additional testing on real hardware has to be done.
--
Best regards,
Antony Pavlov
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
The commit 28ed10d6a67c9 ("MIPS: relocation: add relocation support")
introduce the Kconfig CONFIG_MIPS_RELOCATION_TABLE_SIZE parameter
but it is never used.
Signed-off-by: Antony Pavlov
---
arch/mips/lib/barebox.lds.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --
On Mon, 13 Jan 2020 09:26:36 +0100
Oleksij Rempel wrote:
> On 09.01.20 08:28, Antony Pavlov wrote:
> > TODO: fix warnings
> >
> > arch/mips/include/asm/dma-mapping.h: In function ‘dma_free_coherent’:
> > arch/mips/include/asm/dma-mapping.h:31:21:
Signed-off-by: Antony Pavlov
---
drivers/net/rtl8169.c | 34 +-
1 file changed, 17 insertions(+), 17 deletions(-)
diff --git a/drivers/net/rtl8169.c b/drivers/net/rtl8169.c
index 80997dc89f..3762cb6354 100644
--- a/drivers/net/rtl8169.c
+++ b/drivers/net/rtl8169
Signed-off-by: Antony Pavlov
---
drivers/net/e1000/e1000.h | 2 ++
drivers/net/e1000/main.c | 8
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/net/e1000/e1000.h b/drivers/net/e1000/e1000.h
index 52ad3d4cdb..d26e6dcc02 100644
--- a/drivers/net/e1000/e1000.h
Implementing dma mapping function on MIPS makes it possible
to use e1000 and rtl8169 PCI network cards.
At the moment e1000 works under qemu. However additional
dma mapping functions testing on real hardware is necessary.
Antony Pavlov (4):
WIP: MIPS: implement dma mapping functions
net
Signed-off-by: Antony Pavlov
---
arch/mips/configs/qemu-malta_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/mips/configs/qemu-malta_defconfig
b/arch/mips/configs/qemu-malta_defconfig
index 2465c0260d..1625d68874 100644
--- a/arch/mips/configs/qemu-malta_defconfig
+++ b/arch
-off-by: Antony Pavlov
Signed-off-by: Peter Mamonov
---
arch/mips/include/asm/dma-mapping.h | 2 +-
arch/mips/lib/dma-default.c | 22 --
2 files changed, 21 insertions(+), 3 deletions(-)
diff --git a/arch/mips/include/asm/dma-mapping.h
b/arch/mips/include/asm/dma
From: Peter Mamonov
Signed-off-by: Peter Mamonov
Signed-off-by: Antony Pavlov
---
arch/mips/boot/main_entry.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/mips/boot/main_entry.c b/arch/mips/boot/main_entry.c
index 2c18bc81c3..41350aad18 100644
--- a/arch/mips/boot
Linux MIPS uses _.dts board dts-file
naming scheme so use it in barebox too.
Signed-off-by: Antony Pavlov
---
arch/mips/boards/tplink-mr3020/lowlevel.S | 2 +-
arch/mips/dts/Makefile| 2 +-
arch/mips/dts/{tplink-mr3020.dts => ar9331_tl_mr3
Signed-off-by: Antony Pavlov
---
include/linux/amba/bus.h | 6 --
1 file changed, 6 deletions(-)
diff --git a/include/linux/amba/bus.h b/include/linux/amba/bus.h
index 2ecef35a40..7b3e603322 100644
--- a/include/linux/amba/bus.h
+++ b/include/linux/amba/bus.h
@@ -90,12 +90,6
gt; CONFIG_CPU_GS264
> CONFIG_CPU_GS464
The name CPU_LOONGSON1B is used in the linux kernel.
Please keep barebox macro name in sync with linux kernel.
--
Best regards,
Antony Pavlov
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
Signed-off-by: Antony Pavlov
---
drivers/i2c/busses/i2c-gpio.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/i2c/busses/i2c-gpio.c b/drivers/i2c/busses/i2c-gpio.c
index 5ab43fe935..7ccdb0b222 100644
--- a/drivers/i2c/busses/i2c-gpio.c
+++ b/drivers/i2c/busses
nce
> Mauro
>
> ___
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
--
Best regards,
Antony Pavlov
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
Signed-off-by: Antony Pavlov
---
drivers/reset/Kconfig | 7 +++
drivers/reset/Makefile| 1 +
drivers/reset/gpio-poweroff.c | 86 +++
3 files changed, 94 insertions(+)
diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index 048f2081f8
e 'splash /logo/barebox-logo-240.png' to test picture output.
--
Best regards,
Antony Pavlov
> - qemu emulated vexpress boots, but no fb0
> - qemu emulated sabrelite can't even get it to boot
>
> I'm a bit out of ideas. Would really appreciate guidance, this is
> mostly for fun while p
On Tue, 15 Oct 2019 18:09:45 +0200
Oleksij Rempel wrote:
Hi!
Please review this thread
http://lists.infradead.org/pipermail/barebox/2019-June/038530.html
AFAIR we have to clear BSS before calling r4k_cache_init().
--
Best regards,
Antony Pavlov
> Cache information was not initiali
On Mon, 7 Oct 2019 22:14:41 -0700
Andrey Smirnov wrote:
> On Mon, Sep 30, 2019 at 11:03 PM Antony Pavlov
> wrote:
> >
> > On Mon, 30 Sep 2019 17:57:18 -0700
> > Andrey Smirnov wrote:
> >
> > Hi!
> >
> > > Linux kernel reports the version of
"
+ UTS_VERSION "\n";
+
EXPORT_SYMBOL(version_string);
const char release_string[] =
>
> const char release_string[] =
> --
> 2.21.0
>
>
> ___
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
--
Best regards,
Antony Pavlov
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
->nvmem_config.word_size = 1;
> + at24->nvmem_config.size = chip.byte_len;
> +
> + dev->priv = at24;
> +
> + at24->nvmem = nvmem_register(>nvmem_config);
> + err = PTR_ERR_OR_ZERO(at24->nvmem);
> if (err)
> goto err
On Mon, 12 Aug 2019 09:41:21 +0200
Sascha Hauer wrote:
> Hi Antony,
>
> On Sun, Aug 11, 2019 at 12:59:05PM +0300, Antony Pavlov wrote:
> > On Tue, 18 Dec 2018 10:19:42 +0300
> > Antony Pavlov wrote:
> >
> > Hi Sascha!
> >
> > It looks l
On Tue, 18 Dec 2018 10:19:42 +0300
Antony Pavlov wrote:
Hi Sascha!
It looks like this patch is missed in the master branch.
Please apply the patch!
> Signed-off-by: Antony Pavlov
> ---
> scripts/nmon-loader | 31 +++
> 1 file changed, 31 insertions(
the /dev/mdio* devices appear.
--
Best regards,
Antony Pavlov
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
mips-relocs generation was introduced in the commit
28ed10d6a67c9f67 ("MIPS: relocation: add relocation
support").
Signed-off-by: Antony Pavlov
---
scripts/.gitignore | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/.gitignore b/scripts/.gitignore
index 11ac77eb37..45c81bf
The patch fixes the following gcc-8.3.0 warning:
arch/sandbox/board/devices.c:13:5: warning: no previous prototype for
‘sandbox_add_device’ [-Wmissing-prototypes]
int sandbox_add_device(struct device_d *dev)
^~
Signed-off-by: Antony Pavlov
---
arch/sandbox/board
by tap_alloc() so we can drop this strcpy().
Signed-off-by: Antony Pavlov
---
arch/sandbox/mach-sandbox/include/mach/linux.h | 2 +-
arch/sandbox/os/tap.c | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/arch/sandbox/mach-sandbox/include/mach/linux.h
b
Signed-off-by: Antony Pavlov
---
arch/sandbox/board/board.c | 1 -
arch/sandbox/board/console.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/arch/sandbox/board/board.c b/arch/sandbox/board/board.c
index dcad3c249b..1f6392d15e 100644
--- a/arch/sandbox/board/board.c
+++ b/arch/sandbox
Antony Pavlov (3):
sandbox: prevent segfault in tap_alloc()
sandbox: eliminale no previous prototype for ‘sandbox_add_device’ warning
sandbox: drop blank lines at EOF
arch/sandbox/board/board.c | 1 -
arch/sandbox/board/console.c | 1 -
arch/sandbox
On Wed, 26 Jun 2019 09:12:02 +0200
Sascha Hauer wrote:
> Hi Antony,
>
> On Wed, Jun 19, 2019 at 01:49:16PM +0300, Antony Pavlov wrote:
> > Tap network interface initialization in sandbox
> > barebox leads to segfault under Debian Buster/Sid.
> >
> > The problem
already in linux-next. The switch driver is on TODO.
Thanks for the tip!
At the moment I use OpenWrt Linux 4.14.88+ with Debian Jessie nfsroot.
> Am 21.06.19 um 07:21 schrieb Antony Pavlov:
> > Signed-off-by: Antony Pavlov
> > ---
> > arch/mips/dts/tplink-mr3020.dts | 2 ++
> &g
Signed-off-by: Antony Pavlov
---
arch/mips/Kconfig | 4
arch/mips/mach-ar231x/Kconfig | 4
arch/mips/mach-ath79/Kconfig| 4
arch/mips/mach-bcm47xx/Kconfig | 4
arch/mips/mach-loongson/Kconfig | 4
arch/mips/mach-malta/Kconfig| 4
arch/mips
Signed-off-by: Antony Pavlov
---
arch/mips/dts/tplink-mr3020.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/mips/dts/tplink-mr3020.dts b/arch/mips/dts/tplink-mr3020.dts
index 982cffc250..e30eae1578 100644
--- a/arch/mips/dts/tplink-mr3020.dts
+++ b/arch/mips/dts/tplink-mr3020.dts
Signed-off-by: Antony Pavlov
---
Documentation/user/barebox.rst | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/Documentation/user/barebox.rst b/Documentation/user/barebox.rst
index d82163a886..c021a4c743 100644
--- a/Documentation/user/barebox.rst
+++ b/Documentation
Antony Pavlov (4):
MIPS: Kconfig: move ARCH_TEXT_BASE to top mips Kconfig file
Documentation: user manual: update MIPS-specific targets
serial: ar933x: set linux_console_name
MIPS: dts: tplink-mr3020: add missing stdout-path property
Documentation/user/barebox.rst | 7 ---
arch/mips
Signed-off-by: Antony Pavlov
---
drivers/serial/serial_ar933x.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/serial/serial_ar933x.c b/drivers/serial/serial_ar933x.c
index 676b9fadf8..dda604652b 100644
--- a/drivers/serial/serial_ar933x.c
+++ b/drivers/serial/serial_ar933x.c
flush_cache_all() uses 'struct cpuinfo_mips current_cpu_data' data fields.
These data fields are initialized in r4k_cache_init().
However in the current implementation the r4k_cache_init() function
is called __AFTER__ relocate_code().
Signed-off-by: Antony Pavlov
---
arch/mips/lib/reloc.c | 12
On Thu, 20 Jun 2019 16:29:45 +0200
Sascha Hauer wrote:
> On Thu, Jun 20, 2019 at 10:54:21AM +0200, Sam Ravnborg wrote:
> > Hi Antony
> >
> > On Thu, Jun 20, 2019 at 11:25:09AM +0300, Antony Pavlov wrote:
> > > The commit b917f7864115a35 ("remove CONFIG_DEB
The commit b917f7864115a35 ("remove CONFIG_DEBUG_INFO")
has dropped Kconfig DEBUG_INFO option however we
still have very many DEBUG_INFO mentions in defconfig
files. Drop them using sed:
find -iname '*defconfig' -type f -exec \
sed -i "/CONFIG_DEBUG_INFO=y/d" {} ';'
S
The commit b917f7864115a35 ("remove CONFIG_DEBUG_INFO")
has dropped Kconfig DEBUG_INFO option however we
still have very many DEBUG_INFO mentions in defconfig
files. Drop them using sed:
find -iname '*defconfig' -type f -exec \
sed -i "/CONFIG_DEBUG_INFO=y/d" {} ';'
S
Tap network interface initialization in sandbox
barebox leads to segfault under Debian Buster/Sid.
The problem is that strcpy(dev, ifr.ifr_name) inside
tap_alloc() tries to alter read-only data passed
by tap_probe() and barebox receives SIGSEGV.
Signed-off-by: Antony Pavlov
---
drivers/net
a_pin) || !gpio_is_valid(pdata->sda_pin))
Same here.
+ if (!gpio_is_valid(pdata->sda_pin) || !gpio_is_valid(pdata->scl_pin))
> + return -ENODEV;
>
> of_property_read_u32(np, "i2c-gpio,delay-us", >udelay);
>
--
Best regards,
Antony Pavlov
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
' data fields.
These data fields are initialized in r4k_cache_init().
However in the current implementation the r4k_cache_init() function
is called __AFTER__ relocate_code().
This cache problem can't be discovered via qemu.
Antony Pavlov (2):
MIPS: lib/Makefile: fix whitespaces
MIPS
'ram_size' overflow occurs during memcpy().
Signed-off-by: Antony Pavlov
---
arch/mips/lib/reloc.c | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/arch/mips/lib/reloc.c b/arch/mips/lib/reloc.c
index 9756d61666..14ba6167dd 100644
--- a/arch/mips/lib/reloc.c
+++ b
Signed-off-by: Antony Pavlov
---
arch/mips/lib/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/mips/lib/Makefile b/arch/mips/lib/Makefile
index c600f4b533..bdcaef91a7 100644
--- a/arch/mips/lib/Makefile
+++ b/arch/mips/lib/Makefile
@@ -4,8 +4,8 @@ obj-y
201 - 300 of 1599 matches
Mail list logo